mirror of
https://github.com/zen-browser/theme-store.git
synced 2025-07-07 17:05:31 +02:00
Update chrome.css
This commit is contained in:
parent
1a130fe8fc
commit
b92fe78559
1 changed files with 32 additions and 35 deletions
|
@ -389,21 +389,37 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* pins height */
|
/* pins height */
|
||||||
|
:root {
|
||||||
|
--pins-height: var(--tab-min-height);
|
||||||
|
}
|
||||||
|
|
||||||
:root:has(#theme-SuperPins[uc-pinned-height="small"]) {
|
:root:has(#theme-SuperPins[uc-pinned-height="small"]) {
|
||||||
.zen-workspace-pinned-tabs-section .tabbrowser-tab {
|
--pins-height: 40px;
|
||||||
height: 40px !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
:root:has(#theme-SuperPins[uc-pinned-height="normal"]) {
|
:root:has(#theme-SuperPins[uc-pinned-height="normal"]) {
|
||||||
.zen-workspace-pinned-tabs-section .tabbrowser-tab {
|
--pins-height: 50px;
|
||||||
height: 50px !important;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:root:has(#theme-SuperPins[uc-pinned-height="large"]) {
|
||||||
|
--pins-height: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
|
:root:has(#theme-SuperPins[uc-pinned-height="small"]),
|
||||||
|
:root:has(#theme-SuperPins[uc-pinned-height="normal"]),
|
||||||
:root:has(#theme-SuperPins[uc-pinned-height="large"]) {
|
:root:has(#theme-SuperPins[uc-pinned-height="large"]) {
|
||||||
.zen-workspace-pinned-tabs-section .tabbrowser-tab {
|
.zen-workspace-pinned-tabs-section .tabbrowser-tab {
|
||||||
height: 60px !important;
|
height: var(--pins-height) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (-moz-bool-pref: "uc.essentials.same-height") {
|
||||||
|
.tabbrowser-tab[zen-essential] {
|
||||||
|
height: var(--pins-height) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tabbrowser-tab[zen-essential] .tab-background {
|
||||||
|
min-height: var(--pins-height) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -568,37 +584,18 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (-moz-bool-pref: "uc.pins.stay-at-top") {
|
@media (-moz-bool-pref: "uc.pins.stay-at-top") {
|
||||||
#zen-browser-tabs-container {
|
zen-workspace > arrowscrollbox.workspace-arrowscrollbox {
|
||||||
height: 100% !important;
|
overflow-y: hidden !important;
|
||||||
|
flex-basis: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tabbrowser-arrowscrollbox {
|
#tabbrowser-arrowscrollbox .zen-workspace-pinned-tabs-section {
|
||||||
height: 100% !important;
|
flex: 0 1 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tabbrowser-arrowscrollbox>.zen-workspace-tabs-section {
|
#tabbrowser-arrowscrollbox .zen-workspace-normal-tabs-section {
|
||||||
|
flex: 1 1 0;
|
||||||
overflow-y: auto !important;
|
overflow-y: auto !important;
|
||||||
overflow-x: hidden !important;
|
|
||||||
/* Calculate the height of the bottom workspace section. */
|
|
||||||
max-height: calc(100% - 43px) !important;
|
|
||||||
box-sizing: border-box !important;
|
|
||||||
padding-bottom: 60px !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* In case workspace indicator is not visible. */
|
|
||||||
@media (not (-moz-bool-pref: "zen.workspaces.show-workspace-indicator")) {
|
|
||||||
#tabbrowser-arrowscrollbox>.zen-workspace-tabs-section {
|
|
||||||
max-height: calc(100% - 5px) !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#zen-tabs-wrapper {
|
|
||||||
overflow: hidden !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Ensure tab-groups never shrink. */
|
|
||||||
tab-group {
|
|
||||||
flex: 0 0 auto !important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue