Bug 1065537 - Loop isn't using system/platform fonts in various places. r=mikedeboer
authorJared Wein <jwein@mozilla.com>
Tue, 07 Oct 2014 14:27:02 -0400
changeset 209199 4fa74ef900c52830e0990d20aa4a91b0b8043353
parent 209121 32122cb5118daeacb1fb58d3775a5f8783962983
child 209200 729529607a3a85d2979616e9299998c6ec747868
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersmikedeboer
bugs1065537
milestone35.0a1
Bug 1065537 - Loop isn't using system/platform fonts in various places. r=mikedeboer
browser/components/loop/content/shared/css/common.css
--- a/browser/components/loop/content/shared/css/common.css
+++ b/browser/components/loop/content/shared/css/common.css
@@ -8,17 +8,17 @@
  * "Fixes" the Box Model.
  * @see http://www.paulirish.com/2012/box-sizing-border-box-ftw/
  */
 *, *:before, *:after {
   box-sizing: border-box;
 }
 
 body {
-  font-family: "Lucida Grande", sans-serif;
+  font: message-box;
   font-size: 12px;
   background: #fbfbfb;
 }
 
 img {
   border: none;
 }
 
@@ -360,33 +360,16 @@ p {
 }
 
 .mac p,
 .windows p,
 .linux p {
   line-height: 16px;
 }
 
-/* Using star selector to override
- * the specificity of other selectors
- * if performance is an issue we could
- * explicitely list all the elements */
-.windows * {
-  font-family: 'Segoe';
-}
-
-.mac * {
-  font-family: 'Lucida Grande';
-}
-
-.linux * {
-  /* XXX requires fallbacks */
-  font-family: 'Ubuntu', sans-serif;
-}
-
 /* Web panel */
 
 .info-panel {
   border-radius: 4px;
   background: #fff;
   padding: 20px 0;
   border: 1px solid #e7e7e7;
   box-shadow: 0 2px 0 rgba(0, 0, 0, .03);