Skip to content

Instantly share code, notes, and snippets.

@objectoriented
Created October 16, 2015 16:02
Show Gist options
  • Save objectoriented/3f3b2c07b245f868c7c8 to your computer and use it in GitHub Desktop.
Save objectoriented/3f3b2c07b245f868c7c8 to your computer and use it in GitHub Desktop.
body #searchspring-autocomplete_results {
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
-o-border-radius: 0;
border-radius: 0;
border: 1px solid #ccc;
z-index: 9999999;
margin: 0 auto;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body #searchspring-autocomplete_results em {
color: #000;
font-style: normal;
}
body #searchspring-autocomplete_results .ac_title:first-of-type,
body #searchspring-autocomplete_results .ac_title,
body #searchspring-autocomplete_results .ac_powered {
-webkit-border-radius: 0;
-moz-border-radius: 0;
-ms-border-radius: 0;
-o-border-radius: 0;
border-radius: 0;
}
body #searchspring-autocomplete_results .ac_title,
body #searchspring-autocomplete_results .ac_term_suggest {
color: #fff;
padding: 10px 12px;
}
body #searchspring-autocomplete_results .ac_title,
body #searchspring-autocomplete_results .ac_powered {
background: #8bc137;
background: -moz-linear-gradient(top, #8bc137 0%, #8bc137 49%, #83b633 50%, #83b633 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#8bc137), color-stop(49%,#8bc137), color-stop(50%,#83b633), color-stop(100%,#83b633));
background: -webkit-linear-gradient(top, #8bc137 0%,#8bc137 49%,#83b633 50%,#83b633 100%);
background: -o-linear-gradient(top, #8bc137 0%,#8bc137 49%,#83b633 50%,#83b633 100%);
background: -ms-linear-gradient(top, #8bc137 0%,#8bc137 49%,#83b633 50%,#83b633 100%);
background: linear-gradient(to bottom, #8bc137 0%,#8bc137 49%,#83b633 50%,#83b633 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8bc137', endColorstr='#83b633',GradientType=0 );
}
body #searchspring-autocomplete_results .ac_term_suggest em {
color: #fff;
}
body #searchspring-autocomplete_results .ac_title {
font-size: 22px;
line-height: 22px;
text-transform: uppercase;
margin: 0;
font-family: 'Roboto Condensed', sans-serif;
font-weight: bold;
text-shadow: 1px 2px 0px rgba(0,0,0,0.4);
}
body #searchspring-autocomplete_results .ac_term_suggest {
background: #000;
font-size: 14px;
line-height: 18px;
font-family: 'Roboto', sans-serif;
}
body #searchspring-autocomplete_results .ac_powered {
padding: 10px 0;
height: auto;
} }
body #searchspring-autocomplete_results .ac_result_even {
background: #f5f5f5;
}
body #searchspring-autocomplete_results .ac_term_result {
padding: 6px;
color: #333;
}
body #searchspring-autocomplete_results .ac_product_result.highlight,
body #searchspring-autocomplete_results .ac_product_result:hover {
background: #e9e9e9;
}
body #searchspring-autocomplete_results .ac_product_result {
padding: 15px 6px;
}
body #searchspring-autocomplete_results .ac_product_result .image {
height: auto;
}
body #searchspring-autocomplete_results .ac_product_result .info {
width: 78%;
margin-left: 6%;
}
body #searchspring-autocomplete_results .ac_product_result .info .name,
body #searchspring-autocomplete_results .ac_product_result .info .price,
body #searchspring-autocomplete_results .ac_product_result .info .sku {
font-family: 'Roboto', sans-serif;
font-size: 14px;
color: #333;
}
body #searchspring-autocomplete_results .ac_product_result .info .name {
line-height: 1.3em;
}
body #searchspring-autocomplete_results .ac_product_result .info .price {
font-style: normal;
}
body #searchspring-autocomplete_results .ac_product_result .info .price:before,
body #searchspring-autocomplete_results .ac_product_result .info .sku:before {
display: inline;
font-weight: bold;
margin: 0 5px 0 0;
}
body #searchspring-autocomplete_results .ac_product_result .info .price:before {
content: 'Price:';
}
body #searchspring-autocomplete_results .ac_product_result .info .sku:before {
content: 'SKU:';
}
body #searchspring-autocomplete_results:before,
body #searchspring-autocomplete_results:after {
width: 0;
height: 0;
}
body #searchspring-autocomplete_results:before {
left: auto;
right: 10px;
top: -7px;
background: none;
border-right: 9px inset transparent;
border-left: 9px inset transparent;
border-bottom: 7px solid #ccc;
}
body #searchspring-autocomplete_results:after {
position: absolute;
top: -6px;
right: 12px;
display: block;
content: '';
border-right: 7px inset transparent;
border-left: 7px inset transparent;
border-bottom: 6px solid #fff;
}
@media only screen and (max-width: 1000px) {
body #searchspring-autocomplete_results {
right: 20px;
left: auto !important;
}
}
@media only screen and (max-width: 900px) {
body #searchspring-autocomplete_results {
right: 0px;
left: 0 !important;
top: 165px !important;
width: 96%;
}
}
@media only screen and (max-width: 600px) {
body #searchspring-autocomplete_results {
width: 93%;
}
body #searchspring-autocomplete_results .ac_product_result .image img {
max-height: 35px;
}
body #searchspring-autocomplete_results .ac_product_result {
padding: 6px;
}
body #searchspring-autocomplete_results .ac_title,
body #searchspring-autocomplete_results .ac_term_suggest,
body #searchspring-autocomplete_results .ac_powered {
padding: 8px 12px;
}
body #searchspring-autocomplete_results .ac_title {
font-size: 16px;
line-height: 16px;
}
body #searchspring-autocomplete_results .ac_term_suggest,
body #searchspring-autocomplete_results .ac_product_result .info .name,
body #searchspring-autocomplete_results .ac_product_result .info .price,
body #searchspring-autocomplete_results .ac_product_result .info .sku {
font-size: 12px;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment