aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/search/SearchBox.scss
diff options
context:
space:
mode:
authorMonika <monika_hedman@brown.edu>2019-06-21 15:00:16 -0400
committerMonika <monika_hedman@brown.edu>2019-06-21 15:00:16 -0400
commita70ac0d98f879d2f9b8824e51dcab62b840f0b8a (patch)
tree7b8947768d8b638dc9312894be903a7ba1a6fe8c /src/client/views/search/SearchBox.scss
parentf05b323cff1f09c5c84042aa30ad57b2ac74b7cb (diff)
mleh end of day 6/21
Diffstat (limited to 'src/client/views/search/SearchBox.scss')
-rw-r--r--src/client/views/search/SearchBox.scss33
1 files changed, 26 insertions, 7 deletions
diff --git a/src/client/views/search/SearchBox.scss b/src/client/views/search/SearchBox.scss
index c65a8b084..98eb31ba1 100644
--- a/src/client/views/search/SearchBox.scss
+++ b/src/client/views/search/SearchBox.scss
@@ -32,11 +32,15 @@
}
-.filter-title{
+.filter-title {
font-size: 18;
text-transform: uppercase;
margin-top: 10px;
margin-bottom: 10px;
+ -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;
}
.searchBox-results {
@@ -54,13 +58,22 @@
flex-direction: column;
display: inline-block;
- .filter-header{
+ .filter-header {
display: flex;
align-items: center;
+ margin-bottom: 10px;
+ }
+
+ .filter-header:hover .filter-title{
+ transform: scale(1.05);
+ }
+
+ .filter-panel {
+ display: none;
}
}
-#filter{
+#filter {
padding: 25px;
width: 600px;
}
@@ -79,7 +92,7 @@
margin-right: 72px;
}
-.filter-collection{
+.filter-collection {
display: inline-block;
width: 100%;
}
@@ -91,18 +104,18 @@
margin-bottom: 5px;
}
-.filter-div{
+.filter-div {
margin-top: 10px;
margin-bottom: 10px;
display: inline-block;
width: 100%;
}
-.collection-title{
+.collection-title {
color: $light-color;
text-transform: uppercase;
margin-top: 5px;
- margin-bottom: 5px;
+ margin-bottom: 5px;
}
.no-result {
@@ -117,3 +130,9 @@
font-weight: bold;
}
+.field-filters {
+ width: 100%;
+ display: grid;
+ grid-template-columns: 18% 20% 60%;
+ // white-space: space-between;
+} \ No newline at end of file