mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-16 23:40:14 +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;
|
||||
}
|
||||
|
||||
body {
|
||||
main {
|
||||
font: 14px/16px $font-family;
|
||||
color: $default-text;
|
||||
background-color: $body-bg;
|
||||
}
|
||||
|
||||
.blur-theme {
|
||||
@at-root body {
|
||||
&.blur-theme {
|
||||
@include main-background();
|
||||
}
|
||||
}
|
||||
|
||||
.mobile {
|
||||
@at-root body {
|
||||
background: none;
|
||||
.body-bg {
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-attachment: inherit;
|
||||
background-color: $body-bg;
|
||||
}
|
||||
main.mobile{
|
||||
background: none;
|
||||
.body-bg{
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background-attachment: inherit;
|
||||
background-color: $body-bg;
|
||||
}
|
||||
&.blur-theme {
|
||||
@include main-background();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
background: url($mainBgUrl) no-repeat center center;
|
||||
background-size: cover;
|
||||
will-change: transform;
|
||||
z-index: -1;
|
||||
z-index: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue