Skip to content

Commit

Permalink
adjust context menu colors and add rounded border
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanvir1337x committed Jul 16, 2024
1 parent 6aa1320 commit 6398dbf
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
26 changes: 18 additions & 8 deletions chrome/menu/contextmenu.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,25 @@ menupopup > menuseparator {
}

/* Based on: <https://github.com/Redundakitties/colorful-minimalist/raw/main/hacks/darkContextMenu.css> */
/* background */
menupopup {
/* And: https://gist.github.com/soulhotel/23c20583751a7f457eb5b5579e828965 */
menupopup,
panel {
color-scheme: light dark;
--panel-background: #202020 !important;
--panel-border-color: rgba(
32,
32,
32,
0
) !important; /* Transparent panel border */
--panel-color: #b0adac !important;
--panel-border-radius: 12px !important;
--panel-border-color: rgba(32, 32, 32, 0) !important;
}

menuitem:hover {
background-color: #202020 !important;
color: #b0adac !important;
}

menu:where([_moz-menuactive="true"]:not([disabled="true"])),
menuitem:where([_moz-menuactive="true"]:not([disabled="true"])) {
background-color: #202020 !important;
color: #b0adac !important;
}

/* foreground */
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ My tailor-fitted, highly customized, and advanced [Firefox](https://www.mozilla.
- Global font family and size
- Other various fixes and tweaks
- Custom addons configuration
- Various Context menu tweaks (e.g no separators, compact, custom colors)
- Various Context menu tweaks (e.g no separators, compact, custom colors, rounded borders)
- Userscripts
- Userstyles
- Custom theme
Expand Down

0 comments on commit 6398dbf

Please sign in to comment.