summaryrefslogtreecommitdiff
path: root/templates/wagenreihung.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2020-04-20 20:20:52 +0200
committerDaniel Friesel <derf@finalrewind.org>2020-04-20 20:20:52 +0200
commiteeedb40bdc0510dec0e2ddca149e82bff7495d0a (patch)
treeb80eb0f9908016382e8a36d9dd9f321cdd44473f /templates/wagenreihung.html.ep
parent375f02ad634c10030f47af94f0530dda0d2d044d (diff)
switch to a proper dark theme using javascript and sass3.1.0
The dark=1 option is still supported, but no longer visible in the UI.
Diffstat (limited to 'templates/wagenreihung.html.ep')
-rw-r--r--templates/wagenreihung.html.ep4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/wagenreihung.html.ep b/templates/wagenreihung.html.ep
index 53be3a1..c4fade8 100644
--- a/templates/wagenreihung.html.ep
+++ b/templates/wagenreihung.html.ep
@@ -64,10 +64,10 @@
% my $bg = '';
% my $extra_class = '';
% if ($wagon->is_first_class) {
-% $bg = 'background-color: #ffff99;';
+% $extra_class .= ' firstclass';
% }
% if ($wagon->is_locomotive or $wagon->is_powercar) {
-% $bg = 'background-color: #cccccc;';
+% $extra_class .= ' powercar';
% }
% if ($wagon->train_no ne $train_no) {
% $extra_class .= ' nondestwagon';