mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
firefox: tree style tab: no decoration theme
This commit is contained in:
parent
3eade17ba4
commit
5eeb214d06
1 changed files with 54 additions and 20 deletions
|
|
@ -1,43 +1,77 @@
|
||||||
.newtab-button {
|
:root {
|
||||||
display: none;
|
--tab-size: 2.3em;
|
||||||
|
--tab-highlighter-size: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* No new tab button */
|
||||||
|
.newtab-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Counter tunning */
|
||||||
.counter {
|
.counter {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.counter::before {
|
.counter::before {
|
||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
.counter::after {
|
.counter::after {
|
||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
|
|
||||||
.twisty {
|
/* Put scrollbar rightside */
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tab {
|
|
||||||
box-shadow: none !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#subpanel-container {
|
|
||||||
display: none;
|
|
||||||
opacity: 0;
|
|
||||||
transition: opacity 0.3s ease;
|
|
||||||
}
|
|
||||||
#subpanel-container:hover {
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
#tabbar-container {
|
|
||||||
bottom: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
tab-item.active .background {
|
|
||||||
background-color: #e8e8e8;
|
|
||||||
background-color: var(--face-highlight-lighter);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* put scrollbar rightside */
|
|
||||||
:root.left #tabbar { direction: ltr; }
|
:root.left #tabbar { direction: ltr; }
|
||||||
|
|
||||||
|
/* Scrollbar width */
|
||||||
|
#pinned-tabs-container, #normal-tabs-container {
|
||||||
|
scrollbar-width: unset;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Common background */
|
||||||
|
#background {
|
||||||
|
background: color-mix(in srgb, -moz-dialog 85%, white);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pined tabs container */
|
||||||
|
#pinned-tabs-container {
|
||||||
|
border-bottom: 1px solid rgb(173, 173, 173);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Tabs */
|
||||||
|
|
||||||
|
tab-item,
|
||||||
|
tab-item-substance {
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
tab-item-substance {
|
||||||
|
padding: 0.3em;
|
||||||
|
border: 1px solid rgb(173, 173, 173);
|
||||||
|
border-right: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab, .tab.pinned {
|
||||||
|
height: var(--tab-size);
|
||||||
|
margin-top: -1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab:hover > tab-item-substance,
|
||||||
|
.tab.active > tab-item-substance {
|
||||||
|
background: var(--face-highlight-more-more-lighter);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab .label {
|
||||||
|
margin-left: 0.4em;
|
||||||
|
line-height: var(--tab-size);
|
||||||
|
}
|
||||||
|
|
||||||
|
.tab .closebox {
|
||||||
|
margin-left: 0.2em;
|
||||||
|
margin-right: 0.1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
tab-item tab-favicon,
|
||||||
|
tab-item tab-favicon * {
|
||||||
|
vertical-align: top;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue