bug 1007629 - eliminate use of "embedded" fonts in about:preferences. r=gavin
authorJonathan Kew <jkew@mozilla.com>
Fri, 06 Jun 2014 08:30:37 +0100
changeset 207488 a02f2f68fbf97ae4bf22da6ad62e602efd4f4265
parent 207487 9e18c67d243e98810236d466548191cdc42f582c
child 207489 60a2f2f69feba88ec742bf3dfb6463241ee5909a
push id494
push userraliiev@mozilla.com
push dateMon, 25 Aug 2014 18:42:16 +0000
treeherdermozilla-release@a3cc3e46b571 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgavin
bugs1007629
milestone32.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 1007629 - eliminate use of "embedded" fonts in about:preferences. r=gavin
browser/themes/shared/incontentprefs/preferences.css
--- a/browser/themes/shared/incontentprefs/preferences.css
+++ b/browser/themes/shared/incontentprefs/preferences.css
@@ -1,20 +1,15 @@
 %if 0
 /* - This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this file,
    - You can obtain one at http://mozilla.org/MPL/2.0/. */
 %endif
 @namespace html "http://www.w3.org/1999/xhtml";
 
-@font-face {
-  font-family: "Clear Sans";
-  src: url("chrome://browser/content/fonts/ClearSans-Regular.woff") format('woff');
-}
-
 page {
   -moz-appearance: none;
   background-color: white;
 }
 
 * {
   -moz-user-select: text;
 }
@@ -34,17 +29,17 @@ caption > label {
 .main-content {
   padding: 40px 48px 48px;
   overflow: auto;
 }
 
 prefpane {
   max-width: 800px;
   padding: 0;
-  font-family: "Clear Sans", sans-serif;
+  font: message-box;
   font-size: 1.25rem;
   line-height: 22px;
   color: #424E5A;
 }
 
 prefpane > .content-box {
   overflow: visible;
 }
@@ -287,17 +282,16 @@ button[type="menu"] > menupopup {
   background-color: #FFFFFF;
 }
 
 menulist > menupopup menu,
 menulist > menupopup menuitem,
 button[type="menu"] > menupopup menu,
 button[type="menu"] > menupopup menuitem {
   -moz-appearance: none;
-  font-family: "Clear Sans", sans-serif;
   font-size: 1.25rem;
   line-height: 22px;
   height: 40px;
   color: #333333;
   -moz-padding-start: 10px;
   -moz-padding-end: 30px;
 }
 
@@ -483,17 +477,16 @@ radio[disabled="true"] > .radio-check {
 .category[selected] {
   background-color: #343f48;
   color: #f2f2f2;
   box-shadow: inset 4px 0 0 0 #FF9500;
 }
 
 .category-name {
   line-height: 22px;
-  font-family: "Clear Sans", sans-serif;
   font-size: 1.25rem;
   padding-bottom: 2px;
   -moz-padding-start: 9px;
   margin: 0;
 }
 
 .category-icon {
   width: 24px;
@@ -689,17 +682,16 @@ filefield {
   border-radius: 2px;
   background-color: #FBFBFB;
   overflow-y: auto;
 }
 
 #typeColumn,
 #actionColumn {
   -moz-appearance: none;
-  font-family: "Clear Sans", sans-serif;
   line-height: 20px;
   color: #333333;
   height: 36px;
   padding: 0 10px;
   background-color: #FBFBFB;
   border: 1px solid #C1C1C1;
   -moz-border-top-colors: none;
   -moz-border-right-colors: none;