From 57cd5209cab31bb1a20c4043fb2539c0682d33b8 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 7 Dec 2015 14:07:14 +0100 Subject: [PATCH] Add rules for checked+disabled and disabled checkbox style --- core/css/inputs.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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; } -- 2.39.5