Fixes in fixed-layout and right-sidebar modes
This commit is contained in:
@@ -117,6 +117,7 @@
|
|||||||
|
|
||||||
&:not(.watchers) {
|
&:not(.watchers) {
|
||||||
li {
|
li {
|
||||||
|
position: relative;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
@@ -330,8 +331,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#footer {
|
#footer {
|
||||||
margin: 0 $padding-side $line-height-computed;
|
margin: 0 $padding-side;
|
||||||
padding-top: $line-height-computed;
|
padding: $line-height-computed 0;
|
||||||
border-top: 1px solid $gray-400;
|
border-top: 1px solid $gray-400;
|
||||||
color: $gray-600;
|
color: $gray-600;
|
||||||
font-size: $font-size-small;
|
font-size: $font-size-small;
|
||||||
@@ -343,24 +344,49 @@
|
|||||||
|
|
||||||
@if $fixed-layout {
|
@if $fixed-layout {
|
||||||
@media screen and (min-width: $screen-sm-min) {
|
@media screen and (min-width: $screen-sm-min) {
|
||||||
|
body {
|
||||||
|
background: $gray-100;
|
||||||
|
}
|
||||||
|
#top-menu,
|
||||||
|
#header,
|
||||||
#main-menu ul,
|
#main-menu ul,
|
||||||
#main {
|
#main,
|
||||||
|
#footer {
|
||||||
width: $width-sm;
|
width: $width-sm;
|
||||||
margin-right: auto;
|
margin-right: auto;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
|
#main {
|
||||||
|
overflow: hidden;
|
||||||
|
background: $white;
|
||||||
|
}
|
||||||
|
#footer {
|
||||||
|
background: $white;
|
||||||
|
|
||||||
|
&::before {
|
||||||
|
content: " ";
|
||||||
|
display: inline-block;
|
||||||
|
width: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: $screen-md-min) {
|
@media screen and (min-width: $screen-md-min) {
|
||||||
|
#top-menu,
|
||||||
|
#header,
|
||||||
#main-menu ul,
|
#main-menu ul,
|
||||||
#main {
|
#main,
|
||||||
|
#footer {
|
||||||
width: $width-md;
|
width: $width-md;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: $screen-lg-min) {
|
@media screen and (min-width: $screen-lg-min) {
|
||||||
|
#top-menu,
|
||||||
|
#header,
|
||||||
#main-menu ul,
|
#main-menu ul,
|
||||||
#main {
|
#main,
|
||||||
|
#footer {
|
||||||
width: $width-lg;
|
width: $width-lg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,9 @@
|
|||||||
#sidebar .dashboards .dashboard-system-default {
|
#sidebar .dashboards .dashboard-system-default {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
transform: translateY(-175%);
|
transform: translateY(-175%);
|
||||||
|
@if $sidebar-position == "right" {
|
||||||
|
right: 15px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.flyout-menu .dashboard-system-default {
|
.flyout-menu .dashboard-system-default {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user