mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 08:20:13 +01:00
main element is 'main' now, instead of body
This commit is contained in:
parent
9d0fef1dd3
commit
fffe24d7aa
2 changed files with 17 additions and 19 deletions
|
|
@ -12,31 +12,29 @@ html, body {
|
||||||
min-width: $resMin;
|
min-width: $resMin;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
main {
|
||||||
font: 14px/16px $font-family;
|
font: 14px/16px $font-family;
|
||||||
color: $default-text;
|
color: $default-text;
|
||||||
background-color: $body-bg;
|
background-color: $body-bg;
|
||||||
}
|
&.blur-theme {
|
||||||
|
|
||||||
.blur-theme {
|
|
||||||
@at-root body {
|
|
||||||
@include main-background();
|
@include main-background();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mobile {
|
main.mobile{
|
||||||
@at-root body {
|
background: none;
|
||||||
background: none;
|
.body-bg{
|
||||||
.body-bg {
|
display: block;
|
||||||
display: block;
|
position: fixed;
|
||||||
position: fixed;
|
top: 0;
|
||||||
top: 0;
|
left: 0;
|
||||||
left: 0;
|
bottom: 0;
|
||||||
bottom: 0;
|
right: 0;
|
||||||
right: 0;
|
background-attachment: inherit;
|
||||||
background-attachment: inherit;
|
background-color: $body-bg;
|
||||||
background-color: $body-bg;
|
}
|
||||||
}
|
&.blur-theme {
|
||||||
|
@include main-background();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
background: url($mainBgUrl) no-repeat center center;
|
background: url($mainBgUrl) no-repeat center center;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
will-change: transform;
|
will-change: transform;
|
||||||
z-index: -1;
|
z-index: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue