Skip to content

Commit

Permalink
update some permission icons
Browse files Browse the repository at this point in the history
  • Loading branch information
aminomancer committed Jul 19, 2022
1 parent ce7b5f8 commit 742ac1f
Show file tree
Hide file tree
Showing 12 changed files with 136 additions and 24 deletions.
16 changes: 16 additions & 0 deletions resources/material/keyboard-command-blocked.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions resources/material/midi-port-blocked.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions resources/material/midi-port.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions resources/material/open-in-new-blocked.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions resources/material/open-in-new.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 0 additions & 7 deletions resources/notifications/focus-tab-by-prompt.svg

This file was deleted.

13 changes: 13 additions & 0 deletions resources/notifications/midi-blocked.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 5 additions & 3 deletions resources/notifications/midi.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 11 additions & 9 deletions resources/skin/container-go.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions uc-popups.css
Original file line number Diff line number Diff line change
Expand Up @@ -1852,6 +1852,10 @@ link[href="chrome://global/content/printPagination.css"]
border-bottom: 1px solid var(--button-solid-active-background) !important;
}

.permission:last-of-type {
border-bottom-width: 0 !important;
}

treecol,
treecolpicker {
box-shadow: inset 0 -1px var(--button-solid-active-background) !important;
Expand Down
34 changes: 32 additions & 2 deletions userChrome.au.css
Original file line number Diff line number Diff line change
Expand Up @@ -1374,14 +1374,20 @@ so of this stylesheet is dedicated to restoring pre-proton content. */
}

.focus-tab-by-prompt-icon {
list-style-image: url(chrome://userchrome/content/notifications/focus-tab-by-prompt.svg);
list-style-image: url(chrome://userchrome/content/skin/tab.svg);
}

.popup-notification-icon[popupid="storage-access"],
.storage-access-icon {
.storage-access-icon,
.cookie-icon {
list-style-image: url(chrome://userchrome/content/skin/controlcenter/3rdpartycookies.svg);
}

.storage-access-icon.blocked-permission-icon,
.cookie-icon.blocked-permission-icon {
list-style-image: url(chrome://userchrome/content/skin/controlcenter/3rdpartycookies-disabled.svg);
}

.popup-notification-icon[popupid="persistent-storage"],
.persistent-storage-icon {
list-style-image: url(chrome://userchrome/content/notifications/persistent-storage.svg);
Expand Down Expand Up @@ -1412,6 +1418,22 @@ so of this stylesheet is dedicated to restoring pre-proton content. */
list-style-image: url(chrome://userchrome/content/notifications/geo-detailed.svg);
}

.open-protocol-handler-icon {
list-style-image: url(chrome://userchrome/content/material/open-in-new.svg);
}

.open-protocol-handler-icon.blocked-permission-icon {
list-style-image: url(chrome://userchrome/content/material/open-in-new-blocked.svg);
}

.shortcuts-icon {
list-style-image: url(chrome://userchrome/content/material/keyboard-command.svg);
}

.shortcuts-icon.blocked-permission-icon {
list-style-image: url(chrome://userchrome/content/material/keyboard-command-blocked.svg);
}

.xr-icon {
list-style-image: url(chrome://userchrome/content/notifications/xr.svg);
}
Expand Down Expand Up @@ -1523,11 +1545,19 @@ so of this stylesheet is dedicated to restoring pre-proton content. */
list-style-image: url(chrome://userchrome/content/notifications/midi.svg);
}

.midi-icon.blocked-permission-icon {
list-style-image: url(chrome://userchrome/content/notifications/midi-blocked.svg);
}

.midi-sysex-icon,
.popup-notification-icon[popupid="midi-sysex"] {
list-style-image: url(chrome://userchrome/content/material/midi-port.svg);
}

.midi-sysex-icon.blocked-permission-icon {
list-style-image: url(chrome://userchrome/content/material/midi-port-blocked.svg);
}

#canvas-notification-icon,
.popup-notification-icon[popupid="canvas-permissions-prompt"],
.canvas-icon {
Expand Down
2 changes: 1 addition & 1 deletion utils/chrome.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ override chrome://global/skin/icons/security-broken.svg ../resources/connection-
override chrome://global/skin/icons/security-warning.svg ../resources/connection-mixed-passive-loaded.svg
override chrome://global/skin/icons/security.svg ../resources/skin/connection-secure.svg
override chrome://global/skin/icons/print.svg ../resources/material/print.svg
override chrome://global/skin/icons/open-in-new.svg ../resources/open-in-new.svg
override chrome://global/skin/icons/open-in-new.svg ../resources/material/open-in-new.svg
override chrome://global/skin/icons/chevron.svg ../resources/chevron.svg
override chrome://global/skin/icons/close.svg ../resources/close.svg
override chrome://global/skin/icons/delete.svg ../resources/material/delete.svg
Expand Down

0 comments on commit 742ac1f

Please sign in to comment.