Bug 1453761 - Adjust font sizes, spacing, and font weights on about:preferences#home draft
authork88hudson <k88hudson@gmail.com>
Thu, 12 Apr 2018 15:17:46 -0400
changeset 781258 dd96701d2049cf764ed51f07696577a00ea6f9f1
parent 781042 ee1d1bf1dc8a83eec16967ddb61dd5024c8d6058
push id106258
push userbmo:khudson@mozilla.com
push dateThu, 12 Apr 2018 19:49:47 +0000
bugs1453761
milestone61.0a1
Bug 1453761 - Adjust font sizes, spacing, and font weights on about:preferences#home MozReview-Commit-ID: 1rDTo5X6986
browser/components/preferences/in-content/home.xul
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/components/preferences/in-content/home.xul
+++ b/browser/components/preferences/in-content/home.xul
@@ -22,17 +22,17 @@
     <button id="restoreDefaultHomePageBtn"
             class="homepage-button check-home-page-controlled"
             data-preference-related="browser.startup.homepage"
             data-l10n-id="home-restore-defaults"
             preference="pref.browser.homepage.disable_button.restore_default"/>
   </hbox>
   <description data-l10n-id="home-new-windows-tabs-description2" />
 
-  <groupbox>
+  <vbox class="subGroup">
     <hbox id="homepageAndNewWindowsOption">
       <label control="homeMode" data-l10n-id="home-homepage-mode-label" flex="1" />
 
       <vbox class="homepageMenuItemContainer" flex="1">
         <textbox id="homePrefHidden"
                 preference="browser.startup.homepage"
                 onsyncfrompreference="return gHomePane.syncFromHomePref();"
                 hidden="true" />
@@ -94,10 +94,10 @@
     </hbox>
     <hbox id="browserNewTabExtensionContent" align="center" hidden="true">
       <description control="disableNewTabExtension" flex="1" />
       <button id="disableNewTabExtension"
               class="extension-controlled-button accessory-button"
               data-l10n-id="disable-extension" />
     </hbox>
 
-  </groupbox>
+  </vbox>
 </groupbox>
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -292,26 +292,39 @@ button > hbox > label {
   margin-inline-end: 8px !important;
 }
 
 /* Home Pane */
 #homepageGroup menulist,
 #homepageGroup textbox {
   margin: 5px 0;
 }
+#homepageGroup .subGroup {
+  margin-top: 20px;
+}
 #homepageGroup:-moz-locale-dir(rtl) input {
   unicode-bidi: plaintext;
   direction: rtl;
 }
 .homepage-button:first-of-type {
   margin-inline-start: 0;
 }
 .homepage-button:last-of-type {
   margin-inline-end: 0;
 }
+#homeContentsGroup [data-subcategory] {
+  margin-top: 0.9em;
+}
+#homeContentsGroup [data-subcategory] > checkbox {
+  font-weight: 600;
+}
+#homeContentsGroup [data-subcategory] > vbox menulist {
+  margin-top: 0;
+  margin-bottom: 0;
+}
 
 /* Search Pane */
 
 #engineList {
   margin: 2px 0 5px;
 }
 
 #engineList > treechildren::-moz-tree-image(engineShown, checked),