Skip to content

Commit

Permalink
Use new REM-enabled font-size mixin
Browse files Browse the repository at this point in the history
Bug 225639
  • Loading branch information
sgarrity authored and craigcook committed Dec 8, 2014
1 parent ed6fc5d commit 89ac2c0
Show file tree
Hide file tree
Showing 108 changed files with 962 additions and 962 deletions.
2 changes: 1 addition & 1 deletion media/css/base/mozilla-accordion.less
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@

[role="presentation"] {
margin: 0 .5em;
font-size: .7em;
.font-size(.7em);
vertical-align: top;
}
}
Expand Down
4 changes: 2 additions & 2 deletions media/css/base/mozilla-modal.less
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ html.noscroll body {
background: #0095dd;
padding: 10px @baseLine;
height: 38px;
font-size: 26px;
.font-size(26px);
color: #fff;
.open-sans-light;
.transition;
Expand All @@ -57,7 +57,7 @@ html.noscroll body {
.button {
padding: 0;
min-width: 34px;
font-size: 30px;
.font-size(30px);
vertical-align: middle;
}

Expand Down
2 changes: 1 addition & 1 deletion media/css/base/mozilla-video-poster.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
color: #fff;
z-index: 1;
cursor: pointer;
font-size: 0;
.font-size(0);
background-color: transparent;
background-position: top left;
background-repeat: no-repeat;
Expand Down
12 changes: 6 additions & 6 deletions media/css/base/social-widgets.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ a.twitter-follow-button {
padding: 0 5px;
color: #333;
#gradient > .vertical(#FFFFFF, #DEDEDE);
font-size: @smallFontSize;
.font-size(@smallFontSize);
line-height: 1.4;
font-weight: bold;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
Expand All @@ -43,7 +43,7 @@ a.twitter-follow-button {
&:before {
.inline-block;
color: #55ACEE;
font-size: @baseFontSize;
.font-size(@baseFontSize);
font-family: 'Font Awesome', sans-serif;
vertical-align: middle;
content: '\0F099\00A0';
Expand All @@ -69,7 +69,7 @@ a.twitter-follow-button {
.timestamp {
float: right;
margin: 0 0 0 10px;
font-size: @smallFontSize;
.font-size(@smallFontSize);
line-height: @baseLine;
letter-spacing: 0;

Expand Down Expand Up @@ -109,7 +109,7 @@ a.twitter-follow-button {
}

[itemprop="alternateName"] {
font-size: @smallFontSize;
.font-size(@smallFontSize);
color: @textColorTertiary;
}
}
Expand All @@ -127,7 +127,7 @@ a.twitter-follow-button {
}

.retweet-credit {
font-size: @smallFontSize;
.font-size(@smallFontSize);
color: @textColorLight;

&:before {
Expand All @@ -153,7 +153,7 @@ a.twitter-follow-button {
.inline-block;
margin: 0 0 0 8px;
padding: 0;
font-size: @smallFontSize;
.font-size(@smallFontSize);

&:first-child {
margin-left: 0;
Expand Down
4 changes: 2 additions & 2 deletions media/css/csrf-failure.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

.lede {
font-weight: 100;
font-size: 28px;
.font-size(28px);
line-height: 1.3;
letter-spacing: -.5px;
margin-top: -.25em;
Expand Down Expand Up @@ -100,7 +100,7 @@
margin-top: 30px;

.lede {
font-size: 20px;
.font-size(20px);
}
}
}
Expand Down
20 changes: 10 additions & 10 deletions media/css/facebookapps/downloadtab.less
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ h1 {
clear: both;
margin: 30px 0 0;

font-size: 52px;
.font-size(52px);
}
h2 {
font-size: 30px;
.font-size(30px);
}

// Header
Expand Down Expand Up @@ -123,7 +123,7 @@ h2 {
margin: 0 auto;
width: 560px;

font-size: @largeFontSize;
.font-size(@largeFontSize);
}

// Steps progress bar
Expand All @@ -144,7 +144,7 @@ h2 {
width: 33.3%;

.open-sans-light;
font-size: 21px;
.font-size(21px);
}
}
.step1 { text-align: left }
Expand All @@ -171,7 +171,7 @@ h2 {
padding: 0 15px;
height: 45px;

font-size: 22px;
.font-size(22px);
font-weight: normal;
line-height: 45px;
text-shadow: 0 -1px 0 rgba(0,0,0,.75);
Expand Down Expand Up @@ -216,7 +216,7 @@ h2 {
background: url(/media/img/firefox/new/features-divider.png) right top no-repeat;
color: @textColorSecondary;
.open-sans-light;
font-size: 24px;
.font-size(24px);
letter-spacing: -0.03em;
line-height: 110%;
text-align: center;
Expand Down Expand Up @@ -269,7 +269,7 @@ h2 {
padding: 0;
width: 175px;
color: @textColorTertiary;
font-size: @smallFontSize;
.font-size(@smallFontSize);
text-align: left;

&:after {
Expand Down Expand Up @@ -406,15 +406,15 @@ h2 {

h3 {
margin: 0;
font-size: 17px;
.font-size(17px);

&.single-line {
margin-top: 9px;
}
}
p {
margin: 0;
font-size: @baseFontSize;
.font-size(@baseFontSize);
}

.button,
Expand All @@ -430,7 +430,7 @@ h2 {
padding: 0 20px;
height: 40px;

font-size: 18px;
.font-size(18px);
line-height: 40px;
}
.like-txt { margin-top: -21px }
Expand Down
12 changes: 6 additions & 6 deletions media/css/firefox/all.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
margin-bottom: @baseLine;
}
h2 {
font-size: 24px;
.font-size(24px);
letter-spacing: -0.25px;
line-height: 1.4;
.span-all();
Expand Down Expand Up @@ -130,7 +130,7 @@
top: 3px;
right: 24px;
z-index: 2;
font-size: @largeFontSize;
.font-size(@largeFontSize);
.clearfix();

.pager-tabs, .pager-title {
Expand Down Expand Up @@ -180,7 +180,7 @@
/* Desktop */
@media only screen and (min-width: @breakDesktop) {
.firefox-all-release #main-feature h1 {
font-size: 64px;
.font-size(64px);
}
}

Expand All @@ -202,7 +202,7 @@

#main-feature {
h1 {
font-size: 48px;
.font-size(48px);
}
h2 {
.span-all();
Expand Down Expand Up @@ -264,10 +264,10 @@

#main-feature {
h1 {
font-size: 36px;
.font-size(36px);
}
h2 {
font-size: 18px;
.font-size(18px);
letter-spacing: normal;
.span-all();
}
Expand Down

0 comments on commit 89ac2c0

Please sign in to comment.