mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-25 20:46:48 +00:00
+ add class `redesigned-checkbox` on `input` Move `input.redesigned-input` definition outside dropdown definition --> more generic
42 lines
717 B
SCSS
42 lines
717 B
SCSS
@import '../../darkswarm/branding';
|
|
|
|
.container {
|
|
input {
|
|
&[readonly] {
|
|
background-color: $disabled-light;
|
|
cursor: default;
|
|
}
|
|
}
|
|
}
|
|
|
|
input[type='checkbox'].redesigned-input {
|
|
position: relative;
|
|
top: 1px;
|
|
-moz-appearance:none;
|
|
-webkit-appearance:none;
|
|
-o-appearance:none;
|
|
appearance: none;
|
|
outline: none;
|
|
content: none;
|
|
cursor: pointer;
|
|
|
|
&:before {
|
|
font-family: "FontAwesome";
|
|
content: "\f00c";
|
|
font-size: 15px;
|
|
color: transparent !important;
|
|
background: transparent !important;
|
|
display: block;
|
|
width: 15px;
|
|
height: 15px;
|
|
border: 1px solid #809cb1;
|
|
margin-right: 7px;
|
|
}
|
|
|
|
&:checked:before {
|
|
color: #5498DA !important;
|
|
}
|
|
}
|
|
|
|
|