Skip to content

Commit

Permalink
add icon for bitwarden copy TOTP code menuitem
Browse files Browse the repository at this point in the history
  • Loading branch information
aminomancer committed Aug 17, 2022
1 parent 8d7fa7c commit 882e144
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
11 changes: 11 additions & 0 deletions resources/material/lock-clock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions uc-context-menu-icons.css
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,10 @@ menuitem#fill-login-generated-password > .menu-text,
menu[label="Bitwarden"]
:is(menu, menuitem)[id$="-menuitem-_copy-password"]
> .menu-text,
:is(#contentAreaContextMenu, #toolbar-context-menu)
menu[label="Bitwarden"]
:is(menu, menuitem)[id$="-menuitem-_copy-totp"]
> .menu-text,
:is(#contentAreaContextMenu, #toolbar-context-menu)
menu[label="Bitwarden"]
:is(menu, menuitem)[id$="-menuitem-_generate-password"]
Expand Down Expand Up @@ -625,6 +629,9 @@ menuitem#fill-login-generated-password::before,
:is(#contentAreaContextMenu, #toolbar-context-menu)
menu[label="Bitwarden"]
:is(menu, menuitem)[id$="-menuitem-_copy-password"]::before,
:is(#contentAreaContextMenu, #toolbar-context-menu)
menu[label="Bitwarden"]
:is(menu, menuitem)[id$="-menuitem-_copy-totp"]::before,
:is(#contentAreaContextMenu, #toolbar-context-menu)
menu[label="Bitwarden"]
:is(menu, menuitem)[id$="-menuitem-_generate-password"]::before,
Expand Down Expand Up @@ -1456,6 +1463,12 @@ menu#fill-login::before,
background-image: url(chrome://userchrome/content/skin/login.svg);
}

:is(#contentAreaContextMenu, #toolbar-context-menu)
menu[label="Bitwarden"]
:is(menu, menuitem)[id$="-menuitem-_copy-totp"]::before {
background-image: url(chrome://userchrome/content/material/lock-clock.svg);
}

menuitem#fill-login-generated-password::before,
:is(#contentAreaContextMenu, #toolbar-context-menu)
menu[label="Bitwarden"]
Expand Down

0 comments on commit 882e144

Please sign in to comment.