-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.css
126 lines (101 loc) · 3.43 KB
/
custom.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
:root,
html,
body {
/* add your css below userChrome.chrome-refresh-2023 userChrome.system-accent-colors*/
--md-accent-color: AccentColor;
}
#tab-preview-panel {
display: none !important;
}
#alltabs-button {
display: none !important;
}
#unified-extensions-button {
opacity: 0 !important;
}
#tracking-protection-icon-container {
display: none !important;
}
#identity-permission-box {
display: none !important;
}
#notification-popup-box {
display: none !important;
}
.activity-stream .personalize-button {
display: none !important;
}
#nav-bar #back-button image {
list-style-image: url("chrome://global/skin/icons/arrow-left.svg") !important;
padding: 5px !important;
}
#nav-bar #forward-button image {
list-style-image: url("chrome://global/skin/icons/arrow-left.svg") !important;
padding: 5px !important;
}
.tabbrowser-tab::after {
display: none !important;
}
.logo-and-wordmark {
display: none !important;
}
@media (prefers-color-scheme: dark) {
:root,
html,
body {
--md-accent-color: color-mix(in srgb, var(--md-white) 15%, AccentColor);
--md-tab-background-color-hover: color-mix(in srgb,
transparent 75%,
var(--md-accent-color));
--md-tab-opacity: 0.9;
}
}
html.private {
background-color: var(--md-grey-900-white-5-percent) !important;
}
/* ------------------------------------ */
/* Firefox Translucent Tabbar for macOS */
/* ------------------------------------ */
/*
:root#main-window {
background-color: transparent !important;
}
:root:not(:-moz-window-inactive) #navigator-toolbox {
background-color: transparent !important;
}
:root #TabsToolbar,
:root #titlebar,
:root #nav-bar-customization-target,
:root #PanelUI-button,
:root #tabbrowser-tabs {
-moz-default-appearance: -moz-window-titlebar !important;
appearance: -moz-window-titlebar !important;
background-color: transparent !important;
}
:root:-moz-window-inactive .tab-content {
opacity: 0.9;
}
:root {
--toolbarbutton-hover-background: color-mix(in srgb, currentColor 11%, transparent) !important;
--toolbarbutton-active-background: color-mix(in srgb, currentColor 21%, transparent) !important;
}
.tab-background:is([selected], [multiselected]):-moz-lwtheme {
border: none !important;
}
#tabbrowser-tabs:not([noshadowfortests]) .tab-background:is([selected], [multiselected]) {
box-shadow: 0 0 0 var(--tabs-navbar-shadow-size) rgba(0, 0, 0, .1), 0 1px 5px rgba(0, 0, 0, .1) !important;
}
:root:-moz-window-inactive #tabbrowser-tabs:not([noshadowfortests]) .tab-background:is([selected], [multiselected]) {
box-shadow: 0 0 0 var(--tabs-navbar-shadow-size) rgba(0, 0, 0, .05) !important;
}
@media (-moz-content-prefers-color-scheme: dark) {
:root #tabbrowser-tabs:not([noshadowfortests]) .tab-background:is([selected], [multiselected]) {
box-shadow: 0 0 0 var(--tabs-navbar-shadow-size) hsla(280, 6%, 60%, 0.5) inset, 0 0 0 var(--tabs-navbar-shadow-size) rgba(0, 0, 0, .6), 0 1px 5px rgba(0, 0, 0, .1) !important;
}
:root:-moz-window-inactive #tabbrowser-tabs:not([noshadowfortests]) .tab-background:is([selected], [multiselected]) {
box-shadow: 0 0 0 var(--tabs-navbar-shadow-size) rgba(0, 0, 0, .4) !important;
}
}
#nav-bar {
border-radius: 8px 8px 0px 0px !important;
} */