diff options
| author | Monika <monika_hedman@brown.edu> | 2019-06-24 14:46:01 -0400 |
|---|---|---|
| committer | Monika <monika_hedman@brown.edu> | 2019-06-24 14:46:01 -0400 |
| commit | a9ae54044fdb7f10dd01473e711e1afea00d33c1 (patch) | |
| tree | d7ac8f18371610dedef045ff429814d1f6260a87 /src/client/views/search/SearchBox.scss | |
| parent | c886665b3f244389a09e05ab4805c1225de54d7e (diff) | |
filter box is looking NICEEE
Diffstat (limited to 'src/client/views/search/SearchBox.scss')
| -rw-r--r-- | src/client/views/search/SearchBox.scss | 56 |
1 files changed, 44 insertions, 12 deletions
diff --git a/src/client/views/search/SearchBox.scss b/src/client/views/search/SearchBox.scss index c98c7c28f..57002a94a 100644 --- a/src/client/views/search/SearchBox.scss +++ b/src/client/views/search/SearchBox.scss @@ -1,4 +1,5 @@ @import "../globalCssVariables"; +@import "./NaviconButton.scss"; .searchBox-bar { height: 32px; @@ -49,7 +50,6 @@ .filter-form { background: $dark-color; - // height: 400px; height: auto; overflow: auto; position: relative; @@ -64,27 +64,52 @@ margin-bottom: 10px; } - .filter-header:hover .filter-title{ + .filter-header:hover .filter-title { transform: scale(1.05); } .filter-panel { - display: none; + max-height: 0px; width: 100%; + overflow: hidden; + opacity: 0; + transform-origin: top; + -webkit-transition: all 0.2s ease-in-out; + -moz-transition: all 0.2s ease-in-out; + -o-transition: all 0.2s ease-in-out; + transition: all 0.2s ease-in-out; } .close-icon { - height: 100%; + width: 20%; opacity: .6; - justify-content: right; position: relative; - .fontawesome-icon { - margin-right: 0px; - height: 30px; + display: inline-block; + + .line { + display: block; + background: $alt-accent; + width: $width-line; + height: $height-line; + position: absolute; + right: 0; + border-radius: ($height-line / 2); + + &.line-1 { + transform: rotate(45deg); + top: 45%; + } + + &.line-2 { + transform: rotate(-45deg); + top: 45%; + } } + + } - .close-icon:hover{ + .close-icon:hover { opacity: 1; } } @@ -98,7 +123,7 @@ text-transform: uppercase; letter-spacing: 2px; font-size: 25; - width: 100%; + width: 80%; } .searchBox-results { @@ -120,11 +145,19 @@ margin-bottom: 5px; } +.filter-buttons { + border-color: rgba(178, 206, 248, .2); // $darker-alt-accent + border-top-style: solid; + padding-top: 10px; +} + .filter-div { margin-top: 10px; margin-bottom: 10px; - display: inline-block; + display: block; width: 100%; + border-color: rgba(178, 206, 248, .2); // $darker-alt-accent + border-top-style: solid; } .collection-title { @@ -150,5 +183,4 @@ width: 100%; display: grid; grid-template-columns: 18% 20% 60%; - // white-space: space-between; }
\ No newline at end of file |
