diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-05 18:50:33 +0200 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-09-23 18:15:56 +0200 |
commit | 9fafe737bcb633a350a6233d5e01c9ed2920500f (patch) | |
tree | 3dca9f68297703f39fbb6e799bc1aee9fa7fbd56 /core/css/inputs.scss | |
parent | e336283a4860b1e4e498968980905105711a6776 (diff) | |
download | nextcloud-server-9fafe737bcb633a350a6233d5e01c9ed2920500f.tar.gz nextcloud-server-9fafe737bcb633a350a6233d5e01c9ed2920500f.zip |
Removed unneeded bgs and borders. Replaced hard coded colours by
variables.
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css/inputs.scss')
-rw-r--r-- | core/css/inputs.scss | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss index 5a7da4f50c9..766bfe55015 100644 --- a/core/css/inputs.scss +++ b/core/css/inputs.scss @@ -269,8 +269,8 @@ input { } &:checked + label:before { box-shadow: inset 0px 0px 0px 2px $color-main-text; - background-color: nc-darken($color-main-background, 8%); - border-color: nc-darken($color-main-background, 8%) + background-color: $color-border; + border-color: $color-border } &:disabled + label:before { background-color: nc-lighten($color-main-text, 33%) !important; /* override other status */ @@ -320,6 +320,7 @@ input { /* Select2 overriding. Merged to core with vendor stylesheet */ .select2-drop { margin-top: -2px; + background-color: $color-main-background; &.select2-drop-active { border-color: nc-lighten($color-main-text, 86%); } @@ -354,7 +355,7 @@ input { position: relative; display: list-item; padding: 12px; - background-color: $color-main-background; + background-color: transparent; cursor: pointer; color: nc-lighten($color-main-text, 33%); } @@ -362,10 +363,10 @@ input { &.select2-selected { background-color: nc-darken($color-main-background, 3%); } - &.select2-highlighted { + } + .select2-highlighted { background-color: nc-darken($color-main-background, 3%); color: $color-main-text; - } } } } @@ -444,8 +445,8 @@ input { } &.select2-search-choice-focus, &:hover { - background-color: nc-darken($color-main-background, 8%); - border-color: nc-darken($color-main-background, 8%); + background-color: $color-border; + border-color: $color-border; } } .select2-arrow { |