summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-31 19:29:30 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2017-01-31 19:29:30 +0100
commit8d5bb0b9088e180d8b064d030059eb2196036221 (patch)
tree60f3db2848d81d775eae568580c2376c11262594 /core/css
parentdb5af891c3c9536faf1f0a62374459242bfeedaf (diff)
downloadnextcloud-server-8d5bb0b9088e180d8b064d030059eb2196036221.tar.gz
nextcloud-server-8d5bb0b9088e180d8b064d030059eb2196036221.zip
Transparent white checkbox
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/inputs.scss12
1 files changed, 6 insertions, 6 deletions
diff --git a/core/css/inputs.scss b/core/css/inputs.scss
index f7b9cdb723c..faddcc50214 100644
--- a/core/css/inputs.scss
+++ b/core/css/inputs.scss
@@ -265,16 +265,13 @@ input {
&.radio--white,
&.checkbox--white {
+ label:before {
- border-color: #aaa;
+ border-color: #ddd;
}
&:not(:disabled):not(:checked) + label:hover:before,
&:focus + label:before {
border-color: #fff;
}
- &:checked + label:before,
- &.checkbox:indeterminate + label:before {
- /* ^ :indeterminate have a strange behavior on radio,
- so we respecified the checkbox class again to be safe */
+ &:checked + label:before {
box-shadow: inset 0px 0px 0px 2px #000;
background-color: #eee;
border-color: #eee
@@ -290,7 +287,10 @@ input {
}
}
&.checkbox--white {
- &:checked + label:before {
+ &:checked + label:before,
+ &:indeterminate + label:before {
+ background-color: transparent !important; /* Override default checked */
+ border-color: #fff !important; /* Override default checked */
background-image: url('../img/actions/checkbox-mark-white.svg');
}
&:indeterminate + label:before {