Ich habe selbst noch etwas dazu recherchiert und getestet.
Falls jemand dieselbe Frage hat und auf dieses Thema stößt:
Der Trick ist, dass Elemente nicht mehr auf der kleinsten Ebene angesprochen werden müssen, sondern auf der Hauptebene.
Beispiel:
Statt:
CSS
#taskbar-tabs-button.urlbar-page-action {
color: #fff !important;
}
#taskbar-tabs-button.urlbar-page-action:hover {
background-color: #2b2c86 !important;
color: red !important;
border-radius: 8px !important;
}
muss
CSS
#taskbar-tabs-button {
border-radius: 8px !important;
color: #fff !important;
}
#taskbar-tabs-button.urlbar-page-action:hover {
border-radius: 8px !important;
color: red !important;
background-color: #2b2c86 !important;
}
verwendet werden.
