diff --git a/alternative_user_files/userContent_no_addons.css b/alternative_user_files/userContent_no_addons.css index cb50ad8..42ef84b 100644 --- a/alternative_user_files/userContent_no_addons.css +++ b/alternative_user_files/userContent_no_addons.css @@ -77,6 +77,7 @@ --in-content-page-background: var(--tone-7)!important; --in-content-text-color: var(--tone-3)!important; --in-content-selected-text: var(--tone-1)!important; + --in-content-selected-text-background: #5675b9; --in-content-box-background: var(--tone-6)!important; --in-content-box-background-odd: #f3f6fa; --in-content-box-background-hover: var(--tone-6)!important; @@ -460,6 +461,10 @@ url(chrome://passwordmgr/content/passwordManager.xul), url(chrome://formautofill/content/manageAddresses.xhtml), url-prefix(chrome://pippki), url(chrome://browser/content/pageinfo/pageInfo.xul) { + ::-moz-tree-row(selected) { + -moz-appearance: none!important; + background-color: red!important + } treechildren::-moz-tree-row, treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol,odd) { background-color: var(--in-content-box-background)!important diff --git a/css/common-files/color_variables.css b/css/common-files/color_variables.css index fb099f1..b0227fa 100644 --- a/css/common-files/color_variables.css +++ b/css/common-files/color_variables.css @@ -77,6 +77,7 @@ --in-content-page-background: var(--tone-7)!important; --in-content-text-color: var(--tone-3)!important; --in-content-selected-text: var(--tone-1)!important; + --in-content-selected-text-background: #5675b9; --in-content-box-background: var(--tone-6)!important; --in-content-box-background-odd: #f3f6fa; --in-content-box-background-hover: var(--tone-6)!important; diff --git a/css/common-files/trees.css b/css/common-files/trees.css index a1a57e1..a83a53e 100644 --- a/css/common-files/trees.css +++ b/css/common-files/trees.css @@ -4,6 +4,10 @@ url(chrome://passwordmgr/content/passwordManager.xul), url(chrome://formautofill/content/manageAddresses.xhtml), url-prefix(chrome://pippki), url(chrome://browser/content/pageinfo/pageInfo.xul) { + ::-moz-tree-row(selected) { + -moz-appearance: none!important; + background-color: red!important + } treechildren::-moz-tree-row, treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol,odd) { background-color: var(--in-content-box-background)!important diff --git a/css/userChrome-files/address_searchbar.css b/css/userChrome-files/address_searchbar.css index 5054cc5..10941da 100644 --- a/css/userChrome-files/address_searchbar.css +++ b/css/userChrome-files/address_searchbar.css @@ -59,4 +59,8 @@ panel[type=autocomplete] { popupset#mainPopupSet panel#PopupAutoCompleteRichResult .autocomplete-richlistitem:hover, treechildren.searchbar-treebody::-moz-tree-row(hover) { background-color: var(--in-content-page-background)!important +} +#urlbar ::-moz-selection, +.searchbar-textbox ::-moz-selection { + background: var(--in-content-selected-text-background)!important } \ No newline at end of file diff --git a/css/userChrome-files/sidebar.css b/css/userChrome-files/sidebar.css index f4afb2f..57c717f 100644 --- a/css/userChrome-files/sidebar.css +++ b/css/userChrome-files/sidebar.css @@ -58,6 +58,12 @@ hbox#sidebar-search-container textbox#search-box { .item-title { color: var(--in-content-page-color)!important } +@-moz-document url-prefix(chrome://browser/content/places) { + ::-moz-tree-row(selected) { + -moz-appearance: none!important; + background-color: var(--theme-selection-background)!important + } +} @-moz-document url(chrome://browser/content/places/bookmarksSidebar.xul) { @media screen and (-moz-os-version:windows-win7) { treechildren { diff --git a/userChrome.css b/userChrome.css index 7b3b57d..0031971 100644 --- a/userChrome.css +++ b/userChrome.css @@ -77,6 +77,7 @@ --in-content-page-background: var(--tone-7)!important; --in-content-text-color: var(--tone-3)!important; --in-content-selected-text: var(--tone-1)!important; + --in-content-selected-text-background: #5675b9; --in-content-box-background: var(--tone-6)!important; --in-content-box-background-odd: #f3f6fa; --in-content-box-background-hover: var(--tone-6)!important; @@ -462,6 +463,10 @@ url(chrome://passwordmgr/content/passwordManager.xul), url(chrome://formautofill/content/manageAddresses.xhtml), url-prefix(chrome://pippki), url(chrome://browser/content/pageinfo/pageInfo.xul) { + ::-moz-tree-row(selected) { + -moz-appearance: none!important; + background-color: red!important + } treechildren::-moz-tree-row, treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol,odd) { background-color: var(--in-content-box-background)!important @@ -581,6 +586,10 @@ popupset#mainPopupSet panel#PopupAutoCompleteRichResult .autocomplete-richlistit treechildren.searchbar-treebody::-moz-tree-row(hover) { background-color: var(--in-content-page-background)!important } +#urlbar ::-moz-selection, +.searchbar-textbox ::-moz-selection { + background: var(--in-content-selected-text-background)!important +} #editBMPanel_folderMenuList, #editBMPanel_foldersExpander, #editBMPanel_rows > row > hbox > textbox, @@ -1092,6 +1101,12 @@ hbox#sidebar-search-container textbox#search-box { .item-title { color: var(--in-content-page-color)!important } +@-moz-document url-prefix(chrome://browser/content/places) { + ::-moz-tree-row(selected) { + -moz-appearance: none!important; + background-color: var(--theme-selection-background)!important + } +} @-moz-document url(chrome://browser/content/places/bookmarksSidebar.xul) { @media screen and (-moz-os-version:windows-win7) { treechildren { diff --git a/userContent.css b/userContent.css index c342ed1..0f5abb0 100644 --- a/userContent.css +++ b/userContent.css @@ -77,6 +77,7 @@ --in-content-page-background: var(--tone-7)!important; --in-content-text-color: var(--tone-3)!important; --in-content-selected-text: var(--tone-1)!important; + --in-content-selected-text-background: #5675b9; --in-content-box-background: var(--tone-6)!important; --in-content-box-background-odd: #f3f6fa; --in-content-box-background-hover: var(--tone-6)!important; @@ -460,6 +461,10 @@ url(chrome://passwordmgr/content/passwordManager.xul), url(chrome://formautofill/content/manageAddresses.xhtml), url-prefix(chrome://pippki), url(chrome://browser/content/pageinfo/pageInfo.xul) { + ::-moz-tree-row(selected) { + -moz-appearance: none!important; + background-color: red!important + } treechildren::-moz-tree-row, treechildren:not(.autocomplete-treebody)::-moz-tree-row(multicol,odd) { background-color: var(--in-content-box-background)!important