v0.6.1: minor fixes
- fixed modal style - modified some texts - worked on stationsNearMe functionality (WIP) - correct sorting of OSM level list
This commit is contained in:
parent
e72ad0cf07
commit
085329929f
10 changed files with 218 additions and 55 deletions
43
style.css
43
style.css
|
@ -301,6 +301,7 @@
|
|||
--station-border: var(--color-gray-400);
|
||||
--station-border-hover: var(--color-gray-600);
|
||||
--elevator-bg: var(--color-gray-100);
|
||||
--backdrop: rgb(0 0 0 / 20%);
|
||||
--elevator-list-gap: 3rem;
|
||||
--item-radius: 1.5rem;
|
||||
--btn-radius: 0.8rem;
|
||||
|
@ -332,6 +333,7 @@
|
|||
--station-border: var(--color-gray-600);
|
||||
--station-border-hover: var(--color-gray-400);
|
||||
--elevator-bg: var(--color-gray-900);
|
||||
--backdrop: rgb(100% 100% 100% / 20%);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -349,26 +351,39 @@ body.has-dialog {
|
|||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
background: rgba(0, 0, 0, 0.3);
|
||||
z-index: 99;
|
||||
background: var(--backdrop);
|
||||
}
|
||||
.dialogs.active {
|
||||
display: block;
|
||||
}
|
||||
|
||||
[role=dialog] {
|
||||
.dialogs [role=dialog] {
|
||||
box-sizing: border-box;
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 15px;
|
||||
border-radius: 1rem;
|
||||
background-color: var(--background);
|
||||
color: var(--color);
|
||||
position: relative;
|
||||
padding: var(--space-xl);
|
||||
padding-bottom: var(--space-2xl);
|
||||
background-color: var(--bg);
|
||||
color: var(--text);
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
border-radius: var(--item-radius) var(--item-radius) 0 0;
|
||||
}
|
||||
[role=dialog] button.close-modal {
|
||||
@media screen and (min-width: 576px) {
|
||||
.dialogs [role=dialog] {
|
||||
position: relative;
|
||||
border-radius: var(--item-radius);
|
||||
}
|
||||
}
|
||||
.dialogs [role=dialog] button.close-modal {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
border-radius: 0 0 0 var(--btn-radius);
|
||||
border: none;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
|
@ -485,6 +500,13 @@ div#updateInfo {
|
|||
align-items: center;
|
||||
gap: var(--space-m);
|
||||
justify-content: end;
|
||||
flex-direction: column;
|
||||
margin-bottom: var(--space-l);
|
||||
}
|
||||
@media screen and (min-width: 576px) {
|
||||
div#updateInfo {
|
||||
flex-direction: row;
|
||||
}
|
||||
}
|
||||
div#updateInfo #oldDataWarning {
|
||||
color: var(--color-red-600);
|
||||
|
@ -1053,6 +1075,9 @@ span[data-icon][data-icon=location-searching] {
|
|||
span[data-icon][data-icon=load] {
|
||||
mask-image: url(/md_icons/load.svg);
|
||||
}
|
||||
span[data-icon][data-icon=close] {
|
||||
mask-image: url(/md_icons/close.svg);
|
||||
}
|
||||
span[data-icon].spinner {
|
||||
animation-delay: 0s;
|
||||
animation-direction: normal;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue