-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChrome.css
94 lines (72 loc) · 2.4 KB
/
userChrome.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
/* UserChrome.css for Firefox */
/* Remove maximum/minimum width restriction of sidebar */
#sidebar {
max-width: none !important;
min-width: 0px !important;
}
/* Inactive tabs: Outline style */
.tabbrowser-tab:not([selected]):not([multiselected]) .tab-background {
border: 1px solid rgba(0, 0, 0, .20) !important;
border-bottom-color: transparent !important;
}
/* For dark backgrounds */
[brighttext="true"] .tabbrowser-tab:not([selected]):not([multiselected]) .tab-background {
border: 1px solid rgba(255, 255, 255, .20) !important; /* Simplified color setting */
border-bottom-color: transparent !important;
}
/* Emulate blue tab line from Photon 57-88 UI */
.tab-background::before {
content: "";
display: block;
height: 2px;
margin: -1px var(--user-tab-rounding) 0;
}
.tabbrowser-tab[selected] .tab-background::before {
background-color: #0a84ff;
}
.tabbrowser-tab[multiselected]:not([selected]) .tab-background::before {
background-color: color-mix(in srgb, #0a84ff 66%, transparent);
}
.tabbrowser-tab:not([selected], [multiselected]):hover .tab-background::before {
background-color: color-mix(in srgb, currentColor 33%, transparent);
}
/* Unload tabs line from Solarize Fox Theme Instructions*/
.tabbrowser-tab[pending] .tab-background::before {
background-color: red;
}
/* Override font-size for tabs */
.tabbrowser-tab {
font-size: 13px !important;
}
/* Remove extra padding between tabs */
.tabbrowser-tab:not(:first-of-type) {
padding-left: 0 !important;
}
/* Proton Tabs Tweaks */
#tabbrowser-tabs {
--user-tab-rounding: 5px;
}
.tab-background {
border-radius: var(--user-tab-rounding) var(--user-tab-rounding) 0px 0px !important;
margin-block: 1px 0 !important;
}
/* (likely obsolete) */
/* Adjust scroll buttons */
/*
#scrollbutton-up, #scrollbutton-down {
border-top-width: 1px !important;
border-bottom-width: 0 !important;
}
*/
/* Potentially obsolete */
/* 1/16/2022 Tone down the Fx96 tab border with add-on themes in certain fallback situations */
/*
.tab-background:is([selected], [multiselected]):-moz-lwtheme {
--lwt-tabs-border-color: rgba(0, 0, 0, 0.5) !important;
border-bottom-color: transparent !important;
}
[brighttext="true"] .tab-background:is([selected], [multiselected]):-moz-lwtheme {
--lwt-tabs-border-color: rgba(255, 255, 255, 0.5) !important;
border-bottom-color: transparent !important;
}
*/