mirror of
https://codeberg.org/kbruen/kai.infotren.git
synced 2025-02-22 17:19:37 +02:00
Fix colors in embedded header
This commit is contained in:
parent
32facdbd72
commit
1078807875
2 changed files with 17 additions and 1 deletions
16
base.css
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
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…
Add table
Reference in a new issue