Bug 1386160 - Add separators for each level 1 header to match the Photon visual spec. draft
authorEvan Tseng <evan@tseng.io>
Fri, 04 Aug 2017 16:01:27 +0800
changeset 641541 d19f86d191f323a252471d57234e7917fff7136f
parent 641444 bb8de16ce00cb57b587a14c210ecc7505f366328
child 724832 e349dcbd3de7d23957a282bd6a32bfee52c85084
push id72571
push userbmo:evan@tseng.io
push dateMon, 07 Aug 2017 08:21:51 +0000
bugs1386160
milestone57.0a1
Bug 1386160 - Add separators for each level 1 header to match the Photon visual spec. MozReview-Commit-ID: 7iyZuFgqrSQ
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -73,21 +73,21 @@ html|option {
   min-width: 145px;
 }
 
 /* Subcategory title */
 
 /**
  * The first subcategory title for each category should not have margin-top.
  */
-#generalCategory,
-#searchCategory,
-#browserPrivacyCategory,
-#firefoxAccountCategory {
-  margin-top: 0;
+
+.subcategory:not([hidden]) ~ .subcategory {
+  margin-top: 32px;
+  padding-top: 16px;
+  border-top: 1px solid rgba(12, 12, 13, 0.15);
 }
 
 .header-name {
   font-size: 2rem;
 }
 
 .subcategory {
   margin-top: 48px;