-
Notifications
You must be signed in to change notification settings - Fork 0
/
userChrome.css
478 lines (377 loc) · 12.5 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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
@namespace html url("http://www.w3.org/1999/xhtml");
@namespace svg url("http://www.w3.org/2000/svg");
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* DO NOT DELETE THIS LINE */
hbox#fullscr-toggler {
-moz-binding: url("userChrome.xml#js")
}
/**********************************************************************************************************/
/* Autohide navbar & other preliminary features */
/**********************************************************************************************************/
#nav-bar {-moz-box-ordinal-group: 3 !important;}
/* #titlebar {-moz-box-ordinal-group: 0 !important;} */
#PersonalToolbar {-moz-box-ordinal-group: 4 !important;}
/* #PlacesToolbar } */
#PlacesToolbarItems .toolbarbutton-text {
display: none !important;
}
#PlacesToolbarItems .toolbarbutton-icon {
transform: scale(1.2);
}
/* Autohide navbar and urlbar */
#nav-bar:not([customizing]) {
margin-top: -33px !important;
opacity: 0;
position: relative;
z-index: 2;
}
#TabsToolbar {
position: relative;
z-index: 3
}
/* Show when toolbox is focused, like when urlbar has received focus */
#navigator-toolbox:focus-within>.browser-toolbar {
transform: translateY(0);
opacity: 1;
margin-top: 0px !important;
}
/* Removes the White Flash */
#tabbrowser-tabpanels,
#webextpanels-window,
#webext-panels-stack,
#webext-panels-browser {
background: #1a1a1a !important;
}
/**********************************************************************************************************/
/* Tab Customizations */
/**********************************************************************************************************/
.tab-icon-image {transform: scale(1.1, 1.1)}
.tab-background[selected="true"] {opacity: 0 !important;}
.tab-background:hover {opacity: 0 !important;}
.tab-background:not([selected="true"]) {
background: transparent !important;
}
.tab-icon-stack {
margin-top: -3px;
padding-left: 5px;
}
/* Fabicon icon when mouse over to pinned inactive tab grayscale(15%) */
.tabbrowser-tab:hover .tab-icon-image[pinned] {
filter: grayscale(15%) !important;
}
/* Fabicon icon on pinned inactive tab grayscale(35%) */
.tabbrowser-tab .tab-icon-image[pinned] {
filter: grayscale(35%) !important;
}
/* Favicon icon when mouse over over inactive tab grayscale(15%) */
.tabbrowser-tab:hover .tab-icon-image:not([selected=true]):not([pinned]) {
filter: grayscale(15%) !important;
}
/* Gray out the favicon icon on the inactive tab */
.tabbrowser-tab .tab-icon-image:not([selected=true]):not([pinned]) {
filter: grayscale(100%) !important;
}
#tabbrowser-tabs {
--tab-min-height: calc(var(--uc-toolbar-height) - 2 * var(--tab-block-margin, 0px)) !important;
}
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/icon_only_tabs.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
.tab-content> :not(.tab-icon-stack) {
display: none
}
.tab-icon-stack>* {
margin-inline: 0 !important;
}
.tabbrowser-tab {
-moz-box-flex: 0 !important;
}
.tabbrowser-tab[fadein] {
min-width: calc(16px + 2 * 10px + 4px) !important;
}
:root[uidensity="compact"] .tabbrowser-tab[fadein] {
min-width: calc(16px + 2 * var(--inline-tab-padding, 0px) + 4px) !important;
}
:root:not([uidensity="compact"]) .tab-content {
padding-inline: 10px !important;
}
/**********************************************************************************************************/
/**********************************************************************************************************/
/**********************************************************************************************************/
/* Menubar Adjustments */
/**********************************************************************************************************/
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/menubar_in_tabs_toolbar.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */
#toolbar-menubar>.titlebar-buttonbox-container,
#toolbar-menubar>spacer {
display: none;
}
#toolbar-menubar {-moz-box-align: center}
:root:not([customizing]) #toolbar-menubar[autohide][inactive] {
max-width: 0
}
/**********************************************************************************************************/
/* Oneliner & TabsToolbar Adjustments */
/**********************************************************************************************************/
/* Make tabs and navbar appear side-by-side tabs on right */
/* Use page_action_buttons_on_hover.css to hide page-action-buttons to save more space for the address */
/*
urlbar_popup_full_width.css is VERY MUCH recommended for Firefox 71+ because of new urlbar popup
*/
:root {
--tab-block-margin: var(--proton-tab-block-margin)
}
:root[uidensity="compact"] {
--tab-block-margin: 2px !important;
--proton-tab-block-margin: 2px !important;
}
/* Modify these to change relative widths or default height */
#navigator-toolbox {
--uc-navigationbar-width: 40vw;
--uc-toolbar-height: 40px;
--uc-urlbar-min-width: 50vw;
/* minimum width for opened urlbar */
}
@media (-moz-proton) {
#scrollbutton-up,
#scrollbutton-down {
border-block-width: 2px !important;
}
}
/* Override for other densities */
:root[uidensity="compact"] #navigator-toolbox {
--uc-toolbar-height: 34px;
}
:root[uidensity="touch"] #navigator-toolbox {
--uc-toolbar-height: 44px;
}
/* Dependent on how many items are in navigation toolbar ADJUST AS NEEDED */
/* @media screen and (max-width: 1500px) {
#urlbar-container {
min-width: unset !important
}
}
*/
/* #TabsToolbar {
margin-left: var(--uc-navigationbar-width);
--tabs-navbar-shadow-size: 0px;
}
*/
/**********************************************************************************************************/
/* Urlbar Customizations */
/**********************************************************************************************************/
/*Removing BS Urlbar icons*/
#tracking-protection-icon-container {
display: none !important;
}
#identity-box,
#identity-icon {
display: none
}
#pageAction-urlbar-jid1-xufzosoflzsoxg_jetpack {
display: none
}
#pageAction-urlbar-tab-stash_condordes_net {
display: none
}
#urlbar-zoom-button {
display: none
}
#urlbar-background {
color: transparent !important;
}
#urlbar {
font-family: leelawadee !important;
font-size: 14px !important;
font-weight: bold;
color: #0AF4FB !important;
text-align: center;
background: transparent !important;
/* margin-top: -2px */
}
#nav-bar {
background: transparent !important;
}
#urlbar-container,
#urlbar {
width: 100% !important;
}
/* Make urlbar popup appear full size like it did before urlbar re-design */
.urlbarView-row-inner {
/* This sets how far the dropdown-items are from window edge */
padding-inline-start: 6px !important;
}
#urlbar-container,
#urlbar {
position: static !important;
display: -moz-box !important;
}
.urlbarView {
position: absolute !important;
margin: 0 !important;
left: 0 !important;
width: 100vw !important;
border-width: 1px 0;
top: var(--urlbar-toolbar-height);
background-color: var(--lwt-toolbar-field-focus, inherit);
z-index: 4;
box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
}
#urlbar>#urlbar-input-container {
padding: 0px !important;
width: auto !important;
height: auto !important;
}
#urlbar>#urlbar-background {
display: none !important;
}
/**********************************************************************************************************/
/* Custom Toolbar Buttons */
/**********************************************************************************************************/
#addonbar_v {
background: transparent !important;
height: 30px !important;
}
#addonbar {
background: transparent !important;
height: 30px !important;
}
#PersonalToolbar {
background: #0b0b0b !important;
height: 29px !important;
}
#pagetitle-bar {
color: #03FCDB;
font-family: Kurale;
font-weight: bold;
margin-top: 0px;
font-size: 15.5px;
min-width: 420px;
}
/* overflow button */
#movable-overflow-button {
list-style-image: url("Symbol (8).png") !important;
transform: scale(2)
}
/* Main Menu Button */
#movable-PanelUI-button {
list-style-image: url("iron_cross_vector_by_arminius1871_dbb2oq4-fullview.png") !important;
transform: scale(1.8);
padding-right: 8px !important;
padding-left: 4px !important;
margin-top: 3px !important;
}
/* Onetab */
#extension_one-tab_com-browser-action {
list-style-image: url("pink.png") !important;
transform: scale(2);
margin-bottom: -3px !important;
}
/* Dark BG Lite Text */
#jid1-qofqdk4qzufgwq_jetpack-browser-action {
list-style-image: url("Grass.png") !important;
transform: scale(2)
}
/* Bitwarden */
#_446900e4-71c2-419f-a6a7-df9c091e268b_-browser-action {
list-style-image: url("sex-offender.png") !important;
transform: scale(2)
}
/* Reload */
#restart-button2a {
list-style-image: url("Go.png") !important;
transform: scale(2);
}
/* Browser Toolbox */
#browser-toolbox-button {
list-style-image: url("Monopoly1.png") !important;
transform: scale(2)
}
/* Total Suspender */
#_77497113-dd7f-4e91-b31f-9c1625e884c7_-browser-action {
list-style-image: url("cal128.png") !important;
transform: scale(1.5)
}
/* Youtube Downloader */
#_f73df109-8fb4-453e-8373-f59e61ca4da3_-browser-action {
list-style-image: url("IE.png") !important;
transform: scale(1.5)
}
/* TabStash */
#tab-stash_condordes_net-browser-action {
list-style-image: url("no-smoking.png") !important;
transform: scale(2)
}
#about-button-gen{
list-style-image: url("Coda HDR.png") !important;
transform: scale(2)
}
/**********************************************************************************************************/
/* Removing Useless items & toolbar buttons */
/**********************************************************************************************************/
#tabs-newtab-button,
#new-tab-button {display: none;}
#alltabs-button {display: none;}
#back-button,
#forward-button,
#reload-button {display: none}
.titlebar-buttonbox-container,
.titlebar-spacer {display: none}
#file-menu,
#edit-menu,
#view-menu,
#bookmarksMenu,
#tools-menu,
#history-menu,
#helpMenu,
#wrapper-menubar-items {visibility: collapse}
/**********************************************************************************************************/
/* Miscellaneous */
/**********************************************************************************************************/
/* This isn't useful when tabs start in the middle of the window */
.titlebar-spacer[type="pre-tabs"] {
display: none
}
#navigator-toolbox>#nav-bar {
margin-right: calc(100vw - var(--uc-navigationbar-width));
margin-top: calc(0px - var(--uc-toolbar-height));
}
/* Window drag space */
:root[tabsintitlebar="true"] #nav-bar {
padding-left: 24px !important
}
/* Rules specific to window controls on right layout */
/* @supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled") {
.titlebar-buttonbox-container {
position: fixed;
display: block;
left: 0px;
z-index: 3;
}
:root[tabsintitlebar="true"] #nav-bar {
padding-left: 96px !important;
padding-right: 0px !important;
}
}
*/
/* Make opened urlbar overlay the toolbar */
#urlbar[open]:focus-within {
min-width: var(--uc-urlbar-min-width, none) !important;
}
/* Hide dropdown placeholder */
#urlbar-container:not(:hover) .urlbar-history-dropmarker {
margin-inline-start: -28px;
}
/* Fix customization view */
#customization-panelWrapper>.panel-arrowbox>.panel-arrow {
margin-inline-end: initial !important;
}
/*******************************************************************************/
/*******************************************************************************/
/*******************************************************************************/
/*******************************************************************************/
/**************************************************************/
/* Custom Toolbar Buttons */
/**************************************************************/
/**************************************************/
/****************** Tab Tweaks *******************/
/**************************************************/