1
0
Fork 0
firefox/toolkit/themes/shared/tabbox.css
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

49 lines
1.1 KiB
CSS

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* ===== tabbox.css =================================================
== Styles used by XUL tab-related elements.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* ::::: tabs ::::: */
tabs {
border-bottom: 1px solid ThreeDShadow;
}
/* ::::: tabpanels ::::: */
tabpanels {
padding: 8px;
}
/* ::::: tab ::::: */
tab {
position: relative;
border-bottom: 3px solid transparent;
padding: 6px 1em;
&:where(:hover) {
background-color: color-mix(in srgb, currentColor 15%, transparent);
}
&:where(:hover:active, [visuallyselected]) {
background-color: color-mix(in srgb, currentColor 30%, transparent);
}
&:where([visuallyselected]) {
border-bottom-color: AccentColor;
}
}
.tab-text {
margin: 0 !important;
}
.tabs-right {
flex: 1;
}