This commit is contained in:
2025-09-09 00:10:53 +03:00
parent 38f2a05107
commit 204fc092d7
239 changed files with 22447 additions and 9536 deletions

View File

@@ -1,5 +1,13 @@
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');
:root {
--FontSize1: 12px;
--FontSize2: 13px;
--FontSize3: 14px;
--FontSize4: 15px;
--FontSize5: 16px;
}
@media (prefers-color-scheme: light) {
:root {
/* PrimaryColor */
@@ -9,7 +17,7 @@
/* BGColor */
--ColorThemes0: #fbfbfb;
--ColorThemes1: #f3f3f3;
--ColorThemes2: #e5e5df;
--ColorThemes2: #dbdbd1;
/* TextColor */
--ColorThemes3: #313131;
@@ -32,7 +40,7 @@
/* BGColor */
--ColorThemes0: #1c1c19;
--ColorThemes1: #21221d;
--ColorThemes2: #3a3a39;
--ColorThemes2: #525151;
/* TextColor */
--ColorThemes3: #f3f3f3;
@@ -52,7 +60,7 @@
padding: 0;
font-family: 'Roboto', sans-serif;
margin: 0;
font-weight: 300;
font-weight: 400;
outline: none;
}
@@ -84,14 +92,17 @@
::-webkit-scrollbar-track {
background: 0;
border: 0;
margin: 0;
border-radius: var(--border-radius);
background-color: transparent;
border: 0;
margin-bottom: 10px;
margin-top: 10px;
}
}
a {
text-decoration: none;
font-size: 15px;
font-size: var(--FontSize3);
font-weight: 700;
cursor: pointer;
}
@@ -132,13 +143,20 @@ select {
background-repeat: no-repeat;
background-position: right 0.7rem top 50%;
background-size: 0.65rem auto;
font-size: var(--FontSize2);
}
.hold-button{
.hold-button {
user-select: none;
}
.custom-checkbox {
position: absolute;
z-index: -1;
opacity: 0;
}
.custom-checkbox {
position: absolute;
z-index: -1;
@@ -159,7 +177,7 @@ select {
flex-shrink: 0;
flex-grow: 0;
border: 1px solid #adb5bd;
border-radius: 10px;
border-radius: calc(var(--border-radius) - 5px);
margin-right: 0.5em;
background-repeat: no-repeat;
background-position: center center;
@@ -187,8 +205,143 @@ select {
.custom-checkbox:disabled+label::before {
background-color: #e9ecef;
opacity: 0.6;
cursor: no-drop;
}
body.modal-open {
overflow: hidden;
}
/* Банер з прохання встановлення PWA */
#blur-backdrop {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.3);
backdrop-filter: blur(8px);
z-index: 9998;
}
.pwa-overlay {
position: fixed;
inset: 0;
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.pwa-overlay>.popup {
background: var(--ColorThemes0);
padding: 24px 32px;
border-radius: var(--border-radius);
max-width: 90%;
width: 320px;
text-align: center;
font-family: sans-serif;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
animation: fadeIn 0.3s ease-out;
display: flex;
flex-direction: column;
align-items: center;
}
.pwa-overlay>.popup h2 {
margin-bottom: 12px;
color: var(--ColorThemes3);
opacity: 0.8;
}
.pwa-overlay>.popup p {
margin-bottom: 10px;
color: var(--ColorThemes3);
opacity: 0.6;
}
.pwa-overlay>.popup ol {
text-align: justify;
font-size: var(--FontSize4);
margin-bottom: 10px;
max-width: 290px;
}
.pwa-overlay>.popup li {
list-style-type: none;
font-size: var(--FontSize3);
}
.pwa-overlay>.popup li span {
vertical-align: middle;
display: inline-block;
width: 22px;
height: 22px;
}
.pwa-overlay>.popup li span svg {
fill: var(--PrimaryColor);
}
.pwa-overlay>.popup>div {
margin-top: 10px;
display: flex;
justify-content: center;
gap: 10px;
}
.pwa-overlay>.popup>div>button {
padding: 8px 16px;
border: none;
border-radius: calc(var(--border-radius) - 8px);
cursor: pointer;
font-size: var(--FontSize3);
}
#pwa-install-button {
background-color: var(--PrimaryColor);
color: var(--PrimaryColorText);
}
#pwa-close-button,
#pwa-ios-close-button {
background-color: #ccc;
color: #333;
}
.pwa-hidden {
display: none;
}
@media (max-width: 450px) {
.pwa-overlay>.popup {
padding: 17px 10px;
}
.pwa-overlay>.popup h2 {
font-size: 22px;
}
.pwa-overlay>.popup p {
font-size: var(--FontSize4);
}
}
@keyframes fadeIn {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
#swipe_updater {
position: absolute;
top: 0px;
@@ -263,13 +416,13 @@ select {
#update_banner .headline {
font-weight: 800;
font-size: 15px;
font-size: var(--FontSize4);
color: var(--PrimaryColorText);
font-family: 'Roboto', sans-serif;
}
#update_banner .subhead {
font-size: 13px;
font-size: var(--FontSize2);
text-align: center;
color: var(--PrimaryColorText);
font-family: 'Roboto', sans-serif;
@@ -391,7 +544,7 @@ select {
#navigation>nav>li>div>b {
margin-left: 15px;
font-size: 14px;
font-size: var(--FontSize3);
font-weight: 300;
color: var(--ColorThemes3);
white-space: nowrap;
@@ -472,7 +625,7 @@ select {
height: 60px;
min-height: 60px;
padding: 0;
z-index: 99999990;
z-index: 9991;
bottom: -1px;
border: 0;
margin: 0;
@@ -548,4 +701,45 @@ select {
padding-bottom: 80px;
height: auto;
}
}
.leaflet-popup-content {
margin: 8px 10px !important;
padding: 0 !important;
}
.leaflet-popup-content > .map_dell {
border-radius: 10px;
padding: 5px 10px;
width: 100%;
margin-top: 10px;
background: #C14D4D;
color: #fff;
}
.leaflet-popup>a {
display: none !important;
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
background: var(--ColorThemes0) !important;
color: var(--ColorThemes3) !important;
}
.leaflet_drop {}
.leaflet_drop>div {
background: #C14D4D;
width: 16px;
height: 16px;
border-radius: 50%;
border: 2px solid #fff;
margin: -3px 0 0 -3px;
}
.leaflet-pm-tooltip {
display: none !important;
}
.tooltip-hidden {
display: none;
}