2023-12-24 05:13:25 +00:00
|
|
|
tabbox {
|
|
|
|
tabs {
|
|
|
|
tab {
|
|
|
|
appearance: none;
|
|
|
|
// Since the tab with opacity is weird, we just use hard-coded colors
|
|
|
|
@include light-dark(background, #ededed, #343434);
|
2024-07-09 08:02:52 +00:00
|
|
|
--tabbox-tab-shadow:
|
2023-12-24 05:13:25 +00:00
|
|
|
0px 2px 2px -2px var(--fill-quarternary) inset,
|
|
|
|
0px -2px 2px -2px var(--fill-quarternary) inset,
|
|
|
|
0px 4px 4px -4px var(--fill-quinary) inset,
|
|
|
|
0px -4px 4px -4px var(--fill-quinary) inset;
|
2024-07-09 08:02:52 +00:00
|
|
|
--tabbox-tab-shadow-left:
|
|
|
|
2px 0px 2px -2px var(--fill-quarternary) inset,
|
|
|
|
4px 0px 4px -4px var(--fill-quinary) inset;
|
|
|
|
--tabbox-tab-shadow-right:
|
|
|
|
-2px 0px 2px -2px var(--fill-quarternary) inset,
|
|
|
|
-4px 0px 4px -4px var(--fill-quinary) inset;
|
|
|
|
|
|
|
|
box-shadow: var(--tabbox-tab-shadow);
|
2023-12-24 05:13:25 +00:00
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "";
|
|
|
|
height: 14px;
|
|
|
|
top: 5px;
|
|
|
|
border-left: 1px solid var(--fill-quarternary);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-of-type {
|
2024-07-09 08:02:52 +00:00
|
|
|
border-start-start-radius: 6px;
|
|
|
|
border-end-start-radius: 6px;
|
|
|
|
|
2023-12-24 05:13:25 +00:00
|
|
|
&::before {
|
|
|
|
display: none;
|
|
|
|
}
|
2024-07-09 08:02:52 +00:00
|
|
|
|
|
|
|
&:-moz-locale-dir(ltr) {
|
|
|
|
box-shadow:
|
|
|
|
var(--tabbox-tab-shadow),
|
|
|
|
var(--tabbox-tab-shadow-left);
|
|
|
|
}
|
|
|
|
&:-moz-locale-dir(rtl) {
|
|
|
|
box-shadow:
|
|
|
|
var(--tabbox-tab-shadow),
|
|
|
|
var(--tabbox-tab-shadow-right);
|
|
|
|
}
|
2023-12-24 05:13:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&:last-of-type {
|
2024-07-09 08:02:52 +00:00
|
|
|
border-start-end-radius: 6px;
|
|
|
|
border-end-end-radius: 6px;
|
|
|
|
&:-moz-locale-dir(ltr) {
|
|
|
|
box-shadow:
|
|
|
|
var(--tabbox-tab-shadow),
|
|
|
|
var(--tabbox-tab-shadow-right);
|
|
|
|
}
|
|
|
|
&:-moz-locale-dir(rtl) {
|
|
|
|
box-shadow:
|
|
|
|
var(--tabbox-tab-shadow),
|
|
|
|
var(--tabbox-tab-shadow-left);
|
|
|
|
}
|
2023-12-24 05:13:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&[visuallyselected=true] {
|
2024-04-15 07:47:53 +00:00
|
|
|
/* fx115: toolkit/themes/osx/global/tabbox.css sets selected tabs' text color to #FFF, which is incorrect */
|
|
|
|
&:not(:-moz-window-inactive) {
|
|
|
|
color: unset;
|
|
|
|
}
|
|
|
|
|
2023-12-24 05:13:25 +00:00
|
|
|
& + tab {
|
|
|
|
&::before {
|
2024-07-09 08:02:52 +00:00
|
|
|
border-color: transparent;
|
2023-12-24 05:13:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
2024-07-09 08:02:52 +00:00
|
|
|
border-color: transparent;
|
2023-12-24 05:13:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.tab-middle {
|
|
|
|
border-radius: 5px;
|
|
|
|
background: var(--material-button);
|
|
|
|
box-shadow:
|
|
|
|
0px 1px 0.75px 0px var(--fill-quinary),
|
|
|
|
0px 0.25px 0.25px 0px var(--color-border);;
|
|
|
|
border: 0.5px solid var(--fill-senary);
|
2024-07-09 08:02:52 +00:00
|
|
|
padding: 0.5px 6px 0.5px;
|
|
|
|
margin: 0px -0.5px 1px -0.5px;
|
2023-12-24 05:13:25 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
tabpanels {
|
|
|
|
appearance: none;
|
|
|
|
background: var(--color-sidepane);
|
|
|
|
border: 1px solid var(--fill-quinary);
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
}
|