diff options
| author | tschicke-brown <tyler_schicke@brown.edu> | 2019-06-26 22:39:33 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-06-26 22:39:33 -0400 |
| commit | 79345d459a10de1a610bbeb62b503f05b42c1482 (patch) | |
| tree | d5fb2629fd57b16bcf1649cb5ce0093065e80bfd /src/client/views/search/IconButton.scss | |
| parent | 68a71ec1af52e1e23374c2062c9f809e5fc905d6 (diff) | |
| parent | 212c8be0d974a76246193303408d647896ec232c (diff) | |
Merge pull request #169 from browngraphicslab/searchUI
Basic searching
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 |
