-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathuserChrome.css
263 lines (206 loc) · 5.83 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
@import 'colours/userColor.css';
/* new settings */
/* new settings end*/
/* Remove border from search bar */
/* Only show dots in search bar when hovered */
#urlbar #identity-box::after,
#urlbar #page-action-buttons::before {
opacity: 0;
}
#urlbar:hover #identity-box::after,
#urlbar:hover #page-action-buttons::before {
opacity: 0.2;
transition: opacity 100ms ease;
}
/*====== Aesthetics ======*/
#navigator-toolbox {
border-bottom: none !important;
}
#titlebar {
background: var(--accent-color) !important;
}
/* Sets the toolbar color*/
toolbar#nav-bar {
background: var(--accent-color) !important;
box-shadow: none !important;
}
/*gives a subtle padding on top of url bar and disables its overlap when maximised*/
#urlbar[breakout] {
top: 5px !important;
}
/* Sets the URL bar color */
#urlbar {
background: var(--accent-color) !important;
}
#urlbar-background {
background: var(--accent-color) !important;
border: none !important;
}
.urlbar-input-container {
border: 0.2px solid #605553 !important;
text-align: center;
font-family: Ubuntu-Regular; /*changes the url bar font*/
}
/*====== UI Settings ======*/
:root {
--navbarWidth: 100%;
/* Set width of navbar */
}
/* If the window is wider than 1000px, use flex layout */
@media (min-width: 1000px) {
#navigator-toolbox {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
/* Nav bar */
#nav-bar {
order: 1;
width: var(--navbarWidth);
flex-direction: row;
flex-wrap: wrap;
}
/* Tab bar */
#titlebar {
order: 2;
width: calc(100vw - var(--navbarWidth) - 1px);
}
/* Bookmarks bar */
#PersonalToolbar {
order: 3;
width: 100%;
}
/* Fix urlbar sometimes being misaligned */
/*
:root[uidensity="compact"] #urlbar {
--urlbar-toolbar-height: 39.60px !important;
}
:root[uidensity="touch"] #urlbar {
--urlbar-toolbar-height: 49.00px !important;
}*/
}
/*====== Simplifying interface ======*/
/* Autohide back button when disabled */
#back-button,
#forward-button {
transform: scale(1, 1) !important;
transition: margin-left 150ms var(--animation-easing-function), opacity 250ms var(--animation-easing-function), transform 350ms var(--animation-easing-function) !important;
}
#back-button[disabled="true"],
#forward-button[disabled="true"] {
margin-left: -34px !important;
opacity: 0 !important;
transform: scale(0.8, 0.8) !important;
pointer-events: none !important;
}
/* Remove UI elements */
#identity-box,
/* Site information */
#tracking-protection-icon-container,
/* Shield icon */
#page-action-buttons> :not(#urlbar-zoom-button, #star-button-box),
/* All url bar icons except for zoom level and bookmarks */
#urlbar-go-button,
/* Search URL magnifying glass */
#alltabs-button,
/* Menu to display all tabs at the end of tabs bar */
.titlebar-buttonbox-container
/* Minimize, maximize, and close buttons */
{
display: none !important;
}
#nav-bar {
box-shadow: none !important;
}
/* hamburgur menu color */
#appMenu-popup {
--arrowpanel-background: var(--accent-color) !important;
}
/* removes the extensions icon */
#unified-extensions-button {
display: flex !important;
}
/* Remove "padding" left and right from tabs */
.titlebar-spacer {
display: none !important;
}
/* Fix URL bar overlapping elements */
#urlbar-container {
min-width: initial !important;
}
/* color of url in the url drop down menu */
.urlbarView-url {
color: var(--url-color) !important;
}
/* change the colour of current selected row in url-bar */
#urlbar-results>*[selected=""] {
background-color: var(--url-current-row) !important;
}
/* hides the tabs visibility always at all window sizes */
#tabbrowser-tabs {
visibility: collapse !important;
}
/* Remove gap after pinned tabs */
#tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])>#tabbrowser-arrowscrollbox>.tabbrowser-tab[first-visible-unpinned-tab] {
margin-inline-start: 0 !important;
}
/* Hide the hamburger menu */
/*
#PanelUI-menu-button {
padding: 0px !important;
}
#PanelUI-menu-button .toolbarbutton-icon {
width: 1px !important;
}
#PanelUI-menu-button .toolbarbutton-badge-stack {
padding: 0px !important;
}
*/
/* url bar border remove */
#urlbar,
#urlbar * {
padding-block-start: 1px !important;
/*outline: 0.5px solid #ffffff !important;*/
outline: none !important;
/* removes the black box shadow */
}
#urlbar:not(.hidden-focus)[focused="true"],
.searchbar-textbox[focused="true"] {
border-color: var(--urlbar-color) !important;
}
/* changes the colour of the current tab */
.tabbrowser-tab:is([visuallyselected], [multiselected]) .tab-background {
background-color: var(--tabcolour) !important;
background-image: none !important;
}
/*this changes the colour of the text in the tabs section*/
/*reference link [https://www.reddit.com/r/FirefoxCSS/comments/1b2yhkv/is_there_any_way_to_change_the_color_of_the_text/]*/
.tab-label {
color: var(--tab-inside-text-color) !important;
}
/* removes the close tab (cross option) button on each tab */
.tabbrowser-tab .tab-close-button {
visibility: collapse !important;
}
/* remove the new tab (+) button */
#tabs-newtab-button {
display: none !important;
}
/* .menupopup-arrowscrollbox {
background-color: var(--accent-color) !important;
color: #ffffff !important;
border-color: wheat!important;
} */
menupopup{
--panel-background: var(--accent-color) !important;
}
panel{
--panel-background: var(--accent-color) !important;
}
menupopup, panel {
/* --panel-background: white !important; */
/* --panel-color: var(--accent-color) !important; */
--panel-border-radius: 4px !important;
--panel-border-color: rgb(245, 222, 179) !important;
}
/* first material color #2C3333 */