theme-store/themes/35f24f2c-b211-43e2-9fe4-2c3bc217d9f7/chrome.css
2024-08-26 19:22:23 +00:00

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;
}
}
}
}