Compare commits

..

No commits in common. "107880787550c964c123ddfb4ad15b861324bff3" and "c180e565843fe04ea88c9d5bf90b7864bc776bcd" have entirely different histories.

2 changed files with 3 additions and 21 deletions

View file

@ -77,7 +77,7 @@ header {
left: env(titlebar-area-x, 0); left: env(titlebar-area-x, 0);
top: env(titlebar-area-y, 0); top: env(titlebar-area-y, 0);
width: env(titlebar-area-width, 100%); width: env(titlebar-area-width, 100%);
min-height: env(titlebar-area-height, 36px); height: env(titlebar-area-height, 36px);
-webkit-app-region: drag; -webkit-app-region: drag;
app-region: drag; app-region: drag;
@ -88,9 +88,7 @@ header {
} }
.header-placeholder { .header-placeholder {
box-sizing: border-box; margin-top: env(titlebar-area-height, 36px);
height: max(env(titlebar-area-height, 36px), 42px);
margin-bottom: 2px;
} }
header.embedded { header.embedded {
@ -98,28 +96,12 @@ header.embedded {
color: white; color: white;
} }
.header.embedded .IC {
color: #00ee00 !important;
}
.header.embedded .IR, .header.embedded .IRN {
color: #ffaaaa !important;
}
@media (display-mode: window-controls-overlay) { @media (display-mode: window-controls-overlay) {
header { header {
background-color: #0000ff; background-color: #0000ff;
color: white; color: white;
} }
.header .IC {
color: #00ee00 !important;
}
.header .IR, .header .IRN {
color: #ffaaaa !important;
}
header .back { header .back {
-webkit-app-region: no-drag; -webkit-app-region: no-drag;
app-region: no-drag; app-region: no-drag;

2
sw.js
View file

@ -1,4 +1,4 @@
const VERSION = 'v32' const VERSION = 'v30'
const API_ORIGIN = 'https://scraper.infotren.dcdev.ro/' const API_ORIGIN = 'https://scraper.infotren.dcdev.ro/'
const API_TRAINS = `${API_ORIGIN}v3/trains` const API_TRAINS = `${API_ORIGIN}v3/trains`
const API_STATIONS = `${API_ORIGIN}v3/stations` const API_STATIONS = `${API_ORIGIN}v3/stations`