From 998744084264dcf4fbbd2c52ab76cf392803fb05 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 9 Dec 2016 15:14:15 +0100 Subject: switched to non-iframe schedule viewer --- public/stylesheets/style.css | 1 + 1 file changed, 1 insertion(+) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 5c51bb4..616126e 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -132,6 +132,7 @@ li:hover { width: 100vw; border: 0; padding: 0; + overflow: auto; } body.searched #search-space-filler { -- cgit v1.1 From cc60c30509e5b084f2b0c01ba22a6e43a446887f Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 9 Dec 2016 23:02:52 +0100 Subject: add week selector --- public/stylesheets/style.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 616126e..86f232e 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -177,6 +177,10 @@ body.searched #search-space-filler { justify-content: center; } +#week-selector .current.changed { + font-weight: bold; +} + #week-selector button { background: transparent; color: white; -- cgit v1.1 From d67c1945b7d737d3293ea9fff95ec7f30a8f47de Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 14 Dec 2016 13:16:31 +0100 Subject: add compact mode --- public/stylesheets/style.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 7c39421..db85f71 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -369,4 +369,17 @@ body.no-input #week-selector { .tooltip { display: none; +} + +@media screen and (max-width: 580px) { + table table tr { + display: flex; + flex-direction: column; + } + + table * { + margin: 0 !important; + padding: 0 !important; + line-height: 13px; + } } \ No newline at end of file -- cgit v1.1 From afd118ba4fb6261f9614df9e2cc88ebcfa5ac3d3 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Thu, 15 Dec 2016 12:25:39 +0100 Subject: changed compact threshold --- public/stylesheets/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index db85f71..f2f1f7f 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -371,15 +371,15 @@ body.no-input #week-selector { display: none; } -@media screen and (max-width: 580px) { +@media screen and (max-width: 600px) { table table tr { display: flex; flex-direction: column; } table * { - margin: 0 !important; - padding: 0 !important; + padding: 0; line-height: 13px; + font-size: 13px; } } \ No newline at end of file -- cgit v1.1 From b6542a78c14b3d2e350b6620272a88094abda1c1 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Thu, 15 Dec 2016 14:13:43 +0100 Subject: add user frendly error handling --- public/stylesheets/style.css | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index f2f1f7f..ab046ac 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -382,4 +382,11 @@ body.no-input #week-selector { line-height: 13px; font-size: 13px; } +} + +.error { + display: flex; + justify-content: center; + align-items: center; + background-color: #ececec; } \ No newline at end of file -- cgit v1.1 From 31be7d12b8c9b1a2ad163e65808a28656adfbb45 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 16 Dec 2016 13:57:57 +0100 Subject: add ability to scroll week selector away --- public/stylesheets/style.css | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index ab046ac..3ba1e4c 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -5,11 +5,6 @@ html, body { margin: 0; font-family: 'Roboto', sans-serif; - display: flex; - -js-display: flex; - flex-direction: column; - width: 100vw; - height: 100vh; } .other { @@ -23,9 +18,7 @@ html, body { background-color: #F44336; margin: 0 auto; width: 100%; - position: absolute; - /*box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);*/ - /*box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);*/ + position: fixed; box-shadow: 0 0.5px 1.5px rgba(0,0,0,0.06), 0 0.5px 1px rgba(0,0,0,0.12); } @@ -128,10 +121,6 @@ li:hover { } #schedule { - flex-grow: 1; - width: 100vw; - border: 0; - padding: 0; overflow: auto; } @@ -389,4 +378,12 @@ body.no-input #week-selector { justify-content: center; align-items: center; background-color: #ececec; +} + +body.week-selector-not-visible #search { + box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); +} + +body.week-selector-not-visible #week-selector { + box-shadow: inherit; } \ No newline at end of file -- cgit v1.1 From b785f368415a08143250394d7fbf9cf594abe46a Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 16 Dec 2016 14:06:55 +0100 Subject: fix error styling --- public/stylesheets/style.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 3ba1e4c..11bec66 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -374,10 +374,9 @@ body.no-input #week-selector { } .error { - display: flex; - justify-content: center; - align-items: center; - background-color: #ececec; + text-align: center; + margin-top: 100px; + padding: 16px; } body.week-selector-not-visible #search { -- cgit v1.1 From f9ce970f78d6527606a5a1d0b3fba899f9aea9ed Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 21 Dec 2016 12:04:23 +0100 Subject: always show scrollbar --- public/stylesheets/style.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 11bec66..8468f3e 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -226,6 +226,10 @@ ul a { display: none; } +body:not(.no-input) { + overflow-y: scroll; +} + body.no-input #week-selector { display: none; } -- cgit v1.1