Commit ff5c10b8 authored by Thomas Park's avatar Thomas Park
Browse files

prepare themes for strictMath

parent 44118ed7
......@@ -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;
......@@ -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,
......@@ -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;
}
......
......@@ -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;
......@@ -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,
......@@ -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;
}
......
......@@ -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;
......@@ -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;
}
}
......
......@@ -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;
......@@ -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;
}
}
......
......@@ -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);
}
......
......@@ -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);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment