-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChrome.css
124 lines (101 loc) · 2.25 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
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
/*
-- Colors --
*/
:root {
--sfwindow: #11111b;
--sfsecondary: #24273a;
/* Window colors */
--toolbar-bgcolor: var(--sfsecondary) !important;
--lwt-sidebar-background-color: var(--sfwindow) !important;
}
/*
-- Tabs --
*/
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab
> .tab-stack
> .tab-background[multiselected="true"],
#tabbrowser-tabs:not([movingtab])
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab
> .tab-stack
> .tab-background[selected="true"] {
background-image: none !important;
background-color: var(--toolbar-bgcolor) !important;
}
/* Inactive tabs color */
#navigator-toolbox {
background-color: var(--sfwindow) !important;
border: none !important;
}
/* Favicon of new page */
.tab-icon-image[src="chrome://branding/content/icon32.png"]
{
content: url("icons/foxlogo.svg") !important;
}
/* Disable shadows of the tabs */
.tabbrowser-tab:is([visuallyselected="true"], [multiselected])
> .tab-stack
> .tab-background {
box-shadow: none !important;
}
/* Style tabs */
.tab-label {
text-shadow: none !important;
font-family: CaskaydiaCove Nerd Font;
font-style: unset;
font-size: small;
}
/* Disbale tabs borders */
.tab-background {
border-radius: 0 0 !important;
margin: 0px !important;
}
/*
-- Url --
*/
/* Center URL text */
#urlbar .urlbar-input-box {
text-align: center !important;
}
#urlbar-input-container {
background-color: var(--sfwindow) !important;
border: 1px solid rgba(0, 0, 0, 0) !important;
}
#urlbar-container {
margin-left: 0 !important;
}
#urlbar[focused="true"] > #urlbar-background {
box-shadow: none !important;
}
/* Remove url bar panel */
.urlbarView {
display: none !important;
}
/* Remove placeholder */
#urlbar-input::placeholder,
.searchbar-textbox::placeholder {
opacity: 0 !important;
}
/* Change URL font */
#urlbar,
#searchbar .searchbar-textbox {
font-family: CaskaydiaCove Nerd Font !important;
}
/*
-- Arrow icons --
*/
#back-button image {
list-style-image: url("icons/back.svg") !important;
}
#back-button:hover image {
background: none !important;
}
/* forward - go button */
#forward-button image {
list-style-image: url("icons/forward.svg") !important;
}
#forward-button:hover image {
background: none !important;
}