Fix radio controls and checkboxes in Twenty Twenty One dark theme (https://github.com/woocommerce/woocommerce-blocks/pull/3446)
* Fix radio controls in Twenty Twenty One dark theme * Fix checkbox control in Twenty Twenty One dark theme
This commit is contained in:
parent
cf9dc1b6bf
commit
e125dfd97b
|
@ -61,3 +61,19 @@
|
|||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.theme-twentytwentyone {
|
||||
.wc-block-components-checkbox__input[type="checkbox"] {
|
||||
border-color: var(--form--border-color);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wc-block-components-checkbox__input[type="checkbox"]:checked {
|
||||
background-color: #fff;
|
||||
border-color: var(--form--border-color);
|
||||
}
|
||||
|
||||
.wc-block-components-checkbox__mark {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -110,6 +110,10 @@
|
|||
.wc-block-components-radio-control .wc-block-components-radio-control__input {
|
||||
&:checked {
|
||||
border-width: 2px;
|
||||
|
||||
&::before {
|
||||
background-color: var(--form--color-text);
|
||||
}
|
||||
}
|
||||
|
||||
&::after {
|
||||
|
|
Loading…
Reference in New Issue