[Build] Switch compass to bourbon
Change mixin library to bourbon. Significantly reduces sass build time. https://github.com/nasa/openmctweb/issues/698
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
* at runtime from the About dialog for additional information.
|
||||
*****************************************************************************/
|
||||
.section-header {
|
||||
@include border-radius($basicCr);
|
||||
border-radius: $basicCr;
|
||||
background: $colorFormSectionHeader;
|
||||
$c: lighten($colorBodyFg, 20%);
|
||||
//border-bottom: 1px solid rgba(#fff, 0.3);
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
.form-row {
|
||||
$m: $interiorMargin;
|
||||
@include box-sizing(border-box);
|
||||
box-sizing: border-box;
|
||||
@include clearfix;
|
||||
border-top: 1px solid $colorFormLines;
|
||||
margin-top: $m;
|
||||
@@ -51,7 +51,7 @@
|
||||
|
||||
>.label,
|
||||
>.controls {
|
||||
@include box-sizing(border-box);
|
||||
box-sizing: border-box;
|
||||
@include clearfix;
|
||||
font-size: 0.8rem;
|
||||
line-height: $formInputH;
|
||||
@@ -149,7 +149,7 @@ label.form-control.checkbox {
|
||||
vertical-align: top;
|
||||
|
||||
div.s-hint {
|
||||
@include border-radius($basicCr);
|
||||
border-radius: $basicCr;
|
||||
background: rgba($colorFormInvalid, 0.8);
|
||||
display: block;
|
||||
color: lighten($colorFormInvalid, 30%);
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
}
|
||||
}
|
||||
.icon.ui-symbol {
|
||||
@include border-radius($controlCr);
|
||||
border-radius: $controlCr;
|
||||
display: inline-block;
|
||||
font-size: 1.3em;
|
||||
height: $formInputH;
|
||||
@@ -43,9 +43,9 @@
|
||||
$d: $formInputH - $mgn * 2;
|
||||
$cb: #fff;
|
||||
$cf: #333;
|
||||
@include border-radius($controlCr);
|
||||
@include box-sizing(border-box);
|
||||
@include opacity(0.2);
|
||||
border-radius: $controlCr;
|
||||
box-sizing: border-box;
|
||||
opacity: 0.2;
|
||||
background: $cb;
|
||||
color: $cf;
|
||||
display: block;
|
||||
@@ -59,7 +59,7 @@
|
||||
text-align: center;
|
||||
z-index: 5;
|
||||
&:hover {
|
||||
@include opacity(0.6);
|
||||
opacity: 0.6;
|
||||
background-color: $colorKey;
|
||||
}
|
||||
}
|
||||
@@ -95,7 +95,7 @@
|
||||
.clear-icon,
|
||||
.menu-icon,
|
||||
&:before {
|
||||
@include box-sizing(border-box);
|
||||
box-sizing: border-box;
|
||||
display: inline-block;
|
||||
line-height: inherit;
|
||||
position: absolute;
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
line-height: $formInputH;
|
||||
select {
|
||||
@include appearance(none);
|
||||
@include box-sizing(border-box);
|
||||
box-sizing: border-box;
|
||||
background: none;
|
||||
color: $colorSelectFg;
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user