Hallo Andreas.
Habe hier mal wieder einen schwierigen Fall.
Ich arbeite am Adblockplus Kontextmenü, der Statusbar Schaltfläche,
Addon Schaltfläche und Menüeintrag bei Extras.
Da sind wie auf dem Bild ersichtlich mehrere Einträge die Checked false oder true haben.
(Rotes x oder Grüner Haken) Ich schaffe es nur die alle gemeinsam anzusprechen.
Ich möchte die aber einzeln ansprechen um unter anderem die Abstände individuell anzupassen.
[Blockierte Grafik: http://img703.imageshack.us/img703/8637/bild000t.png]
Ich habe verschiedenste Sachen probiert aber immer nichts.
Das einzige was funktioniert ist:
#abp-menuitem-popup menuitem[type="checkbox"] > .menu-iconic-left,
#abp-status-popup menuitem[type="checkbox"] > .menu-iconic-left,
#abp-toolbar-popup menuitem[type="checkbox"] > .menu-iconic-left {
-moz-appearance: menuimage !important;
}
#abp-menuitem-popup menuitem[type="checkbox"] .menu-iconic-icon,
#abp-status-popup menuitem[type="checkbox"] .menu-iconic-icon,
#abp-toolbar-popup menuitem[type="checkbox"] .menu-iconic-icon {
display:-moz-box !important;
}
#abp-menuitem-popup menuitem[type="checkbox"] {
-moz-binding:url("chrome://global/content/bindings/menu.xml#menuitem-iconic") !important;
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAQCAYAAAB3AH1ZAAAD9klEQVR4XsXUa0wcVRgG4Hdml%2B52L1CWBQtslxY0ptl6gSYFIhRolcZebLQt1EJZKPYCsVQN0mwLtF6w1qSJ%2B8d%2FrdWo0cTqLzXeUqMxpjGtmmwtW%2B6XXcCGXrjszs6ZOZ%2FD2jZuKQTUxDc5%2F87k%2BWbmPUcgIvybCIKA%2BUSqrjUZT58M3QJE%2FIehxoMZ2nLNiLt3uYjJuyfLnl79j5Hyd5%2FwPnVy%2FZG74gcPEW%2FykHrgBdc0vKrGJdU8Q5F99TT%2B5NYPxzZtXj7vL1D2ziZvSmJywz225KOPe0s8UZgoikOn64XBABiNgCj6WN2zt4cI76x2QRB8OosZC%2Bx2xMXHl3OZlV5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dzhjcIGI8H%2FmT%2ByxAWm%2FdITeAAAAAElFTkSuQmCC") !important;
-moz-image-region: rect(0px 32px 16px 16px) !important;
margin-left:-8px !important;
}
#abp-status-popup menuitem[type="checkbox"] ,
#abp-toolbar-popup menuitem[type="checkbox"] {
-moz-binding:url("chrome://global/content/bindings/menu.xml#menuitem-iconic") !important;
list-style-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAQCAYAAAB3AH1ZAAAD9klEQVR4XsXUa0wcVRgG4Hdml%2B52L1CWBQtslxY0ptl6gSYFIhRolcZebLQt1EJZKPYCsVQN0mwLtF6w1qSJ%2B8d%2FrdWo0cTqLzXeUqMxpjGtmmwtW%2B6XXcCGXrjszs6ZOZ%2FD2jZuKQTUxDc5%2F87k%2BWbmPUcgIvybCIKA%2BUSqrjUZT58M3QJE%2FIehxoMZ2nLNiLt3uYjJuyfLnl79j5Hyd5%2FwPnVy%2FZG74gcPEW%2FykHrgBdc0vKrGJdU8Q5F99TT%2B5NYPxzZtXj7vL1D2ziZvSmJywz225KOPe0s8UZgoikOn64XBABiNgCj6WN2zt4cI76x2QRB8OosZC%2Bx2xMXHl3OZlV5d85ionyu%2B7fTGKJ7pzEAoLCEcll4rejVPBNAGohGSZa4NIQpWK4gxQJJ8kZraFZwpEDRctFqgt8ZDGhhAZGhY5Yy9ZTv7DZ%2FTAFvf3uBNXmRvWLYkAwpX0dnTjd6efjBZOXGzhJLa8LyZbtyYEGRZJ8YngGQZFJF8mg7RYkGc1RrFpeFhlRRmsZ39lsUg9V%2B71%2B79onL3nfiWUxu8dZ%2B66Y0LR%2Bj4hVaq%2FqCcCl%2FOVfJbVhpxR9jeOmOkdo%2FC9j9H1HqU6HArkaeZ6KCHwpVVdO3RdcrV4jXTnkP9V%2B6CPZ9XBj3f7Sf3x9sO3MK1snn3fVJFx8%2B30LHzzeR%2Bv4wKXlql5DXnxOKxZTOGduxUydNCVFFFtL2CqLGJrq0tVUeLSqbh%2Brovq0oVppxaanemGuIM6AsOntDKBsYUR%2FIiW4PT6YTCFbT7O9Dd2adqey3n2n6RMEM4Y1mCKIhQFYAxgHNAUSDoRJGHWBaAi%2FhbRA3%2FQWU8%2FfrEGHR6PVxZy3X2xKQ3HYvTGh0OBxRScKn9Mro6ejmTZ8dD2ytcEODTLTQBCgPS0rSVGh3AkJAAnV7nG344J%2BaICgBQ%2BdEWE1f5ZFKCDY7UdHCuQuYMIMDv70RvZz8xpph%2BPvbrjPhk%2BQ6XIAo%2Bvck8dcwQHgpCGhmZartgTLSJ5rTFCA0NIxQMQh6fWJHu%2F%2F3i7XvgvfIzoYgkmwcDQXR0d4FxBSrnaL%2FUgZ6OPmIymxEnImg3m0sQNFx78zirGeFAINp2LjMLMWaeDATU8e4emOxJWGi3Q78gzjewNNMVcxGd2fVZSJIi5oH%2BAC77u%2BCfwjtv4q%2F%2FFsVn%2Be8pxFWAuIYPITzyF27%2F8Xsp%2BdxPEmfMMqENMdbVDVEUIWiLVDUFd0txW76p8JVcyj2czVY2PWjAHHN93fqSsY2baXR1sXolv2Ba2wP33W8czLxX%2BeOhbOpfklGC2bLqULYp58UHDJhnRguLSq7kPTLjER3IWGbsdzhjcIGI8H%2FmT%2ByxAWm%2FdITeAAAAAElFTkSuQmCC") !important;
-moz-image-region: rect(0px 32px 16px 16px) !important;
}
#abp-menuitem-popup menuitem[type="checkbox"][checked="true"]{
-moz-image-region: rect(0px 16px 16px 0px) !important;
margin-left:-8px !important;
}
#abp-status-popup menuitem[type="checkbox"][checked="true"],
#abp-toolbar-popup menuitem[type="checkbox"][checked="true"] {
-moz-image-region: rect(0px 16px 16px 0px) !important;
margin-left:-5px !important;
}
#abp-menuitem-popup menuitem[type="checkbox"][checked="true"],
#abp-status-popup menuitem[type="checkbox"][checked="true"],
#abp-toolbar-popup menuitem[type="checkbox"][checked="true"] >.menu-iconic-text{
margin-left:-5px !important;
}
#abp-menuitem-popup menuitem[type="checkbox"],
#abp-status-popup menuitem[type="checkbox"],
#abp-toolbar-popup menuitem[type="checkbox"]>.menu-iconic-text{
margin-left: 2px !important;
}
Alles anzeigen
Aber damit habe ich Probleme mit den Abständen, je nachdem wo und
wie das Menü aufgerufen wird.
Hast Du eine Idee wie ich die sonst noch ansprechen kann?
Bin am Ende meines Lateins. :traurig:
Mfg.
Endor