Use [checked="true"] in menuitem selectors
This was only using [checked] to check if the item is checked, but the attribute can also be "false".
This commit is contained in:
parent
6c7abad64e
commit
a9e58dcf21
1 changed files with 2 additions and 2 deletions
|
@ -26,10 +26,10 @@ menuitem:is([type="checkbox"],[type="radio"]) > .menu-iconic-left{
|
||||||
menuitem[type="radio"] > .menu-iconic-left{
|
menuitem[type="radio"] > .menu-iconic-left{
|
||||||
border-radius: 100%;
|
border-radius: 100%;
|
||||||
}
|
}
|
||||||
menuitem[type="radio"][checked] > .menu-iconic-left{
|
menuitem[type="radio"][checked="true"] > .menu-iconic-left{
|
||||||
background-image: radial-gradient( AccentColor 40%, transparent 50%);
|
background-image: radial-gradient( AccentColor 40%, transparent 50%);
|
||||||
list-style-image: none !important;
|
list-style-image: none !important;
|
||||||
}
|
}
|
||||||
menuitem[type="checkbox"][checked] > .menu-iconic-left{
|
menuitem[type="checkbox"][checked="true"] > .menu-iconic-left{
|
||||||
background-image: url("chrome://global/skin/icons/check.svg");
|
background-image: url("chrome://global/skin/icons/check.svg");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue