2016-08-07 22:10:44 +02:00
|
|
|
@import "global";
|
|
|
|
|
|
|
|
html
|
|
|
|
{
|
|
|
|
height: 100%;
|
|
|
|
font-size: $font-size;
|
|
|
|
}
|
|
|
|
body
|
|
|
|
{
|
|
|
|
font-family: 'Source Sans Pro', sans-serif;
|
|
|
|
line-height: 1.3333;
|
|
|
|
min-height: 100%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#window
|
|
|
|
{
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#drawer
|
|
|
|
{
|
|
|
|
width: 240px;
|
|
|
|
position: absolute;
|
|
|
|
min-height: 100vh;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2016-08-07 23:05:04 +02:00
|
|
|
.drawer-item
|
2016-08-07 22:10:44 +02:00
|
|
|
{
|
|
|
|
display: block;
|
2016-08-07 23:05:04 +02:00
|
|
|
padding: $spacing-vertical / 2;
|
|
|
|
font-size: 1.2em;
|
|
|
|
.icon
|
|
|
|
{
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
2016-08-07 22:10:44 +02:00
|
|
|
}
|
|
|
|
}
|
2016-08-07 23:05:04 +02:00
|
|
|
#drawer-handle
|
|
|
|
{
|
|
|
|
padding: $spacing-vertical / 2;
|
|
|
|
max-height: $header-height;
|
|
|
|
}
|
2016-08-07 22:10:44 +02:00
|
|
|
|
|
|
|
#window.drawer-closed
|
|
|
|
{
|
|
|
|
#drawer { display: none }
|
|
|
|
}
|
|
|
|
#window.drawer-open
|
|
|
|
{
|
|
|
|
#main-content { margin-left: 240px; }
|
|
|
|
.open-drawer-link { display: none; }
|
|
|
|
}
|
|
|
|
|
2016-08-07 23:05:04 +02:00
|
|
|
#header
|
|
|
|
{
|
|
|
|
background: $color-primary;
|
|
|
|
color: white;
|
|
|
|
height: $header-height;
|
|
|
|
padding: $spacing-vertical / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.open-drawer-link, .close-drawer-link
|
|
|
|
{
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 1.5em;
|
|
|
|
padding: 0 18px 0 6px;
|
|
|
|
}
|
|
|
|
|
2016-08-07 22:10:44 +02:00
|
|
|
.page {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
width: 800px;
|
|
|
|
padding-bottom: $spacing-vertical*3;
|
|
|
|
}
|
|
|
|
.full-screen
|
|
|
|
{
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|