From 1d2119b29280fef0cb650f129b4f8035323c3d5d Mon Sep 17 00:00:00 2001 From: Caleb James DeLisle Date: Fri, 8 Dec 2017 18:13:35 +0100 Subject: [PATCH] Removed LESS duplicate attributes --- .lesshintrc | 1 - customize.dist/src/less2/include/alertify.less | 1 - customize.dist/src/less2/include/tokenfield.less | 1 - customize.dist/src/less2/include/toolbar.less | 3 --- customize.dist/src/less2/pages/page-index.less | 1 - customize.dist/src/less2/pages/page-register.less | 14 +++++++++++--- 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.lesshintrc b/.lesshintrc index 3dc5d93e9..cb8f17574 100644 --- a/.lesshintrc +++ b/.lesshintrc @@ -27,6 +27,5 @@ "universalSelector": false, // These rules are really good rules to have around IMO (Caleb) but they're not being honored. - "duplicateProperty": false, "maxCharPerLine": false } diff --git a/customize.dist/src/less2/include/alertify.less b/customize.dist/src/less2/include/alertify.less index ce23938db..d683e2cd9 100644 --- a/customize.dist/src/less2/include/alertify.less +++ b/customize.dist/src/less2/include/alertify.less @@ -177,7 +177,6 @@ box-sizing: border-box; position: relative; outline: 0; - border: 0; display: inline-block; align-items: center; padding: 0 6px; diff --git a/customize.dist/src/less2/include/tokenfield.less b/customize.dist/src/less2/include/tokenfield.less index 5dcea83ec..6604b4481 100644 --- a/customize.dist/src/less2/include/tokenfield.less +++ b/customize.dist/src/less2/include/tokenfield.less @@ -59,7 +59,6 @@ padding-right: 4px; } &.active { - border-color: #52a8ec; border-color: rgba(82, 168, 236, 0.8); } &.duplicate { diff --git a/customize.dist/src/less2/include/toolbar.less b/customize.dist/src/less2/include/toolbar.less index 14ab57e3a..ce93bb07e 100644 --- a/customize.dist/src/less2/include/toolbar.less +++ b/customize.dist/src/less2/include/toolbar.less @@ -297,7 +297,6 @@ } select { - border: 0px; margin-left: 5px; margin-right: 5px; padding-left: 5px; @@ -530,7 +529,6 @@ input { max-width: ~"calc(100% - 40px)"; flex: 1; - font-size: 1.5em; vertical-align: middle; box-sizing: border-box; cursor: auto; @@ -568,7 +566,6 @@ align-items: center; justify-content: center; width: 64px; - height: 64px !important; // Allows us to have a nice square outline when focused font-size: 1em; color: inherit; height: auto; diff --git a/customize.dist/src/less2/pages/page-index.less b/customize.dist/src/less2/pages/page-index.less index 73aafab61..f338850f5 100644 --- a/customize.dist/src/less2/pages/page-index.less +++ b/customize.dist/src/less2/pages/page-index.less @@ -158,7 +158,6 @@ h4 { .cp-callout-recent .fa { background-color: @colortheme_drive-bg; } .cp-hidden { display: none !important; } .cp-callout-more { - width: auto; display: inline-block; align-content: center; height: 2em; diff --git a/customize.dist/src/less2/pages/page-register.less b/customize.dist/src/less2/pages/page-register.less index 311e877a4..6336c6aa3 100644 --- a/customize.dist/src/less2/pages/page-register.less +++ b/customize.dist/src/less2/pages/page-register.less @@ -52,14 +52,22 @@ text-shadow: 0 1px 5px rgba(0,0,0,.2); } } + .cp-register-det { margin-top: -7em; background: #fff; box-shadow: 0 5px 15px rgba(69,145,196, 0.3); + #data { - background: #4591C4; /* fallback for old browsers */ - background: -webkit-linear-gradient(to right, #FF7C4F, #4592C4); /* Chrome 10-25, Safari 5.1-6 */ - background: linear-gradient(to right, #FF7C4F, #4592C4); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ + // Old browsers + background: #4591C4; + + // Chrome 10-25, Safari 5.1-6 + background: -webkit-linear-gradient(to right, #FF7C4F, #4592C4); // lesshint duplicateProperty: false + + // W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ + background: linear-gradient(to right, #FF7C4F, #4592C4); // lesshint duplicateProperty: false + padding-top: 3em; padding-bottom: 7em; padding-left: 30px;