New design with breaking changes, gulp 4, all dependencies updated, dev environment changed, and many more changes
78 lines
1.3 KiB
SCSS
78 lines
1.3 KiB
SCSS
// Global component styles
|
|
|
|
html {
|
|
position: relative;
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
// Main page wrapper
|
|
#wrapper {
|
|
display: flex;
|
|
#content-wrapper {
|
|
background-color: $gray-100;
|
|
width: 100%;
|
|
overflow-x: hidden;
|
|
#content {
|
|
flex: 1 0 auto;
|
|
}
|
|
}
|
|
}
|
|
|
|
// Set container padding to match gutter width instead of default 15px
|
|
.container,
|
|
.container-fluid {
|
|
padding-left: $grid-gutter-width;
|
|
padding-right: $grid-gutter-width;
|
|
}
|
|
|
|
// Fixed Nav Option
|
|
body.fixed-nav {
|
|
#content-wrapper {
|
|
margin-top: $navbar-base-height;
|
|
padding-left: $sidebar-collapsed-width;
|
|
}
|
|
&.sidebar-toggled {
|
|
#content-wrapper {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
@include media-breakpoint-up(md) {
|
|
#content-wrapper {
|
|
padding-left: $sidebar-base-width;
|
|
}
|
|
&.sidebar-toggled {
|
|
#content-wrapper {
|
|
padding-left: $sidebar-collapsed-width;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Scroll to top button
|
|
.scroll-to-top {
|
|
position: fixed;
|
|
right: 1rem;
|
|
bottom: 1rem;
|
|
display: none;
|
|
width: 2.75rem;
|
|
height: 2.75rem;
|
|
text-align: center;
|
|
color: $white;
|
|
background: fade-out($gray-800, .5);
|
|
line-height: 46px;
|
|
&:focus,
|
|
&:hover {
|
|
color: white;
|
|
}
|
|
&:hover {
|
|
background: $gray-800;
|
|
}
|
|
i {
|
|
font-weight: 800;
|
|
}
|
|
}
|