aboutsummaryrefslogtreecommitdiff
path: root/src/client/style/_component-search.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/style/_component-search.scss')
-rw-r--r--src/client/style/_component-search.scss52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/client/style/_component-search.scss b/src/client/style/_component-search.scss
new file mode 100644
index 0000000..cac1ae3
--- /dev/null
+++ b/src/client/style/_component-search.scss
@@ -0,0 +1,52 @@
+.search {
+ border-radius: 2px;
+ background-color: white;
+
+ &--has-focus {
+ box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
+ }
+
+ &__results--has-results {
+ border-top: 1px #BDBDBD solid;
+ }
+
+ &__icon-wrapper {
+ height: 54px;
+ padding: 15px;
+ svg {
+ height: 24px;
+ width: 24px;
+ }
+ }
+
+ &__input-wrapper {
+ display: flex;
+ height: 54px;
+
+ input {
+ border: 0;
+ background-color: transparent;
+ flex-grow: 1;
+ height: inherit;
+ padding: 16px;
+ padding-left: 0px;
+ font-size: 16px;
+ outline: none;
+ }
+ }
+
+ &__result {
+ display: flex;
+
+ &--selected {
+ background-color: lightgray;
+ }
+
+ &__text {
+ padding: 15px;
+ padding-left: 0px;
+ font-size: 16px;
+ transform: translate(0, 3px);
+ }
+ }
+}