diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-12-14 06:47:21 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-12-14 06:47:21 +0100 |
commit | fc9595e99cbff8cb3297ab36033fa918bb7eda2b (patch) | |
tree | 610c4ca224685c421d4508eedb3fc0c3d068c486 /public | |
parent | ba97fd2a3ce5fffecb1dc5be62dbd370eb3235ae (diff) |
improve wagon output in journey details
Diffstat (limited to 'public')
-rw-r--r-- | public/service-worker.js | 26 | ||||
-rw-r--r-- | public/static/css/local.css | 19 | ||||
-rw-r--r-- | public/static/css/material-icons.css | 8 | ||||
-rw-r--r-- | public/static/manifest.json | 12 | ||||
l--------- | public/static/v32 (renamed from public/static/v30) | 0 |
5 files changed, 42 insertions, 23 deletions
diff --git a/public/service-worker.js b/public/service-worker.js index 8268bd0..1302609 100644 --- a/public/service-worker.js +++ b/public/service-worker.js @@ -1,19 +1,19 @@ -const CACHE_NAME = 'static-cache-v31'; +const CACHE_NAME = 'static-cache-v32'; const FILES_TO_CACHE = [ '/favicon.ico', '/offline.html', - '/static/v31/css/light.min.css', - '/static/v31/css/dark.min.css', - '/static/v31/css/material-icons.css', - '/static/v31/css/local.css', - '/static/v31/fonts/MaterialIcons-Regular.woff2', - '/static/v31/fonts/MaterialIcons-Regular.woff', - '/static/v31/fonts/MaterialIcons-Regular.ttf', - '/static/v31/js/jquery-3.4.1.min.js', - '/static/v31/js/materialize.min.js', - '/static/v31/js/travelynx-actions.min.js', - '/static/v31/js/autocomplete.min.js', - '/static/v31/js/geolocation.min.js', + '/static/v32/css/light.min.css', + '/static/v32/css/dark.min.css', + '/static/v32/css/material-icons.css', + '/static/v32/css/local.css', + '/static/v32/fonts/MaterialIcons-Regular.woff2', + '/static/v32/fonts/MaterialIcons-Regular.woff', + '/static/v32/fonts/MaterialIcons-Regular.ttf', + '/static/v32/js/jquery-3.4.1.min.js', + '/static/v32/js/materialize.min.js', + '/static/v32/js/travelynx-actions.min.js', + '/static/v32/js/autocomplete.min.js', + '/static/v32/js/geolocation.min.js', ]; self.addEventListener('install', (evt) => { diff --git a/public/static/css/local.css b/public/static/css/local.css index 7bb16a3..2eb14f0 100644 --- a/public/static/css/local.css +++ b/public/static/css/local.css @@ -11,6 +11,25 @@ td.cancelled { text-decoration: line-through; } +.wagons span { + margin-right: 0.5ex; + color: #808080; +} + +.wagons .wagonclass { + font-weight: bold; + color: inherit; +} + +.wagons .wagonnum { + margin-right: 0; + color: inherit; +} + +.wagons .checksum:before { + content: "-"; +} + h1 { font-size: 2.92rem; margin: 1.9466666667rem 0 1.168rem 0; diff --git a/public/static/css/material-icons.css b/public/static/css/material-icons.css index d2806ec..07005de 100644 --- a/public/static/css/material-icons.css +++ b/public/static/css/material-icons.css @@ -2,12 +2,12 @@ font-family: 'Material Icons'; font-style: normal; font-weight: 400; - src: url(/static/v31/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */ + src: url(/static/v32/fonts/MaterialIcons-Regular.eot); /* For IE6-8 */ src: local('Material Icons'), local('MaterialIcons-Regular'), - url(/static/v31/fonts/MaterialIcons-Regular.woff2) format('woff2'), - url(/static/v31/fonts/MaterialIcons-Regular.woff) format('woff'), - url(/static/v31/fonts/MaterialIcons-Regular.ttf) format('truetype'); + url(/static/v32/fonts/MaterialIcons-Regular.woff2) format('woff2'), + url(/static/v32/fonts/MaterialIcons-Regular.woff) format('woff'), + url(/static/v32/fonts/MaterialIcons-Regular.ttf) format('truetype'); } .material-icons { diff --git a/public/static/manifest.json b/public/static/manifest.json index 8e67133..5a44a3f 100644 --- a/public/static/manifest.json +++ b/public/static/manifest.json @@ -3,27 +3,27 @@ "short_name": "Travelynx", "scope": "/", "icons": [{ - "src": "/static/v31/icons/icon-128x128.png", + "src": "/static/v32/icons/icon-128x128.png", "sizes": "128x128", "type": "image/png" }, { - "src": "/static/v31/icons/icon-144x144.png", + "src": "/static/v32/icons/icon-144x144.png", "sizes": "144x144", "type": "image/png" }, { - "src": "/static/v31/icons/icon-152x152.png", + "src": "/static/v32/icons/icon-152x152.png", "sizes": "152x152", "type": "image/png" }, { - "src": "/static/v31/icons/icon-192x192.png", + "src": "/static/v32/icons/icon-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/static/v31/icons/icon-256x256.png", + "src": "/static/v32/icons/icon-256x256.png", "sizes": "256x256", "type": "image/png" }, { - "src": "/static/v31/icons/icon-512x512.png", + "src": "/static/v32/icons/icon-512x512.png", "sizes": "512x512", "type": "image/png" }], diff --git a/public/static/v30 b/public/static/v32 index 945c9b4..945c9b4 120000 --- a/public/static/v30 +++ b/public/static/v32 |