@import "../globalCssVariables"; .searchBox-bar { height: 32px; display: flex; justify-content: flex-end; align-items: center; padding-left: 2px; padding-right: 2px; .searchBox-input { width: 130px; -webkit-transition: width 0.4s; transition: width 0.4s; align-self: stretch; } .searchBox-input:focus { width: 500px; outline: 3px solid lightblue; } .searchBox-barChild { flex: 0 1 auto; margin-left: 2px; margin-right: 2px; } .searchBox-filter { align-self: stretch; } } .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 { margin-left: 27px; //Is there a better way to do this? } .filter-form { background: $dark-color; // height: 400px; height: auto; overflow: auto; position: relative; right: 1px; color: $light-color; flex-direction: column; display: inline-block; .filter-header { display: flex; align-items: center; margin-bottom: 10px; } .filter-header:hover .filter-title{ transform: scale(1.05); } .filter-panel { display: none; width: 100%; } .close-icon { height: 100%; opacity: .6; justify-content: right; position: relative; .fontawesome-icon { margin-right: 0px; height: 30px; } } .close-icon:hover{ opacity: 1; } } #filter { padding: 25px; width: 600px; } #header { text-transform: uppercase; letter-spacing: 2px; font-size: 25; width: 100%; } .searchBox-results { top: 300px; display: flex; flex-direction: column; margin-right: 72px; } .filter-collection { display: inline-block; width: 100%; } .field-title { color: $light-color; text-transform: uppercase; margin-top: 5px; margin-bottom: 5px; } .filter-div { margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 100%; } .collection-title { color: $light-color; text-transform: uppercase; margin-top: 5px; margin-bottom: 5px; } .no-result { width: 500px; background: $light-color-secondary; border-color: $intermediate-color; border-bottom-style: solid; padding: 10px; height: 50px; text-transform: uppercase; text-align: left; font-weight: bold; } .field-filters { width: 100%; display: grid; grid-template-columns: 18% 20% 60%; // white-space: space-between; }