Hallo,
ich habe das Linen Light Theme. Nun möchte ich, dass alle bereits geladenen Tabs dieselbe Farbe haben wie der aktuell ausgewählte Tab. Die ungeladenen Tabs sollen die Farbe bekommen, die in Linen Light für alle anderen außer dem gerade ausgewählten Tab benutzt wird
Kann man irgendwie die Farbcodes eines Themes auslesen, also welcher Farbcode für welchen Tabstatus benutzt wird?
Ich habe schon folgenden Code gefunden, aber der hilft mir ja nicht, weil ich ja irgendwoher die Farbcodes der Tabs von Linen Light bekommen möchte.
CSS
/* Tab, normal */
.tabbrowser-tab .tab-content {
background: aquamarine !important;
color: black !important;
}
/* Tab, aktiv */
.tabbrowser-tab[visuallyselected="true"] .tab-content {
background: green !important;
color: black !important;
}
/* Ungelesenes Tab / Tab, in welchem (noch) kein Link angewählt wurde */
.tabbrowser-tab[notselectedsinceload="true"] .tab-content {
background: yellow !important;
color: black !important;
}
/* Tab, entladen / (noch) nicht geladen */
.tabbrowser-tab[pending="true"] .tab-content {
background: blue !important;
color: black !important;
}
/* Letztes Tab */
.tabbrowser-tab[last-visible-tab="true"] .tab-content {
background: lightseagreen !important;
color: black !important;
}
/* Tab, aktiv */
.tabbrowser-tab[selected='true'] .tab-content {
background: coral !important;
color: black !important;
}
/* Das Tab vor dem aktiven Tab > Wozu das gut sein soll, weiss ich nicht... */
.tabbrowser-tab[beforeselected-visible="true"] .tab-content {
background: rebeccapurple !important;
color: black !important;
}
Alles anzeigen