Skip to content

Commit

Permalink
prepare themes for strictMath
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspark committed Feb 20, 2015
1 parent 44118ed commit ff5c10b
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
10 changes: 5 additions & 5 deletions lumen/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Buttons ====================================================================

.btn {
padding: $padding-base-vertical+2 $padding-base-horizontal $padding-base-vertical;
padding: ($padding-base-vertical + 2) $padding-base-horizontal $padding-base-vertical;
@include shadow();
font-size: 12px;
font-weight: bold;
Expand All @@ -36,18 +36,18 @@

&-lg,
&-group-lg > .btn {
padding: $padding-large-vertical+2 $padding-large-horizontal $padding-large-vertical;
padding: ($padding-large-vertical + 2) $padding-large-horizontal $padding-large-vertical;
line-height: 15px;
}

&-sm,
&-group-sm > .btn {
padding: $padding-small-vertical+2 $padding-small-horizontal $padding-small-vertical;
padding: ($padding-small-vertical + 2) $padding-small-horizontal $padding-small-vertical;
}

&-xs,
&-group-xs > .btn {
padding: $padding-xs-vertical+2 $padding-xs-horizontal $padding-xs-vertical;
padding: ($padding-xs-vertical + 2) $padding-xs-horizontal $padding-xs-vertical;
}

&-default:hover,
Expand Down Expand Up @@ -291,7 +291,7 @@ label {
.open > a,
.open > a:hover,
.open > a:focus {
padding-bottom: $padding-large-vertical + 3;
padding-bottom: ($padding-large-vertical + 3);
margin-top: 0;
}

Expand Down
10 changes: 5 additions & 5 deletions lumen/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
// Buttons ====================================================================

.btn {
padding: @padding-base-vertical+2 @padding-base-horizontal @padding-base-vertical;
padding: (@padding-base-vertical + 2) @padding-base-horizontal @padding-base-vertical;
.shadow();
font-size: 12px;
font-weight: bold;
Expand All @@ -36,18 +36,18 @@

&-lg,
&-group-lg > .btn {
padding: @padding-large-vertical+2 @padding-large-horizontal @padding-large-vertical;
padding: (@padding-large-vertical + 2) @padding-large-horizontal @padding-large-vertical;
line-height: 15px;
}

&-sm,
&-group-sm > .btn {
padding: @padding-small-vertical+2 @padding-small-horizontal @padding-small-vertical;
padding: (@padding-small-vertical + 2) @padding-small-horizontal @padding-small-vertical;
}

&-xs,
&-group-xs > .btn {
padding: @padding-xs-vertical+2 @padding-xs-horizontal @padding-xs-vertical;
padding: (@padding-xs-vertical + 2) @padding-xs-horizontal @padding-xs-vertical;
}

&-default:hover,
Expand Down Expand Up @@ -291,7 +291,7 @@ label {
.open > a,
.open > a:hover,
.open > a:focus {
padding-bottom: @padding-large-vertical + 3;
padding-bottom: (@padding-large-vertical + 3);
margin-top: 0;
}

Expand Down
6 changes: 3 additions & 3 deletions readable/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

&-nav > li > a {
$margin-vertical: ($navbar-height - 2*$padding-base-vertical - $line-height-computed - 2px) / 2;
$margin-vertical: (($navbar-height - 2*$padding-base-vertical - $line-height-computed - 2px) / 2);
padding: $padding-base-vertical $padding-base-horizontal;
margin: $margin-vertical 6px;
border: 1px solid transparent;
Expand All @@ -41,8 +41,8 @@
}

&-brand {
padding-top: ($navbar-height - 2*$font-size-large) / 2;
padding-bottom: ($navbar-height - 2*$font-size-large) / 2;
padding-top: (($navbar-height - 2*$font-size-large) / 2);
padding-bottom: (($navbar-height - 2*$font-size-large) / 2);
line-height: 1.9;
}
}
Expand Down
6 changes: 3 additions & 3 deletions readable/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

&-nav > li > a {
@margin-vertical: (@navbar-height - 2*@padding-base-vertical - @line-height-computed - 2px) / 2;
@margin-vertical: ((@navbar-height - 2*@padding-base-vertical - @line-height-computed - 2px) / 2);
padding: @padding-base-vertical @padding-base-horizontal;
margin: @margin-vertical 6px;
border: 1px solid transparent;
Expand All @@ -41,8 +41,8 @@
}

&-brand {
padding-top: (@navbar-height - 2*@font-size-large) / 2;
padding-bottom: (@navbar-height - 2*@font-size-large) / 2;
padding-top: ((@navbar-height - 2*@font-size-large) / 2);
padding-bottom: ((@navbar-height - 2*@font-size-large) / 2);
line-height: 1.9;
}
}
Expand Down
4 changes: 2 additions & 2 deletions spacelab/_bootswatch.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

&-nav > li > a,
&-nav > li > a:hover {
padding-top: $navbar-padding-vertical + 2px;
padding-bottom: $navbar-padding-vertical - 2px;
padding-top: ($navbar-padding-vertical + 2px);
padding-bottom: ($navbar-padding-vertical - 2px);
@include transition(color ease-in-out .2s);
}

Expand Down
4 changes: 2 additions & 2 deletions spacelab/bootswatch.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@

&-nav > li > a,
&-nav > li > a:hover {
padding-top: @navbar-padding-vertical + 2px;
padding-bottom: @navbar-padding-vertical - 2px;
padding-top: (@navbar-padding-vertical + 2px);
padding-bottom: (@navbar-padding-vertical - 2px);
.transition(color ease-in-out .2s);
}

Expand Down

0 comments on commit ff5c10b

Please sign in to comment.