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;
|
|
|
|
}
|
|
|
|
|
2016-08-08 02:20:14 +02:00
|
|
|
$drawer-width: 240px;
|
2016-08-07 22:10:44 +02:00
|
|
|
|
|
|
|
#drawer
|
|
|
|
{
|
2016-08-08 02:20:14 +02:00
|
|
|
width: $drawer-width;
|
2016-08-08 06:47:48 +02:00
|
|
|
position: fixed;
|
2016-08-07 22:10:44 +02:00
|
|
|
min-height: 100vh;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2016-08-08 02:20:14 +02:00
|
|
|
background: $color-bg;
|
2016-08-18 10:06:45 +02:00
|
|
|
z-index: 3;
|
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;
|
2016-08-08 02:20:14 +02:00
|
|
|
height: $spacing-vertical * 1.5;
|
2016-08-07 23:05:04 +02:00
|
|
|
.icon
|
|
|
|
{
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
2016-08-08 02:20:14 +02:00
|
|
|
.link-label
|
|
|
|
{
|
|
|
|
line-height: $spacing-vertical * 1.5;
|
|
|
|
}
|
|
|
|
.badge
|
|
|
|
{
|
|
|
|
float: right;
|
|
|
|
background: $color-money;
|
|
|
|
display: inline-block;
|
|
|
|
padding: 2px;
|
|
|
|
color: white;
|
|
|
|
margin-top: $spacing-vertical * 0.25 - 2;
|
|
|
|
border-radius: 2px;
|
|
|
|
}
|
2016-08-07 22:10:44 +02:00
|
|
|
}
|
2016-08-08 00:13:17 +02:00
|
|
|
.drawer-item-selected
|
|
|
|
{
|
|
|
|
background: $color-canvas;
|
2016-08-08 02:20:14 +02:00
|
|
|
color: $color-primary;
|
2016-08-08 00:13:17 +02:00
|
|
|
}
|
2016-08-07 22:10:44 +02:00
|
|
|
}
|
2016-08-07 23:05:04 +02:00
|
|
|
#drawer-handle
|
|
|
|
{
|
|
|
|
padding: $spacing-vertical / 2;
|
2016-08-08 02:20:14 +02:00
|
|
|
max-height: $header-height - $spacing-vertical;
|
2016-08-08 00:13:17 +02:00
|
|
|
text-align: center;
|
2016-08-07 23:05:04 +02:00
|
|
|
}
|
2016-08-07 22:10:44 +02:00
|
|
|
|
|
|
|
#window.drawer-closed
|
|
|
|
{
|
|
|
|
#drawer { display: none }
|
|
|
|
}
|
|
|
|
#window.drawer-open
|
|
|
|
{
|
2016-08-08 02:20:14 +02:00
|
|
|
#main-content { margin-left: $drawer-width; }
|
2016-08-08 02:57:12 +02:00
|
|
|
.open-drawer-link { visibility: hidden; }
|
2016-08-08 04:48:45 +02:00
|
|
|
#header { padding-left: $drawer-width + $spacing-vertical / 2; }
|
2016-08-07 22:10:44 +02:00
|
|
|
}
|
|
|
|
|
2016-08-07 23:05:04 +02:00
|
|
|
#header
|
|
|
|
{
|
|
|
|
background: $color-primary;
|
|
|
|
color: white;
|
|
|
|
height: $header-height;
|
2016-08-08 04:48:45 +02:00
|
|
|
padding: $spacing-vertical / 2;
|
2016-08-08 02:20:14 +02:00
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2016-08-18 10:06:45 +02:00
|
|
|
z-index: 2;
|
2016-08-08 02:20:14 +02:00
|
|
|
box-sizing: border-box;
|
2016-08-08 04:48:45 +02:00
|
|
|
h1 { font-size: 1.8em; line-height: $header-height - $spacing-vertical; display: inline-block; float: left; }
|
2016-08-08 02:20:14 +02:00
|
|
|
&.header-scrolled
|
|
|
|
{
|
|
|
|
box-shadow: $default-box-shadow;
|
|
|
|
}
|
2016-08-08 00:13:17 +02:00
|
|
|
}
|
2016-08-08 04:48:45 +02:00
|
|
|
.header-search
|
|
|
|
{
|
|
|
|
margin-left: 60px;
|
|
|
|
text-align: center;
|
|
|
|
input[type="search"] {
|
|
|
|
background: rgba(255, 255, 255, 0.3);
|
|
|
|
color: white;
|
|
|
|
width: 400px;
|
|
|
|
@include placeholder-color(#e8e8e8);
|
|
|
|
}
|
|
|
|
}
|
2016-08-08 00:13:17 +02:00
|
|
|
|
|
|
|
#main-content
|
|
|
|
{
|
|
|
|
background: $color-canvas;
|
2016-08-08 02:20:14 +02:00
|
|
|
min-height: calc(100vh - 60px); //should be -$header-height, but I'm dumb I guess? It wouldn't work
|
2016-08-08 00:45:26 +02:00
|
|
|
main
|
|
|
|
{
|
2016-08-08 02:20:14 +02:00
|
|
|
margin-top: $header-height;
|
2016-08-08 00:45:26 +02:00
|
|
|
padding: $spacing-vertical;
|
|
|
|
}
|
2016-08-08 04:48:45 +02:00
|
|
|
h2
|
|
|
|
{
|
|
|
|
margin-bottom: $spacing-vertical;
|
|
|
|
}
|
|
|
|
h3, h4
|
|
|
|
{
|
|
|
|
margin-bottom: $spacing-vertical / 2;
|
|
|
|
margin-top: $spacing-vertical;
|
|
|
|
&:first-child
|
|
|
|
{
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-08-08 06:47:48 +02:00
|
|
|
.meta
|
|
|
|
{
|
|
|
|
+ h2, + h3, + h4
|
|
|
|
{
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-08-07 23:05:04 +02:00
|
|
|
}
|
|
|
|
|
2016-08-08 00:25:29 +02:00
|
|
|
$header-icon-size: 1.5em;
|
|
|
|
|
2016-08-07 23:05:04 +02:00
|
|
|
.open-drawer-link, .close-drawer-link
|
|
|
|
{
|
|
|
|
display: inline-block;
|
2016-08-08 00:25:29 +02:00
|
|
|
font-size: $header-icon-size;
|
2016-08-08 04:48:45 +02:00
|
|
|
padding: 2px 6px 0 6px;
|
2016-08-08 00:13:17 +02:00
|
|
|
float: left;
|
2016-08-07 23:05:04 +02:00
|
|
|
}
|
2016-08-08 00:25:29 +02:00
|
|
|
.close-lbry-link
|
|
|
|
{
|
|
|
|
font-size: $header-icon-size;
|
|
|
|
float: right;
|
|
|
|
padding: 0 6px 0 18px;
|
|
|
|
}
|
2016-08-07 23:05:04 +02:00
|
|
|
|
2016-08-08 00:45:26 +02:00
|
|
|
.card {
|
2016-08-07 22:10:44 +02:00
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
2016-08-08 00:13:17 +02:00
|
|
|
max-width: 800px;
|
|
|
|
padding: $spacing-vertical;
|
|
|
|
background: $color-bg;
|
2016-08-08 02:20:14 +02:00
|
|
|
box-shadow: $default-box-shadow;
|
|
|
|
border-radius: 2px;
|
2016-08-08 05:31:21 +02:00
|
|
|
}
|
2016-08-22 22:56:52 +02:00
|
|
|
.card-obscured
|
|
|
|
{
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.card-obscured .card-content {
|
|
|
|
-webkit-filter: blur($blur-intensity);
|
|
|
|
-moz-filter: blur($blur-intensity);
|
|
|
|
-o-filter: blur($blur-intensity);
|
|
|
|
-ms-filter: blur($blur-intensity);
|
|
|
|
filter: blur($blur-intensity);
|
|
|
|
}
|
|
|
|
.card-overlay {
|
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
right: 0px;
|
|
|
|
top: 0px;
|
|
|
|
bottom: 0px;
|
|
|
|
padding: 20px;
|
|
|
|
background-color: rgba(128, 128, 128, 0.8);
|
|
|
|
color: #fff;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2016-08-08 04:48:45 +02:00
|
|
|
|
2016-08-08 05:31:21 +02:00
|
|
|
.card-series-submit
|
|
|
|
{
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
max-width: 800px;
|
|
|
|
padding: $spacing-vertical / 2;
|
2016-08-07 22:10:44 +02:00
|
|
|
}
|
2016-08-08 00:45:26 +02:00
|
|
|
|
2016-08-07 22:10:44 +02:00
|
|
|
.full-screen
|
|
|
|
{
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|