This repository has been archived by the owner on Dec 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
userChromeIcons.css
306 lines (286 loc) · 19.5 KB
/
userChromeIcons.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
/* / // / / ☔ RainFox 5.3 | 2019-2022 // / / / */
/* context menus arrows */
.menu-right, #identity-popup-mainView .subviewbutton-nav::after, .widget-overflow-list .subviewbutton-nav::after, .PanelUI-subView .subviewbutton-nav::after, #protections-popup-mainView .subviewbutton-nav:not(.notFound)::after {
content: url(".icon/menu-arrow.svg") !important; fill: currentColor !important; opacity: 0.6 !important;
-moz-context-properties: fill !important; }
menuitem[checked="true"] > .menu-iconic-left {
list-style-image: url(".icon/menu-check.svg") !important; fill: currentColor; }
#PlacesChevron, #nav-bar-overflow-button {
list-style-image: url(".icon/overflow-chevron.svg") !important; }
.panel-header > .subviewbutton-back { list-style-image: url(".icon/panel-back.svg") !important; }
/* tracking protection icon */
#urlbar-input-container[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box > #tracking-protection-icon {
list-style-image: url(".icon/tracking-protection.svg") !important; }
#urlbar-input-container[pageproxystate="valid"] > #tracking-protection-icon-container > #tracking-protection-icon-box[hasException] > #tracking-protection-icon {
list-style-image: url(".icon/tracking-protection-off.svg") !important; }
/* tracking protection panel icons */
.panel-info-button > image {
list-style-image: url(".icon/urlbar-info.svg") !important; }
.trackers-icon {
list-style-image: url(".icon/canvas.svg") !important; }
.socialblock-icon {
list-style-image: url(".icon/socialblock.svg") !important; }
.fingerprinters-icon {
list-style-image: url(".icon/fingerprint.svg") !important; }
.cryptominers-icon {
list-style-image: url(".icon/cryptominer.svg") !important; }
/* security dynamic icon */
#identity-icon {
list-style-image: url(".icon/urlbar-info.svg") !important; }
#identity-box[pageproxystate="valid"].verifiedDomain #identity-icon, #identity-box[pageproxystate="valid"].mixedActiveBlocked #identity-icon {
list-style-image: url(".icon/urlbar-s-secure.svg") !important; }
#identity-box[pageproxystate="valid"].weakCipher #identity-icon, #identity-box[pageproxystate="valid"].mixedDisplayContent #identity-icon, #identity-box[pageproxystate="valid"].mixedDisplayContentLoadedActiveBlocked #identity-icon, #identity-box[pageproxystate="valid"].certUserOverridden #identity-icon, #identity-box[pageproxystate="valid"].certErrorPage #identity-icon {
list-style-image: url(".icon/urlbar-s-weak.svg") !important; -moz-context-properties: fill, stroke !important;
fill: color-mix(in srgb, currentColor 70%, #fff0) !important; stroke: color-mix(in srgb, currentColor 70%, #fff0) !important; }
#identity-box[pageproxystate="valid"].notSecure #identity-icon, #identity-box[pageproxystate="valid"].mixedActiveContent #identity-icon, #identity-box[pageproxystate="valid"].httpsOnlyErrorPage #identity-icon {
list-style-image: url(".icon/urlbar-s-insecure.svg") !important; -moz-context-properties: fill, stroke !important;
stroke: var(--buttons-destructive-bgcolor) !important; }
#identity-box[pageproxystate="valid"].chromeUI #identity-icon {
list-style-image: url(".icon/firefox.svg") !important; }
#identity-box[pageproxystate="valid"].localResource #identity-icon {
list-style-image: url(".icon/urlbar-file.svg") !important; }
#urlbar:not(.searchButton) > #urlbar-input-container > #identity-box[pageproxystate="invalid"] #identity-icon {
list-style-image: url(".icon/urlbar-search.svg") !important; }
/* security panel icons */
.identity-popup-security-connection {
background-image: url(".icon/urlbar-s-insecure.svg") !important; -moz-context-properties: fill, stroke !important;
stroke: var(--buttons-destructive-bgcolor) !important; }
#identity-popup[ciphers="weak"] .identity-popup-security-connection, #identity-popup[mixedcontent~="passive-loaded"][isbroken] .identity-popup-security-connection {
background-image: url(".icon/urlbar-s-weak.svg") !important; -moz-context-properties: fill, stroke !important;
fill: color-mix(in srgb, currentColor 70%, #fff0) !important; stroke: color-mix(in srgb, currentColor 70%, #fff0) !important; }
#identity-popup[connection^="secure"] .identity-popup-security-connection {
background-image: url(".icon/urlbar-s-secure.svg") !important;
}
/* permission icons */
#permissions-granted-icon {
list-style-image: url(".icon/permissions.svg") !important; }
.geo-icon {
list-style-image: url(".icon/geo.svg") !important; }
.geo-icon.blocked-permission-icon {
list-style-image: url(".icon/geo-off.svg") !important; }
.xr-icon {
list-style-image: url(".icon/vr.svg") !important; }
.xr-icon.blocked-permission-icon {
list-style-image: url(".icon/vr.svg") !important; opacity: 33%; } /* vr-off icon doesn't exist, so just add some transparency to a regular icon */
.camera-icon {
list-style-image: url(".icon/camera.svg") !important; }
.camera-icon.blocked-permission-icon {
list-style-image: url(".icon/camera-off.svg") !important; }
.microphone-icon {
list-style-image: url(".icon/microphone.svg") !important; }
.microphone-icon.blocked-permission-icon {
list-style-image: url(".icon/microphone-off.svg") !important; }
.screen-icon {
list-style-image: url(".icon/screen.svg") !important; }
.screen-icon.blocked-permission-icon {
list-style-image: url(".icon/screen-off.svg") !important; }
.persistent-storage-icon {
list-style-image: url(".icon/storage.svg") !important; }
.persistent-storage-icon.blocked-permission-icon {
list-style-image: url(".icon/storage-off.svg") !important; }
.desktop-notification-icon, .popup-notification-icon[popupid="web-notifications"] {
list-style-image: url(".icon/notifications.svg") !important; }
.desktop-notification-icon.blocked-permission-icon {
list-style-image: url(".icon/notifications-off.svg") !important; }
.popup-icon {
list-style-image: url(".icon/popup.svg") !important; }
.popup-icon.blocked-permission-icon {
list-style-image: url(".icon/popup-off.svg") !important; }
#blocked-permissions-container > .popup-icon { transform: translateY(0px) !important; } /* fix weird Y-shift used by ProtonUI popup icons */
.autoplay-media-icon {
list-style-image: url(".icon/autoplay.svg") !important; }
.autoplay-media-icon.blocked-permission-icon {
list-style-image: url(".icon/autoplay-off.svg") !important; }
.autoplay-media-icon {
list-style-image: url(".icon/autoplay.svg") !important; }
.autoplay-media-icon.blocked-permission-icon {
list-style-image: url(".icon/autoplay-off.svg") !important; }
.canvas-icon {
list-style-image: url(".icon/canvas.svg") !important; }
.canvas-icon.blocked-permission-icon {
list-style-image: url(".icon/canvas-off.svg") !important; }
.midi-icon {
list-style-image: url(".icon/midi.svg") !important; }
.midi-icon.blocked-permission-icon {
list-style-image: url(".icon/midi.svg") !important; opacity: 33%; } /* midi-off icon doesn't exist, so just add some transparency to a regular icon */
.install-icon {
list-style-image: url(".icon/addon.svg") !important; }
.install-icon.blocked-permission-icon {
list-style-image: url(".icon/addon.svg") !important; opacity: 33%; } /* addon-off icon doesn't exist, so just add some transparency to a regular icon */
/* notificationbox icons (not inherited from permission icons only) */
#default-notification-icon, #servicesInstall-notification-icon {
list-style-image: url(".icon/error.svg") !important; transform: rotate(180deg) !important; } /* lack of Photon icons sometimes makes you improvise like this :p */
#canvas-notification-icon {
list-style-image: url(".icon/canvas.svg") !important; }
#indexedDB-notification-icon {
list-style-image: url(".icon/storage2.svg") !important; }
#password-notification-icon {
list-style-image: url(".icon/password2.svg") !important; }
#plugins-notification-icon > .plugin-icon {
list-style-image: url(".icon/plugin.svg") !important; }
#persistent-storage-notification-icon {
width: 28px !important; }
#webauthn-notification-icon {
list-style-image: url(".icon/fingerprint.svg") !important; }
/* border value for userChromeNavButtons.css; overwrites default value (1px) if Photon icons are enabled */
#back-button .toolbarbutton-icon {
box-shadow: 0px 0px 0px 1.92px color-mix(in srgb, currentColor 40%, #fff0) !important; /* uses 1.92px instead of 2px prevent "overdrawn" circle that appears sometimes for no reason */
}
/* general simple icons (mostly actionbar buttons) */
#back-button, .unified-nav-back[_moz-menuactive] {
list-style-image: url(".icon/back.svg") !important; }
#forward-button, #urlbar-go-button, .search-go-button, .unified-nav-forward[_moz-menuactive] {
list-style-image: url(".icon/forward.svg") !important; }
#home-button {
list-style-image: url(".icon/home.svg") !important; }
#library-button {
list-style-image: url(".icon/library.svg") !important; }
#history-panelmenu, #urlbar-engine-one-off-item-history {
list-style-image: url(".icon/history.svg") !important; }
#find-button {
list-style-image: url(".icon/find.svg") !important; }
#sidebar-button {
list-style-image: url(".icon/sidebar-toggle.svg") !important; }
#sync-button, #urlbar-engine-one-off-item-tabs {
list-style-image: url(".icon/tab.svg") !important; }
#bookmarks-menu-button {
list-style-image: url(".icon/bookmarks-tray.svg") !important; }
#add-ons-button, #identity-box[pageproxystate="valid"].extensionPage #identity-icon {
list-style-image: url(".icon/addon.svg") !important; }
#preferences-button, .search-setting-button > .button-box > .button-icon {
list-style-image: url(".icon/settings.svg") !important; }
#tabs-newtab-button, #TabsToolbar #new-tab-button {
list-style-image: url(".icon/newtab.svg") !important; }
#reader-mode-button, #reader-mode-button > .urlbar-icon {
list-style-image: url(".icon/reader-mode.svg") !important; }
#pageAction-panel-bookmark, #star-button {
list-style-image: url(".icon/bookmark-hollow.svg") !important; }
#pageAction-panel-bookmark[starred], #star-button[starred] {
list-style-image: url(".icon/bookmark.svg") !important; }
#print-button {
list-style-image: url(".icon/print.svg") !important; }
#import-button {
list-style-image: url(".icon/import.svg") !important; }
#new-window-button {
list-style-image: url(".icon/new-window.svg") !important; }
#alltabs-button {
list-style-image: url(".icon/panel-back.svg") !important; transform: rotate(-90deg); }
#pageActionButton, .share-more-button {
list-style-image: url(".icon/more.svg") !important; }
#save-to-pocket-button {
list-style-image: url(".icon/pocket.svg") !important; }
#privatebrowsing-button {
list-style-image: url(".icon/private.svg") !important; }
/* refresh button -- one of the animations is competely broken and idk how to fix it :( */
#stop-reload-button[animate] > #reload-button > .toolbarbutton-animatable-box > .toolbarbutton-animatable-image {
background-image: url(".icon/reload-to-stop.svg") !important; width: 468px !important; height: 20px !important; }
#stop-reload-button[animate] > #reload-button > .toolbarbutton-animatable-box > .toolbarbutton-animatable-image {
width: 468px !important; height: 20px !important; background-image: url(".icon/reload-to-stop.svg") !important;
}
#stop-reload-button[animate] > #reload-button:not([displaystop]) > .toolbarbutton-animatable-box > .toolbarbutton-animatable-image {
animation-name: userChrome-reload-to-stop !important;
transition: none !important; }
#reload-button:not([displaystop]) > .toolbarbutton-animatable-box > .toolbarbutton-animatable-image {
animation-timing-function: steps(25) !important;
animation-duration: 0.3s !important;
}
@keyframes userChrome-reload-to-stop {
from { transform: translateX(0); }
to { transform: translateX(-450px) }
}
#reload-button {
list-style-image: url(".icon/reload.svg") !important; }
#stop-button {
list-style-image: url(".icon/stop.svg") !important; }
/* menu button */
#PanelUI-menu-button {
list-style-image: url(".icon/menu.svg") !important; }
#PanelUI-menu-button[badge-status="update-available"], #PanelUI-menu-button[badge-status="update-downloading"], #PanelUI-menu-button[badge-status="update-manual"], #PanelUI-menu-button[badge-status="update-other-instance"], #PanelUI-menu-button[badge-status="update-restart"] {
list-style-image: url(".icon/menu-badged.svg") !important; }
#PanelUI-menu-button[badge-status="update-available"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-downloading"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-manual"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-other-instance"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-restart"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, .panel-banner-item[notificationid="update-available"] > .toolbarbutton-icon, .panel-banner-item[notificationid="update-downloading"] > .toolbarbutton-icon, .panel-banner-item[notificationid="update-manual"] > .toolbarbutton-icon, .panel-banner-item[notificationid="update-other-instance"] > .toolbarbutton-icon, .panel-banner-item[notificationid="update-restart"] > .toolbarbutton-icon, .popup-notification-icon[popupid="update-available"], .popup-notification-icon[popupid="update-downloading"], .popup-notification-icon[popupid="update-manual"], .popup-notification-icon[popupid="update-other-instance"], .popup-notification-icon[popupid="update-restart"] {
background: #74BF43 url(".icon/menu-update-badge.svg") no-repeat center !important; background-size: 10px !important; border-radius: 1000px !important; }
#PanelUI-menu-button[badge-status="update-available"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-downloading"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-manual"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-other-instance"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-restart"] > .toolbarbutton-badge-stack > .toolbarbutton-badge, #PanelUI-menu-button[badge-status="update-unsupported"] > .toolbarbutton-badge-stack > .toolbarbutton-badge {
margin: -7px 0 0 !important; margin-inline-end: -4px !important; }
#appMenu-proton-update-banner > .toolbarbutton-icon { margin: 0px !important; }
/* downloads button (currently doesn't replace Photon UI animation, and I have no idea how to implement Proton UI's one back) */
#downloads-indicator-anchor {
list-style-image: url(".icon/download.svg#arrow-with-bar") !important; }
#downloads-button > .toolbarbutton-badge-stack > #downloads-indicator-progress-outer { top: calc(50% - 10px); left: calc(50% - 10px); width: 20px; height: 20px; border-width: 2px !important; }
#downloads-indicator-progress-inner { width: 16px; height: 16px; }
/* tab action icons (+ shadow filters) */
.tab-icon-overlay[soundplaying], .all-tabs-secondary-button[soundplaying] {
list-style-image: url(".icon/tab-audio.svg") !important; filter: drop-shadow( 0 0 1px var(--toolbar-bgcolor)); }
.tab-icon-overlay[muted], .all-tabs-secondary-button[muted] {
list-style-image: url(".icon/tab-audio-off.svg") !important; filter: drop-shadow( 0 1px var(--toolbar-bgcolor)); }
.close-icon {
list-style-image: url(".icon/tab-close.svg") !important; }
/* bookmark-related icons */
.bookmark-item[container]:not([query]) {
list-style-image: url(".icon/folder.svg") !important; }
#bookmarksToolbarFolderMenu, #BMB_bookmarksToolbar, #panelMenu_bookmarksToolbar {
list-style-image: url(".icon/bookmarks-toolbar.svg") !important; fill: currentColor; }
.bookmark-item[container][query] {
list-style-image: url(".icon/folder-smart.svg") !important; fill: currentColor; }
#menu_mobileBookmarks {
list-style-image: url(".icon/phone.svg") !important; fill: currentColor; }
/* downloads panel icons */
.downloadIconShow > .button-box > .button-icon {
list-style-image: url(".icon/folder.svg") !important; }
.downloadIconCancel > .button-box > .button-icon {
list-style-image: url(".icon/stop.svg") !important; }
.downloadIconRetry > .button-box > .button-icon {
list-style-image: url(".icon/reload.svg") !important; }
/* appmenu panel (separated from general icons for code clarity) */
#appMenu-new-window-button2 .toolbarbutton-icon {
list-style-image: url(".icon/new-window.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-new-private-window-button2 {
list-style-image: url(".icon/private.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-bookmarks-button {
list-style-image: url(".icon/bookmark-hollow.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-history-button {
list-style-image: url(".icon/history.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-downloads-button {
list-style-image: url(".icon/download.svg#arrow-with-bar") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-passwords-button {
list-style-image: url(".icon/password2.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-extensions-themes-button {
list-style-image: url(".icon/addon.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-print-button2 {
list-style-image: url(".icon/print.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-save-file-button2 {
list-style-image: url(".icon/save.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-find-button2 {
list-style-image: url(".icon/find.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-settings-button {
list-style-image: url(".icon/settings.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-more-button2 {
list-style-image: url(".icon/null.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-help-button2 {
list-style-image: url(".icon/help.svg") !important; -moz-context-properties: fill; fill: currentColor; }
#appMenu-help-button2 .toolbarbutton-icon { height: 1.7rem !important; margin-left: -2px !important; margin-right: 4px !important; } /* required because of bad help icon size */
#appMenu-quit-button2 {
list-style-image: url(".icon/quit.svg") !important; -moz-context-properties: fill; fill: currentColor; }
/* appmenu panel zoom */
#appMenu-zoom-controls2 .toolbarbutton-text { padding-left: 22px !important; }
#zoom-out-button, #appMenu-zoomReduce-button2 {
list-style-image: url(".icon/zoom-out.svg") !important; }
#zoom-in-button, #appMenu-zoomEnlarge-button2 {
list-style-image: url(".icon/zoom-in.svg") !important; }
#appMenu-zoomReset-button2 .toolbarbutton-text { padding: 2px 4px !important; }
#fullscreen-button, #appMenu-fullscreen-button2 {
list-style-image: url(".icon/fullscreen.svg") !important; }
#fullscreen-button[checked], #appMenu-fullscreen-button2[checked] {
list-style-image: url(".icon/fullscreen-exit.svg") !important; }
/* appmenu panel profile */
.syncNowBtn {
list-style-image: url(".icon/sync.svg") !important; }
/* password chooser icon */
#PopupAutoComplete > richlistbox > richlistitem[originaltype="generatedPassword"] > .two-line-wrapper > .ac-site-icon, #PopupAutoComplete > richlistbox > richlistitem[originaltype="loginWithOrigin"] > .two-line-wrapper > .ac-site-icon, #PopupAutoComplete > richlistbox > richlistitem[originaltype="login"] > .ac-site-icon {
list-style-image: url(".icon/password.svg") !important; fill: var(--arrowpanel-color) !important }
/* modal and system dialog icons */
.dialog-close .close-icon > .button-icon {
list-style-image: url(".icon/stop.svg") !important; }
.button-delete {
background-image: url(".icon/delete.svg") !important; }
.button-add {
background-image: url(".icon/newtab.svg") !important; }