mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 05:18:11 +00:00
327 lines
4.5 KiB
SCSS
327 lines
4.5 KiB
SCSS
:root {
|
|
--clr-primary: #ffc014;
|
|
--clr-secondary: #2f2f2f;
|
|
|
|
--clr-bg: #4d4d4d;
|
|
--clr-bg2: #1b1b1b;
|
|
|
|
--clr-accent: #1085b3;
|
|
--clr-accent2: #ff3d5d;
|
|
|
|
--clr-skr: #ff5100;
|
|
--clr-twr: #ffbb00;
|
|
|
|
--clr-error: #df3e3e;
|
|
--clr-warning: #c59429;
|
|
|
|
font-size: 16px;
|
|
}
|
|
|
|
::-webkit-scrollbar {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
background-color: transparent;
|
|
|
|
&-track {
|
|
border-radius: 0.5em;
|
|
background-color: #333;
|
|
}
|
|
|
|
&-thumb {
|
|
border-radius: 0.5em;
|
|
background-color: #666;
|
|
}
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
background: var(--clr-bg);
|
|
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: 'Quicksand', sans-serif;
|
|
overflow-y: scroll;
|
|
|
|
&.no-scroll {
|
|
overflow-y: hidden;
|
|
padding-right: 1rem;
|
|
|
|
@include smallScreen() {
|
|
padding: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
.g-tooltip {
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
|
|
.content {
|
|
position: absolute;
|
|
left: 0;
|
|
|
|
z-index: 100;
|
|
|
|
visibility: hidden;
|
|
opacity: 0;
|
|
|
|
min-width: 250px;
|
|
|
|
background-color: #202020;
|
|
text-align: center;
|
|
|
|
border-radius: 0.5em;
|
|
|
|
transition: opacity 0.3s;
|
|
padding: 0.25em;
|
|
|
|
// @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;
|
|
font-size: 1em;
|
|
}
|
|
|
|
input {
|
|
background: none;
|
|
color: white;
|
|
font-size: 1em;
|
|
|
|
padding: 0.15em;
|
|
|
|
outline: none;
|
|
|
|
&::placeholder {
|
|
color: #cfcfcf;
|
|
}
|
|
}
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
padding: 0;
|
|
margin: 0;
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
*:focus {
|
|
outline: none;
|
|
}
|
|
|
|
*:focus-visible {
|
|
outline: 1px solid $accentCol;
|
|
}
|
|
|
|
.title {
|
|
color: $accentCol;
|
|
font-weight: 600;
|
|
|
|
padding: 0.35em 0;
|
|
}
|
|
|
|
a {
|
|
display: inline-block;
|
|
|
|
color: white;
|
|
text-decoration: none;
|
|
|
|
transition: color 0.3s;
|
|
|
|
&:hover,
|
|
&:focus {
|
|
color: $accentCol;
|
|
border: 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;
|
|
}
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
|
|
color: white;
|
|
background-color: #333;
|
|
|
|
border-radius: 0.25em;
|
|
padding: 0.25em 0.5em;
|
|
|
|
transition: all 100ms ease;
|
|
|
|
&:hover {
|
|
background-color: #2a2a2a;
|
|
}
|
|
}
|
|
|
|
.btn {
|
|
background: none;
|
|
cursor: pointer;
|
|
font-size: 1em;
|
|
|
|
&--text {
|
|
color: white;
|
|
transition: color 0.3s;
|
|
|
|
&:hover:not(:disabled),
|
|
&:focus:not(:disabled) {
|
|
color: $accentCol;
|
|
}
|
|
|
|
&.checked {
|
|
color: var(--clr-primary);
|
|
font-weight: bold;
|
|
}
|
|
}
|
|
|
|
&--image {
|
|
display: flex;
|
|
|
|
padding: 0.4em 1em;
|
|
font-weight: bold;
|
|
font-size: 1em;
|
|
|
|
border-radius: 0.75em 0.75em 0 0;
|
|
background-color: #1b1b1b;
|
|
|
|
img {
|
|
height: 1.3em;
|
|
margin-right: 0.5rem;
|
|
}
|
|
}
|
|
|
|
&--option {
|
|
cursor: pointer;
|
|
|
|
color: white;
|
|
background-color: #333;
|
|
|
|
border-radius: 0.25em;
|
|
padding: 0.25em 0.5em;
|
|
|
|
&.checked {
|
|
color: var(--clr-primary);
|
|
font-weight: bold;
|
|
|
|
background-color: #3c3c3c;
|
|
}
|
|
}
|
|
|
|
&:disabled {
|
|
opacity: 0.65;
|
|
}
|
|
}
|
|
|
|
.return-btn {
|
|
display: none;
|
|
justify-content: center;
|
|
align-items: center;
|
|
|
|
position: fixed;
|
|
right: 2.5rem;
|
|
bottom: 4rem;
|
|
|
|
z-index: 100;
|
|
|
|
width: 3.5rem;
|
|
|
|
font-size: 3rem;
|
|
|
|
background-color: #555;
|
|
outline: 3px solid #222;
|
|
color: white;
|
|
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
|
|
&:hover {
|
|
background-color: #3c3c3c;
|
|
}
|
|
|
|
img {
|
|
width: 1.3em;
|
|
}
|
|
|
|
@include smallScreen() {
|
|
bottom: 1em;
|
|
right: 0;
|
|
left: 50%;
|
|
|
|
width: 1em;
|
|
height: 1em;
|
|
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
@include smallScreen {
|
|
::-webkit-scrollbar {
|
|
width: 0.5em;
|
|
height: 0.5em;
|
|
|
|
&-track {
|
|
background-color: #222;
|
|
}
|
|
|
|
&-thumb {
|
|
background-color: #777;
|
|
}
|
|
}
|
|
}
|