forked from black7375/Firefox-UI-Fix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
macos-native-tabbar.css
53 lines (44 loc) · 1.73 KB
/
macos-native-tabbar.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/* ------------------------------------ */
/* Firefox Translucent Tabbar for macOS */
/* ------------------------------------ */
:root:not(:-moz-window-inactive) #navigator-toolbox {
background-color: transparent !important;
}
:root #TabsToolbar,
:root #titlebar,
:root #tabbrowser-tabs,
:root #nav-bar,
:root #PersonalToolbar {
-moz-appearance: -moz-mac-vibrant-titlebar-light !important;
-moz-appearance: -moz-mac-source-list !important;
background-color: transparent !important;
}
/* De-emphasize tab icons and names when window is unfocused */
:root:-moz-window-inactive .tab-content {
opacity: 0.6;
}
/* recolor toolbar button hover/active bg colors to semi-transparent */
:root {
--toolbarbutton-hover-background: color-mix(in srgb, currentColor 11%, transparent) !important;
--toolbarbutton-active-background: color-mix(in srgb, currentColor 21%, transparent) !important;
}
/* make tabs toolbar translucent */
/* FF 99 > lwthemetextcolor="bright" */
/* FF 100< lwt-default-theme-in-dark-mode="true" */
:root:not(:-moz-window-inactive [lwt-default-theme-in-dark-mode]) #TabsToolbar {
-moz-appearance: -moz-mac-vibrant-titlebar-light !important;
-moz-appearance: -moz-mac-source-list !important;
}
:root:not(:-moz-window-inactive)[lwt-default-theme-in-dark-mode] #TabsToolbar {
-moz-appearance: -moz-mac-vibrant-titlebar-dark !important;
-moz-appearance: -moz-mac-source-list !important;
}
:root:-moz-window-inactive[lwt-default-theme-in-dark-mode] {
--lwt-accent-color-inactive: rgb(40, 40, 40) !important;
}
:root:not([lwt-default-theme-in-dark-mode]) .tabbrowser-tab:not([selected="true"]) {
color: #000 !important;
}
:root[lwt-default-theme-in-dark-mode] {
--tab-line-color: hsla(280, 30%, 80%, 0.9) !important;
}