-
Notifications
You must be signed in to change notification settings - Fork 65
/
userChrome.css
2043 lines (1730 loc) · 64.6 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
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/* ______ _ __ __ __ _ ____ _ _ _ _____
| ____(_) / _| | \/ | | | | _ \| | | | | | __ \
| |__ _ _ __ ___| |_ _____ __ | \ / | ___ __| | | |_) | | | | | | |__) |
| __| | | '__/ _ \ _/ _ \ \/ / | |\/| |/ _ \ / _` | | _ <| | | | | | _ /
| | | | | | __/ || (_) > < | | | | (_) | (_| | | |_) | |___| |__| | | \ \
|_| |_|_| \___|_| \___/_/\_\ |_| |_|\___/ \__,_| |____/|______\____/|_| \_\
Github: github.com/datguypiko/Firefox-Mod-Blur */
/*===============================================================
===================== E X T R A M O D S =======================
===============================================================*/
@import url("privacy_change_email_text.css");
@import url("privacy_blur_email_in_main_menu.css");
@import url("privacy_blur_email_in_sync_menu.css");
@import url("firefox_view_icon_change.css");
@import url("no_search_engines_in_url_bar.css");
@import url("spill-style-part1-file.css");
@import url("white_github_icon_in_bookmarks.css");
@import url("only_show_list-all-tabs_when_tabs_overflowing.css");
@import url("bookmarks_bar_same_color_as_toolbar.css");
@import url("min-max-close_buttons.css");
@import url("acrylic_micaforeveryone.css");
@import url("privacy_blur_tabs_content.css");
@import url("popout_bookmarks_bar_on_hover.css");
@import url("remove_folder_icons_from_bookmarks.css");
@import url("icons_in_main_menu.css");
@import url("ublock-icon-change.css");
@import url("selected_tabs_static_width.css");
@import url("autohide_tab_and_bookmarks_bars.css");
@import url("url_bar_no_border.css");
@import url("search_bar_transparent_background.css");
@import url("transparent_bookmarks_bar.css");
@import url("cleaner_extensions_menu.css");
@import url("colored_soundplaying_tab.css");
@import url("menu_icon_change_to_firefox.css");
@import url("pinned_tabs_no_bg_color.css");
@import url("reversed_tabs_bg_color.css");
@import url("transparent_tabs_bg_color.css");
@import url("tabs_separator.css");
@import url("searchbox_text_align_left.css");
@import url("tabs_take_full_bar_width.css");
@import url("show_searchbar_dots_only_on_hover.css");
@import url("thicker_control_buttons.css");
/*=====================================================================
================= D A R K T H E M E C O L O R S ===================
=====================================================================*/
@media (prefers-color-scheme: dark) {
:root {
/* Main dark color, url bar, active tab etc. */
--firefoxcss-main-bg-color: hsl(240, 2%, 13%);
/* Main lighter color, toolbar background */
--firefoxcss-item-bg-color: hsl(240, 2%, 20%);
/* Tab colors */
--firefoxcss-tab-bg-color: hsl(240, 2%, 26%);
--firefoxcss-tab-hover-bg-color: hsl(240, 2%, 32%);
--firefoxcss-tab-active-bg-color: var(--firefoxcss-main-bg-color);
--firefoxcss-non-active-tabs: hsla(0, 0%, 100%, 0.65);
--firefoxcss-normal-tabs-box-shadow: 1px 1px 1px -1px rgba(0, 0, 0, 0.4);
--firefoxcss-tab-multiselect-outline: rgba(255, 255, 255, 0.1);
/* Tab playing audio speaker icon colors */
--firefoxcss-tab-speaker-color: hsla(0, 0%, 80%);
--firefoxcss-tab-speaker-icon-color: hsl(0, 0%, 100%);
--firefoxcss-tab-speaker-icon-hover-color: hsl(0, 0%, 10%);
--firefoxcss-tab-speaker-icon-small-background: hsla(0, 0%, 80%);
/* Context menu colors */
--firefoxcss-context-menu-top-color: #131313cf;
/* Bookmarks bar colors */
--firefoxcss-bookmarks-bg-color: hsl(240, 2%, 13%);
/* Change background color when loading a page */
--firefoxcss-bright-flash-color: var(--firefoxcss-main-bg-color);
/* Toolbar buttons */
--firefoxcss-toolbar-button-box-shadow: rgba(0, 0, 0, 0.3);
--firefoxcss-toolbar-button-active-box-shadow: rgba(0, 0, 0, 0.3);
--firefoxcss-new-tab-button-active: hsl(240, 2%, 18%);
--firefoxcss-new-tab-button-box-shadow-active: rgba(0, 0, 0, 0.6);
--firefoxcss-new-tab-button-hover: hsla(0, 0%, 30%, 0.85);
--firefoxcss-new-tab-button-box-shadow-hover: rgba(0, 0, 0, 0.5);
/* Search Bar and breakout (when in focus) colors */
--firefoxcss-url-dark-border: color-mix(
in srgb,
var(--firefoxcss-main-bg-color) 35%,
black
);
--firefoxcss-url-breakout-border-bottom-color: 1px solid
color-mix(in srgb, var(--firefoxcss-url-dark-border) 25%, transparent);
--firefoxcss-url-breakout-border-top-color: 1px solid transparent;
--firefoxcss-url-bar-bg-color: var(--firefoxcss-main-bg-color);
--firefoxcss-url-border-bottom-color: 1px solid hsla(0, 0%, 100%, 0.2);
--firefoxcss-url-border-top-color: 1px solid hsla(0, 0%, 0%, 0.15);
--firefoxcss-url-breakout-bar-bg-color: var(--firefoxcss-main-bg-color);
--firefoxcss-url-box-shadow-color: 0px 1px 0 0px hsla(0, 0%, 100%, 0.1),
inset 1px 1px 2px 1px rgba(0, 0, 0, 0.25) !important;
--firefoxcss-url-autocomplete-highlight: hsl(240, 2%, 26%);
--firefoxcss-url-breakout-box-shadow: rgba(0, 0, 0, 0.09) 0px 2px 1px,
rgba(0, 0, 0, 0.09) 0px 4px 2px, rgba(0, 0, 0, 0.09) 0px 8px 4px,
rgba(0, 0, 0, 0.09) 0px 16px 8px, rgba(0, 0, 0, 0.09) 0px 32px 16px,
0px -1px 0 0px hsla(0, 0%, 20%, 0.1);
--firefoxcss-url-clipboard-button: color-mix(
in srgb,
currentColor 10%,
transparent
);
/* Other colors */
--firefoxcss-urlbar-zoom-button: hsla(0, 0%, 60%, 0.35);
--firefoxcss-top-bar-border-bottom-color: hsla(0, 0%, 6%, 0.75);
--firefoxcss-private-browsing-menu-color: hsl(277, 70%, 64%);
--firefoxcss-private-browsing-drop-shadow: drop-shadow(
0px 0px 1px #000000d5
);
--firefoxcss-statuspanel-bg-color: var(--firefoxcss-main-bg-color);
--firefoxcss-contextmenu-hover-text: white;
--firefoxcss-customize-view-dashed-outline: hsla(0, 0%, 100%, 0.25);
--firefoxcss-customize-view-flex-space: #d0ba9e;
--firefoxcss-customize-view-overflow-menu: hsl(240, 2%, 10%);
/* ============== Firefox Global colors change ==================== */
--toolbar-bgcolor: var(--firefoxcss-item-bg-color) !important;
--arrowpanel-background: var(--firefoxcss-main-bg-color) !important;
--toolbarbutton-hover-background: hsla(0, 0%, 60%, 0.35)!important;
--toolbarbutton-active-background: hsla(0, 0%, 80%, 0.35) !important;
--button-hover-bgcolor: hsla(0, 0%, 60%, 0.35) !important;
--button-active-bgcolor: hsla(0, 0%, 45%, 0.35) !important;
--button-bgcolor: hsla(0, 0%, 45%, 0.9) !important;
--arrowpanel-border-color: hsla(0, 0%, 50%, 0.25) !important;
--dark-menu-background-color: #222121 !important;
--dark-menu-border-color: rgb(55, 55, 55) !important;
--dark-menu-background-color: #222121 !important;
--dark-menu-border-color: rgb(55, 55, 55) !important;
--dark-menuitem-hover-background-color: rgba(
159,
159,
159,
0.35
) !important;
--panel-separator-color: var(--arrowpanel-border-color) !important;
--panel-separator-zap-gradient: var(--panel-separator-color) !important;
--lwt-sidebar-background-color: var(--firefoxcss-main-bg-color) !important;
--urlbarView-highlight-background: hsl(240, 2%, 20%) !important;
--urlbarView-hover-background: color-mix(
in srgb,
currentColor 8%,
transparent
) !important;
/* Color for add bookmarks menu when adding through tabs */
--in-content-page-background: var(--arrowpanel-background) !important;
--firefoxcss-context-menu-item-bg-color: hsla(0, 0%, 60%, 0.2) !important;
}
}
/*=====================================================================
================= L I G H T T H E M E C O L O R S =================
=====================================================================*/
@media (prefers-color-scheme: light) {
:root {
/* Main dark color, url bar, active tab etc. */
--firefoxcss-main-bg-color: hsl(200, 5%, 98%);
/* Main lighter color, toolbar background */
--firefoxcss-item-bg-color: hsl(200, 5%, 96%);
/* Tab colors hsl(240, 15%, 90%) */
--firefoxcss-tab-bg-color: hsl(200, 5%, 92%);
--firefoxcss-tab-hover-bg-color: hsl(200, 5%, 86%);
--firefoxcss-tab-active-bg-color: hsl(200, 5%, 85%);
--firefoxcss-non-active-tabs: hsl(0, 0%, 25%);
--firefoxcss-normal-tabs-box-shadow: none;
--firefoxcss-tab-multiselect-outline: hsl(240, 8%, 75%);
/* Tab playing audio speaker icon colors */
--firefoxcss-tab-speaker-color: hsl(0, 0%, 20%);
--firefoxcss-tab-speaker-icon-color: hsl(0, 0%, 10%);
--firefoxcss-tab-speaker-icon-hover-color: white;
--firefoxcss-tab-speaker-icon-small-background: hsl(0, 0%, 20%);
/* Context menu colors */
--firefoxcss-context-menu-top-color: hsl(240, 15%, 95%);
/* Bookmarks bar colors */
--firefoxcss-bookmarks-bg-color: var(--firefoxcss-item-bg-color);
/* Change background color when loading a page */
--firefoxcss-bright-flash-color: var(--firefoxcss-main-bg-color);
/* Toolbar buttons */
--firefoxcss-toolbar-button-box-shadow: rgba(0, 0, 0, 0);
--firefoxcss-toolbar-button-active-box-shadow: rgba(0, 0, 0, 0);
--firefoxcss-new-tab-button-active: hsl(200, 10%, 90%);
--firefoxcss-new-tab-button-box-shadow-active: rgba(0, 0, 0, 0.4);
--firefoxcss-new-tab-button-hover: hsla(200, 5%, 83%, 0.65);
--firefoxcss-new-tab-button-box-shadow-hover: rgba(0, 0, 0, 0);
/* Search Bar and breakout (when in focus) colors */
--firefoxcss-url-breakout-border-top-color: 1px solid transparent;
--firefoxcss-url-bar-bg-color: hsl(200, 5%, 92%);
--firefoxcss-url-border-bottom-color: 1px solid hsla(0, 0%, 100%, 1);
--firefoxcss-url-border-top-color: 1px solid hsla(0, 0%, 0%, 0);
--firefoxcss-url-breakout-bar-bg-color: hsl(200, 5%, 98%);
--firefoxcss-url-breakout-border-bottom-color: hsla(0, 0%, 70%, 0.05);
--firefoxcss-url-box-shadow-color: inset 0px 0px 0px 1px rgba(0, 0, 0, 0.05);
--firefoxcss-url-autocomplete-highlight: hsl(200, 5%, 90%);
--firefoxcss-url-breakout-box-shadow: transparent 0 0 0 3px,
rgba(18, 18, 18, 0.1) 2px 10px 22px;
--firefoxcss-url-clipboard-button: color-mix(
in srgb,
currentColor 10%,
transparent
);
/* Other colors */
--firefoxcss-urlbar-zoom-button: hsla(200, 5%, 60%, 0.35);
--firefoxcss-top-bar-border-bottom-color: hsla(0, 0%, 0%, 0.1);
--firefoxcss-private-browsing-menu-color: hsl(277, 80%, 55%);
--firefoxcss-private-browsing-drop-shadow: none;
--firefoxcss-statuspanel-bg-color: hsl(200, 10%, 98%);
--firefoxcss-contextmenu-hover-text: black;
--firefoxcss-customize-view-dashed-outline: hsla(0, 0%, 0%, 0.2);
--firefoxcss-customize-view-flex-space: hsl(34, 50%, 70%);
--firefoxcss-customize-view-overflow-menu: hsl(200, 5%, 100%);
/* ============== Firefox Global colors change ==================== */
--toolbar-bgcolor: var(--firefoxcss-item-bg-color) !important;
--toolbarbutton-hover-background: hsla(200, 5%, 70%, 0.35) !important;
--toolbarbutton-active-background: hsla(200, 5%, 50%, 0.35) !important;
--arrowpanel-background: hsl(200, 10%, 96%) !important;
--button-hover-bgcolor: hsla(200, 5%, 70%, 0.35) !important;
--button-active-bgcolor: hsla(200, 5%, 50%, 0.35) !important;
--button-bgcolor: hsla(0, 0%, 45%, 0.1) !important;
/* Search Bar */
--arrowpanel-border-color: hsla(0, 0%, 100%, 0.5) !important;
--panel-separator-color: hsla(0, 0%, 20%, 0.15) !important;
--panel-separator-zap-gradient: var(--panel-separator-color) !important;
--lwt-sidebar-background-color: var(--firefoxcss-main-bg-color) !important;
--urlbarView-hover-background: color-mix(
in srgb,
currentColor 8%,
transparent
) !important;
/* Color for add bookmarks menu when adding through tabs */
--in-content-page-background: var(--arrowpanel-background) !important;
--firefoxcss-context-menu-item-bg-color: hsla(
240,
5%,
70%,
0.35
) !important;
}
}
/*=====================================================================
=================== G L O B A L V A R I A B L E S ===================
=====================================================================*/
:root {
--firefoxcss-top-bar-border-bottom-size: 1px;
--firefoxcss-border-radius: 10px;
--firefoxcss-control-buttons-margin: 100px;
--firefoxcss-tab-min-width: 110px;
--firefoxcss-tab-max-width: 150px;
--firefoxcss-searchbar-height: 30px;
--firefoxcss-searchbar-container-height: 36px;
--urlbar-icon-border-radius: calc(
var(--firefoxcss-border-radius) - 2px
) !important;
@media not (-moz-bool-pref: "sidebar.verticalTabs") {
--tab-block-margin: 2px !important;
/* Default: 4px */
--tab-min-height: 28px !important;
/* Default: 36px */
--tabstrip-min-height: 28px !important;
}
/* Toolbar Buttons */
--toolbarbutton-outer-padding: 2px !important; /* Default: 2px */
--toolbarbutton-inner-padding: 6px !important; /* Default: 8px */
/* Menu items */
--arrowpanel-menuitem-padding-block: 4px !important; /* Default: 8px */
--arrowpanel-menuitem-padding-inline: 4px !important; /* Default: 8px */
}
/*=====================================================================
====================== T O O L B A R O R D E R ======================
=======================================================================
Order of Toolbars
* 0 - top
* 1 - second from top
* 2 - bottom */
/* SEARCH BAR TOOLBAR */
#navigator-toolbox #nav-bar {
order: 1 !important;
}
/* TABS TOOLBAR */
#TabsToolbar {
order: 2 !important;
}
/* BOOKMARKS TOOLBAR*/
#PersonalToolbar {
order: 3 !important;
}
/* Extra titlebar menu (above or below tabs, opens with alt) */
#toolbar-menubar {
order: 0 !important;
}
/*=====================================================================
========================= S E T C O L O R S =========================
=====================================================================*/
/* Sidebar background color change */
#browser #sidebar-box {
--sidebar-background-color: var(--firefoxcss-main-bg-color) !important;
}
/* Bookmarks bar background color */
#PersonalToolbar {
background-color: var(--firefoxcss-bookmarks-bg-color) !important;
backdrop-filter: blur(10px) !important;
}
/* Set navigation toolbar to transparent */
#navigator-toolbox #nav-bar {
background-color: transparent !important;
}
/* Whole Main Toolbar */
#navigator-toolbox {
background-color: var(--firefoxcss-item-bg-color) !important;
}
/* Fix some custom firefox themes that break */
#navigator-toolbox {
:root[lwtheme-image] & {
background-image: var(--lwt-additional-images) !important;
}
}
/* Avoids bright flash */
#tabbrowser-tabpanels {
background-color: var(
--uc-light-bkgnd-color,
var(--firefoxcss-bright-flash-color)
) !important;
}
/* CTRL+F Search Bar color changes */
.browserContainer > findbar {
background-image: none !important;
background-color: var(--firefoxcss-main-bg-color) !important;
}
.browserContainer > findbar .findbar-textbox {
background-color: var(--firefoxcss-item-bg-color) !important;
}
/*=====================================================================
========================= H I D E E L E M E N T S ===================
=====================================================================*/
/* Remove empty space from tabs bar */
#TabsToolbar .titlebar-spacer[type="pre-tabs"],
#TabsToolbar .titlebar-spacer[type="post-tabs"],
#TabsToolbar .titlebar-spacer,
#nav-bar .titlebar-spacer[type="pre-tabs"],
#nav-bar .titlebar-spacer[type="post-tabs"],
/* Remove Line above search engine selection in search bar */
#urlbar .search-one-offs .search-panel-one-offs-header-label,
/* Remove lefover window buttons from extra menu bar (when pressing alt)*/
#toolbar-menubar .titlebar-buttonbox-container,
/* Private browser icons remove and change main menu to purple */
.private-browsing-indicator-with-label,
.private-browsing-indicator,
/* Hide tracking protection icon from Search Bar */
/* #tracking-protection-icon-container, */
/* Hide permission icons, see it when pressing permission button */
#blocked-permissions-container {
display: none !important;
}
/* Remove line between website content and top bar */
#navigator-toolbox {
border-bottom: var(--firefoxcss-top-bar-border-bottom-size) solid
var(--firefoxcss-top-bar-border-bottom-color) !important;
}
/*=====================================================================
======================= H E I G H T F I X E S =======================
=====================================================================*/
/* Menu Bar height */
#toolbar-menubar {
margin-top: 0px !important;
margin-bottom: 0px !important;
padding-top: 0px !important;
padding-bottom: 0px !important;
line-height: 22px !important;
max-height: 22px !important;
}
/*=====================================================================
=============================== I C O N S =============================
=====================================================================*/
/* #stop-reload-button .toolbarbutton-animatable-image{
animation-duration: 0s !important; #b263e3; #a230e8
} */
/* Set icon colors with context-fill without forcing them in svg files
about:config -> svg.context-properties.content.enabled -> true*/
@media (prefers-color-scheme: dark) {
#PanelUI-menu-button {
list-style-image: url(ASSETS/icons/menu.svg) !important;
}
:root[privatebrowsingmode="temporary"] #PanelUI-menu-button {
list-style-image: url(ASSETS/icons/menu-private.svg) !important;
}
#find-button {
list-style-image: url(ASSETS/icons/search.svg) !important;
}
#privatebrowsing-button {
list-style-image: url(ASSETS/icons/private.svg) !important;
}
#forward-button,
menugroup > #context-forward,
#search-container #searchbar .search-go-button,
#urlbar-go-button {
list-style-image: url(ASSETS/icons/right-arrow.svg) !important;
}
#back-button,
menugroup > #context-back {
list-style-image: url(ASSETS/icons/left-arrow.svg) !important;
}
}
@media (prefers-color-scheme: light) {
#PanelUI-menu-button {
list-style-image: url(ASSETS/icons/menu-light.svg) !important;
}
:root[privatebrowsingmode="temporary"] #PanelUI-menu-button {
list-style-image: url(ASSETS/icons/menu-private-light.svg) !important;
}
#find-button {
list-style-image: url(ASSETS/icons/search-light.svg) !important;
}
#privatebrowsing-button {
list-style-image: url(ASSETS/icons/private-light.svg) !important;
}
#forward-button,
menugroup > #context-forward,
#search-container #searchbar .search-go-button,
#urlbar-go-button {
list-style-image: url(ASSETS/icons/right-arrow-light.svg) !important;
}
#back-button,
menugroup > #context-back {
list-style-image: url(ASSETS/icons/left-arrow-light.svg) !important;
}
}
/*=====================================================================
------------------- S E A R C H B A R -------------------------------
=====================================================================*/
/* Default Searchbox font size */
#urlbar,
#searchbar {
font-size: 1.1rem !important;
}
/* Styling Search Containers
#urlbar-background - main search container
#searchbar - secondary/extra search container */
#urlbar-background,
#searchbar {
border: 0 !important;
border-radius: var(--firefoxcss-border-radius) !important;
background-color: var(--firefoxcss-url-bar-bg-color) !important;
box-shadow: var(--firefoxcss-url-box-shadow-color) !important;
/* border-bottom: var(--mod-url-border-bottom-color) !important; */
/* border-top: var(--mod-url-border-top-color) !important; */
/* box-shadow: var(--mod-url-box-shadow-color) !important; */
/* inset 0px 0px 0px 1px rgba(0, 0, 0, 0.05); */
/* color-mix(in oklab,var(--gray-a6),var(--gray-6) 30%) */
/* box-shadow: inset var(--shadow-4); */
/* --shadow-4: 0 0 0 1px color-mix(in oklab,black,white 30%),0 8px 40px var(--black-a3),0 12px 32px -16px var(--black-a5); */
}
/* Search box border radius */
#urlbar-background,
#urlbar .urlbar-input-container,
#searchbar {
border-radius: var(--firefoxcss-border-radius) !important;
}
/* Center search box text */
#urlbar .urlbar-input-box {
text-align: center;
}
/* Search outline disabled by default */
@media not (-moz-bool-pref: "mod.searchBox.focus.outline.enable") {
/* Disable Focus outline */
#urlbar[focused]:not([suppress-focus-border]) > #urlbar-background,
#searchbar:focus-within {
outline: none !important;
}
}
/* When searchbar focused text opacity changed */
#urlbar[focused] .urlbar-input::placeholder {
opacity: 0.4 !important;
}
/* Placeholder text - add shadow and spacing */
#urlbar .urlbar-input::placeholder,
#urlbar .searchbar-textbox::placeholder {
color: color-mix(in srgb, currentColor 80%, transparent) !important;
opacity: 0.8 !important;
}
/* Remove border line between searche results and input */
/* Remove line over search engines in popout search */
#urlbar .urlbarView-body-inner,
#urlbar .urlbarView:not([noresults]) > .search-one-offs:not([hidden]) {
border-top: none !important;
}
/* Dropdown search box colors */
#urlbar[breakout][breakout-extend][open] #urlbar-background {
border-bottom: var(--firefoxcss-url-breakout-border-bottom-color) !important;
border-top: var(--firefoxcss-url-breakout-border-top-color) !important;
box-shadow: var(--firefoxcss-url-breakout-box-shadow) !important;
}
/* Secondary search box drowndow colors */
#PopupSearchAutoComplete {
--panel-background: var(--firefoxcss-url-breakout-bar-bg-color) !important;
}
/* Disable weird animation */
#urlbar[breakout][breakout-extend][breakout-extend-animate]
> #urlbar-background {
animation: none !important;
}
/* HEIGHT FIXES */
:root {
--urlbar-min-height: var(--firefoxcss-searchbar-height) !important;
}
#urlbar[breakout] {
--urlbar-height: var(--firefoxcss-searchbar-height) !important;
}
#urlbar-container {
--urlbar-container-height: var(
--firefoxcss-searchbar-container-height
) !important;
}
/* #search-container {
padding-block: 0px !important;
}
#urlbar .urlbar-input-container {
padding: 0 !important;
} */
#urlbar[breakout][breakout-extend] {
& > .urlbar-input-container {
height: var(--urlbar-height) !important;
padding-block: 1px !important;
padding-inline: 1px !important;
transition: none !important;
}
}
#urlbar[breakout][breakout-extend] {
width: var(--urlbar-width) !important;
margin-inline-start: 0px !important;
margin-block-start: calc(
(var(--urlbar-container-height) - var(--urlbar-height)) / 2
) !important;
}
/*=====================================================================
============================= T A B S =================================
=====================================================================*/
/* Non active tabs have darker text */
.tabbrowser-tab:not([selected]):not([multiselected]):not(:hover)
.tab-label-container
.tab-label {
color: var(--firefoxcss-non-active-tabs) !important;
}
.tabbrowser-tab .tab-label-container .tab-label {
transition: color 100ms ease !important;
}
/* Main BAR */
#navigator-toolbox {
--tabs-border-color: none !important;
--tabs-navbar-shadow-size: 0px !important;
}
#tabbrowser-tabs {
--tab-loading-fill: transparent !important;
}
.tabbrowser-tab:not([selected]):not([multiselected]):not(:hover)
.tab-icon-image {
opacity: 0.8 !important;
transition: opacity 100ms ease !important;
}
/* Normal tabs design */
.tabbrowser-tab .tab-background:not([selected]) {
border: 0 !important;
border-radius: var(--firefoxcss-border-radius) !important;
background-image: none !important;
background-color: var(--firefoxcss-tab-bg-color) !important;
transition: background-color 100ms ease !important;
box-shadow: var(--firefoxcss-normal-tabs-box-shadow) !important;
}
@media (-moz-bool-pref: "sidebar.verticalTabs") {
.tabbrowser-tab:not([pinned]) .tab-background:not([selected]) {
background-color: transparent !important;
box-shadow: none !important;
}
#vertical-pinned-tabs-container-separator {
margin-inline: calc(5 * var(--space-xsmall)) !important;
border-bottom: 1px solid light-dark(#00000030, #ffffff2e) !important;
}
}
/* Normal tabs design on hover */
#tabbrowser-tabs
.tabbrowser-tab:hover
> .tab-stack
> .tab-background:not([selected]) {
border: 0 !important;
border-radius: var(--firefoxcss-border-radius) !important;
background-image: none !important;
background-color: var(--firefoxcss-tab-hover-bg-color) !important;
box-shadow: var(--firefoxcss-normal-tabs-box-shadow) !important;
}
/* Selected tabs design */
#tabbrowser-tabs .tabbrowser-tab .tab-background[selected] {
border: 0 !important;
border-radius: var(--firefoxcss-border-radius) !important;
background-image: none !important;
background-color: var(--firefoxcss-tab-active-bg-color) !important;
box-shadow: none !important;
outline: none !important;
}
/* Multiselect tabs */
#tabbrowser-tabs .tabbrowser-tab .tab-background[multiselected] {
border: 0 !important;
border-radius: var(--firefoxcss-border-radius) !important;
background-image: none !important;
outline: none !important;
background-color: var(--firefoxcss-tab-active-bg-color) !important;
box-shadow: none !important;
}
#tabbrowser-tabs
.tabbrowser-tab
.tab-background:is([selected]):is([multiselected]) {
outline: 1px solid var(--firefoxcss-tab-multiselect-outline) !important;
outline-offset: 0px !important;
outline-width: 1px !important;
}
/* Show Tab close button on hover */
.tabbrowser-tab:not([pinned]) .tab-close-button {
display: flex !important;
opacity: 0;
visibility: collapse !important;
}
#navigator-toolbox .tabbrowser-tab:not([pinned]):hover .tab-close-button {
opacity: 1;
visibility: visible !important;
border-radius: 100% !important;
transition: opacity 0.15s ease, visibility 0.15s ease,
background-color 0.15s ease !important;
}
/* Show Tab close button on hover */
#navigator-toolbox .tabbrowser-tab:not([pinned]) .tab-close-button {
display: flex !important;
opacity: 0;
visibility: collapse !important;
}
#navigator-toolbox .tabbrowser-tab:not([pinned]):hover .tab-close-button {
opacity: 1;
visibility: visible !important;
border-radius: 100% !important;
transition: opacity 0.15s ease, visibility 0.15s ease,
background-color 0.15s ease !important;
}
#tabbrowser-tabs[expanded][orient="vertical"] {
& .tabbrowser-tab:not([pinned]):hover .tab-close-button {
opacity: 1;
visibility: visible !important;
border-radius: 100% !important;
transition: opacity 0.15s ease, visibility 0.15s ease,
background-color 0.15s ease !important;
}
& .tabbrowser-tab:not([pinned]) .tab-close-button {
display: flex !important;
opacity: 0;
visibility: collapse !important;
}
& .tabbrowser-tab:not([pinned]):hover .tab-close-button {
opacity: 1;
visibility: visible !important;
border-radius: 100% !important;
transition: opacity 0.15s ease, visibility 0.15s ease,
background-color 0.15s ease !important;
}
}
#tabbrowser-tabs[movingtab]
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab:is([selected], [multiselected])
.tab-background {
background-color: color-mix(
in srgb,
var(--firefoxcss-tab-active-bg-color) 50%,
transparent
) !important;
backdrop-filter: blur(12px);
}
/* .tab-icon-overlay {
&:not([indicator-replaces-favicon]) {
&:is([soundplaying], [muted], [activemedia-blocked]) {
top: unset !important;
inset-inline-end: unset !important;
transform: translate(50%,-50%);
}
}
} */
@media (-moz-bool-pref: "sidebar.verticalTabs") {
.tabbrowser-tab .tab-icon-overlay:not([crashed]) {
&:is([soundplaying], [muted], [activemedia-blocked]) {
background-color: var(--firefoxcss-tab-speaker-color) !important;
/* background-color: #ffffff26 !important; */
background-color: #0000002e !important;
backdrop-filter: blur(6px);
/* fill: var(--firefoxcss-tab-speaker-icon-hover-color) !important; */
fill: var(--firefoxcss-tab-speaker-icon-color) !important;
border: 1px solid #ffffff29 !important;
transition: transform 100ms ease-in-out, fill 100ms ease-in-out,
background-color 100ms ease-in-out;
&:hover {
fill: var(--firefoxcss-tab-speaker-icon-color) !important;
background-color: transparent !important;
border: 1px solid #ffffff29 !important;
transition: transform 100ms ease-in-out, fill 100ms ease-in-out,
background-color 100ms ease-in-out !important;
/* transform: scale(1.4) translate(-0.35rem, 0.48rem); */
transform: scale(1.3) translate(-8%, 14%);
transform-origin: center !important;
}
}
}
}
@media not (-moz-bool-pref: "sidebar.verticalTabs") {
/* Speaker on tabs color fixes */
.tabbrowser-tab:not([pinned]) .tab-icon-overlay:not([crashed]) {
&:is([soundplaying], [muted], [activemedia-blocked]) {
fill: var(--firefoxcss-tab-speaker-icon-color) !important;
background-color: transparent !important;
border: none !important;
transform: scale(1.4);
transition: transform 200ms ease-in-out, fill 100ms ease-in-out,
background-color 100ms ease-in-out !important;
filter: drop-shadow(-1px 1px 1px light-dark(#0000002e, #00000052));
&:hover {
background-color: var(--firefoxcss-tab-speaker-color) !important;
fill: var(--firefoxcss-tab-speaker-icon-hover-color) !important;
/* border: 1px solid #ffffff29 !important; */
border: none !important;
transform: scale(1.1);
transition: transform 200ms ease-in-out, fill 100ms ease-in-out,
background-color 100ms ease-in-out, filter 100ms ease-in-out !important;
/* transform: scale(1.2); */
/* background-color: #ffffff26 !important; */
/* backdrop-filter: blur(4px) !important; */
/* background-color: transparent !important; */
/* filter: drop-shadow(0px 0px 1px #0000009e); */
}
}
}
/* .tab-icon-overlay {
&:not([indicator-replaces-favicon]) {
&:is([soundplaying], [muted], [activemedia-blocked]) {
top: unset !important;
inset-inline-end: unset !important;
transform: translate(50%,-50%);
}
}
} */
.tabbrowser-tab[pinned] .tab-icon-overlay:not([crashed]) {
&:is([soundplaying], [muted], [activemedia-blocked]) {
background-color: var(--firefoxcss-tab-speaker-color) !important;
/* background-color: #ffffff26 !important; */
background-color: #0000002e !important;
backdrop-filter: blur(6px);
/* fill: var(--firefoxcss-tab-speaker-icon-hover-color) !important; */
fill: var(--firefoxcss-tab-speaker-icon-color) !important;
border: 1px solid #ffffff29 !important;
transition: transform 100ms ease-in-out, fill 100ms ease-in-out,
background-color 100ms ease-in-out;
&:hover {
fill: var(--firefoxcss-tab-speaker-icon-color) !important;
background-color: transparent !important;
border: 1px solid #ffffff29 !important;
transition: transform 100ms ease-in-out, fill 100ms ease-in-out,
background-color 100ms ease-in-out !important;
/* transform: scale(1.4) translate(-0.35rem, 0.48rem); */
transform: scale(1.3) translate(-8%, 14%);
transform-origin: center !important;
}
}
}
/* Pinned tabs padding */
:root:not([uidensity="compact"]) .tab-content[pinned] {
padding: 0 8px !important;
}
#TabsToolbar
#tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])
> #tabbrowser-arrowscrollbox
> .tabbrowser-tab:nth-child(1 of :not([pinned], [hidden])) {
margin-inline-start: 0px !important;
}
#tabbrowser-tabs {
margin-left: 2px !important;
}
/* Width of the tabs. Important to have Fadein or it breaks fonctionality */
/* not([style^="max-width"] :not([overflow])*/
#tabbrowser-tabs .tabbrowser-tab[fadein]:not([pinned]) {
max-width: var(--firefoxcss-tab-max-width) !important;
min-width: var(--firefoxcss-tab-min-width) !important;
}
/* Selected tabs width increase */
#tabbrowser-tabs:not([overflow])
.tabbrowser-tab[selected][fadein]:not([pinned]) {
max-width: 175px !important;
}
/* Selected tabs width when overflowing */
#tabbrowser-tabs[overflow] .tabbrowser-tab[selected][fadein]:not([pinned]) {
min-width: 150px !important;
}
/*
* Fix the height of the tab because if you
* change --tab-min-height it doesnt work for fullcreen
*/
#TabsToolbar {
padding-top: 0px !important;
padding-bottom: 2px !important;
}
/* Remove the line between the tabs / seperators */
#tabbrowser-tabs .tabbrowser-tab::before,
#tabbrowser-tabs .tabbrowser-tab::after {
border: 0 !important;
}
#TabsToolbar #tabbrowser-tabs .tabbrowser-tab .tab-background {
margin-block: 2px !important;
}
/* Remove right and left side tab overflow border line */
#scrollbutton-up ~ spacer {
border-color: transparent !important;
}
}
/*=====================================================================
============ W I N D O W C O N T R O L B U T T O N S ==============
=====================================================================*/
/* Keep showing the buttons when alt menu visible */
.titlebar-buttonbox-container {
#toolbar-menubar[autohide="true"]:not([inactive]) + #TabsToolbar > & {
visibility: visible !important;
}
}
@media (-moz-bool-pref: "sidebar.verticalTabs") {
#toolbar-menubar[autohide]:not([inactive])
~ :is(#TabsToolbar, #nav-bar)
> .titlebar-buttonbox-container {
visibility: unset !important;
}
}
/* :root[sizemode="fullscreen"] #navigator-toolbox { position: relative; } */
@media (-moz-platform: windows) {
/* ----- Close/min/max fix ----- */
#TabsToolbar .titlebar-buttonbox-container,
#nav-bar .titlebar-buttonbox-container{
padding-top: 3px !important;
padding-bottom: 3px !important;
padding-right: 3px !important;
padding-left: 3px !important;
}
.titlebar-buttonbox-container .titlebar-button > .toolbarbutton-icon {
height: 12px !important;
min-height: 12px !important;
width: 12px !important;
min-width: 12px !important;
}
.titlebar-buttonbox-container .titlebar-button {
border-radius: var(--toolbarbutton-border-radius);
padding: 10px !important;
padding-left: 10px !important;
padding-right: 10px !important;
margin-left: 0px !important;
margin-right: 0px !important;
}
@media not (-moz-bool-pref: "firefoxcss.tabs.on.top.enable") {
#toolbar-menubar .titlebar-button {
padding-block: 0px !important;
}
#nav-bar-customization-target
> :is(toolbarbutton, toolbaritem):first-child {
padding-inline-start: 2px !important;
}
:root[sizemode="maximized"] .titlebar-buttonbox-container {
padding-top: 0px !important;