Bug 1615679 - Fix the html:legend and html:fieldset styling in the Preferences and Account Manager Tab UI. r=aleca
authorRichard Marti <richard.marti@gmail.com>
Fri, 14 Feb 2020 19:43:31 +0100
changeset 37357 04d8a75d43d1eb94e58800f4fb31331074cbe07d
parent 37356 3563d5bf55b4ea8642b60e17a5efeabd79205289
child 37358 db3e1ee7a4181831f084a0952d40a8579156dfdd
push id2566
push userclokep@gmail.com
push dateMon, 09 Mar 2020 19:20:31 +0000
treeherdercomm-beta@a352facfa0a4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersaleca
bugs1615679
Bug 1615679 - Fix the html:legend and html:fieldset styling in the Preferences and Account Manager Tab UI. r=aleca
mail/themes/osx/mail/messenger.css
mail/themes/osx/mail/preferences/preferences.css
mail/themes/shared/mail/incontentprefs/preferences.css
mail/themes/windows/mail/preferences/preferences.css
--- a/mail/themes/osx/mail/messenger.css
+++ b/mail/themes/osx/mail/messenger.css
@@ -741,17 +741,16 @@ findbar {
 fieldset {
   padding: 0 8px 5px;
   margin: 1.5em 6px 6px 6px;
   border: none;
 }
 
 legend {
   font-size: 1.18em;
-  font-weight: normal;
   margin-top: -1.3em;
   margin-bottom: 5px;
   margin-inline-start: -5px;
   font-weight: bold;
 }
 
 fieldset > hbox,
 fieldset > vbox,
--- a/mail/themes/osx/mail/preferences/preferences.css
+++ b/mail/themes/osx/mail/preferences/preferences.css
@@ -19,18 +19,18 @@ radio[pane][focused="true"] > .radio-che
 }
 
 html|h2 {
   border-bottom-width: 0;
   padding-bottom: 2px !important;
   padding-inline-start: 0;
 }
 
-groupbox > .groupbox-body {
-  padding: 0;
+html|legend {
+  margin: 0;
 }
 
 html|input[type="number"] {
   min-height: 26px;
 }
 
 html|input[type="number"]::-moz-number-spin-up,
 html|input[type="number"]::-moz-number-spin-down {
--- a/mail/themes/shared/mail/incontentprefs/preferences.css
+++ b/mail/themes/shared/mail/incontentprefs/preferences.css
@@ -57,28 +57,31 @@
 .subcategory:not([hidden]) ~ .subcategory {
   margin-top: 16px;
   padding-top: 16px;
   border-top: 1px solid var(--in-content-border-color);
 }
 
 fieldset[data-category] {
   margin: 0 0 32px;
+  padding: 0;
 }
 
 html|h1 {
   margin: 0 0 8px;
   font-size: 1.46em;
   font-weight: 300;
   line-height: 1.3em;
 }
 
 html|legend {
   margin: 16px 0 4px;
   font-size: 1.1em;
+  font-weight: 600;
+  line-height: 1.4em;
 }
 
 html|th {
   font-weight: normal;
   text-align: start;
 }
 
 description,
--- a/mail/themes/windows/mail/preferences/preferences.css
+++ b/mail/themes/windows/mail/preferences/preferences.css
@@ -9,16 +9,25 @@
 #MailPreferences prefpane {
   font-size: 1.25em;
 }
 
 radio[pane] > .radio-label-box {
   font-size: 1.34em;
 }
 
+html|fieldset {
+  border-style: none;
+}
+
+html|legend {
+  padding-inline: 0;
+  background-color: transparent;
+}
+
 html|h2 {
   background-color: transparent;
 }
 
 .sidebar-footer-label {
   font-size: 1.125em;
 }