mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
body bg mixing instead of a variable
This commit is contained in:
parent
563c03f7d1
commit
de84c1f885
4 changed files with 13 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ html, body {
|
||||||
main {
|
main {
|
||||||
font: 14px/16px $font-family;
|
font: 14px/16px $font-family;
|
||||||
color: $default-text;
|
color: $default-text;
|
||||||
background-color: $body-bg;
|
@include body-bg();
|
||||||
&.blur-theme {
|
&.blur-theme {
|
||||||
@include main-background();
|
@include main-background();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -115,3 +115,9 @@
|
||||||
color: darken($color, 20);
|
color: darken($color, 20);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@mixin gradient($color-1, $color-2, $color-3) {
|
||||||
|
background: $color-1;
|
||||||
|
background: -webkit-linear-gradient(left top, $color-1,$color-2 50%,$color-3);
|
||||||
|
background: linear-gradient(to right bottom,$color-1,$color-2 50%,$color-3);
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
$default: rgba(#000000, 0.2);
|
$default: rgba(#000000, 0.2);
|
||||||
$body-bg: #F0F3F4;
|
$body-bg: #F0F3F4;
|
||||||
|
@mixin body-bg() {
|
||||||
|
background-color: $body-bg;
|
||||||
|
}
|
||||||
$default-text: #ffffff;
|
$default-text: #ffffff;
|
||||||
$content-text: $default-text;
|
$content-text: $default-text;
|
||||||
$help-text: #eeeeee;
|
$help-text: #eeeeee;
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
$default: #ffffff;
|
$default: #ffffff;
|
||||||
$body-bg: #F0F3F4;
|
$body-bg: #F0F3F4;
|
||||||
|
@mixin body-bg() {
|
||||||
|
background-color: $body-bg;
|
||||||
|
}
|
||||||
$default-text: #666666;
|
$default-text: #666666;
|
||||||
$content-text: $default-text;
|
$content-text: $default-text;
|
||||||
$help-text: #949494;
|
$help-text: #949494;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue