Bug 1386160 - Add separators for each level 1 header to match the Photon visual spec.
MozReview-Commit-ID: 7iyZuFgqrSQ
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -90,32 +90,28 @@ caption > label {
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: 15px;
+ border-top: 1px solid rgba(12, 12, 13, 0.15);
}
.header-name {
font-size: 2rem;
font-weight: 300;
}
-.subcategory {
- margin-top: 48px;
-}
-
/* Category List */
#categories {
max-height: 100vh;
background-color: #fafafc;
}
#categories > scrollbox {