Browse Source

Fix colors in embedded header

master
Kenneth Bruen 2 years ago
parent
commit
1078807875
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 16
      base.css
  2. 2
      sw.js

16
base.css

@ -98,12 +98,28 @@ 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

@ -1,4 +1,4 @@
const VERSION = 'v31' const VERSION = 'v32'
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`

Loading…
Cancel
Save