Evtl. sind spezielle Menüs auch speziell einzustellen, nur so ein Gedanke.
Ich denke, ich habe es entsprechend eingeengt.
CSS
@-moz-document url(chrome://browser/content/browser.xhtml) {
/* ----------------------------------------------- */
/* ------------- Checkboxen allgemein ------------ */
/* ----------------------------------------------- */
/* Symbol ausblenden, wenn Option deaktiviert */
menupopup > menuitem[type="checkbox"] > img.menu-icon,
menupopup > menuitem[type="checkbox"]:not([checked]) > img,
menupopup > menuitem[type="checkbox"][checked] > img {
display: none !important;
}
/* Eigenes Symbol einfügen, wenn Option aktiviert */
menupopup > menuitem[type="checkbox"][checked]::before {
content: '' !important;
display: block !important;
width: 16px !important;
height: 16px !important;
margin-left: 0px !important;
margin-right: 6px !important;
background-image: url("../icons/menu-check_lime.svg") !important;
background-repeat: no-repeat !important;
background-size: 16px 16px !important;
background-position: center !important;
}
/* Eigenes Symbol einfügen, wenn Option deaktiviert */
menupopup > menuitem[type="checkbox"]::before {
content: '' !important;
display: block !important;
width: 16px !important;
height: 16px !important;
margin-left: 0px !important;
margin-right: 6px !important;
background-image: url("../icons/stop_smal_red.svg") !important;
background-repeat: no-repeat !important;
background-size: 16px 16px !important;
background-position: center !important;
}
menupopup > menuitem#goOfflineMenuitem[type="checkbox"]::before,
menupopup > menuitem#fullScreenItem[type="checkbox"]::before {
visibility: collapse !important;
}
/* --- Symbolleisten --- */
#toggle_PersonalToolbar > menupopup > menuitem[type="radio"][checked] > .menu-icon {
display: none !important;
}
#toggle_PersonalToolbar > menupopup > menuitem[type="radio"][checked]::before {
content: url("../icons/menu-check_lime.svg") !important;
/*content: url("chrome://global/skin/icons/settings.svg") !important; */
display: block !important;
width: 16px !important;
height: 16px !important;
margin-left: -2px !important;
margin-right: 10px !important;
}
#toggle_PersonalToolbar > menupopup > menuitem[type="radio"]:not([checked])::before {
content: url("../icons//square_2.svg") !important;
/*content: url("chrome://global/skin/icons/close.svg") !important; */
display: block !important;
width: 16px !important;
height: 16px !important;
margin-left: -2px !important;
margin-right: -14px !important;
}
/* ------ Sidebar ------ */
/* Eigenes Symbol einfügen, wenn Option aktiviert */
menupopup > menuitem#menu_historySidebar[type="checkbox"][checked]::before,
menupopup > menuitem#menu_tabsSidebar[type="checkbox"][checked]::before,
menupopup > menuitem#menu_bookmarksSidebar[type="checkbox"][checked]::before,
menupopup > menuitem#menu_genaiChatSidebar[type="checkbox"][checked]::before,
menupopup > menuitem#menu_megalistSidebar[type="checkbox"][checked]::before {
background-image: url("../icons/menu-check_lime.svg") !important;
}
/* Eigene Symbole für inaktiven Einträge */
/* Chronik */
menuitem[id="menu_historySidebar"][type="checkbox"]::before {
background-image: url("../icons/history.svg") !important;
}
/* Synchronisierte Tabs */
menuitem[id="menu_tabsSidebar"][type="checkbox"]::before {
background-image: url("../icons/Dock Side Left.svg") !important;
}
/* Lesezeichen */
menuitem[id="menu_bookmarksSidebar"][type="checkbox"]::before {
background-image: url("../icons/bookmark.svg") !important;
}
/* KI-Chatbot */
menuitem[id="menu_genaiChatSidebar"][type="checkbox"]::before {
background-image: url("../icons/robot-icon.svg") !important;
}
/* Passwörter */
menuitem[id="menu_megalistSidebar"][type="checkbox"]::before {
background-image: url("../icons//passwords.svg") !important;
}
/* -------- Zoom -------- */
/* Nur Text zoomen, aktiviert */
menupopup > #toggle_zoom[type="checkbox"][checked]::before {
content: '' !important;
display: block !important;
width: 16px !important;
height: 16px !important;
margin-left: -22px !important;
margin-right: 6px !important;
background-image: url("../icons/menu-check_lime.svg") !important;
background-repeat: no-repeat !important;
background-size: 16px 16px !important;
background-position: center !important;
}
/* Nur Text zoomen, deaktiviert */
menupopup > #toggle_zoom[type="checkbox"]::before {
content: '' !important;
display: block !important;
width: 16px !important;
height: 16px !important;
margin-left: -22px !important;
margin-right: 6px !important;
background-image: url("../icons/stop_smal_red.svg") !important;
background-repeat: no-repeat !important;
background-size: 16px 16px !important;
background-position: center !important;
}
/* --- Webseiten-Stil --- */
/* Symbol ausblenden, wenn Option aktiviert */
#menu_pageStyleNoStyle[type="radio"] > .menu-icon,
#menu_pageStylePersistentOnly[type="radio"] > .menu-icon {
visibility: hidden !important;
}
/* Symbol einfügen, wenn Option inaktiv */
#menu_pageStyleNoStyle[type="radio"]:not([checked])::before,
#menu_pageStylePersistentOnly[type="radio"]:not([checked])::before {
content: url("../icons//square_2.svg") !important;
/*content: url("chrome://global/skin/icons/warning.svg") !important; */
display: block !important;
width: 16px !important;
height: 16px !important;
margin-left: -2px !important;
margin-right: -18px !important;
}
/* Symbol einfügen, wenn Option aktiviert */
#menu_pageStyleNoStyle[type="radio"]::before,
#menu_pageStylePersistentOnly[type="radio"]::before {
content: url("../icons/menu-check_lime.svg") !important;
/*content: url("chrome://global/skin/icons/delete.svg") !important; */
display: block !important;
width: 16px !important;
height: 16px !important;
margin-left: -2px !important;
margin-right: -18px !important;
}
}
Alles anzeigen
Ich finde, das sieht gar nicht schlecht aus,
und Fehlverhalten habe ich jetzt auch nicht mehr feststellen können.
Wirkt wohl nur noch da, wo es auch wirken soll.