Fix colors in embedded header

This commit is contained in:
Kenneth Bruen 2023-01-23 05:11:09 +01:00
parent 32facdbd72
commit 1078807875
Signed by: kbruen
GPG key ID: C1980A470C3EE5B1
2 changed files with 17 additions and 1 deletions

View file

@ -98,12 +98,28 @@ header.embedded {
color: white;
}
.header.embedded .IC {
color: #00ee00 !important;
}
.header.embedded .IR, .header.embedded .IRN {
color: #ffaaaa !important;
}
@media (display-mode: window-controls-overlay) {
header {
background-color: #0000ff;
color: white;
}
.header .IC {
color: #00ee00 !important;
}
.header .IR, .header .IRN {
color: #ffaaaa !important;
}
header .back {
-webkit-app-region: no-drag;
app-region: no-drag;

2
sw.js
View file

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