mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-26 20:56:48 +00:00
There were all sorts of dependencies hiding in there, and it was overwriting some of the admin variables. Better to keep things separate and simple. I discovered that there was one legitimate reason for importing them though: for styling the trix editor. I can't think of a good way to safely import them without affecting the other variables, so I just hardcoded the colours for now.
38 lines
683 B
SCSS
38 lines
683 B
SCSS
.container {
|
|
input {
|
|
&[readonly] {
|
|
background-color: $light-grey;
|
|
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: $color-txt-text !important;
|
|
}
|
|
}
|