// vip homepage ( markup + css )

This commit is contained in:
Kevin Granger
2013-12-11 19:05:01 +01:00
parent e2f60aa6f6
commit 1284317326
9 changed files with 187 additions and 214 deletions
@@ -82,11 +82,11 @@
Cart Block(Header) Styles
********************************************************************/
#header #cart_block {
position: absolute;
top: 95px;
right: 0;
z-index: 10;
display: none;
position: absolute;
right: 0;
top: 95px;
height: auto;
width: 270px;
background: #484848;
@@ -2,109 +2,82 @@
#search_block_top {
position: absolute;
right: 420px;
top: 50px;
}
@media (min-width: 992px) and (max-width: 1199px) {
#search_block_top {
right: 295px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
#search_block_top {
right: 207px;
}
}
@media (min-width: 480px) and (max-width: 767px) {
#search_block_top {
right: 0;
top: 85px;
}
}
@media (max-width: 479px) {
#search_block_top {
top: 56px;
right: 50%;
width: 270px;
margin-right: -135px;
}
}
#search_block_top .btn.button-search {
background: #333333;
float: left;
border: none;
color: white;
width: 57px;
text-align: center;
padding: 10px 0 11px 0;
}
#search_block_top .btn.button-search span {
display: none;
}
#search_block_top .btn.button-search:before {
content: "";
display: block;
font-family: "FontAwesome";
font-size: 17px;
width: 100%;
text-align: center;
}
#search_block_top .btn.button-search:hover {
color: #6f6f6f;
}
#search_block_top #search_query_top {
padding: 0 13px;
height: 45px;
line-height: 45px;
width: 271px;
background: #fbfbfb;
float: left;
margin-right: 1px;
}
@media (min-width: 768px) and (max-width: 991px) {
top: 50px; }
@media (min-width: 992px) and (max-width: 1199px) {
#search_block_top {
right: 295px; } }
@media (min-width: 768px) and (max-width: 991px) {
#search_block_top {
right: 207px; } }
@media (min-width: 480px) and (max-width: 767px) {
#search_block_top {
right: 0;
top: 85px; } }
@media (max-width: 479px) {
#search_block_top {
top: 56px;
right: 50%;
width: 270px;
margin-right: -135px; } }
#search_block_top .btn.button-search {
background: #333333;
float: left;
border: none;
color: white;
width: 57px;
text-align: center;
padding: 10px 0 11px 0; }
#search_block_top .btn.button-search span {
display: none; }
#search_block_top .btn.button-search:before {
content: "\f002";
display: block;
font-family: "FontAwesome";
font-size: 17px;
width: 100%;
text-align: center; }
#search_block_top .btn.button-search:hover {
color: #6f6f6f; }
#search_block_top #search_query_top {
width: 180px;
}
}
@media (min-width: 480px) and (max-width: 767px) {
#search_block_top #search_query_top {
width: 212px;
}
}
@media (max-width: 479px) {
#search_block_top #search_query_top {
width: 212px;
}
}
padding: 0 13px;
height: 45px;
line-height: 45px;
width: 271px;
background: #fbfbfb;
float: left;
margin-right: 1px; }
@media (min-width: 768px) and (max-width: 991px) {
#search_block_top #search_query_top {
width: 180px; } }
@media (min-width: 480px) and (max-width: 767px) {
#search_block_top #search_query_top {
width: 212px; } }
@media (max-width: 479px) {
#search_block_top #search_query_top {
width: 212px; } }
.ac_results {
background: white;
border: 1px solid #d6d4d4;
width: 271px;
margin-top: -1px;
}
.ac_results li {
padding: 0 10px;
font-weight: normal;
color: #686666;
font-size: 13px;
line-height: 22px;
}
.ac_results li.ac_odd {
background: white;
}
.ac_results li:hover, .ac_results li.ac_over {
background: #fbfbfb;
}
margin-top: -1px; }
.ac_results li {
padding: 0 10px;
font-weight: normal;
color: #686666;
font-size: 13px;
line-height: 22px; }
.ac_results li.ac_odd {
background: white; }
.ac_results li:hover, .ac_results li.ac_over {
background: #fbfbfb; }
form#searchbox label {
color: #333333;
margin-bottom: 1px;
}
margin-bottom: 1px; }
form#searchbox input#search_query_block {
border: 1px solid #d6d4d4;
height: 18px;
margin-top: 10px;
}
margin-top: 10px; }
form#searchbox input#search_button {
padding: 1px 4px;
}
padding: 1px 4px; }
@@ -1,66 +1,52 @@
/* block top user information */
@charset "UTF-8";
#header_user {
clear: both;
float: right;
margin-top: 50px;
}
@media (min-width: 480px) and (max-width: 767px) {
#header_user {
margin-top: 25px;
}
}
@media (max-width: 479px) {
#header_user {
float: none;
margin-left: auto;
margin-right: auto;
margin-top: 95px;
width: 270px;
}
}
#header_user #shopping_cart a {
padding: 7px 10px 14px 16px;
background: #333333;
width: 270px;
display: block;
font-weight: bold;
color: #777777;
text-shadow: 1px 1px rgba(0, 0, 0, 0);
overflow: hidden;
}
@media (min-width: 768px) and (max-width: 991px) {
position: absolute;
top: 50px;
right: 0; }
@media (min-width: 480px) and (max-width: 767px) {
#header_user {
margin-top: 25px; } }
@media (max-width: 479px) {
#header_user {
float: none;
margin-left: auto;
margin-right: auto;
margin-top: 95px;
width: 270px; } }
#header_user #shopping_cart a {
width: 190px;
}
}
@media (min-width: 768px) and (max-width: 991px) {
#header_user #shopping_cart a span.ajax_cart_product_txt, #header_user #shopping_cart a span.ajax_cart_product_txt_s {
display: none !important;
}
}
#header_user #shopping_cart a b {
color: white;
font: 600 18px/22px "Open Sans", sans-serif;
padding-right: 5px;
}
#header_user #shopping_cart a:before {
content: "";
font-family: "FontAwesome";
display: inline-block;
font-size: 23px;
line-height: 23px;
color: white;
padding-right: 15px;
}
#header_user #shopping_cart a:after {
content: "";
font-family: "FontAwesome";
display: inline-block;
float: right;
font-size: 18px;
color: #686666;
padding: 6px 0 0 0;
}
#header_user #shopping_cart .ajax_cart_total {
display: none !important;
}
padding: 7px 10px 14px 16px;
background: #333333;
width: 270px;
display: block;
font-weight: bold;
color: #777777;
text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
overflow: hidden; }
@media (min-width: 768px) and (max-width: 991px) {
#header_user #shopping_cart a {
width: 190px; } }
@media (min-width: 768px) and (max-width: 991px) {
#header_user #shopping_cart a span.ajax_cart_product_txt, #header_user #shopping_cart a span.ajax_cart_product_txt_s {
display: none !important; } }
#header_user #shopping_cart a b {
color: white;
font: 600 18px/22px "Open Sans", sans-serif;
padding-right: 5px; }
#header_user #shopping_cart a:before {
content: "";
font-family: "FontAwesome";
display: inline-block;
font-size: 23px;
line-height: 23px;
color: white;
padding-right: 15px; }
#header_user #shopping_cart a:after {
content: "";
font-family: "FontAwesome";
display: inline-block;
float: right;
font-size: 18px;
color: #686666;
padding: 6px 0 0 0; }
#header_user #shopping_cart .ajax_cart_total {
display: none !important; }