lbry-desktop/scss/_canvas.scss
2016-08-09 08:20:19 -04:00

80 lines
No EOL
1.1 KiB
SCSS

@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;
.drawer-item
{
display: block;
padding: $spacing-vertical / 2;
font-size: 1.2em;
.icon
{
margin-right: 6px;
}
}
}
#drawer-handle
{
padding: $spacing-vertical / 2;
max-height: $header-height;
}
#window.drawer-closed
{
#drawer { display: none }
}
#window.drawer-open
{
#main-content { margin-left: 240px; }
.open-drawer-link { display: none; }
}
#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;
}
.page {
margin-left: auto;
margin-right: auto;
width: 800px;
padding-bottom: $spacing-vertical*3;
}
.full-screen
{
width: 100%;
height: 100%;
}