Bug 1463685 - Change font-weight:500 to 600 to get a semibold font on Windows. r=mak draft
authorDão Gottwald <dao@mozilla.com>
Thu, 24 May 2018 14:03:35 +0200
changeset 799281 9ae55d18001bbb719a79a4a3e2bb10d94f54aa27
parent 799120 47e81ea1ef10189ef210867934bf36e14cf223dc
push id110990
push userdgottwald@mozilla.com
push dateThu, 24 May 2018 12:04:07 +0000
reviewersmak
bugs1463685
milestone62.0a1
Bug 1463685 - Change font-weight:500 to 600 to get a semibold font on Windows. r=mak MozReview-Commit-ID: CIIOcpdw4Bk
browser/themes/shared/customizableui/customizeMode.inc.css
browser/themes/shared/customizableui/panelUI.inc.css
--- a/browser/themes/shared/customizableui/customizeMode.inc.css
+++ b/browser/themes/shared/customizableui/customizeMode.inc.css
@@ -24,17 +24,17 @@
   background-image: linear-gradient(var(--toolbar-bgcolor), var(--toolbar-non-lwt-bgcolor) 45px);
 }
 
 #customization-palette {
   padding: 5px 20px 20px;
 }
 
 #customization-header {
-  font-weight: 500;
+  font-weight: 600;
   font-size: 1.2em;
   margin: 20px 20px 15px;
 }
 
 :root[lwtheme-image] #customization-header {
   text-shadow: 0 0 1em var(--toolbar-non-lwt-bgcolor),
                0 0 1em var(--toolbar-non-lwt-bgcolor),
                0 0 .5em var(--toolbar-non-lwt-bgcolor);
@@ -370,17 +370,17 @@ toolbarpaletteitem[place=toolbar] > tool
   font: menu;
 }
 
 #customization-lwtheme-menu-header,
 #customization-lwtheme-menu-recommended {
   padding: 10px;
   margin-bottom: 5px;
   text-align: center;
-  font-weight: 500;
+  font-weight: 600;
   border-bottom: 1px solid var(--panel-separator-color);
 }
 
 #customization-lwtheme-menu-header,
 #customization-lwtheme-menu-recommended,
 #customization-lwtheme-menu-footer {
   margin-right: -10px;
   margin-left: -10px;
@@ -483,17 +483,17 @@ toolbarpaletteitem[place=toolbar] > tool
 #customization-panelDescription {
   font-size: 1.1em;
   padding: 2px 12px 10px;
   margin: 0;
 }
 
 #customization-panelHeader {
   font-size: 1.3em;
-  font-weight: 500;
+  font-weight: 600;
   padding: 2px 12px;
   margin: 0;
 }
 
 #customization-panelHolder > #widget-overflow-fixed-list {
   padding-top: 10px;
 }
 
--- a/browser/themes/shared/customizableui/panelUI.inc.css
+++ b/browser/themes/shared/customizableui/panelUI.inc.css
@@ -1498,17 +1498,17 @@ toolbarpaletteitem[place="menu-panel"] >
   flex: 1 auto;
   height: 40px; /* fixed item height to prevent flex sizing; height + 2*4px padding */
   padding: 4px;
 }
 
 .panel-header > label {
   flex: auto;
   font-size: 13px;
-  font-weight: 500;
+  font-weight: 600;
   margin: 0;
   text-align: center;
 }
 
 .panel-header > .subviewbutton-back + label {
   /* Add the size of the back button to center properly. */
   margin-inline-end: 32px;
 }