mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
201 lines
2.7 KiB
SCSS
201 lines
2.7 KiB
SCSS
:root {
|
|
--clr-primary: #ffc014;
|
|
--clr-secondary: #2f2f2f;
|
|
|
|
--clr-bg: #333;
|
|
|
|
--clr-accent: #1085b3;
|
|
--clr-accent2: #ff3d5d;
|
|
|
|
--clr-skr: #ff5100;
|
|
--clr-twr: #ffbb00;
|
|
|
|
--clr-error: #df3e3e;
|
|
--clr-warning: #c59429;
|
|
}
|
|
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
width: 100%;
|
|
margin: 0;
|
|
// font-family: "Open Sans", sans-serif;
|
|
font-family: "Quicksand", sans-serif;
|
|
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
:root {
|
|
font-size: 16px;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 0.5rem;
|
|
height: 0.5rem;
|
|
|
|
&-track {
|
|
background: #222;
|
|
}
|
|
|
|
&-thumb {
|
|
border-radius: 1rem;
|
|
background: #777;
|
|
}
|
|
}
|
|
|
|
|
|
.g-tooltip {
|
|
position: relative;
|
|
|
|
z-index: 10;
|
|
|
|
.content {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 0;
|
|
|
|
transform: translate(-50%, -120%);
|
|
|
|
z-index: 10;
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
|
|
min-width: 150px;
|
|
|
|
background-color: var(--clr-accent);
|
|
text-align: center;
|
|
|
|
padding: 0.15em;
|
|
border-radius: .5em;
|
|
|
|
transition: opacity 0.3s;
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 100%;
|
|
left: 50%;
|
|
margin-left: -5px;
|
|
border-width: 5px;
|
|
border-style: solid;
|
|
border-color: var(--clr-accent) transparent transparent transparent;
|
|
}
|
|
|
|
@include smallScreen() {
|
|
right: 0;
|
|
left: 0;
|
|
|
|
&::after {
|
|
left: 75%;
|
|
}
|
|
}
|
|
}
|
|
|
|
&:hover > .content {
|
|
// @include smallScreen() {
|
|
// display: none;
|
|
// }
|
|
|
|
visibility: visible;
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
|
|
button,
|
|
input,
|
|
select {
|
|
// font-family: "Open Sans", sans-serif;
|
|
border: none;
|
|
font-family: "Quicksand", sans-serif;
|
|
}
|
|
|
|
input {
|
|
border: 1px solid white;
|
|
background: none;
|
|
color: white;
|
|
font-size: 1em;
|
|
|
|
padding: 0.15em;
|
|
|
|
max-width: 55px;
|
|
outline: none;
|
|
|
|
&::placeholder {
|
|
color: #bebebe;
|
|
}
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
.default-station {
|
|
font-weight: bold;
|
|
color: $accentCol;
|
|
}
|
|
|
|
|
|
.title {
|
|
color: $accentCol;
|
|
font-weight: 600;
|
|
|
|
padding: .35em 0;
|
|
|
|
}
|
|
|
|
a {
|
|
display: inline-block;
|
|
|
|
color: white;
|
|
text-decoration: none;
|
|
|
|
transition: color 0.3s;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: $accentCol;
|
|
border: none;
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
ul {
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
.flex {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
&-spaced {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
&-column {
|
|
flex-direction: column;
|
|
}
|
|
}
|
|
|
|
.text {
|
|
&--primary {
|
|
color: var(--clr-primary);
|
|
}
|
|
|
|
&--grayed {
|
|
color: #ccc;
|
|
}
|
|
} |