mirror of
https://codeberg.org/claui/mobile-config-firefox.git
synced 2025-10-14 12:55:54 +00:00
create custom_menupopup_check_icons.css
This commit is contained in:
parent
3c075b52d6
commit
fb987ad073
3 changed files with 22 additions and 1 deletions
19
chrome/custom_menupopup_check_icons.css
Normal file
19
chrome/custom_menupopup_check_icons.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/custom_menupopup_check_icons.css made available under Mozilla Public License v. 2.0
|
||||
See the above repository for updates as well as full license text. */
|
||||
|
||||
menuitem:is([type="checkbox"],[type="radio"]) .menu-iconic-left{
|
||||
-moz-appearance: none !important;
|
||||
height: 14px;
|
||||
margin-block: 4px;
|
||||
margin-inline: 3px 8px !important;
|
||||
background-repeat: no-repeat;
|
||||
background-size: contain;
|
||||
background-position: center;
|
||||
-moz-context-properties: fill;
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
menuitem[checked] .menu-iconic-left{
|
||||
background-image: url("chrome://global/skin/icons/check.svg");
|
||||
background-color: transparent
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue