Skip to content

Instantly share code, notes, and snippets.

@1naveengiri
Last active October 23, 2018 10:43
Show Gist options
  • Save 1naveengiri/720787cd0ab4971777603d8816e962f2 to your computer and use it in GitHub Desktop.
Save 1naveengiri/720787cd0ab4971777603d8816e962f2 to your computer and use it in GitHub Desktop.
<div id="address_search" class="slp search_box layout row wrap">
<div class="filter-online-dealer-section"><img class="new-cart-icon" src="http://staging.bennetttrimtabs.com/wp-content/uploads/2015/05/ws-cart.png" /><a href="http://staging.bennetttrimtabs.com/dealers-list/">View Online Dealers</a><img class="new-right-arrow" src="http://staging.bennetttrimtabs.com/wp-content/uploads/2018/10/right-arrow.png" /></div>
<div class='filter-heading section'>
<h3>Filters</h3>
<a href='#' class='dx_hide_form_data dx_left'>hide all</a>
<a href='#' class='reset_form_data dx_right'>reset all</a>
</div>
<div class="flex xs12 section dx-cat-shortable">[slp_search_element dropdown_with_label="category"]</div>
<div class='section dx-address-shortable'>
<div class="flex xs4"><label>Location: </label> <a href='#' class="dx_link" id="dx_addressSubmit" >find my locations</a> [slp_search_element input_with_label="address"]</div>
<div class="flex xs2 section">[slp_search_element dropdown_with_label="radius"][slp_search_element dropdown_with_label="state"]</div>
<div class="flex xs4 section">[slp_search_element dropdown_with_label="country"]</div>
</div>
[slp_search_element input_with_label="Dealer"]
</div>
</div>
#sl_div {
position: relative; }
.slp_search_container {
margin: 0 !important; }
#searchForm {
position: absolute;
top: 20px;
left: 20px;
z-index: 99999;
max-width: 350px;
background: #fff;
padding: 20px 0; }
#searchForm .search_box.layout {
display: block; }
#searchForm .filter-heading {
border-top: 1px solid #F0F0F0;
border-bottom: 1px solid #F0F0F0;
padding: 0 20px;
line-height: 12px;
width: 100%; }
#searchForm .filter-heading h3 {
color: #265E8E;
font-weight: normal; }
#searchForm .filter-heading a {
color: #11ADE3;
display: inline-block;
font-size: 1rem;
text-decoration: underline;
text-align: right;
width: 100%;
margin-bottom: 5px; }
#searchForm .search_item.category .text {
color: #7A7A7A;
text-transform: uppercase;
font-size: 1.3rem;
font-weight: normal; }
#searchForm .flex.xs12.section {
padding: 20px;
border-bottom: 1px solid #F0F0F0; }
#searchForm .search_item.category.button_bar {
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
flex-direction: column;
-webkit-flex-direction: column;
-moz-flex-direction: column;
-ms-flex-direction: column;
-o-flex-direction: column; }
#searchForm .search_item.category.button_bar > label {
text-align: left !important; }
#searchForm .category.checklist.button_bar li label {
color: #7A7A7A;
font-weight: normal; }
#searchForm .section .flex.xs4 label {
color: #7A7A7A;
text-transform: uppercase;
font-size: 1.3rem;
font-weight: normal; }
#searchForm input {
outline: none; }
#searchForm input[type="text"] {
width: 100%;
display: block;
border-radius: 3px;
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid #F0F0F0; }
#searchForm input:focus {
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid #265E8E;
outline: none; }
#addy_in_radius > label {
display: none !important; }
#radiusSelect, #addressInputState {
display: block;
width: 100%;
background: transparent !important;
border-radius: 3px;
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid #F0F0F0;
-webkit-box-flex: 0 !important;
-ms-flex: none !important;
flex: none !important;
max-width: 100% !important; }
#addressInputCountry {
display: block;
width: 100%;
background: transparent !important;
border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: none;
box-shadow: none;
border: 1px solid #F0F0F0;
-webkit-box-flex: 0 !important;
-ms-flex: none !important;
flex: none !important;
max-width: 100% !important; }
#addy_in_country label {
display: none !important; }
#addy_in_state label {
display: none !important; }
#searchForm div.category.checklist.button_bar li {
background-color: #fff !important; }
#searchForm div.category.checklist.button_bar input[type="checkbox"] {
display: inline-block;
margin-right: 2px; }
#search-form .flex.xs4 {
padding: 20px; }
#search-form input[type="text"] {
-webkit-box-flex: 0 !important;
-ms-flex: none !important;
flex: none !important;
max-width: 100% !important;
display: block;
width: 100%; }
.layout .flex.xs4 {
-ms-flex-preferred-size: 100% !important;
flex-basis: 100% !important;
max-width: 100% !important; }
.flex.xs4 {
padding: 20px !important; }
#div_nameSearch input {
margin-left: 5px !important;
-webkit-box-flex: 1 !important;
-ms-flex: 1 0 100% !important;
flex: 1 0 100% !important;
max-width: 100% !important; }
#searchForm div.category.checklist.button_bar li {
padding: 0 !important;
-webkit-box-flex: 1 !important;
-ms-flex: 1 0 50% !important;
flex: 1 0 50% !important;
max-width: 50% !important;
-ms-flex-preferred-size: 50%;
flex-basis: 50%; }
#searchForm div.category.checklist.button_bar li label {
text-align: left !important; }
.filter-online-dealer-section {
width: 90%;
margin: 15px auto;
border: 2px solid #F8A638;
border-radius: 5px;
padding: 5px;
text-align: center;
-webkit-transition: .3s all;
-o-transition: .3s all;
transition: .3s all; }
.filter-online-dealer-section a {
text-decoration: none;
text-align: center;
display: inline-block;
color: #F8A638; }
.filter-online-dealer-section img {
display: inline-block;
max-width: 20px;
height: auto;
-webkit-transition: .3s all;
-o-transition: .3s all;
transition: .3s all; }
.new-cart-icon {
margin-right: 15px; }
.filter-online-dealer-section:hover .new-right-arrow {
margin-left: 15px; }
.new-right-arrow {
margin-left: 12px;
max-width: 15px !important;
-webkit-transition: .3s all;
-o-transition: .3s all;
transition: .3s all; }
.filter-online-dealer-section:hover a {
text-decoration: none;
color: #F8A638; }
#div_nameSearch {
padding: 0 20px;
border-top: 1px solid #F0F0F0;
display: block !important; }
#div_nameSearch label {
background: #fff !important;
color: #7A7A7A !important;
position: static !important;
-ms-flex-preferred-size: 100% !important;
flex-basis: 100% !important;
max-width: 100% !important;
text-align: left !important;
margin-top: 10px; }
div.search_item.category.button_bar {
-ms-flex-preferred-size: 100% !important;
flex-basis: 100% !important;
width: 100% !important; }
div.search_item.category.button_bar > label {
-webkit-box-flex: 0 !important;
-ms-flex: none !important;
flex: none !important;
max-width: 100% !important; }
#searchForm .flex.xs2.section {
padding: 20px !important; }
#addy_in_radius {
width: 50% !important;
display: inline-block !important;
margin-right: -4px !important; }
#addy_in_state {
display: inline-block !important;
width: 50% !important; }
#searchForm select:focus {
outline: none !important; }
#addy_in_country {
margin-top: -25px; }
#searchForm .text.length_6 {
font-weight: normal !important; }
div#map.slp_map {
height: 720px !important; }
div#slp_tagline {
display: none; }
#map_sidebar {
display: none !important; }
.slp_search_form select {
height: auto !important; }
#searchForm .filter-heading a {
display: none; }
#sl_div .map-burger-menu {
display: none; }
#sl_div #form-burger {
display: none; }
#sl_div #searchForm {
-webkit-transition: .3s all ease-in;
-o-transition: .3s all ease-in;
transition: .3s all ease-in; }
#form-close {
display: none;
padding: 10px 20px;
margin-bottom: 10px; }
#form-close img {
max-width: 15px;
height: auto;
display: block;
float: right; }
@media only screen and (max-width: 1200px) {
footer.wpo-footer .footer-top div.col-xs-12 {
height: auto !important; } }
@media only screen and (max-width: 991px) {
#searchForm input[type="checkbox"] {
-webkit-appearance: checkbox !important;
-moz-appearance: checkbox !important;
appearance: checkbox !important; }
#searchForm input[type="text"] {
-webkit-appearance: searchfield !important;
-moz-appearance: searchfield !important;
appearance: searchfield !important; }
#searchForm select {
-webkit-appearance: default !important;
-moz-appearance: default !important;
appearance: default !important; } }
@media only screen and (max-width: 768px) {
#sl_div #form-burger {
cursor: pointer;
display: block;
position: absolute;
top: 20px;
left: 20px;
background: #0B3C70;
padding: 3px 6px;
border-radius: 5px; }
#sl_div #form-burger img {
max-width: 20px;
height: auto;
display: inline-block;
margin: auto; }
#sl_div #form-close {
display: block; }
#sl_div #searchForm {
-webkit-transform: translateX(-120%);
-ms-transform: translateX(-120%);
transform: translateX(-120%); }
#sl_div .form-back-left {
-webkit-transform: translateX(0%) !important;
-ms-transform: translateX(0%) !important;
transform: translateX(0%) !important; } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment