Bug 1547941 - Improve about:preferences subcategory separator border color contrast for dark mode r=ntim
authorKestrel <ke5trel@protonmail.com>
Tue, 30 Apr 2019 11:20:50 +0000
changeset 530735 b603d0be91d0b0c748860f147e263d75cadcaf7e
parent 530734 0471422dc4afef3b2466e1413a68068bb620797f
child 530736 979af2efdbf9b83afb1ee3ea7bcae263c3ffb3a0
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersntim
bugs1547941
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1547941 - Improve about:preferences subcategory separator border color contrast for dark mode r=ntim Differential Revision: https://phabricator.services.mozilla.com/D29339
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -156,17 +156,17 @@ button > hbox > label {
 
 /**
  * The first subcategory title for each category should not have margin-top.
  */
 
 .subcategory:not([hidden]) ~ .subcategory {
   margin-top: 16px;
   padding-top: 16px;
-  border-top: 1px solid rgba(12, 12, 13, 0.15);
+  border-top: 1px solid var(--in-content-border-color);
 }
 
 /* Category List */
 
 #categories {
   overflow: visible !important; /* Cancel scrollbar and do not clip overflow content when window size goes very small */
   padding: 1px; /* Adding padding around richlistitem in order to make entire keyboard focusing outline visible */
 }