From 0d68d85768b57dbd92978b0871fc32ad5186c966 Mon Sep 17 00:00:00 2001 From: Evan Tseng Date: Fri, 4 Aug 2017 16:01:27 +0800 Subject: [PATCH] Bug 1386160 - Add separators for each level 1 header to match the Photon visual spec. r=jaws MozReview-Commit-ID: 7iyZuFgqrSQ --HG-- extra : rebase_source : 2b35a451bb47298487d25c7d87e17dcdb576ca10 --- .../shared/incontentprefs/preferences.inc.css | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/browser/themes/shared/incontentprefs/preferences.inc.css b/browser/themes/shared/incontentprefs/preferences.inc.css index 8f117997f0c2..f1592b2eaa20 100644 --- a/browser/themes/shared/incontentprefs/preferences.inc.css +++ b/browser/themes/shared/incontentprefs/preferences.inc.css @@ -95,11 +95,11 @@ caption > label { /** * 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 { @@ -107,10 +107,6 @@ caption > label { font-weight: 300; } -.subcategory { - margin-top: 48px; -} - /* Category List */ #categories {