mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-15 12:43:54 +02:00
53 lines
1.3 KiB
CSS
53 lines
1.3 KiB
CSS
|
|
@media not (-moz-bool-pref: "zen.view.sidebar-expanded") {
|
|
.tabbrowser-tab {
|
|
.tab-label-container {
|
|
--comptitle-width: 2ch;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
text-overflow: ellipsis;
|
|
width: var(--comptitle-width);
|
|
right: 0;
|
|
white-space: nowrap;
|
|
background: color-mix(in srgb, var(--background-color-box) 75%, transparent);
|
|
height: 1rem !important;
|
|
opacity: 1;
|
|
top: 0;
|
|
border-radius: 5px;
|
|
font-family: monospace;
|
|
display: flex !important;
|
|
mask-image: none !important;
|
|
color: var(--text-color-deemphasized);
|
|
}
|
|
&[selected] {
|
|
.tab-label-container {
|
|
color: initial!important;
|
|
}
|
|
}
|
|
|
|
@media (-moz-bool-pref: "uc.theme.comptitle-one-char-title.enabled") {
|
|
.tab-label-container {
|
|
--comptitle-width: 1ch;
|
|
}
|
|
}
|
|
|
|
@media (-moz-bool-pref: "uc.theme.comptitle-three-char-title.enabled") {
|
|
.tab-label-container {
|
|
--comptitle-width: 3ch;
|
|
}
|
|
}
|
|
|
|
@media (-moz-bool-pref: "uc.theme.comptitle-enable-pinned.enabled") {
|
|
.tab-label-container {
|
|
width: var(--comptitle-width)!important;
|
|
}
|
|
}
|
|
|
|
@media (-moz-bool-pref: "uc.theme.comptitle-default-text.enabled") {
|
|
.tab-label-container {
|
|
color: initial!important;
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|