From 18e4a901cb3110854bd774178455bbe9e1326a0b Mon Sep 17 00:00:00 2001 From: overdodactyl Date: Wed, 7 Feb 2018 09:58:49 -0700 Subject: [PATCH] Style common dialog popup --- alternative_user_files/userChrome_windows.css | 7 +++++++ userChrome-files/common_dialog.css | 7 +++++++ userChrome.css | 7 +++++++ userChrome_imports.css | 1 + 4 files changed, 22 insertions(+) create mode 100644 userChrome-files/common_dialog.css diff --git a/alternative_user_files/userChrome_windows.css b/alternative_user_files/userChrome_windows.css index 86abe6d..ea8ca22 100644 --- a/alternative_user_files/userChrome_windows.css +++ b/alternative_user_files/userChrome_windows.css @@ -161,6 +161,13 @@ listitem[selected="true"] { border: 1px solid var(--grey-50) !important; box-shadow: none !important; } +@-moz-document url("chrome://global/content/commonDialog.xul") { + #commonDialog { + -moz-appearance: none !important; + background: var(--primary-dark-color) !important; + color: var(--primary-light-color) !important; + } +} /* The following code is based on that found on * https://www.jeffersonscher.com/gm/url-bar-tweaks.html * Copyright © 2017 Jefferson Scher (BSD-3-Clause License or CC-BY License) */ diff --git a/userChrome-files/common_dialog.css b/userChrome-files/common_dialog.css new file mode 100644 index 0000000..31a1102 --- /dev/null +++ b/userChrome-files/common_dialog.css @@ -0,0 +1,7 @@ +@-moz-document url("chrome://global/content/commonDialog.xul"){ + #commonDialog{ + -moz-appearance: none !important; + background: var(--primary-dark-color) !important; + color: var(--primary-light-color) !important; + } +} diff --git a/userChrome.css b/userChrome.css index 1b27225..9e72cd4 100644 --- a/userChrome.css +++ b/userChrome.css @@ -161,6 +161,13 @@ listitem[selected="true"] { border: 1px solid var(--grey-50) !important; box-shadow: none !important; } +@-moz-document url("chrome://global/content/commonDialog.xul") { + #commonDialog { + -moz-appearance: none !important; + background: var(--primary-dark-color) !important; + color: var(--primary-light-color) !important; + } +} /* The following code is based on that found on * https://www.jeffersonscher.com/gm/url-bar-tweaks.html * Copyright © 2017 Jefferson Scher (BSD-3-Clause License or CC-BY License) */ diff --git a/userChrome_imports.css b/userChrome_imports.css index 542dff9..099e835 100644 --- a/userChrome_imports.css +++ b/userChrome_imports.css @@ -14,3 +14,4 @@ @import "userChrome-files/page_info.css"; @import "userChrome-files/findbar.css"; @import "userChrome-files/bookmarks_popup.css"; +@import "userChrome-files/common_dialog.css";