2020-04-23 18:07:39 +02:00
|
|
|
|
@import "vars";
|
|
|
|
|
@import 'fonts';
|
2021-01-26 13:00:38 +01:00
|
|
|
|
@import "responsivity_tools";
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
|
|
|
|
* {
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
html, body {
|
|
|
|
|
height: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
font-family: "Nunito Sans", sans-serif;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
|
|
|
|
color: $defaultTextColor;
|
|
|
|
|
background-color: $backgroundColor;
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-30 10:54:14 +02:00
|
|
|
|
@mixin tip {
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
|
|
.tip {
|
|
|
|
|
visibility: hidden;
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: 10000;
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
display: block;
|
|
|
|
|
width: max-content;
|
|
|
|
|
height: 30px;
|
|
|
|
|
padding: 4px 8px;
|
|
|
|
|
line-height: 22px;
|
|
|
|
|
top: calc(100% + 8px);
|
|
|
|
|
left: 50%;
|
|
|
|
|
transform: translateX(-50%);
|
|
|
|
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
color: $defaultTextColor;
|
|
|
|
|
opacity: 0;
|
|
|
|
|
transition: opacity ease-out 100ms, visibility step-end 150ms;
|
|
|
|
|
transition-delay: 0ms;
|
|
|
|
|
background-color: #000;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
|
|
text-transform: initial;
|
|
|
|
|
font-weight: initial;
|
2020-09-16 12:38:33 +02:00
|
|
|
|
|
|
|
|
|
&.top {
|
|
|
|
|
top: auto;
|
|
|
|
|
bottom: calc(100% + 8px);
|
|
|
|
|
}
|
2020-07-30 10:54:14 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
|
.tip {
|
|
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transition: opacity ease-out 100ms;
|
|
|
|
|
transition-delay: 150ms;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-30 09:32:22 +02:00
|
|
|
|
body > header {
|
2020-08-30 21:04:59 +02:00
|
|
|
|
z-index: 50;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
display: flex;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
flex-direction: row-reverse;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
justify-content: space-between;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
align-items: center;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
|
|
|
|
$headerHeight: 64px;
|
|
|
|
|
height: $headerHeight;
|
|
|
|
|
line-height: $headerHeight;
|
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
background: $headerBackground;
|
|
|
|
|
|
|
|
|
|
@if $headerContainer {
|
|
|
|
|
@include container;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: $mobileThreshold) {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
|
|
|
|
.logo {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
align-items: center;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
padding: 0 16px 0 8px;
|
|
|
|
|
font-size: 24px;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
color: $defaultTextColor;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
color: lighten($defaultTextColor, 10%);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
img {
|
2021-01-26 13:00:38 +01:00
|
|
|
|
width: initial;
|
|
|
|
|
height: calc(#{$headerHeight} - 16px);
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
flex-shrink: 0;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:36:37 +02:00
|
|
|
|
nav {
|
2021-01-26 13:00:38 +01:00
|
|
|
|
> ul {
|
|
|
|
|
position: fixed;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
transform: translateX(-100%);
|
|
|
|
|
transition: transform ease-out 150ms;
|
|
|
|
|
|
2020-07-06 11:36:37 +02:00
|
|
|
|
display: flex;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
flex-direction: column;
|
2020-07-06 11:36:37 +02:00
|
|
|
|
margin: 0;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
padding: $headerHeight 8px 8px;
|
2020-07-06 11:36:37 +02:00
|
|
|
|
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
background: $panelBackground;
|
|
|
|
|
|
2020-07-06 11:36:37 +02:00
|
|
|
|
li {
|
2020-08-30 21:02:37 +02:00
|
|
|
|
position: relative;
|
2020-07-06 11:36:37 +02:00
|
|
|
|
list-style: none;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
margin-top: 8px;
|
2020-07-06 11:36:37 +02:00
|
|
|
|
|
2020-07-15 11:04:45 +02:00
|
|
|
|
a, button {
|
2020-07-06 12:45:09 +02:00
|
|
|
|
position: relative;
|
2020-07-15 11:04:45 +02:00
|
|
|
|
margin: 0;
|
|
|
|
|
|
2020-07-06 11:36:37 +02:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
height: auto;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
|
|
border-radius: 3px;
|
2020-07-15 11:04:45 +02:00
|
|
|
|
|
|
|
|
|
&:hover, &:active {
|
|
|
|
|
&:not(button) {
|
|
|
|
|
background-color: rgba(255, 255, 255, 0.07);
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-07-06 11:36:37 +02:00
|
|
|
|
|
|
|
|
|
.feather {
|
2021-01-26 13:00:38 +01:00
|
|
|
|
--icon-size: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.tip {
|
2021-01-26 13:37:41 +01:00
|
|
|
|
position: static;
|
|
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
display: block;
|
2021-01-26 13:37:41 +01:00
|
|
|
|
height: auto;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
margin-left: 8px;
|
2021-01-26 13:37:41 +01:00
|
|
|
|
padding: 0 0 0 4px;
|
|
|
|
|
transform: none;
|
|
|
|
|
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
|
|
color: inherit;
|
|
|
|
|
text-transform: uppercase;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
font-weight: inherit;
|
2021-01-26 13:37:41 +01:00
|
|
|
|
background: transparent;
|
2020-07-06 12:45:09 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
.tip {
|
|
|
|
|
visibility: visible;
|
|
|
|
|
opacity: 1;
|
|
|
|
|
transition: opacity ease-out 100ms;
|
|
|
|
|
transition-delay: 150ms;
|
|
|
|
|
}
|
2020-07-06 11:36:37 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2020-07-15 11:04:45 +02:00
|
|
|
|
button {
|
2021-01-26 13:00:38 +01:00
|
|
|
|
margin: 0;
|
2020-07-15 11:04:45 +02:00
|
|
|
|
height: 32px;
|
|
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
form {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
padding: 0;
|
2020-07-06 11:36:37 +02:00
|
|
|
|
}
|
2020-08-30 21:02:37 +02:00
|
|
|
|
|
|
|
|
|
&.auth-user {
|
|
|
|
|
img {
|
|
|
|
|
width: 48px;
|
|
|
|
|
height: 48px;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.dropdown {
|
2021-01-26 13:00:38 +01:00
|
|
|
|
position: initial;
|
2020-08-30 21:02:37 +02:00
|
|
|
|
display: block;
|
2021-01-26 13:00:38 +01:00
|
|
|
|
padding-left: 0;
|
2020-08-30 21:02:37 +02:00
|
|
|
|
}
|
2020-07-06 11:36:37 +02:00
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
> li:not(:first-child) {
|
|
|
|
|
border-top: 1px solid transparentize($defaultTextColor, 0.8);
|
|
|
|
|
padding-top: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.open {
|
|
|
|
|
transform: translateX(0%);
|
|
|
|
|
box-shadow: 0 0 5px darken($panelBackground, 20%);
|
|
|
|
|
}
|
2020-07-06 11:36:37 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
#menu-button {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0 16px;
|
|
|
|
|
line-height: $headerHeight;
|
2020-07-06 11:36:37 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
cursor: pointer;
|
|
|
|
|
background: transparent;
|
|
|
|
|
border-radius: 0;
|
2020-07-06 12:03:45 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
.feather {
|
|
|
|
|
--icon-size: 28px;
|
|
|
|
|
margin: 0 8px;
|
2020-07-06 12:03:45 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
hr {
|
|
|
|
|
border: 0;
|
|
|
|
|
border-bottom: 1px solid $defaultTextColor;
|
|
|
|
|
opacity: 0.2;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (min-width: $mobileThreshold) {
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
2020-07-06 11:36:37 +02:00
|
|
|
|
nav {
|
2020-07-06 12:03:45 +02:00
|
|
|
|
#menu-button {
|
2021-01-26 13:00:38 +01:00
|
|
|
|
display: none;
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
ul {
|
|
|
|
|
position: static;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
transform: none;
|
|
|
|
|
padding: 0;
|
2020-07-06 12:03:45 +02:00
|
|
|
|
background: transparent;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
li {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
margin-left: 8px;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
&:last-child {
|
|
|
|
|
a, button, .button {
|
|
|
|
|
.tip {
|
|
|
|
|
left: unset;
|
|
|
|
|
right: 4px;
|
|
|
|
|
transform: none;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-07-06 11:36:37 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
.dropdown {
|
|
|
|
|
position: absolute;
|
|
|
|
|
z-index: -1;
|
|
|
|
|
top: 100%;
|
|
|
|
|
right: 0;
|
|
|
|
|
display: none;
|
|
|
|
|
padding: 8px;
|
2020-07-06 12:45:09 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
white-space: nowrap;
|
|
|
|
|
background: $panelBackground;
|
|
|
|
|
border-radius: 0 0 3px 3px;
|
|
|
|
|
|
|
|
|
|
box-shadow: 0 2px 2px transparentize(darken($panelBackground, 20%), 0.75);
|
|
|
|
|
border-top: 4px solid lighten($panelBackground, 5%);
|
|
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
margin-left: 0;
|
|
|
|
|
|
|
|
|
|
&:not(:first-child) {
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
}
|
2020-07-15 11:04:45 +02:00
|
|
|
|
}
|
2020-07-06 12:45:09 +02:00
|
|
|
|
}
|
2020-08-30 21:02:37 +02:00
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
&:hover .dropdown {
|
2020-08-30 21:02:37 +02:00
|
|
|
|
display: block;
|
|
|
|
|
}
|
2020-07-06 12:45:09 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
> li:not(:first-child) {
|
|
|
|
|
border-top: 0;
|
|
|
|
|
padding-top: 0;
|
2020-07-15 11:04:45 +02:00
|
|
|
|
}
|
2020-07-06 12:49:28 +02:00
|
|
|
|
}
|
2020-07-06 12:45:09 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
2021-01-26 13:00:38 +01:00
|
|
|
|
body > footer {
|
2020-04-23 18:07:39 +02:00
|
|
|
|
padding: 8px;
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
text-align: center;
|
2020-05-02 12:56:40 +02:00
|
|
|
|
background-color: $footerBackground;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
main {
|
|
|
|
|
flex: 1;
|
2020-11-03 20:29:07 +01:00
|
|
|
|
padding: 8px 0;
|
2020-07-30 10:54:14 +02:00
|
|
|
|
|
|
|
|
|
button, .button {
|
|
|
|
|
@include tip;
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
|
|
|
|
|
& + p {
|
|
|
|
|
text-align: center;
|
|
|
|
|
font-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1, h2 {
|
|
|
|
|
font-weight: 100;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h3, h4 {
|
|
|
|
|
font-weight: 300;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section > h2, .panel > h2 {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
text-align: center;
|
2020-07-27 16:02:33 +02:00
|
|
|
|
margin-top: 4px;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2020-07-27 16:02:33 +02:00
|
|
|
|
font-size: 24px;
|
|
|
|
|
line-height: 1;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2020-07-27 16:02:33 +02:00
|
|
|
|
.feather {
|
|
|
|
|
margin: 0 16px 0 0;
|
|
|
|
|
opacity: 0.1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::after {
|
2020-04-23 18:07:39 +02:00
|
|
|
|
content: "";
|
|
|
|
|
flex: 1;
|
2020-07-27 16:02:33 +02:00
|
|
|
|
margin: 0 16px;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
height: 0;
|
|
|
|
|
border-bottom: 1px solid $defaultTextColor;
|
2020-07-27 16:02:33 +02:00
|
|
|
|
opacity: 0.1;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
section > hr, .panel > hr {
|
|
|
|
|
border: 0;
|
|
|
|
|
border-bottom: 1px solid $defaultTextColor;
|
|
|
|
|
opacity: 0.2;
|
|
|
|
|
|
|
|
|
|
margin: 8px 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
color: $secondary;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
2021-01-26 13:00:23 +01:00
|
|
|
|
color: lighten($secondary, 30%);
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.feather.feather-external-link {
|
|
|
|
|
--icon-size: 16px;
|
|
|
|
|
margin-left: 4px;
|
|
|
|
|
margin-top: -3px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
form {
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
.form-field {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
margin: 16px auto;
|
|
|
|
|
|
2020-09-10 16:17:06 +02:00
|
|
|
|
.control {
|
|
|
|
|
position: relative;
|
|
|
|
|
background: $inputBackground;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.feather.icon {
|
2020-09-10 15:19:31 +02:00
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
right: 8px;
|
|
|
|
|
transform: translateY(-50%);
|
|
|
|
|
z-index: 0;
|
|
|
|
|
|
|
|
|
|
--icon-size: 24px;
|
|
|
|
|
opacity: 0.75;
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
|
|
|
|
label {
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 8px;
|
|
|
|
|
top: 20px;
|
|
|
|
|
user-select: none;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
opacity: 0.75;
|
|
|
|
|
|
|
|
|
|
transition-property: top, font-size;
|
|
|
|
|
transition-duration: 150ms;
|
|
|
|
|
transition-timing-function: ease-out;
|
|
|
|
|
|
|
|
|
|
cursor: text;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-25 09:39:59 +02:00
|
|
|
|
[disabled] {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
|
|
& ~ label {
|
|
|
|
|
opacity: 0.5;
|
|
|
|
|
cursor: default;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-30 21:02:57 +02:00
|
|
|
|
input, select, textarea, .input-group {
|
2020-09-10 15:19:31 +02:00
|
|
|
|
z-index: 1;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
border: 0;
|
|
|
|
|
color: $defaultTextColor;
|
2020-09-10 15:19:31 +02:00
|
|
|
|
background: transparent;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
font-size: 16px;
|
|
|
|
|
|
2020-06-14 15:18:18 +02:00
|
|
|
|
&:focus, &:not([value=""]), &[type="file"] {
|
2020-04-23 18:07:39 +02:00
|
|
|
|
~ label {
|
|
|
|
|
top: 8px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-30 21:02:57 +02:00
|
|
|
|
input, select, textarea, .form-display {
|
2020-04-23 18:07:39 +02:00
|
|
|
|
display: block;
|
|
|
|
|
padding: 32px 8px 8px 8px;
|
|
|
|
|
width: 100%;
|
2020-07-27 17:29:52 +02:00
|
|
|
|
height: 60px;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
select {
|
|
|
|
|
-webkit-appearance: none;
|
|
|
|
|
-moz-appearance: none;
|
|
|
|
|
appearance: none;
|
|
|
|
|
|
|
|
|
|
&::-ms-expand {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
& + .feather {
|
|
|
|
|
position: absolute;
|
2020-07-27 16:02:33 +02:00
|
|
|
|
pointer-events: none;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
right: 8px;
|
2020-07-30 11:14:02 +02:00
|
|
|
|
top: 30px;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
|
|
|
|
transition: transform 150ms ease-out;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Temporary
|
|
|
|
|
&:focus + .feather {
|
|
|
|
|
transform: rotateX(180deg);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-08-30 21:02:57 +02:00
|
|
|
|
textarea {
|
|
|
|
|
resize: vertical;
|
|
|
|
|
min-height: 100px;
|
2020-09-10 21:02:17 +02:00
|
|
|
|
font-family: inherit;
|
2020-08-30 21:02:57 +02:00
|
|
|
|
}
|
|
|
|
|
|
2020-04-23 18:07:39 +02:00
|
|
|
|
input[type=color] {
|
|
|
|
|
height: calc(32px + 8px + 32px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.inline {
|
2020-09-10 16:17:06 +02:00
|
|
|
|
display: flex;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
2020-09-15 16:32:02 +02:00
|
|
|
|
.control {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
flex-grow: 1;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2020-09-15 16:32:02 +02:00
|
|
|
|
input[type=checkbox] {
|
|
|
|
|
width: min-content;
|
|
|
|
|
height: min-content;
|
|
|
|
|
margin: 8px;
|
2020-09-10 15:19:31 +02:00
|
|
|
|
text-align: left;
|
2020-09-15 16:32:02 +02:00
|
|
|
|
|
|
|
|
|
& ~ label {
|
|
|
|
|
position: static;
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
display: inline;
|
|
|
|
|
padding: 8px;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
2020-09-15 16:32:02 +02:00
|
|
|
|
font-size: 16px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.input-group {
|
|
|
|
|
display: flex;
|
2020-09-15 16:32:02 +02:00
|
|
|
|
flex-grow: 1;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
flex-direction: row;
|
|
|
|
|
|
|
|
|
|
div {
|
|
|
|
|
position: relative;
|
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
|
|
input {
|
|
|
|
|
width: 100%;
|
|
|
|
|
border: 0;
|
|
|
|
|
background: transparent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-04-25 10:11:05 +02:00
|
|
|
|
|
|
|
|
|
.inline-fields {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
2020-07-27 17:29:52 +02:00
|
|
|
|
align-items: start;
|
2020-04-25 10:11:05 +02:00
|
|
|
|
margin: 16px auto;
|
|
|
|
|
|
|
|
|
|
.form-field {
|
|
|
|
|
flex: 1;
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-25 11:27:12 +02:00
|
|
|
|
> :not(.form-field) {
|
2020-04-25 10:11:05 +02:00
|
|
|
|
padding: 32px 8px 8px 8px;
|
|
|
|
|
}
|
2020-04-25 11:27:12 +02:00
|
|
|
|
|
|
|
|
|
+ {
|
|
|
|
|
.error, .hint {
|
|
|
|
|
margin-top: -16px;
|
|
|
|
|
margin-bottom: 16px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-field, .inline-fields + {
|
|
|
|
|
.error, .hint {
|
|
|
|
|
padding: 2px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
|
--icon-size: 14px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.error {
|
|
|
|
|
color: $error;
|
|
|
|
|
}
|
2020-04-25 10:11:05 +02:00
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button, .button {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
margin: 8px;
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
border: 0;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: bolder;
|
|
|
|
|
|
|
|
|
|
line-height: 16px;
|
|
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
|
--icon-size: 16px;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-25 09:40:25 +02:00
|
|
|
|
.feather.last {
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-23 18:07:39 +02:00
|
|
|
|
&, &.primary {
|
|
|
|
|
color: $primaryForeground;
|
2020-05-02 12:56:40 +02:00
|
|
|
|
background-color: darken($secondary, 10%);
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
|
|
|
|
&:hover {
|
2020-05-02 12:56:40 +02:00
|
|
|
|
background-color: $secondary;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.info {
|
|
|
|
|
background-color: $infoColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.success {
|
|
|
|
|
background-color: $successColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.warning {
|
|
|
|
|
background-color: $warningColor;
|
2021-01-26 11:43:42 +01:00
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: lighten($warningColor, 10%);
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.error, &.danger {
|
|
|
|
|
background-color: $errorColor;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: lighten($errorColor, 10%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.transparent {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
color: $primaryForeground;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-26 13:00:23 +01:00
|
|
|
|
|
|
|
|
|
// ---
|
|
|
|
|
// --- Tables
|
|
|
|
|
// ---
|
|
|
|
|
td.actions {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
form {
|
|
|
|
|
padding: 0;
|
|
|
|
|
display: inline;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button, .button {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
> *:not(:first-child) {
|
|
|
|
|
margin-left: 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2020-04-23 18:07:39 +02:00
|
|
|
|
.data-table {
|
|
|
|
|
width: 100%;
|
|
|
|
|
text-align: left;
|
|
|
|
|
border-collapse: collapse;
|
|
|
|
|
|
|
|
|
|
th, td {
|
|
|
|
|
padding: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
th {
|
2020-05-02 12:56:40 +02:00
|
|
|
|
border-bottom: 1px solid #39434a;
|
2021-01-26 14:28:53 +01:00
|
|
|
|
white-space: nowrap;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tr:nth-child(even) {
|
2020-05-02 12:56:40 +02:00
|
|
|
|
background-color: rgba(255, 255, 255, 0.03);
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
tr:hover {
|
2020-05-02 12:56:40 +02:00
|
|
|
|
background-color: rgba(255, 255, 255, 0.09);
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
thead tr:hover {
|
|
|
|
|
background-color: transparent;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-26 13:00:23 +01:00
|
|
|
|
|
|
|
|
|
// ---
|
|
|
|
|
// --- Breadcrumb widget
|
|
|
|
|
// ---
|
2020-07-30 10:54:29 +02:00
|
|
|
|
.breadcrumb {
|
|
|
|
|
list-style: none;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
|
|
> *:not(:first-child)::before {
|
|
|
|
|
content: '›';
|
|
|
|
|
padding: 0 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2021-01-26 13:00:23 +01:00
|
|
|
|
|
2020-04-23 18:07:39 +02:00
|
|
|
|
// ---
|
|
|
|
|
// --- Layout helpers
|
|
|
|
|
// ---
|
|
|
|
|
.center {
|
|
|
|
|
text-align: center;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.panel {
|
2020-07-27 16:02:33 +02:00
|
|
|
|
position: relative;
|
|
|
|
|
margin: 16px 0 48px;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
padding: 8px;
|
2020-05-02 12:56:40 +02:00
|
|
|
|
background-color: $panelBackground;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
|
|
p {
|
|
|
|
|
margin: 16px 8px;
|
|
|
|
|
}
|
2020-07-27 16:02:33 +02:00
|
|
|
|
|
|
|
|
|
> .feather:first-child {
|
|
|
|
|
position: absolute;
|
|
|
|
|
--icon-size: 24px;
|
|
|
|
|
opacity: 0.1;
|
|
|
|
|
top: 8px;
|
|
|
|
|
left: 8px;
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sub-panel {
|
2021-01-26 11:42:24 +01:00
|
|
|
|
margin: 32px 0;
|
2020-04-23 18:07:39 +02:00
|
|
|
|
padding: 1px 16px;
|
2020-05-02 12:56:40 +02:00
|
|
|
|
border: 2px solid lighten($panelBackground, 4%);
|
2020-04-23 18:07:39 +02:00
|
|
|
|
border-radius: 5px;
|
2021-01-26 11:42:24 +01:00
|
|
|
|
|
|
|
|
|
form > & {
|
|
|
|
|
margin: 32px -18px;
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// ---
|
|
|
|
|
// --- Feather
|
|
|
|
|
// ---
|
|
|
|
|
.feather {
|
2020-09-15 16:34:21 +02:00
|
|
|
|
display: inline-flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
2020-04-23 18:07:39 +02:00
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
width: var(--icon-size);
|
|
|
|
|
height: var(--icon-size);
|
2020-09-15 16:34:21 +02:00
|
|
|
|
|
|
|
|
|
--icon-size: 16px;
|
|
|
|
|
font-size: var(--icon-size);
|
2020-04-23 18:07:39 +02:00
|
|
|
|
stroke: currentColor;
|
|
|
|
|
stroke-width: 2;
|
|
|
|
|
stroke-linecap: square;
|
|
|
|
|
stroke-linejoin: miter;
|
|
|
|
|
fill: none;
|
|
|
|
|
vertical-align: middle;
|
2021-01-26 11:43:13 +01:00
|
|
|
|
|
|
|
|
|
h1 > &, h2 > &, h3 > & {
|
|
|
|
|
--icon-size: 24px;
|
|
|
|
|
}
|
2020-04-23 18:07:39 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ---
|
|
|
|
|
// --- Helper classes
|
|
|
|
|
// ---
|
|
|
|
|
.message {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
padding: 8px 16px;
|
|
|
|
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
|
--icon-size: 24px;
|
|
|
|
|
margin-right: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&:not(&-discreet) {
|
2020-05-02 12:56:40 +02:00
|
|
|
|
background-color: rgba(255, 255, 255, 0.33);
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
|
|
|
|
&[data-type=info], &[data-type=question] {
|
|
|
|
|
background-color: $infoColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&[data-type=success] {
|
|
|
|
|
background-color: $successColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&[data-type=warning] {
|
|
|
|
|
background-color: $warningColor;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&[data-type=error] {
|
|
|
|
|
background-color: $errorColor;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-discreet {
|
2020-05-02 12:56:40 +02:00
|
|
|
|
color: mix($panelBackground, #fff, 35%);
|
2020-04-23 18:07:39 +02:00
|
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
|
--icon-size: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.messages .message:not(:last-child) {
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container > .messages:first-child {
|
|
|
|
|
margin-top: 16px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.copyable-text {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
margin: 8px;
|
|
|
|
|
|
|
|
|
|
background-color: darken($backgroundColor, 2%);
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
|
|
.title {
|
|
|
|
|
padding: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.content {
|
2021-01-26 14:28:53 +01:00
|
|
|
|
width: 0;
|
2020-06-14 17:34:01 +02:00
|
|
|
|
flex-grow: 1;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.copy-button {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
border-radius: 0;
|
|
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
|
--icon-size: 20px;
|
|
|
|
|
margin: 8px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2020-06-15 12:09:33 +02:00
|
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 8px;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
background: #fff1;
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
.content {
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
|
content: "";
|
|
|
|
|
display: block;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: var(--progress);
|
|
|
|
|
height: 100%;
|
2020-07-12 12:15:22 +02:00
|
|
|
|
transition: width ease-out 150ms;
|
2020-06-15 12:09:33 +02:00
|
|
|
|
|
|
|
|
|
background: $secondary;
|
|
|
|
|
}
|
|
|
|
|
}
|
2021-01-26 14:28:53 +01:00
|
|
|
|
|
|
|
|
|
.table-col-grow {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
2021-03-30 12:32:41 +02:00
|
|
|
|
|
|
|
|
|
.pagination {
|
|
|
|
|
ul {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
list-style: none;
|
|
|
|
|
padding: 8px;
|
|
|
|
|
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
a, &.active, &.ellipsis {
|
|
|
|
|
display: block;
|
|
|
|
|
min-width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
padding: 4px;
|
|
|
|
|
|
|
|
|
|
line-height: 32px;
|
|
|
|
|
text-align:center;
|
|
|
|
|
|
|
|
|
|
&:hover:not(.active):not(.ellipsis) {
|
|
|
|
|
background-color: #fff5;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|