[REF] web: Overwrite bts4 custom checkbox design

Overwrite bts4 custom-checkbox design (un-checked state only).
Use outline rule to avoid conflics with :focus and :hover states.
The change has been added in ui.scss to affect both backend and frontend.
This commit is contained in:
sri-odoo
2018-08-13 09:09:53 +02:00
committed by Aaron Bohy
parent 04e0f8a7e5
commit ad2e2cc8b5
+10
View File
@@ -45,3 +45,13 @@
transform: rotate(180deg);
}
}
// Overwrite bts4 custom-checkbox design (un-checked state only)
.custom-control.custom-checkbox {
.custom-control-input:not(:checked):not(:indeterminate) {
~ .custom-control-label:before {
background: none;
outline: 1px solid $o-main-text-color;
}
}
}