mirror of
https://github.com/kemko/liquid.git
synced 2026-01-01 15:55:40 +03:00
113 lines
2.0 KiB
SCSS
113 lines
2.0 KiB
SCSS
|
|
$sidebar-width: 250px;
|
|
$logo-height: 130px;
|
|
$wrapper-width: 800px;
|
|
|
|
/*============================================================================
|
|
Content Area
|
|
==============================================================================*/
|
|
|
|
.content__area {
|
|
padding: $spacing-unit $spacing-unit $spacing-unit ($spacing-unit + $sidebar-width);
|
|
width: 100%;
|
|
}
|
|
|
|
.content {
|
|
max-width: $wrapper-width;
|
|
margin: 0 auto;
|
|
padding: 0 $spacing-unit;
|
|
@extend %clearfix;
|
|
}
|
|
|
|
/*============================================================================
|
|
Sidebar
|
|
==============================================================================*/
|
|
|
|
.sidebar {
|
|
background: $color-blue-5;
|
|
width: $sidebar-width;
|
|
height: 100vh;
|
|
position: fixed;
|
|
}
|
|
|
|
.sidebar--logo {
|
|
font-size: $base-font-size * 2;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
height: $logo-height;
|
|
line-height: $logo-height;
|
|
margin-bottom: 0;
|
|
border-bottom: 1px solid $color-blue-4;
|
|
|
|
a {
|
|
color: $color-white;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
}
|
|
|
|
.sidebar--nav {
|
|
padding: $spacing-unit $spacing-unit ($spacing-unit + $logo-height); // Add a bit more padding at the bottom for consistency.
|
|
font-weight: bold;
|
|
max-height: 100%;
|
|
overflow-y: scroll;
|
|
|
|
li {
|
|
list-style: none;
|
|
|
|
a {
|
|
color: $color-white;
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.section {
|
|
margin: 0px;
|
|
|
|
> li {
|
|
margin-bottom: $spacing-unit / 2;
|
|
|
|
&:last-child {
|
|
margin-bottom: $spacing-unit;
|
|
}
|
|
}
|
|
}
|
|
|
|
.section__header {
|
|
font-weight: bold;
|
|
font-size: 1em;
|
|
text-decoration: none;
|
|
color: $color-white;
|
|
margin-bottom: $spacing-unit / 4;
|
|
}
|
|
|
|
.section__links {
|
|
margin-left: $spacing-unit / 2;
|
|
margin-bottom: $spacing-unit;
|
|
font-weight: normal;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
.section__link {
|
|
display: inline-block;
|
|
margin-top: $spacing-unit/4;
|
|
opacity: 0.75;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.section__link--is-active {
|
|
font-weight: bold;
|
|
opacity: 1;
|
|
}
|