2020-10-13 01:18:11 +02:00
|
|
|
@import './utils/theme.scss';
|
|
|
|
@import './utils/elevation.scss';
|
2020-11-25 13:34:49 +01:00
|
|
|
// @import './utils/typography.scss';
|
2020-10-13 01:18:11 +02:00
|
|
|
|
|
|
|
@import './components/aki-button.scss';
|
|
|
|
@import './components/aki-card.scss';
|
|
|
|
@import './components/aki-divider.scss';
|
|
|
|
@import './components/aki-toolbar.scss';
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
|
2020-10-13 01:18:11 +02:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
// TODO: Media queries for smaller screens and devices.
|
2020-10-13 01:18:11 +02:00
|
|
|
|
|
|
|
html {
|
2020-11-25 13:34:49 +01:00
|
|
|
font-size: 100%;
|
2020-10-13 01:18:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2020-11-25 13:34:49 +01:00
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
font-weight: 400;
|
2020-10-13 01:18:11 +02:00
|
|
|
height: 100vh;
|
2020-11-25 13:34:49 +01:00
|
|
|
line-height: 1.75;
|
2020-10-13 01:18:11 +02:00
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
width: 100vw;
|
|
|
|
}
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
p {
|
|
|
|
margin-bottom: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5 {
|
|
|
|
margin: 3rem 0 1.38rem;
|
|
|
|
font-family: 'Roboto', sans-serif;
|
|
|
|
font-weight: 400;
|
|
|
|
line-height: 1.3;
|
2020-11-25 18:17:22 +01:00
|
|
|
// line-height: 1;
|
2020-11-25 13:34:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h1 {
|
2020-11-25 18:17:22 +01:00
|
|
|
// margin-top: 0;
|
|
|
|
font-size: 4.209rem;
|
|
|
|
font-weight: 700;
|
2020-11-25 13:34:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
2020-11-25 18:17:22 +01:00
|
|
|
font-size: 3.157rem;
|
2020-11-25 13:34:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
2020-11-25 18:17:22 +01:00
|
|
|
font-size: 2.369rem;
|
2020-11-25 13:34:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
2020-11-25 18:17:22 +01:00
|
|
|
font-size: 1.777rem;
|
2020-11-25 13:34:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
h5 {
|
2020-11-25 18:17:22 +01:00
|
|
|
font-size: 1.333rem;
|
2020-11-25 13:34:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
small,
|
|
|
|
.text_small {
|
2020-11-25 18:17:22 +01:00
|
|
|
font-size: 0.75rem;
|
2020-11-25 13:34:49 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
// --------
|
|
|
|
|
2020-10-13 01:18:11 +02:00
|
|
|
header {
|
|
|
|
|
|
|
|
.left,
|
|
|
|
.center,
|
|
|
|
.right {
|
|
|
|
align-items: inherit;
|
|
|
|
display: inherit;
|
|
|
|
height: calc(100% - 2rem);
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.left {
|
|
|
|
.logo {
|
|
|
|
display: block;
|
|
|
|
filter: invert(1);
|
|
|
|
height: 3rem;
|
|
|
|
width: 3rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.title {
|
|
|
|
font-size: 1.75rem;
|
2020-11-25 13:34:49 +01:00
|
|
|
font-weight: 700;
|
2020-10-13 01:18:11 +02:00
|
|
|
letter-spacing: .03125em;
|
|
|
|
margin-left: 1rem;
|
|
|
|
|
|
|
|
@media (max-width: #{$bp-small}) {
|
|
|
|
margin-left: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.right {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
justify-content: flex-end;
|
2020-11-25 13:34:49 +01:00
|
|
|
text-transform: uppercase;
|
2020-11-22 23:32:20 +01:00
|
|
|
|
2020-10-13 01:18:11 +02:00
|
|
|
.dropdown-button {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
// TODO: Redo header media query
|
|
|
|
/*
|
2020-10-13 01:18:11 +02:00
|
|
|
@media (max-width: #{$bp-medium}) {
|
|
|
|
&.dropdown {
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
min-width: 4rem;
|
|
|
|
|
|
|
|
float: left;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
&:hover .dropdown-content {
|
|
|
|
// display: block;
|
|
|
|
background: $primary;
|
|
|
|
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
padding: 1rem;
|
|
|
|
right: 0;
|
|
|
|
top: 5.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-button {
|
|
|
|
display: initial;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-content {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-11-25 13:34:49 +01:00
|
|
|
*/
|
2020-10-13 01:18:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
aside {
|
2020-11-25 13:34:49 +01:00
|
|
|
background: $primary;
|
|
|
|
box-shadow: $elevation-z4;
|
2020-10-13 01:18:11 +02:00
|
|
|
color: $on-primary;
|
2020-11-25 13:34:49 +01:00
|
|
|
max-width: 20rem;
|
2020-10-13 01:18:11 +02:00
|
|
|
overflow-y: auto;
|
2020-11-25 13:34:49 +01:00
|
|
|
width: 100%;
|
2020-10-13 01:18:11 +02:00
|
|
|
z-index: 1;
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
nav {
|
|
|
|
margin: 1rem 0;
|
2020-10-13 01:18:11 +02:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
a,
|
|
|
|
div {
|
|
|
|
display: block;
|
|
|
|
padding: .25rem .5rem .25rem 1rem;
|
|
|
|
width: calc(100% - 1.5rem);
|
2020-10-13 01:18:11 +02:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
// &:hover {
|
|
|
|
// background-color: rgba($secondary,.5);
|
|
|
|
// }
|
|
|
|
}
|
2020-11-22 23:32:20 +01:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding-left: 1rem;
|
|
|
|
}
|
2020-10-13 01:18:11 +02:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
a {
|
|
|
|
color: $on-secondary;
|
2020-10-13 01:18:11 +02:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
&:hover {
|
|
|
|
filter: invert(.15);
|
|
|
|
}
|
2020-11-25 18:17:22 +01:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
&.active {
|
|
|
|
color: $accent;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// TODO: Redo list status indicator + animations
|
|
|
|
.node {
|
|
|
|
&.hide {
|
|
|
|
ul {
|
|
|
|
max-height: 0 !important;
|
2020-10-13 01:18:11 +02:00
|
|
|
}
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
div::after {
|
|
|
|
transform: rotate(-90deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
div {
|
|
|
|
cursor: pointer;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: "🔽";
|
|
|
|
margin-right: 1rem;
|
|
|
|
text-align: right;
|
2020-10-13 01:18:11 +02:00
|
|
|
}
|
|
|
|
}
|
2020-11-25 13:34:49 +01:00
|
|
|
|
|
|
|
ul {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2020-10-13 01:18:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
article {
|
2020-10-13 01:18:11 +02:00
|
|
|
background: $secondary;
|
|
|
|
color: $on-secondary;
|
|
|
|
overflow: auto;
|
2020-11-25 13:34:49 +01:00
|
|
|
padding: 1rem 27.1% 1rem 10.4%;
|
|
|
|
width: 62.5%;
|
2020-10-13 01:18:11 +02:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
img {
|
|
|
|
max-width: 100%;
|
|
|
|
}
|
2020-10-13 01:18:11 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: $accent;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
// Docs typography
|
2020-10-13 01:18:11 +02:00
|
|
|
.doc-typography {
|
|
|
|
$alert: #AF1010;
|
|
|
|
$on-alert: #fff;
|
|
|
|
|
|
|
|
$info: #0D47A1;
|
|
|
|
$on-info: #fff;
|
|
|
|
|
|
|
|
$warning: #ffc107;
|
|
|
|
// $warning: #e65100;
|
|
|
|
$on-warning: #000;
|
|
|
|
|
|
|
|
$note: #999;
|
|
|
|
$on-note: #080808;
|
|
|
|
|
|
|
|
$code: #101010; // never use full black.
|
|
|
|
$on-code: #fff;
|
|
|
|
|
|
|
|
$blockquote: #181818;
|
|
|
|
$on-blockquote: #ccc;
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
// $padding: .25rem .5rem;
|
|
|
|
// $border-radius: $border-radius;
|
2020-10-13 01:18:11 +02:00
|
|
|
$margin: 0 0 .5rem;
|
|
|
|
|
2020-11-22 23:32:20 +01:00
|
|
|
table {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
blockquote {
|
|
|
|
background: rgba(255, 255, 255, .125);
|
|
|
|
border-radius: 4px;
|
2020-10-13 01:18:11 +02:00
|
|
|
margin: 0;
|
2020-11-25 13:34:49 +01:00
|
|
|
padding: .5rem .7rem;
|
2020-10-13 01:18:11 +02:00
|
|
|
|
2020-11-25 13:34:49 +01:00
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2020-10-13 01:18:11 +02:00
|
|
|
}
|
2020-11-25 18:17:22 +01:00
|
|
|
|
|
|
|
/*
|
2020-10-13 01:18:11 +02:00
|
|
|
p,
|
|
|
|
pre ul,
|
|
|
|
li,
|
|
|
|
blockquote,
|
|
|
|
span,
|
|
|
|
code {
|
|
|
|
font-size: .875rem;
|
|
|
|
font-weight: 400;
|
|
|
|
letter-spacing: .03125em;
|
|
|
|
line-height: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre,
|
|
|
|
code {
|
|
|
|
background: $code !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote,
|
|
|
|
code,
|
|
|
|
.doc-alert,
|
|
|
|
.doc-info,
|
|
|
|
.doc-warning,
|
|
|
|
.doc-note {
|
|
|
|
border-radius: $border-radius;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote,
|
|
|
|
code,
|
|
|
|
pre,
|
|
|
|
.doc-alert,
|
|
|
|
.doc-info,
|
|
|
|
.doc-warning,
|
|
|
|
.doc-note {
|
|
|
|
padding: $padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote,
|
|
|
|
code,
|
|
|
|
pre,
|
|
|
|
li,
|
|
|
|
.doc-alert,
|
|
|
|
.doc-info,
|
|
|
|
.doc-warning,
|
|
|
|
.doc-note {
|
|
|
|
margin: $margin;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
blockquote {
|
|
|
|
background: $blockquote;
|
|
|
|
color: $on-blockquote;
|
|
|
|
}
|
|
|
|
|
|
|
|
// for url/links
|
|
|
|
// span,
|
|
|
|
a {
|
|
|
|
color: $accent;
|
|
|
|
cursor: pointer;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
filter: invert(.15);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2020-11-22 23:41:15 +01:00
|
|
|
max-width: 100%;
|
2020-10-13 01:18:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.doc-alert,
|
|
|
|
.doc-info,
|
|
|
|
.doc-warning,
|
|
|
|
.doc-note {
|
|
|
|
box-shadow: $elevation-z2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.doc-alert {
|
|
|
|
background: $alert;
|
|
|
|
color: $on-alert;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "Alert";
|
|
|
|
display: block;
|
|
|
|
font-weight: 700;
|
|
|
|
margin: 0 0 .25rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.doc-info {
|
|
|
|
background: $info;
|
|
|
|
color: $on-info;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "Info";
|
|
|
|
display: block;
|
|
|
|
font-weight: 700;
|
|
|
|
margin: 0 0 .25rem 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.doc-warning {
|
|
|
|
background: $warning;
|
|
|
|
color: $on-warning;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "Warning";
|
|
|
|
display: block;
|
|
|
|
font-weight: 700;
|
|
|
|
margin: 0 0 .25rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.doc-note {
|
|
|
|
background: $note;
|
|
|
|
color: $on-note;
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
content: "Note";
|
|
|
|
display: block;
|
|
|
|
font-weight: 700;
|
|
|
|
margin: 0 0 .25rem 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2020-11-25 13:34:49 +01:00
|
|
|
*/
|
2020-11-25 18:17:22 +01:00
|
|
|
}
|