From 10ba0f1b863e97e5ecfa19e81fd9ba2a0425301a Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 6 Dec 2016 18:04:05 +0100 Subject: remove box shadow from #search when full height --- 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 bf9ab43..e4d2e2e 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -216,6 +216,7 @@ ul a { body.no-input #search { height: 100%; background-color: #ececec; + box-shadow: none; } body.no-input #search button { -- cgit v1.1 From 6bc04592cc7511775cdec9902c841aca7a0d2a6c Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 6 Dec 2016 18:49:25 +0100 Subject: fixed week buttons for IE9 --- public/stylesheets/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index e4d2e2e..c136867 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -158,7 +158,7 @@ li:hover { padding: 5px; } -#week-selector input[type='button'] { +#week-selector button { background: inherit; color: white; border: 0px; @@ -182,7 +182,7 @@ input { background: none; } -#week-selector input[type='button']:focus, #search #overflow-button:focus, #search .fav:focus { +#week-selector button:focus, #search #overflow-button:focus, #search .fav:focus { outline: none; background-color: #D32F2F; } -- cgit v1.1 From 186b477085d63e23566d9ac4c11a36cde178e14e Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 6 Dec 2016 19:24:31 +0100 Subject: hide week selector when didn't search --- public/stylesheets/style.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index c136867..78974fb 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -117,8 +117,8 @@ li:hover { padding: 0; } -#search-space-filler { - height: 73px; +body.searched #search-space-filler { + height: 70px; } .autocomplete-wrapper { @@ -208,11 +208,15 @@ ul a { display: none; } +body.no-input #week-selector { + display: none; +} + @media screen and (min-height: 400px) { body.no-input { background-color: #ececec; } - + body.no-input #search { height: 100%; background-color: #ececec; -- cgit v1.1 From 2e9a1e4bbb20b44bbd3416be2f2bfafbfca8dacf Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 6 Dec 2016 19:55:39 +0100 Subject: only show fav button when searched --- public/stylesheets/style.css | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 78974fb..c3fe06c 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -180,6 +180,12 @@ input { padding: 4px; border-radius: 2px; background: none; + + display: none; +} + +body.searched #search .fav { + display: block; } #week-selector button:focus, #search #overflow-button:focus, #search .fav:focus { -- cgit v1.1 From a4fad200782966a4b850c5635c864915c18a8bd1 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Tue, 6 Dec 2016 20:11:35 +0100 Subject: centered week selector text verticaly --- public/stylesheets/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'public/stylesheets') diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index c3fe06c..869ae89 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -153,9 +153,10 @@ body.searched #search-space-filler { } #week-selector .current { + display: flex; flex-grow: 1; - text-align: center; - padding: 5px; + align-items: center; + justify-content: center; } #week-selector button { -- cgit v1.1