From 24f2d1ca1f762d0cc634b650cc68591e9b46a9fe Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Tue, 20 Mar 2018 14:46:51 +0100 Subject: Add basic styling to room finder --- src/client/style/_component-room-finder.scss | 23 +++++++++++++++++++++++ src/client/style/index.scss | 5 +++++ 2 files changed, 28 insertions(+) create mode 100644 src/client/style/_component-room-finder.scss (limited to 'src/client/style') diff --git a/src/client/style/_component-room-finder.scss b/src/client/style/_component-room-finder.scss new file mode 100644 index 0000000..1798ef9 --- /dev/null +++ b/src/client/style/_component-room-finder.scss @@ -0,0 +1,23 @@ +.room-finder { + display: flex; + margin: 8px; + padding: 8px; + border-radius: 2px; + background-color: #D32F2F; + + .mdc-button:not(:disabled) { + color: white; + + &::before, &::after { + background-color: white; + } + } + + .close-button { + min-width: 48px; + + .mdc-button__icon { + margin-right: 0; + } + } +} diff --git a/src/client/style/index.scss b/src/client/style/index.scss index b74420c..5e31141 100644 --- a/src/client/style/index.scss +++ b/src/client/style/index.scss @@ -27,6 +27,10 @@ body { margin: 0; } +.grow { + flex-grow: 1; +} + @import "page-index"; @import "page-user"; @@ -34,3 +38,4 @@ body { @import "component-help-box"; @import "component-week-selector"; @import "component-loading"; +@import "component-room-finder"; -- cgit v1.1