From d82bd3424d3eca8ede81777fdbcd07b76cae5cf3 Mon Sep 17 00:00:00 2001 From: overdodactyl Date: Fri, 29 Dec 2017 23:22:07 -0700 Subject: [PATCH] Styled context menus on about:preferences --- userContent-files/about_pages/preferences.css | 34 +++++++++++++++- userContent.css | 40 +++++++++++++++++++ 2 files changed, 73 insertions(+), 1 deletion(-) diff --git a/userContent-files/about_pages/preferences.css b/userContent-files/about_pages/preferences.css index a35af41..fc4d06d 100644 --- a/userContent-files/about_pages/preferences.css +++ b/userContent-files/about_pages/preferences.css @@ -68,7 +68,39 @@ .navigation { background: var(--primary-dark-color) !important; -} + } + + /*Dark context menu*/ + menupopup, popup, popup > menu > menupopup, menupopup > menu > menupopup { + -moz-appearance: none !important; + background: var(--grey-70) !important; + border: none !important; + + } + /* Remove separator */ + menupopup menuseparator { + padding: 0 !important; + } + + menupopup menu, menuitem { + -moz-appearance: none !important; + color: var(--grey-10) !important; + } + + menupopup menu:hover, menuitem:hover { + color: var(--primary-light-color) !important; + background-color: var(--grey-80) !important; + } + + /* Menu Separators - removed */ + menupopup menuseparator { + padding: 0 !important; + border-top: none !important; + margin: 2px 6px 2px 6px !important; + -moz-appearance:none !important; + background: rgba(0, 0, 0, 0) !important; + border: 0px !important; + } } \ No newline at end of file diff --git a/userContent.css b/userContent.css index d7cd88c..0e1d083 100644 --- a/userContent.css +++ b/userContent.css @@ -789,6 +789,46 @@ .navigation { background: var(--primary-dark-color) !important; } + + /*Dark context menu*/ + + menupopup, + popup, + popup > menu > menupopup, + menupopup > menu > menupopup { + -moz-appearance: none !important; + background: var(--grey-70) !important; + border: none !important; + } + + /* Remove separator */ + + menupopup menuseparator { + padding: 0 !important; + } + + menupopup menu, + menuitem { + -moz-appearance: none !important; + color: var(--grey-10) !important; + } + + menupopup menu:hover, + menuitem:hover { + color: var(--primary-light-color) !important; + background-color: var(--grey-80) !important; + } + + /* Menu Separators - removed */ + + menupopup menuseparator { + padding: 0 !important; + border-top: none !important; + margin: 2px 6px 2px 6px !important; + -moz-appearance: none !important; + background: rgba(0, 0, 0, 0) !important; + border: 0px !important; + } } @-moz-document url(about:profiles) { /* Upper right box */