mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 21:38:13 +00:00
format & lint
This commit is contained in:
@@ -1,78 +1,78 @@
|
||||
@import 'responsive.scss';
|
||||
@import 'animations.scss';
|
||||
|
||||
.list_wrapper {
|
||||
overflow-y: auto;
|
||||
height: 90vh;
|
||||
min-height: 550px;
|
||||
|
||||
padding-right: 0.2em;
|
||||
}
|
||||
|
||||
.journal_wrapper {
|
||||
max-width: 1350px;
|
||||
width: 100%;
|
||||
|
||||
margin: 0 auto;
|
||||
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.journal_refreshed-date {
|
||||
background-color: #333;
|
||||
color: #ddd;
|
||||
text-align: end;
|
||||
|
||||
padding: 0.25em;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.journal_warning {
|
||||
text-align: center;
|
||||
font-size: 1.3em;
|
||||
|
||||
&.error {
|
||||
background-color: var(--clr-error);
|
||||
}
|
||||
}
|
||||
|
||||
.journal_item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.journal_item,
|
||||
.journal_warning {
|
||||
background-color: #1a1a1a;
|
||||
padding: 1em;
|
||||
margin-bottom: 1em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.journal_top-bar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 0.5em;
|
||||
|
||||
position: relative;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.btn--load-data {
|
||||
padding: 0.5em 1em;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
@include smallScreen() {
|
||||
.journal_top-bar {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.journal_refreshed-date {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@import 'responsive.scss';
|
||||
@import 'animations.scss';
|
||||
|
||||
.list_wrapper {
|
||||
overflow-y: auto;
|
||||
height: 90vh;
|
||||
min-height: 550px;
|
||||
|
||||
padding-right: 0.2em;
|
||||
}
|
||||
|
||||
.journal_wrapper {
|
||||
max-width: 1350px;
|
||||
width: 100%;
|
||||
|
||||
margin: 0 auto;
|
||||
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.journal_refreshed-date {
|
||||
background-color: #333;
|
||||
color: #ddd;
|
||||
text-align: end;
|
||||
|
||||
padding: 0.25em;
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.journal_warning {
|
||||
text-align: center;
|
||||
font-size: 1.3em;
|
||||
|
||||
&.error {
|
||||
background-color: var(--clr-error);
|
||||
}
|
||||
}
|
||||
|
||||
.journal_item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.journal_item,
|
||||
.journal_warning {
|
||||
background-color: #1a1a1a;
|
||||
padding: 1em;
|
||||
margin-bottom: 1em;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.journal_top-bar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
gap: 0.5em;
|
||||
|
||||
position: relative;
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.btn--load-data {
|
||||
padding: 0.5em 1em;
|
||||
display: flex;
|
||||
margin: 0 auto;
|
||||
|
||||
font-size: 1.2em;
|
||||
}
|
||||
|
||||
@include smallScreen() {
|
||||
.journal_top-bar {
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.journal_refreshed-date {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,4 +47,3 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -28,4 +28,4 @@
|
||||
&-leave-active {
|
||||
transition: all 100ms ease-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+99
-99
@@ -1,99 +1,99 @@
|
||||
.badge {
|
||||
font-weight: 600;
|
||||
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
|
||||
margin: 0.25em;
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
background: #585858;
|
||||
padding: 0.2em 0.4em;
|
||||
}
|
||||
|
||||
&-none {
|
||||
font-weight: 600;
|
||||
|
||||
padding: 0.2em 0.4em;
|
||||
background: firebrick;
|
||||
|
||||
text-align: center;
|
||||
|
||||
@include smallScreen() {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.level-badge {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
&.driver {
|
||||
border-radius: 50%;
|
||||
width: 1.7em;
|
||||
height: 1.7em;
|
||||
}
|
||||
|
||||
&.dispatcher {
|
||||
border-radius: 0.25em;
|
||||
|
||||
width: 1.6em;
|
||||
height: 1.6em;
|
||||
}
|
||||
}
|
||||
|
||||
.region-badge {
|
||||
padding: 0.25em 0.5em;
|
||||
border-radius: 0.5em;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
|
||||
&[aria-describedby='eu'] {
|
||||
background-color: forestgreen;
|
||||
}
|
||||
|
||||
&[aria-describedby='cae'] {
|
||||
background-color: lightcoral;
|
||||
color: black;
|
||||
}
|
||||
|
||||
&[aria-describedby='usw'] {
|
||||
background-color: lightblue;
|
||||
color: black;
|
||||
}
|
||||
|
||||
&[aria-describedby='us'] {
|
||||
background-color: lightblue;
|
||||
color: black;
|
||||
}
|
||||
|
||||
&[aria-describedby='ru'] {
|
||||
background-color: lightslategray;
|
||||
}
|
||||
}
|
||||
|
||||
.train-badge {
|
||||
padding: 0.1em 0.2em;
|
||||
border-radius: 0.2em;
|
||||
font-weight: bold;
|
||||
|
||||
font-size: 0.9em;
|
||||
|
||||
&.twr {
|
||||
background-color: var(--clr-twr);
|
||||
box-shadow: 0 0 5px 1px var(--clr-twr);
|
||||
color: black;
|
||||
}
|
||||
|
||||
&.skr {
|
||||
background-color: var(--clr-skr);
|
||||
box-shadow: 0 0 5px 1px var(--clr-skr);
|
||||
}
|
||||
|
||||
&.offline {
|
||||
background-color: #be3728;
|
||||
}
|
||||
}
|
||||
.badge {
|
||||
font-weight: 600;
|
||||
|
||||
display: inline-block;
|
||||
padding: 0;
|
||||
|
||||
margin: 0.25em;
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
background: #585858;
|
||||
padding: 0.2em 0.4em;
|
||||
}
|
||||
|
||||
&-none {
|
||||
font-weight: 600;
|
||||
|
||||
padding: 0.2em 0.4em;
|
||||
background: firebrick;
|
||||
|
||||
text-align: center;
|
||||
|
||||
@include smallScreen() {
|
||||
font-size: 1em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.level-badge {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
|
||||
&.driver {
|
||||
border-radius: 50%;
|
||||
width: 1.7em;
|
||||
height: 1.7em;
|
||||
}
|
||||
|
||||
&.dispatcher {
|
||||
border-radius: 0.25em;
|
||||
|
||||
width: 1.6em;
|
||||
height: 1.6em;
|
||||
}
|
||||
}
|
||||
|
||||
.region-badge {
|
||||
padding: 0.25em 0.5em;
|
||||
border-radius: 0.5em;
|
||||
font-weight: bold;
|
||||
color: white;
|
||||
|
||||
&[aria-describedby='eu'] {
|
||||
background-color: forestgreen;
|
||||
}
|
||||
|
||||
&[aria-describedby='cae'] {
|
||||
background-color: lightcoral;
|
||||
color: black;
|
||||
}
|
||||
|
||||
&[aria-describedby='usw'] {
|
||||
background-color: lightblue;
|
||||
color: black;
|
||||
}
|
||||
|
||||
&[aria-describedby='us'] {
|
||||
background-color: lightblue;
|
||||
color: black;
|
||||
}
|
||||
|
||||
&[aria-describedby='ru'] {
|
||||
background-color: lightslategray;
|
||||
}
|
||||
}
|
||||
|
||||
.train-badge {
|
||||
padding: 0.1em 0.2em;
|
||||
border-radius: 0.2em;
|
||||
font-weight: bold;
|
||||
|
||||
font-size: 0.9em;
|
||||
|
||||
&.twr {
|
||||
background-color: var(--clr-twr);
|
||||
box-shadow: 0 0 5px 1px var(--clr-twr);
|
||||
color: black;
|
||||
}
|
||||
|
||||
&.skr {
|
||||
background-color: var(--clr-skr);
|
||||
box-shadow: 0 0 5px 1px var(--clr-skr);
|
||||
}
|
||||
|
||||
&.offline {
|
||||
background-color: #be3728;
|
||||
}
|
||||
}
|
||||
|
||||
+53
-53
@@ -1,53 +1,53 @@
|
||||
@import './variables.scss';
|
||||
@import './responsive.scss';
|
||||
|
||||
.card-dimmer {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
z-index: 100;
|
||||
|
||||
background: rgba(black, 0.65);
|
||||
}
|
||||
|
||||
.card {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
z-index: 100;
|
||||
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
overflow: hidden;
|
||||
background: #202020e8;
|
||||
|
||||
box-shadow: 0 0 15px 0 black;
|
||||
border: 1px solid #202020e8;
|
||||
|
||||
width: 95%;
|
||||
max-width: 700px;
|
||||
|
||||
max-height: 95vh;
|
||||
|
||||
&-exit {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin: 0.5em 0.5em;
|
||||
|
||||
img {
|
||||
width: 2em;
|
||||
}
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
@include smallScreen {
|
||||
.card {
|
||||
max-height: 85vh;
|
||||
}
|
||||
}
|
||||
@import './variables.scss';
|
||||
@import './responsive.scss';
|
||||
|
||||
.card-dimmer {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
z-index: 100;
|
||||
|
||||
background: rgba(black, 0.65);
|
||||
}
|
||||
|
||||
.card {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
z-index: 100;
|
||||
|
||||
transform: translate(-50%, -50%);
|
||||
|
||||
overflow: hidden;
|
||||
background: #202020e8;
|
||||
|
||||
box-shadow: 0 0 15px 0 black;
|
||||
border: 1px solid #202020e8;
|
||||
|
||||
width: 95%;
|
||||
max-width: 700px;
|
||||
|
||||
max-height: 95vh;
|
||||
|
||||
&-exit {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
margin: 0.5em 0.5em;
|
||||
|
||||
img {
|
||||
width: 2em;
|
||||
}
|
||||
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
@include smallScreen {
|
||||
.card {
|
||||
max-height: 85vh;
|
||||
}
|
||||
}
|
||||
|
||||
+161
-161
@@ -1,161 +1,161 @@
|
||||
@import 'responsive.scss';
|
||||
@import 'variables.scss';
|
||||
@import 'search_box.scss';
|
||||
|
||||
.filters-options {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.actions-bar {
|
||||
display: flex;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
h1.option-title {
|
||||
position: relative;
|
||||
font-size: 1.1em;
|
||||
margin: 0.7em 0 0.25em 0;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
|
||||
width: 50%;
|
||||
height: 2px;
|
||||
background-color: white;
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.options-anim {
|
||||
&-enter-from,
|
||||
&-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
|
||||
&-enter-active,
|
||||
&-leave-active {
|
||||
transition: all 150ms ease;
|
||||
}
|
||||
}
|
||||
|
||||
.bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.options_wrapper {
|
||||
position: absolute;
|
||||
|
||||
background-color: $bgCol;
|
||||
box-shadow: 0 5px 10px 2px #0f0f0f;
|
||||
|
||||
width: 97%;
|
||||
max-width: 550px;
|
||||
|
||||
padding: 1em;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.options_sorters {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5em;
|
||||
|
||||
padding: 0.25em 0.25em 0 0;
|
||||
}
|
||||
|
||||
.options_filter-sections section {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.options_filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
gap: 0.5em;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
|
||||
.sort-option,
|
||||
.filter-option {
|
||||
padding: 0.25em 0.5em;
|
||||
}
|
||||
|
||||
.sort-option[data-selected='true'] {
|
||||
color: $accentCol;
|
||||
}
|
||||
|
||||
.filter-option {
|
||||
&#abandoned {
|
||||
color: salmon;
|
||||
}
|
||||
|
||||
&#fulfilled {
|
||||
color: lightgreen;
|
||||
}
|
||||
|
||||
&#active {
|
||||
color: lightblue;
|
||||
}
|
||||
}
|
||||
|
||||
.search_content {
|
||||
.search {
|
||||
margin: 0.5em auto;
|
||||
}
|
||||
|
||||
.search-box {
|
||||
.search-exit {
|
||||
position: absolute;
|
||||
transform: translateY(-50%);
|
||||
top: 50%;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.options_actions {
|
||||
display: flex;
|
||||
gap: 0.5em;
|
||||
width: 100%;
|
||||
margin-top: 1em;
|
||||
|
||||
button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@include smallScreen() {
|
||||
h1 {
|
||||
text-align: center;
|
||||
|
||||
&::before {
|
||||
width: 75%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.options_wrapper {
|
||||
font-size: 1.1em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.options_filters,
|
||||
.options_sorters {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.filter-section {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
@import 'responsive.scss';
|
||||
@import 'variables.scss';
|
||||
@import 'search_box.scss';
|
||||
|
||||
.filters-options {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
.actions-bar {
|
||||
display: flex;
|
||||
gap: 0.5em;
|
||||
}
|
||||
|
||||
h1.option-title {
|
||||
position: relative;
|
||||
font-size: 1.1em;
|
||||
margin: 0.7em 0 0.25em 0;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
|
||||
width: 50%;
|
||||
height: 2px;
|
||||
background-color: white;
|
||||
border-radius: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.options-anim {
|
||||
&-enter-from,
|
||||
&-leave-to {
|
||||
opacity: 0;
|
||||
transform: translateY(10px);
|
||||
}
|
||||
|
||||
&-enter-active,
|
||||
&-leave-active {
|
||||
transition: all 150ms ease;
|
||||
}
|
||||
}
|
||||
|
||||
.bg {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.options_wrapper {
|
||||
position: absolute;
|
||||
|
||||
background-color: $bgCol;
|
||||
box-shadow: 0 5px 10px 2px #0f0f0f;
|
||||
|
||||
width: 97%;
|
||||
max-width: 550px;
|
||||
|
||||
padding: 1em;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.options_sorters {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.5em;
|
||||
|
||||
padding: 0.25em 0.25em 0 0;
|
||||
}
|
||||
|
||||
.options_filter-sections section {
|
||||
margin: 0.5em 0;
|
||||
}
|
||||
|
||||
.options_filters {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
|
||||
gap: 0.5em;
|
||||
margin: 0.25em 0;
|
||||
}
|
||||
|
||||
.sort-option,
|
||||
.filter-option {
|
||||
padding: 0.25em 0.5em;
|
||||
}
|
||||
|
||||
.sort-option[data-selected='true'] {
|
||||
color: $accentCol;
|
||||
}
|
||||
|
||||
.filter-option {
|
||||
&#abandoned {
|
||||
color: salmon;
|
||||
}
|
||||
|
||||
&#fulfilled {
|
||||
color: lightgreen;
|
||||
}
|
||||
|
||||
&#active {
|
||||
color: lightblue;
|
||||
}
|
||||
}
|
||||
|
||||
.search_content {
|
||||
.search {
|
||||
margin: 0.5em auto;
|
||||
}
|
||||
|
||||
.search-box {
|
||||
.search-exit {
|
||||
position: absolute;
|
||||
transform: translateY(-50%);
|
||||
top: 50%;
|
||||
right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.options_actions {
|
||||
display: flex;
|
||||
gap: 0.5em;
|
||||
width: 100%;
|
||||
margin-top: 1em;
|
||||
|
||||
button {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@include smallScreen() {
|
||||
h1 {
|
||||
text-align: center;
|
||||
|
||||
&::before {
|
||||
width: 75%;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.options_wrapper {
|
||||
font-size: 1.1em;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.options_filters,
|
||||
.options_sorters {
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.filter-section {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
+312
-312
@@ -1,312 +1,312 @@
|
||||
: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: 15px;
|
||||
height: 15px;
|
||||
background-color: transparent;
|
||||
|
||||
&-track {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
&-thumb {
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
&-corner {
|
||||
background-color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--clr-bg);
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-weight: 500;
|
||||
overflow-y: scroll;
|
||||
|
||||
&.no-scroll {
|
||||
overflow-y: hidden;
|
||||
padding-right: 15px;
|
||||
|
||||
@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;
|
||||
}
|
||||
|
||||
&:hover > .content {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
select {
|
||||
border: none;
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
input {
|
||||
background: none;
|
||||
color: white;
|
||||
font-size: 1em;
|
||||
|
||||
background-color: #333;
|
||||
padding: 0.15em 0.5em;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.active-indicator {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
background-color: lightgreen;
|
||||
border-radius: 50%;
|
||||
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
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: none;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
padding: 0.25em 0.5em;
|
||||
|
||||
transition: all 100ms ease;
|
||||
|
||||
&[data-disabled='true'] {
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
opacity: 0.85;
|
||||
}
|
||||
}
|
||||
|
||||
button.btn--filled {
|
||||
background-color: #1a1a1a;
|
||||
border-radius: 0.25em;
|
||||
|
||||
&:hover {
|
||||
background-color: #2a2a2a;
|
||||
}
|
||||
}
|
||||
|
||||
button.btn--action {
|
||||
background-color: #424242;
|
||||
border-radius: 0.25em;
|
||||
|
||||
&:hover {
|
||||
background-color: #555;
|
||||
}
|
||||
}
|
||||
|
||||
button.btn--option {
|
||||
color: white;
|
||||
background-color: #333;
|
||||
|
||||
&.checked {
|
||||
color: var(--clr-primary);
|
||||
font-weight: bold;
|
||||
|
||||
background-color: #3c3c3c;
|
||||
}
|
||||
}
|
||||
|
||||
button.btn--image {
|
||||
font-weight: bold;
|
||||
padding: 0.35em 0.75em;
|
||||
|
||||
img {
|
||||
width: 1.5em;
|
||||
margin-right: 0.5em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
: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: 15px;
|
||||
height: 15px;
|
||||
background-color: transparent;
|
||||
|
||||
&-track {
|
||||
background-color: #333;
|
||||
}
|
||||
|
||||
&-thumb {
|
||||
background-color: #666;
|
||||
}
|
||||
|
||||
&-corner {
|
||||
background-color: #333;
|
||||
}
|
||||
}
|
||||
|
||||
html {
|
||||
scroll-behavior: smooth;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--clr-bg);
|
||||
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-weight: 500;
|
||||
overflow-y: scroll;
|
||||
|
||||
&.no-scroll {
|
||||
overflow-y: hidden;
|
||||
padding-right: 15px;
|
||||
|
||||
@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;
|
||||
}
|
||||
|
||||
&:hover > .content {
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
button,
|
||||
input,
|
||||
select {
|
||||
border: none;
|
||||
font-family: 'Quicksand', sans-serif;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
input {
|
||||
background: none;
|
||||
color: white;
|
||||
font-size: 1em;
|
||||
|
||||
background-color: #333;
|
||||
padding: 0.15em 0.5em;
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
.active-indicator {
|
||||
width: 7px;
|
||||
height: 7px;
|
||||
background-color: lightgreen;
|
||||
border-radius: 50%;
|
||||
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
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: none;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
padding: 0.25em 0.5em;
|
||||
|
||||
transition: all 100ms ease;
|
||||
|
||||
&[data-disabled='true'] {
|
||||
user-select: none;
|
||||
pointer-events: none;
|
||||
opacity: 0.85;
|
||||
}
|
||||
}
|
||||
|
||||
button.btn--filled {
|
||||
background-color: #1a1a1a;
|
||||
border-radius: 0.25em;
|
||||
|
||||
&:hover {
|
||||
background-color: #2a2a2a;
|
||||
}
|
||||
}
|
||||
|
||||
button.btn--action {
|
||||
background-color: #424242;
|
||||
border-radius: 0.25em;
|
||||
|
||||
&:hover {
|
||||
background-color: #555;
|
||||
}
|
||||
}
|
||||
|
||||
button.btn--option {
|
||||
color: white;
|
||||
background-color: #333;
|
||||
|
||||
&.checked {
|
||||
color: var(--clr-primary);
|
||||
font-weight: bold;
|
||||
|
||||
background-color: #3c3c3c;
|
||||
}
|
||||
}
|
||||
|
||||
button.btn--image {
|
||||
font-weight: bold;
|
||||
padding: 0.35em 0.75em;
|
||||
|
||||
img {
|
||||
width: 1.5em;
|
||||
margin-right: 0.5em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+36
-37
@@ -1,41 +1,40 @@
|
||||
.option {
|
||||
font-size: 1em;
|
||||
|
||||
.option {
|
||||
font-size: 1em;
|
||||
|
||||
input {
|
||||
display: none;
|
||||
input {
|
||||
display: none;
|
||||
}
|
||||
|
||||
span {
|
||||
// user-select: none;
|
||||
// -moz-user-select: none;
|
||||
// -webkit-user-select: none;
|
||||
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
padding: 0.5em 0.55em;
|
||||
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
transition: all 0.2s;
|
||||
|
||||
border-radius: 0.5em;
|
||||
|
||||
&:not(.checked) {
|
||||
background-color: #585858;
|
||||
|
||||
&::before {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
|
||||
span {
|
||||
// user-select: none;
|
||||
// -moz-user-select: none;
|
||||
// -webkit-user-select: none;
|
||||
}
|
||||
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
cursor: pointer;
|
||||
|
||||
padding: 0.5em 0.55em;
|
||||
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
transition: all 0.2s;
|
||||
|
||||
border-radius: 0.5em;
|
||||
|
||||
&:not(.checked) {
|
||||
background-color: #585858;
|
||||
|
||||
&::before {
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:focus span {
|
||||
// outline: 1px solid white;
|
||||
border: none;
|
||||
}
|
||||
&:focus span {
|
||||
// outline: 1px solid white;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
+23
-23
@@ -1,23 +1,23 @@
|
||||
@mixin smallScreen() {
|
||||
@media only screen and (max-width: 700px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin midScreen() {
|
||||
@media only screen and (max-width: 1150px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin screenLandscape() {
|
||||
@media only screen and (orientation: landscape) and (max-device-height: 450px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin bigScreen() {
|
||||
@media only screen and (min-width: 2000px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
@mixin smallScreen() {
|
||||
@media only screen and (max-width: 700px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin midScreen() {
|
||||
@media only screen and (max-width: 1150px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin screenLandscape() {
|
||||
@media only screen and (orientation: landscape) and (max-device-height: 450px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@mixin bigScreen() {
|
||||
@media only screen and (min-width: 2000px) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,46 +1,46 @@
|
||||
.scenery-table-section {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
table.scenery-history-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
|
||||
thead {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background-color: #222222;
|
||||
}
|
||||
|
||||
th {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
tr {
|
||||
background-color: #353535;
|
||||
border: none;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 0.75em;
|
||||
border-bottom: solid 5px #111;
|
||||
}
|
||||
}
|
||||
|
||||
.no-history {
|
||||
padding: 1em 0.5em;
|
||||
background-color: #444;
|
||||
font-size: 1.2em;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.bottom-info {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
button {
|
||||
padding: 0.5em;
|
||||
}
|
||||
}
|
||||
.scenery-table-section {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
table.scenery-history-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
|
||||
thead {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background-color: #222222;
|
||||
}
|
||||
|
||||
th {
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
tr {
|
||||
background-color: #353535;
|
||||
border: none;
|
||||
}
|
||||
|
||||
td {
|
||||
padding: 0.75em;
|
||||
border-bottom: solid 5px #111;
|
||||
}
|
||||
}
|
||||
|
||||
.no-history {
|
||||
padding: 1em 0.5em;
|
||||
background-color: #444;
|
||||
font-size: 1.2em;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.bottom-info {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
button {
|
||||
padding: 0.5em;
|
||||
}
|
||||
}
|
||||
|
||||
+52
-52
@@ -1,52 +1,52 @@
|
||||
@import 'responsive.scss';
|
||||
|
||||
.search {
|
||||
label {
|
||||
display: block;
|
||||
color: #ccc;
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
|
||||
&-box {
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
|
||||
border-radius: 0.5em;
|
||||
min-width: 200px;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
&-input {
|
||||
border: none;
|
||||
background-color: #424242;
|
||||
|
||||
padding: 0.35em 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&-exit {
|
||||
background-color: #424242;
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
height: 1.3em;
|
||||
}
|
||||
}
|
||||
|
||||
&-button {
|
||||
width: 80%;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
@include smallScreen {
|
||||
&-box,
|
||||
&-button {
|
||||
margin: 0.5em 0 0 0;
|
||||
}
|
||||
|
||||
&-box {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
@import 'responsive.scss';
|
||||
|
||||
.search {
|
||||
label {
|
||||
display: block;
|
||||
color: #ccc;
|
||||
margin-bottom: 0.25em;
|
||||
}
|
||||
|
||||
&-box {
|
||||
position: relative;
|
||||
|
||||
display: flex;
|
||||
|
||||
border-radius: 0.5em;
|
||||
min-width: 200px;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
&-input {
|
||||
border: none;
|
||||
background-color: #424242;
|
||||
|
||||
padding: 0.35em 0.5em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
&-exit {
|
||||
background-color: #424242;
|
||||
|
||||
img {
|
||||
vertical-align: middle;
|
||||
height: 1.3em;
|
||||
}
|
||||
}
|
||||
|
||||
&-button {
|
||||
width: 80%;
|
||||
max-width: 300px;
|
||||
}
|
||||
|
||||
@include smallScreen {
|
||||
&-box,
|
||||
&-button {
|
||||
margin: 0.5em 0 0 0;
|
||||
}
|
||||
|
||||
&-box {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+17
-17
@@ -1,17 +1,17 @@
|
||||
$primaryCol: #2c2c2c;
|
||||
$secondaryCol: #01e733;
|
||||
|
||||
$bgCol: #1d1d1d;
|
||||
$bgLigtherCol: #5b5b5b;
|
||||
|
||||
$errorCol: #ff1919;
|
||||
$warningCol: #ffe15b;
|
||||
|
||||
$accentCol: #ffc014;
|
||||
$accent2Col: #ff3d5d;
|
||||
|
||||
$skr: #ff5100;
|
||||
$twr: #ffbb00;
|
||||
|
||||
$animDuration: 150ms;
|
||||
$animType: ease-in-out;
|
||||
$primaryCol: #2c2c2c;
|
||||
$secondaryCol: #01e733;
|
||||
|
||||
$bgCol: #1d1d1d;
|
||||
$bgLigtherCol: #5b5b5b;
|
||||
|
||||
$errorCol: #ff1919;
|
||||
$warningCol: #ffe15b;
|
||||
|
||||
$accentCol: #ffc014;
|
||||
$accent2Col: #ff3d5d;
|
||||
|
||||
$skr: #ff5100;
|
||||
$twr: #ffbb00;
|
||||
|
||||
$animDuration: 150ms;
|
||||
$animType: ease-in-out;
|
||||
|
||||
Reference in New Issue
Block a user