Bug 1512887 - Fix category styling by overriding button background. r=dao a=RyanVM
authormatthias <matthias@kammueller.eu>
Fri, 14 Dec 2018 09:11:12 +0000
changeset 509026 3735c6ea013c3fd85ae3db6372c002b05d33929e
parent 509025 6a33ef5732bd71dca1810f8e97df02920d220a49
child 509027 0e6457cd968ab6e8654001a595d170f0dc5fa37a
push id1905
push userffxbld-merge
push dateMon, 21 Jan 2019 12:33:13 +0000
treeherdermozilla-release@c2fca1944d8c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao, RyanVM
bugs1512887
milestone65.0
Bug 1512887 - Fix category styling by overriding button background. r=dao a=RyanVM Differential Revision: https://phabricator.services.mozilla.com/D14120
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -604,29 +604,33 @@ xul|*.radio-label-box {
   -moz-appearance: none;
   color: var(--in-content-category-text);
   margin-inline-start: 34px;
   padding-inline-end: 10px;
   padding-inline-start: 10px;
   transition: background-color 150ms;
 }
 
+*|*#categories > *|button.category {
+  background-color: transparent;
+}
+
 *|*#categories > *|*.category:hover {
   background-color: var(--in-content-category-background-hover);
   border-radius: 2px;
 }
 
 *|*#categories > *|*.category:hover:active {
   background-color: var(--in-content-category-background-active);
 }
 
 *|*#categories > *|*.category[selected],
 *|*#categories > *|*.category.selected {
   color: var(--in-content-category-text-selected);
-  background: none;
+  background-color: transparent;
 }
 
 *|*#categories > *|*.category[selected]:hover,
 *|*#categories > *|*.category.selected:hover {
   background-color: var(--in-content-category-background-selected-hover);
 }
 
 *|*#categories > *|*.category[selected]:hover:active,