ShadowFox/css/common-files/radios_checkboxes.css

39 lines
1.9 KiB
CSS

@-moz-document url-prefix(about:),
url-prefix(chrome://browser) {
.checkbox-check,
.prefs-pane [type=checkbox]:checked + label::before,
.prefs-pane [type=checkbox]:not(:checked) + label::before,
.radio-check,
input[type=checkbox] {
-moz-appearance: none!important;
border: 1px solid!important;
background-color: var(--in-content-box-background)!important;
background-image: none!important;
box-shadow: none!important;
border-color: var(--in-content-box-border-color)!important
}
radio[disabled=true] {
color: var(--in-content-box-border-color)!important
}
.radio-check[selected] {
list-style-image: url(chrome://global/skin/in-content/radio.svg);
fill: var(--in-content-border-highlight)!important;
-moz-context-properties: fill,stroke;
stroke: none;
border-radius: 50%!important
}
.checkbox-check[checked] {
list-style-image: url(data:image/svg+xml;base64,PCEtLSBUaGlzIFNvdXJjZSBDb2RlIEZvcm0gaXMgc3ViamVjdCB0byB0aGUgdGVybXMgb2YgdGhlIE1vemlsbGEgUHVibGljCiAgIC0gTGljZW5zZSwgdi4gMi4wLiBJZiBhIGNvcHkgb2YgdGhlIE1QTCB3YXMgbm90IGRpc3RyaWJ1dGVkIHdpdGggdGhpcwogICAtIGZpbGUsIFlvdSBjYW4gb2J0YWluIG9uZSBhdCBodHRwOi8vbW96aWxsYS5vcmcvTVBMLzIuMC8uIC0tPgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjIxIiBoZWlnaHQ9IjIxIiB2aWV3Qm94PSIwIDAgMjEgMjEiPgogIDxwYXRoIGZpbGw9ImNvbnRleHQtZmlsbCIgc3Ryb2tlPSJjb250ZXh0LXN0cm9rZSIgc3Ryb2tlLXdpZHRoPSIwLjUiIGQ9Ik0gOS4zOSwxNi41IDE2LjI4LDYgMTQuNzcsNC41IDkuMzcsMTIuNyA2LjI4LDkuMiA0LjcsMTAuNyB6Ii8+Cjwvc3ZnPg==);
fill: var(--in-content-border-highlight)!important;
-moz-context-properties: fill,stroke!important;
stroke: none
}
html body div.ancillary div div.opsRow div.opsRowLabel label input,
html body div.ancillary div div.opsRow div.opsRowLabel label input#verbose {
-moz-appearance: checkbox!important;
min-height: 10px!important;
min-width: 10px!important;
margin-top: -5px;
margin-bottom: -1px
}
}