Browse Source

Fix header background

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

7
base.css

@ -48,6 +48,7 @@ footer {
align-items: flex-end; align-items: flex-end;
background-color: #e0e0e0; background-color: #e0e0e0;
padding-bottom: env(safe-area-inset-bottom, 0);
} }
footer * { footer * {
@ -80,6 +81,8 @@ header {
-webkit-app-region: drag; -webkit-app-region: drag;
app-region: drag; app-region: drag;
background-color: white;
display: flex; display: flex;
align-items: center; align-items: center;
} }
@ -105,6 +108,10 @@ header.embedded {
filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(83deg) brightness(104%) contrast(101%); filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(83deg) brightness(104%) contrast(101%);
} }
.header-placeholder {
background-color: #0000ff;
}
} }
header .left, header .right { header .left, header .right {

2
sw.js

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

Loading…
Cancel
Save