-
Notifications
You must be signed in to change notification settings - Fork 27
/
uc-extensions.css
1103 lines (917 loc) · 49.4 KB
/
uc-extensions.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
/* This Source Code Form is subject to the terms of the Creative Commons
* Attribution-NonCommercial-ShareAlike International License, v. 4.0.
* If a copy of the CC BY-NC-SA 4.0 was not distributed with this
* file, You can obtain one at http://creativecommons.org/licenses/by-nc-sa/4.0/
* or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA. */
/* this stylesheet mainly changes icons for specific extensions or websites
in order to make them look more consistent with the firefox UI
and/or fit better on a dark theme, e.g. white on a dark background.
however, this shouldn't disrupt a light theme either,
it just replaces PNG or explicitly-colored icons with SVGs
that respond to CSS' "fill" and "stroke" properties.
individual extensions' popups and other content documents are styled in userContent.css. */
/* extension icon appearance */
/* tree-style-tabs */
.webextension-browser-action[data-extensionid="[email protected]"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/tree-style-tabs-32.svg) !important;
}
.eom-addon-button[data-extensionid="[email protected]"i] .toolbarbutton-icon,
menupopup#viewSidebarMenu menuitem.menuitem-iconic.webextension-menuitem#menubar_menu_treestyletab_piro_sakura_ne_jp-sidebar-action[style]:not([checked="true"]) {
list-style-image: url(chrome://userchrome/content/material/tree-style-tabs.svg) !important;
}
#sidebarMenu-popup > menuitem#sidebarswitcher_menu_treestyletab_piro_sakura_ne_jp-sidebar-action:is([type="checkbox"], [type="radio"]):not([checked="true"])::before {
background-image: url(chrome://userchrome/content/material/tree-style-tabs.svg);
}
/* SVG gobbler */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{7962ff4a-5985-4cf2-9777-4bb642ad05b8}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/svg-gobbler.svg) !important;
}
/* return youtube dislikes */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{762f9885-5a13-4abd-9c77-433dcd38b8fd}"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/dislike.svg) !important;
transform: scaleX(-1);
}
/* mendeley web importer */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/mendeley.svg) !important;
}
/* multi-account containers */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="@testpilot-containers"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/skin/container-base.svg);
}
:is(.pageAction-panel-button, .urlbar-page-action)[actionid="_testpilot-containers"] {
--pageAction-image: url(chrome://userchrome/content/skin/container-go.svg) !important;
}
/* Want My RSS */
:is(.pageAction-panel-button, .urlbar-page-action)[actionid="_4d567245-e70d-466a-bb2f-390fc7fb25c2_"i] {
--pageAction-image: url(chrome://userchrome/content/material/rss.svg) !important;
}
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{4d567245-e70d-466a-bb2f-390fc7fb25c2}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/rss.svg);
}
/* sort bookmarks */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="sort-bookmarks@heftig"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/skin/sort.svg);
}
/* hide gitzip page action since it's pretty useless */
#pageAction-urlbar-gitzip-firefox-addons_gitzip_org {
display: none !important;
}
/* zotero, an extension for storing articles and auto generating academic citations, etc. */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/zotero.svg) !important;
}
/* WebNowPlaying Companion. works for the original or for my fork. */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{64b2c525-24ed-4c05-aed1-95ff9e6cef70}"i] .toolbarbutton-icon,
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="wnpc@aminomancer"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/rainmeter.svg);
}
/* Add custom search engine, an extension for creating new search engines with custom parameters */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{af37054b-3ace-46a2-ac59-709e4412bec6}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/search-glass.svg);
}
.eom-addon-button[data-extensionid="amazondotcom@aminomancer"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/engines/amazon.svg);
}
.eom-addon-button[data-extensionid="firefoxadd-ons@aminomancer"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/engines/firefoxadd-ons.svg);
}
.eom-addon-button[data-extensionid="searchfox@aminomancer"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/engines/searchfox.svg);
}
/* mozlz4-edit, an extension for editing mozlz4 files like your profile's search.json.mozlz4 file that contains all your search engines */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{0981817c-71b3-4853-a801-481c90af2e8e}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/devtools/tool-dom.svg);
}
/* nordVPN browser extension */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/nord.svg) !important;
}
/* nordVPN while it's active */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i][badge] {
fill: var(--toolbarbutton-icon-fill-attention) !important;
}
#contentAreaContextMenu #nordvpnproxy_nordvpn_com-menuitem-_nordvpn_extension_context_menu_group .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/nord.svg);
}
#contentAreaContextMenu #nordvpnproxy_nordvpn_com-menuitem-_nordvpn_extension_context_menu_group .menu-iconic-icon {
display: none !important;
}
menupopup:not(#contentAreaContextMenu) > #nordvpnproxy_nordvpn_com-menuitem-_nordvpn_extension_context_menu_group:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/material/nord.svg);
}
/* cookie remover */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{3507f56d-2ef5-45c1-b6d7-5297a0ba7642}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/skin/controlcenter/3rdpartycookies-disabled.svg);
}
/* i don't care about cookies */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="jid1-KKzOGWgsW3Ao4Q@jetpack"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/skin/controlcenter/3rdpartycookies.svg);
}
/* Tab Stash */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] .toolbarbutton-icon,
#sidebar-box[sidebarcommand="tab-stash_condordes_net-sidebar-action"] #sidebar-switcher-target > #sidebar-icon,
menupopup#viewSidebarMenu menuitem.menuitem-iconic.webextension-menuitem#menubar_menu_tab-stash_condordes_net-sidebar-action[style]:not([checked="true"]) {
list-style-image: url(chrome://userchrome/content/material/tabstash-logo.svg) !important;
}
#sidebarMenu-popup > menuitem#sidebarswitcher_menu_tab-stash_condordes_net-sidebar-action:is([type="checkbox"], [type="radio"]):not([checked="true"])::before {
background-image: url(chrome://userchrome/content/material/tabstash-logo.svg);
}
#pageAction-urlbar-tab-stash_condordes_net {
list-style-image: url(chrome://userchrome/content/material/tabstash-one.svg) !important;
}
:is(.customization-target, .widget-overflow-list) .webextension-browser-action[data-extensionid="jid1-KKzOGWgsW3Ao4Q@jetpack"i] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
background-color: transparent !important;
background-size: 12px !important;
width: 12px !important;
height: 12px !important;
background-repeat: no-repeat !important;
background-position: center !important;
box-shadow: none !important;
color: transparent !important;
}
.webextension-browser-action[data-extensionid="jid1-KKzOGWgsW3Ao4Q@jetpack"i][badge="⛔"] .toolbarbutton-badge {
background-image: url(chrome://userchrome/content/error.svg) !important;
fill: var(--warning-color) !important;
}
.webextension-browser-action[data-extensionid="jid1-KKzOGWgsW3Ao4Q@jetpack"i][badge="✅"] .toolbarbutton-badge {
background-image: url(chrome://userchrome/content/material/verified.svg) !important;
fill: var(--update-badge-bg) !important;
}
/* private bookmarks */
:where(.webextension-browser-action, .eom-addon-button)[data-extensionid="private-bookmarks@rharel"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/skin/secure-bookmark-hollow.svg) !important;
}
.webextension-browser-action[data-extensionid="private-bookmarks@rharel"i][style*="unlocked-bookmarks.svg"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/skin/secure-bookmark.svg) !important;
}
:is(.customization-target, .widget-overflow-list) .webextension-browser-action[data-extensionid="private-bookmarks@rharel"i] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
background-color: transparent !important;
background-size: 12px !important;
width: 12px !important;
height: 12px !important;
margin: -8px -7px 0 -7px !important;
background-repeat: no-repeat !important;
background-position: center !important;
box-shadow: none !important;
color: transparent !important;
}
.webextension-browser-action[data-extensionid="private-bookmarks@rharel"i][badge="⌛"] .toolbarbutton-badge {
background-image: url(chrome://userchrome/content/loading-spinner.svg) !important;
opacity: 0.75 !important;
fill: var(--busy-throbber-fill) !important;
}
.urlbar-addon-page-action[actionid="private-bookmarks_rharel"] {
list-style-image: url(chrome://userchrome/content/skin/secure-bookmark-hollow.svg) !important;
}
/* pushbullet, an extension for controlling, sharing stuff with, and receiving notifications from your phone */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="jid1-BYcQOfYfmBMd9A@jetpack"i],
menupopup#viewSidebarMenu menuitem.menuitem-iconic.webextension-menuitem#menubar_menu__6540f1c5-ab3d-4eff-9ad2-79a95aec93d5_-sidebar-action[style]:not([checked="true"]) {
list-style-image: url(chrome://userchrome/content/material/pushbullet-solid.svg) !important;
}
#sidebarMenu-popup > menuitem#sidebarswitcher_menu__6540f1c5-ab3d-4eff-9ad2-79a95aec93d5_-sidebar-action:is([type="checkbox"], [type="radio"]):not([checked="true"])::before {
background-image: url(chrome://userchrome/content/material/pushbullet-solid.svg);
}
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{6540f1c5-ab3d-4eff-9ad2-79a95aec93d5}"],
#sidebar-box[sidebarcommand="_6540f1c5-ab3d-4eff-9ad2-79a95aec93d5_-sidebar-action"] #sidebar-switcher-target > #sidebar-icon {
list-style-image: url(chrome://userchrome/content/material/pushbullet-hollow.svg) !important;
}
/* bitwarden, the password manager */
#sidebar-box[sidebarcommand="_446900e4-71c2-419f-a6a7-df9c091e268b_-sidebar-action"] #sidebar-switcher-target > #sidebar-icon,
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{446900e4-71c2-419f-a6a7-df9c091e268b}"] .toolbarbutton-icon,
menupopup#viewSidebarMenu menuitem.menuitem-iconic.webextension-menuitem#menubar_menu__446900e4-71c2-419f-a6a7-df9c091e268b_-sidebar-action[style]:not([checked="true"]) {
list-style-image: url(chrome://userchrome/content/material/bitwarden.svg) !important;
}
#sidebarMenu-popup > menuitem#sidebarswitcher_menu__446900e4-71c2-419f-a6a7-df9c091e268b_-sidebar-action:is([type="checkbox"], [type="radio"]):not([checked="true"])::before {
background-image: url(chrome://userchrome/content/material/bitwarden.svg);
}
/* simple translate and "to google translate" */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="jid1-93WyvpgvxzGATw@jetpack"i] .toolbarbutton-icon,
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="simple-translate@sienori"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/translate.svg);
}
/* dark reader */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/darkmode.svg);
}
/* dark reader's popup, corresponds to colors set in userContent.css */
#customizationui-widget-panel[viewId="PanelUI-webext-addon_darkreader_org-BAV"] {
--arrowpanel-background: var(--tooltip-bgcolor) !important;
--arrowpanel-border-color: var(--uc-menu-border-color) !important;
}
/* devtools inspector sidebar */
.eom-addon-button[data-extensionid="{50b26d0f-7926-482d-8ef8-cc760ea4d4f0}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/devtools/tool-inspector.svg);
}
/* Don't touch my tabs! (rel=noopener) */
.eom-addon-button[data-extensionid="{6b938c0c-fc53-4f27-805f-619778631082}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/skin/link.svg);
}
/* uBlock origin */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/show-password.svg);
}
/* uBlock origin disabled on this site */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i][style*="icon_16-off.png"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/hide-password.svg);
}
/* multithreaded download manager, an extension for downloading files more quickly or with fewer restrictions */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] .toolbarbutton-icon,
menupopup#viewSidebarMenu menuitem.menuitem-iconic.webextension-menuitem#menubar_menu_multithreaded-download-manager_qw_linux-2g64_local-sidebar-action[style]:not([checked="true"]) .menu-iconic-left {
list-style-image: url(chrome://userchrome/content/downloads/double-download.svg);
}
#sidebarMenu-popup > menuitem#sidebarswitcher_menu_multithreaded-download-manager_qw_linux-2g64_local-sidebar-action:is([type="checkbox"], [type="radio"]):not([checked="true"])::before {
background-image: url(chrome://userchrome/content/downloads/double-download.svg);
}
/* firefox private network beta. not available anymore to my knowledge. replaced
by firefox VPN which is a paid service. this won't work for that, different
extensions. I was a beta tester and they never shut the beta off for some reason
so this still works for me. */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] {
list-style-image: url(chrome://userchrome/content/skin/vpn-off-dark.svg) !important;
}
/* firefox private network enabled */
.webextension-browser-action[data-extensionid="[email protected]"i][label="Firefox Private Network is On"] {
list-style-image: var(--vpn-on-icon) !important;
}
/* firefox private network inactive/error */
.webextension-browser-action[data-extensionid="[email protected]"i][label="Firefox Private Network is inactive"] {
fill: var(--warning-color) !important;
}
/* violentmonkey, for injecting scripts into content windows */
:is(.webextension-browser-action, .eom-addon-button)[label^="Violentmonkey"] .toolbarbutton-icon,
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{aecec67f-0d10-4fa7-b7c7-609a2db280cf}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/devtools/tool-webconsole.svg);
}
.tabbrowser-tab[label$="Violentmonkey"] .tab-icon-image {
content: url(chrome://userchrome/content/devtools/tool-webconsole.svg) !important;
fill: currentColor !important;
}
/* stylus, for injecting inline CSS into content windows. more useful than
userContent.css when dealing with very complex websites that need
elaborate/compiled stylesheets */
:is(.webextension-browser-action, .eom-addon-button)[label="Stylus"] .toolbarbutton-icon,
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/stylus.svg);
}
/* Notes by Firefox */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i],
#sidebar-box[sidebarcommand="notes_mozilla_com-sidebar-action"] #sidebar-switcher-target > #sidebar-icon,
menupopup#viewSidebarMenu menuitem.menuitem-iconic.webextension-menuitem#menubar_menu_notes_mozilla_com-sidebar-action[style]:not([checked="true"]) .menu-iconic-left {
list-style-image: url(chrome://userchrome/content/material/notepad-large.svg) !important;
}
#sidebarMenu-popup > menuitem#sidebarswitcher_menu_notes_mozilla_com-sidebar-action:is([type="checkbox"], [type="radio"]):not([checked="true"])::before {
background-image: url(chrome://userchrome/content/material/notepad-large.svg);
}
:is(.menu-iconic, .menuitem-iconic)#notes_mozilla_com-menuitem-_send-to-notes .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/notepad-large.svg);
}
:is(.menu-iconic, .menuitem-iconic)#notes_mozilla_com-menuitem-_send-to-notes .menu-iconic-icon {
display: none;
}
/* Firefox Relay */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] {
list-style-image: url(chrome://userchrome/content/material/firefox-relay.svg) !important;
}
:is(.menu-iconic, .menuitem-iconic)[id^="private-relay_firefox_com-menuitem-"] .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/firefox-relay.svg);
}
:is(.menu-iconic, .menuitem-iconic)[id^="private-relay_firefox_com-menuitem-"] .menu-iconic-icon {
display: none;
}
/* hide the ad for premium */
#private-relay_firefox_com-menuitem-_fx-private-relay-get-unlimited-aliases,
#private-relay_firefox_com-menuitem-_fx-private-relay-get-unlimited-aliases-separator,
#private-relay_firefox_com-menuitem-_fx-private-relay-get-unlimited-aliases:first-child + menuseparator {
display: none;
}
/* remote-settings-devtools */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"i] {
list-style-image: url(chrome://userchrome/content/material/kinto.svg) !important;
}
/* Tab Stash menuitem icon */
:is(.menu-iconic, .menuitem-iconic)[id^="tab-stash_condordes_net-menuitem-"][image] .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/tabstash-logo.svg);
}
:is(.menu-iconic, .menuitem-iconic)[id^="tab-stash_condordes_net-menuitem-"][image] .menu-iconic-icon {
display: none;
}
/* GitZip */
:is(.menu-iconic, .menuitem-iconic)[id^="gitzip-firefox-addons_gitzip_org-menuitem-"] .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/zipper.svg);
}
:is(.menu-iconic, .menuitem-iconic)[id^="gitzip-firefox-addons_gitzip_org-menuitem-"] .menu-iconic-icon {
display: none;
}
.eom-addon-button[data-extensionid="[email protected]"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/zipper.svg);
}
/* invert some icons in the extension options panel */
.eom-addon-button[data-extensionid="[email protected]"] .toolbarbutton-icon,
.eom-addon-button[data-extensionid="[email protected]"] .toolbarbutton-icon,
.eom-addon-button[data-extensionid="{30399a05-ba09-4c3c-b828-dbc9bb3ab8b9}"] .toolbarbutton-icon {
filter: grayscale(1) invert(1) brightness(3) !important;
}
.eom-addon-button[data-extensionid="{3e0e2f7e-1dde-4fee-ab96-031faa42ec52}"i] .toolbarbutton-icon,
.eom-addon-button[data-extensionid="{33d43318-bde8-4b88-9658-4b89629dbc4e}"i] .toolbarbutton-icon,
.eom-addon-button[data-extensionid="[email protected]"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/extension.svg);
}
/* sidebery */
.eom-addon-button[data-extensionid="{3c078156-979c-498b-8990-85f7987dd929}"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/sidebery.svg);
}
#sidebarMenu-popup > menuitem#sidebarswitcher_menu__3c078156-979c-498b-8990-85f7987dd929_-sidebar-action:is([type="checkbox"], [type="radio"]):not([checked="true"])::before {
background-image: url(chrome://userchrome/content/material/sidebery.svg);
}
/* my youtube search engine addon */
.eom-addon-button[data-extensionid="youtube@aminomancer"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/engines/youtube.svg);
}
.eom-addon-button[data-extensionid="bugzilla@aminomancer"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/engines/bugzilla.svg);
}
.eom-addon-button[data-extensionid="libgen@aminomancer"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/engines/librarygenesis.svg);
}
.eom-addon-button[data-extensionid="mdnwebdocs@aminomancer"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/engines/mdnwebdocs.svg);
}
.eom-addon-button[data-extensionid="[email protected]"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/keyboard-command.svg);
}
/* sponsorblock */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/sponsorblock.svg);
}
/* hide files on github */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/hide-files-on-github.svg);
}
/* bypass paywalls */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="bypasspaywalls@bypasspaywalls"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/bypass-paywalls.svg);
}
/* react devtools */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="@react-devtools"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/devtools/sources/react.svg);
}
/* angular devtools. a chrome mod you can install in firefox with minor mods */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="angular-devtools@aminomancer"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/devtools/sources/angular.svg);
}
/* angular state inspector */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{8c161eb2-86b5-49e8-8e49-c789821be12e}"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/devtools/sources/angular-state.svg);
}
/* bing to google */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="[email protected]"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/engines/bing-to-google.svg);
}
/* reddit enhancement suite */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="jid1-xUfzOsOFlzSOXg@jetpack"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/filter-css.svg);
}
/* view image - reimplements the view image button on google */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{287dcf75-bec6-4eec-b4f6-71948a2eea29}"] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/google-view-image.svg);
}
/* Zoom Scheduler */
:is(.webextension-browser-action, .eom-addon-button)[data-extensionid="{bf855ead-d7c3-4c7b-9f88-9a7e75c0efdf}"i] {
list-style-image: url(chrome://userchrome/content/material/zoom.svg) !important;
}
/* context menu stuff */
/* make multithreaded download manager context menu item's English label smaller.
do nothing for other languages since idk if the item is too long in other languages. */
#multithreaded-download-manager_qw_linux-2g64_local-menuitem-_link-context-menu[label="Download with Multithreaded Download Manager"] .menu-iconic-left {
flex: 1;
}
#multithreaded-download-manager_qw_linux-2g64_local-menuitem-_link-context-menu[label="Download with Multithreaded Download Manager"] .menu-iconic-text {
display: none;
}
#multithreaded-download-manager_qw_linux-2g64_local-menuitem-_link-context-menu[label="Download with Multithreaded Download Manager"] .menu-iconic-left::after {
content: "Download (Multithreaded)";
display: -moz-inline-box;
flex: 1;
}
/* fix inconsistent string casing of menuitems in Multithreaded Download Manager */
:is(menu, menuitem)[id^="multithreaded-download-manager"]:is([label="Open in new tab"], [label="Open in new window"], [label="Open in sidebar"]) > label {
display: none !important;
}
:is(menu, menuitem)[id^="multithreaded-download-manager"]:is([label="Open in new tab"], [label="Open in new window"], [label="Open in sidebar"]) > .menu-accel-container::before {
display: -moz-inline-box;
flex: 1;
}
:is(menu, menuitem)[id^="multithreaded-download-manager"][label="Open in new tab"] > .menu-accel-container::before {
content: "Open in New Tab";
}
:is(menu, menuitem)[id^="multithreaded-download-manager"][label="Open in new window"] > .menu-accel-container::before {
content: "Open in New Window";
}
:is(menu, menuitem)[id^="multithreaded-download-manager"][label="Open in sidebar"] > .menu-accel-container::before {
content: "Open in Sidebar";
}
/* sort bookmarks menu icon */
:is(.menu-iconic, .menuitem-iconic)[id^="sort-bookmarks_heftig-menuitem"] .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/skin/sort.svg);
}
:is(.menu-iconic, .menuitem-iconic)[id^="sort-bookmarks_heftig-menuitem"] .menu-iconic-icon {
display: none;
}
/* fix inconsistent string casing of menuitems in Sort Bookmarks */
menuitem[id^="sort-bookmarks_heftig-menuitem"][label="Sort this folder…"] > label {
display: none !important;
}
menuitem[id^="sort-bookmarks_heftig-menuitem"][label="Sort this folder…"] > .menu-accel-container::before {
display: -moz-inline-box;
flex: 1;
}
menuitem[id^="sort-bookmarks_heftig-menuitem"][label="Sort this folder…"] > .menu-accel-container::before {
content: "Sort this Folder…";
}
/* simple translate context menu icon */
:is(.menu-iconic, .menuitem-iconic):is([label="To Google Translate"], [label^="Translate this page"], [label="Translate selected link"], [label="Translate selected text"], [label="Simple Translate"]) .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/translate-small.svg);
}
:is(.menu-iconic, .menuitem-iconic):is([label="To Google Translate"], [label^="Translate this page"], [label="Translate selected link"], [label="Translate selected text"], [label="Simple Translate"]) .menu-iconic-icon {
display: none;
}
:is(#simple-translate_sienori-menuitem-_translatePage, #simple-translate_sienori-menuitem-_translatePageOnTab):not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/material/translate-small.svg);
}
#simple-translate_sienori-menuitem-_translateLink:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/skin/link.svg);
}
#simple-translate_sienori-menuitem-_translateText:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/skin/case-sensitive.svg);
}
/* hide simple translate menu item in sidebars (e.g. TST, sidebery) */
@-moz-document regexp("chrome://browser/content/webext-panels.xhtml") {
:is(menu, menuitem):is([label="To Google Translate"], [label^="Translate this page"], [label="Translate selected link"], [label="Translate selected text"], [label="Simple Translate"]) {
display: none;
}
}
/* fix inconsistent string casing of menuitems in Simple Translate */
:is(#simple-translate_sienori-menuitem-_translatePage, #simple-translate_sienori-menuitem-_translatePageOnTab)[label^="Translate this page"] > label,
#simple-translate_sienori-menuitem-_translateLink[label="Translate selected link"] > label,
#simple-translate_sienori-menuitem-_translateText[label="Translate selected text"] > label {
display: none !important;
}
:is(#simple-translate_sienori-menuitem-_translatePage, #simple-translate_sienori-menuitem-_translatePageOnTab)[label^="Translate this page"] > .menu-accel-container::before,
#simple-translate_sienori-menuitem-_translateLink[label="Translate selected link"] > .menu-accel-container::before,
#simple-translate_sienori-menuitem-_translateText[label="Translate selected text"] > .menu-accel-container::before {
display: -moz-inline-box;
flex: 1;
}
:is(#simple-translate_sienori-menuitem-_translatePage, #simple-translate_sienori-menuitem-_translatePageOnTab)[label^="Translate this page"] > .menu-accel-container::before {
content: "Translate Page";
}
#simple-translate_sienori-menuitem-_translateLink[label="Translate selected link"] > .menu-accel-container::before {
content: "Translate Selected Link";
}
#simple-translate_sienori-menuitem-_translateText[label="Translate selected text"] > .menu-accel-container::before {
content: "Translate Selected Text";
}
/* hide translate this page menuitem when right-clicking text input */
#contentAreaContextMenu #context-cut:not([hidden]) ~ :is(.menu-iconic, .menuitem-iconic):is([label^="Translate this page"], [label="Simple Translate"]) {
display: none;
}
/* pushbullet context menu icon */
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Pushbullet"] .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/pushbullet-solid.svg);
}
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Pushbullet"] .menu-iconic-icon {
display: none;
}
#toolbar-context-menu :is(menu, menuitem)[id^="jid1-bycqofyfmbmd9a_jetpack-menuitem"]:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/material/pushbullet-solid.svg);
}
/* hide pushbullet when right-clicking dead area, e.g. the page background.
pushbullet kinda overstays its welcome, you can just use the toolbar button to
send the current page, there's no need for a context menu item except when
right-clicking something particular *on* the page. */
#contentAreaContextMenu #context-navigation:not([hidden]) ~ :is(.menu-iconic, .menuitem-iconic)[label="Pushbullet"] {
display: none;
}
/* multi-account containers menu icon */
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Firefox Multi-Account Containers"] .menu-iconic-left::before,
#_testpilot-containers-menuitem-_open-bookmark-in-container-tab > .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/skin/container-base.svg);
}
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Firefox Multi-Account Containers"] .menu-iconic-icon,
#_testpilot-containers-menuitem-_open-bookmark-in-container-tab > .menu-iconic-left .menu-iconic-icon {
display: none;
}
#_testpilot-containers-menuitem-_open-bookmark-in-container-tab > .menu-iconic-left::before {
background-image: url(chrome://userchrome/content/skin/container-go.svg);
}
/* shorten the multi-account containers label */
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Firefox Multi-Account Containers"] > .menu-iconic-left {
flex: 1;
}
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Firefox Multi-Account Containers"] > .menu-iconic-left::after {
content: "Multi-Account Containers";
display: -moz-inline-box;
flex: 1;
}
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Firefox Multi-Account Containers"] > .menu-iconic-text {
display: none;
}
#_testpilot-containers-menuitem-_open-bookmark-in-container-tab menupopup .menu-iconic-icon {
filter: invert(1);
opacity: 0.8;
}
/* zotero menu icon */
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Zotero Connector"] .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/skin/sync.svg);
}
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Zotero Connector"] .menu-iconic-icon {
display: none;
}
/* ublock origin context menu icon */
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[id^="ublock0_raymondhill_net-menuitem-"] .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/hide-password.svg);
}
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[id^="ublock0_raymondhill_net-menuitem-"] .menu-iconic-icon {
display: none;
}
#ublock0_raymondhill_net-menuitem-_uBlock0-blockElement:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/hide-password.svg);
}
#ublock0_raymondhill_net-menuitem-_uBlock0-blockElementInFrame:not(.menuitem-iconic, .menu-iconic)::before {
fill-opacity: 0.3;
background-image: url(chrome://userchrome/content/devtools/command-frames.svg);
}
/* fix the inconsistent casing for uBlock Origin's "Block element…" menuitem (in English) */
#ublock0_raymondhill_net-menuitem-_uBlock0-blockElement[label="Block element…"] > label {
display: none !important;
}
#ublock0_raymondhill_net-menuitem-_uBlock0-blockElement[label="Block element…"] > .menu-accel-container::before {
content: "Block Element…";
display: -moz-inline-box;
flex: 1;
}
#ublock0_raymondhill_net-menuitem-_uBlock0-blockElementInFrame[label="Block element in frame…"] > label {
display: none !important;
}
#ublock0_raymondhill_net-menuitem-_uBlock0-blockElementInFrame[label="Block element in frame…"] > .menu-accel-container::before {
content: "Block Element in Frame…";
display: -moz-inline-box;
flex: 1;
}
/* bitwarden context menu icon */
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Bitwarden"] .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/bitwarden.svg);
}
#contentAreaContextMenu :is(.menu-iconic, .menuitem-iconic)[label="Bitwarden"] .menu-iconic-icon {
display: none !important;
}
/* toolbar context menu item */
#_446900e4-71c2-419f-a6a7-df9c091e268b_-menuitem-_root:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/material/bitwarden.svg);
}
#contentAreaContextMenu #addon_darkreader_org-menuitem-_DarkReader-top .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
background-image: url(chrome://userchrome/content/material/darkmode.svg);
}
#contentAreaContextMenu #addon_darkreader_org-menuitem-_DarkReader-top .menu-iconic-icon {
display: none !important;
}
menupopup:not(#contentAreaContextMenu) > #addon_darkreader_org-menuitem-_DarkReader-top:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/material/darkmode.svg);
}
menu[id^="format-with-prettier_phryneas_de-menuitem-"][ext-type="top-level-menu"]::before {
background-image: url(chrome://userchrome/content/devtools/tool-styleeditor.svg);
}
/* fix inconsistent string casing of menuitems in Dark Reader */
#addon_darkreader_org-menuitem-_toggle[label="Toggle extension"] > label,
#addon_darkreader_org-menuitem-_addSite[label="Toggle current site"] > label,
#addon_darkreader_org-menuitem-_switchEngine[label="Theme generation mode"] > label {
display: none !important;
}
#addon_darkreader_org-menuitem-_toggle[label="Toggle extension"] > .menu-accel-container::before,
#addon_darkreader_org-menuitem-_addSite[label="Toggle current site"] > .menu-accel-container::before,
#addon_darkreader_org-menuitem-_switchEngine[label="Theme generation mode"] > .menu-accel-container::before {
display: -moz-inline-box;
flex: 1;
}
#addon_darkreader_org-menuitem-_toggle[label="Toggle extension"] > .menu-accel-container::before {
content: "Toggle Extension";
white-space: nowrap !important;
}
#addon_darkreader_org-menuitem-_addSite[label="Toggle current site"] > .menu-accel-container::before {
content: "Toggle Current Site";
white-space: nowrap !important;
}
#addon_darkreader_org-menuitem-_switchEngine[label="Theme generation mode"] > .menu-accel-container::before {
content: "Theme Generation Mode";
white-space: nowrap !important;
}
/* stylus context menu items */
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-manager:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/devtools/tool-styleeditor.svg);
}
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-options:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/settings.svg);
}
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_show-badge[label="Show active style count"] > label,
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_disableAll[label="Turn all styles off"] > label,
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-manager[label="Open styles manager"] > label {
display: none !important;
}
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_show-badge[label="Show active style count"] > .menu-accel-container::before,
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_disableAll[label="Turn all styles off"] > .menu-accel-container::before,
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-manager[label="Open styles manager"] > .menu-accel-container::before {
display: -moz-inline-box;
flex: 1;
}
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_show-badge[label="Show active style count"] > .menu-accel-container::before {
content: "Active Style Count";
}
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_disableAll[label="Turn all styles off"] > .menu-accel-container::before {
content: "Disable All Styles";
}
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-manager[label="Open styles manager"] > .menu-accel-container::before {
content: "Open Style Manager";
}
/* make the "Options" menuitem's label more specific */
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-options[label="Options"]:not(.menuitem-iconic, .menu-iconic) > .menu-text {
display: none !important;
}
#_7a7a4a92-a2a0-41d1-9fd7-1e92480d612d_-menuitem-_open-options[label="Options"]:not(.menuitem-iconic, .menu-iconic) > .menu-accel-container::before {
content: "Stylus Options";
display: -moz-inline-box;
flex: 1;
}
/* View Image extension's context menu item "Search by image"
I would recommend disabling the context menu in the extension's settings,
since its casing is inconsistent with context menu norms. */
#_287dcf75-bec6-4eec-b4f6-71948a2eea29_-menuitem-_ViewImage-SearchByImage .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
}
#_287dcf75-bec6-4eec-b4f6-71948a2eea29_-menuitem-_ViewImage-SearchByImage .menu-iconic-icon {
display: none !important;
}
#_287dcf75-bec6-4eec-b4f6-71948a2eea29_-menuitem-_ViewImage-SearchByImage .menu-iconic-left::before,
#_287dcf75-bec6-4eec-b4f6-71948a2eea29_-menuitem-_ViewImage-SearchByImage:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/material/google-view-image.svg);
}
/* my "Invert Element" context menu extension */
#invert-element_aminomancer-menuitem-_menuitem-invert .menu-iconic-left::before {
width: 16px;
height: 16px;
margin-inline: var(--context-iconic-margin);
fill: currentColor;
-moz-context-properties: fill, fill-opacity, stroke;
content: "";
display: -moz-inline-box;
background-position: center;
background-repeat: no-repeat;
}
#invert-element_aminomancer-menuitem-_menuitem-invert .menu-iconic-icon {
display: none !important;
}
#invert-element_aminomancer-menuitem-_menuitem-invert[label="Invert Element"] .menu-iconic-left::before,
#invert-element_aminomancer-menuitem-_menuitem-invert[label="Invert Element"]:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/material/invert.svg);
}
#invert-element_aminomancer-menuitem-_menuitem-invert[label="Uninvert Element"] .menu-iconic-left::before,
#invert-element_aminomancer-menuitem-_menuitem-invert[label="Uninvert Element"]:not(.menuitem-iconic, .menu-iconic)::before {
background-image: url(chrome://userchrome/content/material/invert-off.svg);
}
.eom-addon-button[data-extensionid="invert-element@aminomancer"i] .toolbarbutton-icon {
list-style-image: url(chrome://userchrome/content/material/invert.svg);
}
/* tab notes favicon isn't displayed properly in the back/forward menu */
menupopup menuitem[class^="unified-nav"][uri="moz-extension://e158f52d-b5db-4594-9757-1e526a5df811/newtab.html"]:not([_moz-menuactive="true"]) {
list-style-image: url("moz-extension://e158f52d-b5db-4594-9757-1e526a5df811/favicon.ico") !important;
}
/* invert github's black icon */
:is(.menu-iconic-icon, .toolbarbutton-icon, .urlbarView-favicon):is([src^="page-icon:https://github.com"], [src^="page-icon:http://github.com"]) {
background-image: url(chrome://userchrome/content/engines/github.svg) !important;
background-size: 16px !important;
background-repeat: no-repeat !important;
background-position: center !important;
padding-inline: 16px 0 !important;
box-sizing: border-box !important;
}
/* if icon-only bookmarks toolbar pref is enabled, we need to invert the icon
differently since we don't want to invert the background on hovering the icon */
@media (-moz-bool-pref: "userChrome.bookmarks-toolbar.icons-only") {
#PersonalToolbar toolbarbutton.bookmark-item:not(.subviewbutton, [id]) .toolbarbutton-icon:is([src^="page-icon:https://github.com"], [src^="page-icon:http://github.com"]) {
padding-inline: 28px 0 !important;
}
}