diff options
| author | Monika <monika_hedman@brown.edu> | 2019-06-25 12:38:51 -0400 |
|---|---|---|
| committer | Monika <monika_hedman@brown.edu> | 2019-06-25 12:38:51 -0400 |
| commit | b954eeb57c1ba7a459d85ca7f98855e1b4134267 (patch) | |
| tree | dea7c5d33ac622c83105f2bf683273374f8e9199 /src/client/views/search/IconButton.scss | |
| parent | 469b070c1c0f5a9d08e7824a4ce430b84f3fcce5 (diff) | |
lots of clean up (css & variables)
Diffstat (limited to 'src/client/views/search/IconButton.scss')
| -rw-r--r-- | src/client/views/search/IconButton.scss | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/src/client/views/search/IconButton.scss b/src/client/views/search/IconButton.scss new file mode 100644 index 000000000..94b294ba5 --- /dev/null +++ b/src/client/views/search/IconButton.scss @@ -0,0 +1,52 @@ +@import "../globalCssVariables"; + +.type-outer { + display: flex; + flex-direction: column; + align-items: center; + width: 45px; + height: 60px; + + .type-icon { + height: 45px; + width: 45px; + color: $light-color; + border-radius: 50%; + display: flex; + justify-content: center; + align-items: center; + -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; + font-size: 2em; + + .fontawesome-icon { + height: 24px; + width: 24px; + } + } + + .filter-description { + text-transform: capitalize; + font-size: 10; + text-align: center; + height: 15px; + margin-top: 5px; + opacity: 0; + -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; + } + + .type-icon:hover { + transform: scale(1.1); + background-color: $darker-alt-accent; + opacity: 1; + + +.filter-description { + opacity: 1; + } + } +}
\ No newline at end of file |
