mirror of
https://github.com/black7375/Firefox-UI-Fix.git
synced 2026-01-01 06:50:33 -08:00
Clean: Proton - Radio, Checkbox order
This commit is contained in:
parent
5b7634a36b
commit
a2d5227b8a
2 changed files with 55 additions and 58 deletions
|
|
@ -143,6 +143,9 @@
|
|||
xul|*.radio-check {
|
||||
@include Proton.RadioIcon;
|
||||
}
|
||||
xul|*.radio-check[selected] {
|
||||
@include Proton.RadioCheckedIcon;
|
||||
}
|
||||
|
||||
xul|radio:not([disabled="true"]):hover {
|
||||
> xul|*.radio-check {
|
||||
|
|
@ -153,10 +156,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
xul|*.radio-check[selected] {
|
||||
@include Proton.RadioCheckedIcon;
|
||||
}
|
||||
|
||||
xul|radio:not([disabled="true"])[selected]:hover {
|
||||
> xul|*.radio-check {
|
||||
@include Proton.RadioCheckedIconHover;
|
||||
|
|
@ -183,35 +182,21 @@
|
|||
@include Proton.CheckboxGlobal;
|
||||
}
|
||||
|
||||
.checkbox-icon[src] {
|
||||
margin-inline-end: 2px !important;
|
||||
}
|
||||
.checkbox-label {
|
||||
@include Proton.ChexboxLabel;
|
||||
}
|
||||
|
||||
checkbox[disabled="true"] {
|
||||
@include Proton.DisabledChexbox;
|
||||
}
|
||||
|
||||
.checkbox-check {
|
||||
@include Proton.CheckboxIcon;
|
||||
}
|
||||
.checkbox-check[checked] {
|
||||
@include Proton.CheckboxCheckedIcon;
|
||||
}
|
||||
|
||||
checkbox:not([disabled="true"]):hover > .checkbox-check {
|
||||
checkbox:not([disabled="true"]):hover {
|
||||
> .checkbox-check {
|
||||
@include Proton.CheckboxIconHover;
|
||||
}
|
||||
&:active > .checkbox-check {
|
||||
@include Proton.CheckboxIconActive;
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox-check[checked] {
|
||||
@include Proton.CheckboxCheckedIcon;
|
||||
}
|
||||
|
||||
checkbox:not([disabled="true"]):hover {
|
||||
> .checkbox-check[checked] {
|
||||
@include Proton.CheckboxCheckedIconHover;
|
||||
}
|
||||
|
|
@ -235,10 +220,23 @@
|
|||
|
||||
checkbox:not([disabled="true"]):hover:active > .checkbox-check[checked],
|
||||
checkbox:not([disabled="true"]):hover > .checkbox-check[checked] {
|
||||
@include Proton.CheckboxCheckedIconHoverContrast;
|
||||
> .checkbox-check[checked] {
|
||||
@include Proton.CheckboxCheckedIconHoverContrast;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.checkbox-icon[src] {
|
||||
margin-inline-end: 2px !important;
|
||||
}
|
||||
.checkbox-label {
|
||||
@include Proton.ChexboxLabel;
|
||||
}
|
||||
|
||||
checkbox[disabled="true"] {
|
||||
@include Proton.DisabledChexbox;
|
||||
}
|
||||
|
||||
/* From common.css */
|
||||
xul|richlistitem > xul|*.checkbox-check {
|
||||
margin: 3px 6px !important;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue