From 107880787550c964c123ddfb4ad15b861324bff3 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Mon, 23 Jan 2023 05:11:09 +0100 Subject: [PATCH] Fix colors in embedded header --- base.css | 16 ++++++++++++++++ sw.js | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/base.css b/base.css index 46140c8..67286f3 100644 --- a/base.css +++ b/base.css @@ -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; diff --git a/sw.js b/sw.js index 6a598f9..4d34b2b 100755 --- a/sw.js +++ b/sw.js @@ -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`