From 3871723867ab3b1af4e5c4f98dbd6c2ba22139fb Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 17 Jul 2017 17:17:26 +0200 Subject: [locationinfo] Better support for old webkit --- .../locationinfo/frontend/doorsign.html | 80 +++++++++++++--------- 1 file changed, 46 insertions(+), 34 deletions(-) (limited to 'modules-available/locationinfo/frontend/doorsign.html') diff --git a/modules-available/locationinfo/frontend/doorsign.html b/modules-available/locationinfo/frontend/doorsign.html index 8acdb07b..5e6306a0 100755 --- a/modules-available/locationinfo/frontend/doorsign.html +++ b/modules-available/locationinfo/frontend/doorsign.html @@ -72,17 +72,21 @@ optional: overflow: hidden; flex: 1 1 auto; text-overflow: ellipsis; + position: relative; + display: flex; + flex-direction: column; + justify-content: center; } .col-square { order: 1000; float: right; - width: 46pt; - width: 4vw; - height: 46pt; - height: 4vw; - font-size: 35pt; - font-size: 2.5vw; + width: 70pt; + width: 6vw; + height: 70pt; + height: 6vw; + font-size: 56pt; + font-size: 4.25vw; flex: 0 0 auto; text-align: center; padding: 0; @@ -98,13 +102,13 @@ optional: font-size: 6vw; } - .count-2 .col-square { - width: 70pt; - width: 6vw; - height: 70pt; - height: 6vw; - font-size: 66pt; - font-size: 5vw; + .count-3 .col-square { + width: 46pt; + width: 4vw; + height: 46pt; + height: 4vw; + font-size: 35pt; + font-size: 2.5vw; } .progressbar { @@ -117,9 +121,10 @@ optional: } .header-font { - font-size: 41pt; - font-size: 3vw; + font-size: 25pt; + font-size: 1.8vw; font-weight: bold; + padding: 10px; } .nowrap { @@ -131,19 +136,14 @@ optional: color: #ddd; } - .count-2 .header-font { - font-size: 25pt; - font-size: 1.8vw; - } - .count-3 .header-font { font-size: 16pt; font-size: 1.2vw; } .count-1 .header-font { - font-size: 20pt; - font-size: 1.5vw; + font-size: 30pt; + font-size: 2.25vw; } .seats-counter { @@ -151,13 +151,11 @@ optional: margin: auto; font-weight: bold; padding: 0; - height: 100%; text-shadow: #000 2px 2px; } .center { text-align: center; - margin: auto; } .room-layout { @@ -337,6 +335,11 @@ optional: background: rgba(0, 0, 0, 0); } + .wc-grid-timeslot-header, + .wc-header .wc-time-column-header { + width: 50px; + } + @@ -395,7 +398,13 @@ optional: }; $(document).ready(function () { - var uuid = getUrlParameter("uuid"); + var uuid; + uuid = window.location.pathname.match( /[a-z0-9\-]{36}/gi ); + if (uuid === null) { + uuid = getUrlParameter("uuid"); + } else { + uuid = uuid[0]; + } if (!uuid) { console.log('No panel uuid given'); $("body").empty().append($('