diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-07 14:07:14 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-12-07 14:57:03 +0100 |
commit | 57cd5209cab31bb1a20c4043fb2539c0682d33b8 (patch) | |
tree | d2031373c1d5fc7c9d083a6cc99672dad7f366a0 /core | |
parent | e44b164f406b52530d81e755c9e1b959e0f1ef27 (diff) | |
download | nextcloud-server-57cd5209cab31bb1a20c4043fb2539c0682d33b8.tar.gz nextcloud-server-57cd5209cab31bb1a20c4043fb2539c0682d33b8.zip |
Add rules for checked+disabled and disabled checkbox style
Diffstat (limited to 'core')
-rw-r--r-- | core/css/inputs.css | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/core/css/inputs.css b/core/css/inputs.css index b2d78c25621..fe03af85f61 100644 --- a/core/css/inputs.css +++ b/core/css/inputs.css @@ -108,10 +108,26 @@ html:not(.ie8) input[type="checkbox"].checkbox:checked + label:before { background-image: url('../img/actions/checkbox-checked.svg'); } +html:not(.ie8) input[type="checkbox"].checkbox:disabled + label:before { + background-image: url('../img/actions/checkbox-disabled.svg'); +} + +html:not(.ie8) input[type="checkbox"].checkbox:checked:disabled + label:before { + background-image: url('../img/actions/checkbox-checked-disabled.svg'); +} + html:not(.ie8) input[type="checkbox"].checkbox--white:checked + label:before { background-image: url('../img/actions/checkbox-checked-white.svg'); } +html:not(.ie8) input[type="checkbox"].checkbox--white:disabled + label:before { + background-image: url('../img/actions/checkbox-disabled-white.svg'); +} + +html:not(.ie8) input[type="checkbox"].checkbox--white:checked:disabled + label:before { + background-image: url('../img/actions/checkbox-checked-disabled.svg'); +} + html:not(.ie8) input[type="checkbox"].checkbox:hover+label:before, input[type="checkbox"]:focus+label:before { color:#111 !important; } |