Bug 1013695 - Add css id selector 'defaultFontSizeLabel' in incontentprefs to add some margin-left to 'size' label in content pane of in-content preferences. r=jaws
authorTiziana Sellitto <tiziana.sel@gmail.com>
Mon, 23 Mar 2015 14:22:00 -0400
changeset 265705 a712a35e1e7fa618accab91ab0a96f8ae179cd8d
parent 265704 02543c05d2172f91502cdbdf337b955985e3dca4
child 265706 698791e62f5860991aacdca9fb7b2b390850a903
push id830
push userraliiev@mozilla.com
push dateFri, 19 Jun 2015 19:24:37 +0000
treeherdermozilla-release@932614382a68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjaws
bugs1013695
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1013695 - Add css id selector 'defaultFontSizeLabel' in incontentprefs to add some margin-left to 'size' label in content pane of in-content preferences. r=jaws
browser/components/preferences/in-content/content.xul
browser/themes/shared/incontentprefs/preferences.inc.css
--- a/browser/components/preferences/in-content/content.xul
+++ b/browser/components/preferences/in-content/content.xul
@@ -85,17 +85,17 @@
 </groupbox>
 
 <!-- Fonts and Colors -->
 <groupbox id="fontsGroup" data-category="paneContent" hidden="true">
   <caption><label>&fontsAndColors.label;</label></caption>
   <hbox align="center">
     <label control="defaultFont" accesskey="&defaultFont.accesskey;">&defaultFont.label;</label>
     <menulist id="defaultFont" flex="1"/>
-    <label control="defaultFontSize" accesskey="&defaultSize.accesskey;">&defaultSize.label;</label>
+    <label id="defaultFontSizeLabel" control="defaultFontSize" accesskey="&defaultSize.accesskey;">&defaultSize.label;</label>
     <menulist id="defaultFontSize">
       <menupopup>
         <menuitem value="9" label="9"/>
         <menuitem value="10" label="10"/>
         <menuitem value="11" label="11"/>
         <menuitem value="12" label="12"/>
         <menuitem value="13" label="13"/>
         <menuitem value="14" label="14"/>
--- a/browser/themes/shared/incontentprefs/preferences.inc.css
+++ b/browser/themes/shared/incontentprefs/preferences.inc.css
@@ -146,16 +146,21 @@ treecol {
 
 /* Content pane */
 #playDRMContentLink {
   /* Line up with the buttons in the other grid bits: */
   margin-left: 4px !important;
   margin-right: 4px !important;
 }
 
+#defaultFontSizeLabel {
+  /* !important needed to override common !important rule */
+  -moz-margin-start: 4px !important;
+}
+
 /* Applications Pane Styles */
 
 #applicationsContent {
   padding: 15px 0;
 }
 
 #filter {
   -moz-margin-start: 0;