[Frontend] IN-PROGRESS Theme changes continuing

open #95
Refactored btnSubtle and containerSubtle mixins
to simplify;
This commit is contained in:
Charles Hacskaylo
2015-09-09 16:49:59 -07:00
parent 4db48afab0
commit 32b895ba62
8 changed files with 356 additions and 364 deletions

View File

@@ -145,6 +145,31 @@
background-repeat: $repeatDir;
}
@mixin containerBase($bg: $colorBodyBg, $fg: $colorBodyFg) {
background-color: $bg;
@include border-radius($controlCr);
@include box-sizing(border-box);
color: $fg;
display: inline-block;
}
@mixin btnBase($bg: $colorBodyBg, $bgHov: none, $fg: $colorBodyFg, $ic: $colorBtnIcon) {
@include user-select(none);
.icon {
color: $ic;
}
@include desktop {
@if $bgHov != none {
&:not(.disabled):hover {
background: $bgHov;
.icon {
color: lighten($ic, $ltGamma);
}
}
}
}
}
@mixin sliderTrack($bg: $scrollbarTrackColorBg) {
//$b: 1px solid lighten($bg, 30%);
@include border-radius(2px);

View File

@@ -263,7 +263,7 @@ label.checkbox.custom {
.title-label {
//@include test(green, 0.9);
@include ellipsize();
color: lighten($colorBodyFg, 40%);
//color: pushBack($colorBodyFg, 40%);
@include webkitProp(flex, '0 1 auto');
padding-right: 0.35em; // For context arrow. Done with em's so pad is relative to the scale of the text.
//position: relative;