dot/firefox/chrome/special/linux.css
2024-05-04 01:09:55 +01:00

49 lines
1.5 KiB
CSS

@media (-moz-bool-pref: "userChrome.Menu.Icons.Regular.Enabled") or
(-moz-bool-pref: "userChrome.Menu.Icons.Filled.Enabled")
{
:root
{
--align-menu-icons: -2px -18px;
}
}
@media (-moz-bool-pref: "userChrome.Linux.Transparency.Low.Enabled") or
(-moz-bool-pref: "userChrome.Linux.Transparency.Medium.Enabled") or
(-moz-bool-pref: "userChrome.Linux.Transparency.High.Enabled") or
(-moz-bool-pref: "userChrome.Linux.Transparency.VeryHigh.Enabled")
{
:root
{
--toolbox-background-color: ActiveCaption;
&:-moz-window-inactive
{
--toolbox-background-color: InActiveCaption;
}
@media (-moz-bool-pref: "userChrome.Linux.Transparency.Low.Enabled")
{
--toolbox-transparency: 25%;
}
@media (-moz-bool-pref: "userChrome.Linux.Transparency.Medium.Enabled")
{
--toolbox-transparency: 50%;
}
@media (-moz-bool-pref: "userChrome.Linux.Transparency.High.Enabled")
{
--toolbox-transparency: 75%;
}
@media (-moz-bool-pref: "userChrome.Linux.Transparency.VeryHigh.Enabled")
{
--toolbox-transparency: 100%;
}
&[tabsintitlebar]:not([lwtheme]) #navigator-toolbox
{
background-color: color-mix(in srgb, var(--toolbox-background-color), transparent var(--toolbox-transparency)) !important;
}
}
}