462 lines
8.4 KiB
CSS
462 lines
8.4 KiB
CSS
|
|
/* ----------------------------------------------------------------
|
|
|
|
shop.css
|
|
|
|
-----------------------------------------------------------------*/
|
|
|
|
|
|
|
|
|
|
/* ----------------------------------------------------------------
|
|
Shop - 4 Columns (Default)
|
|
-----------------------------------------------------------------*/
|
|
|
|
.shop {
|
|
position: relative;
|
|
margin: 0 -20px -20px 0;
|
|
}
|
|
|
|
.product { position: relative; }
|
|
|
|
.shop .product {
|
|
position: relative;
|
|
float: left;
|
|
padding: 0 20px 20px 0;
|
|
width: 25%;
|
|
}
|
|
|
|
.product-image {
|
|
position: relative;
|
|
width: 100%;
|
|
height: auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.product-image > a,
|
|
.product-image .slide a,
|
|
.product-image img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
body:not(.device-touch):not(.device-sm):not(.device-xs) .product-image > a {
|
|
-webkit-transition: all .5s ease;
|
|
-o-transition: all .5s ease;
|
|
transition: all .5s ease;
|
|
}
|
|
|
|
.product-image > a:nth-of-type(2) {
|
|
opacity: 0;
|
|
position: absolute;
|
|
z-index: -1;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.product-image:hover > a:nth-of-type(2) {
|
|
opacity: 1;
|
|
z-index: 2;
|
|
}
|
|
|
|
.product-desc {
|
|
padding: 15px 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.product-title { margin-bottom: 7px; }
|
|
|
|
.product-title h3 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.product-title h3 a,
|
|
.single-product .product-title h2 a { color: #333; }
|
|
|
|
.product-title h3 a:hover,
|
|
.single-product .product-title h2 a:hover { color: #1ABC9C; }
|
|
|
|
.product-price {
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
color: #444;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.product-price del {
|
|
font-weight: 400;
|
|
font-size: 90%;
|
|
color: #888;
|
|
}
|
|
|
|
.product-price ins {
|
|
text-decoration: none;
|
|
color: #1ABC9C;
|
|
}
|
|
|
|
.product-overlay {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 44px;
|
|
line-height: 44px;
|
|
top: auto;
|
|
bottom: -44px;
|
|
left: 0;
|
|
z-index: 6;
|
|
}
|
|
|
|
body:not(.device-touch):not(.device-sm):not(.device-xs) .product-overlay {
|
|
-webkit-transition: bottom .3s ease-in-out;
|
|
-o-transition: bottom .3s ease-in-out;
|
|
transition: bottom .3s ease-in-out;
|
|
}
|
|
|
|
.product:hover .product-overlay { bottom: 0; }
|
|
|
|
.product-overlay a {
|
|
display: block;
|
|
float: left;
|
|
width: 50%;
|
|
font-size: 13px;
|
|
color: #333;
|
|
background-color: #F5F5F5;
|
|
text-align: center;
|
|
border-right: 1px solid rgba(0,0,0,0.1);
|
|
}
|
|
|
|
body:not(.device-touch):not(.device-sm):not(.device-xs) .product-overlay a {
|
|
-webkit-transition: all .3s ease-in-out;
|
|
-o-transition: all .3s ease-in-out;
|
|
transition: all .3s ease-in-out;
|
|
}
|
|
|
|
.product-overlay a.item-quick-view { border-right: 0; }
|
|
|
|
.product-overlay a i {
|
|
position: relative;
|
|
top: 1px;
|
|
font-size: 14px;
|
|
margin-right: 3px;
|
|
}
|
|
|
|
.product-overlay a:hover {
|
|
background-color: #333;
|
|
color: #FFF;
|
|
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.sale-flash {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
padding: 6px 10px;
|
|
background-color: #1ABC9C;
|
|
color: #FFF;
|
|
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
|
|
border-radius: 2px;
|
|
z-index: 5;
|
|
}
|
|
|
|
.sale-flash.out-of-stock { background-color: #777; }
|
|
|
|
|
|
/* Shop - 3 Columns
|
|
-----------------------------------------------------------------*/
|
|
|
|
.shop.product-3 { margin: 0 -30px -30px 0; }
|
|
|
|
.product-3 .product {
|
|
padding: 0 30px 30px 0;
|
|
width: 33.33333333%;
|
|
}
|
|
|
|
|
|
/* Shop - 3 Columns - Sidebar
|
|
-----------------------------------------------------------------*/
|
|
|
|
.postcontent .shop.product-3 { margin: 0 -25px -25px 0; }
|
|
|
|
.postcontent .product-3 .product { padding: 0 25px 25px 0; }
|
|
|
|
|
|
/* Shop - 2 Columns - Sidebar
|
|
-----------------------------------------------------------------*/
|
|
|
|
.postcontent .shop.product-2 { margin: 0 -40px -40px 0; }
|
|
|
|
.postcontent .product-2 .product {
|
|
padding: 0 40px 40px 0;
|
|
width: 50%;
|
|
}
|
|
|
|
|
|
/* Shop - 2 Columns - Both Sidebar
|
|
-----------------------------------------------------------------*/
|
|
|
|
.bothsidebar .shop.product-2 { margin: 0 -40px -20px 0; }
|
|
|
|
.bothsidebar .product-2 .product { padding: 0 40px 20px 0; }
|
|
|
|
|
|
/* Shop - 1 Column
|
|
-----------------------------------------------------------------*/
|
|
|
|
.shop.product-1 { margin: 0 0 -40px 0; }
|
|
|
|
.product-1 .product {
|
|
float: none;
|
|
margin: 0 0 40px 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.product-1 .product-image {
|
|
float: left;
|
|
width: 300px;
|
|
height: 400px;
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.product-1 .product.alt .product-image {
|
|
float: right;
|
|
margin: 0 0 0 30px;
|
|
}
|
|
|
|
.product-1 .product-desc {
|
|
padding: 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.product-1 .product-title h3 { font-size: 22px; }
|
|
|
|
.product-1 .product-desc .product-price { font-size: 20px; }
|
|
|
|
.product-1 .product-desc .product-rating { margin-bottom: 15px; }
|
|
|
|
|
|
/* Shop - 1 Column - Both Sidebar
|
|
-----------------------------------------------------------------*/
|
|
|
|
.bothsidebar .product-1 .product {
|
|
border-top: 1px solid #F5F5F5;
|
|
padding-top: 40px;
|
|
}
|
|
|
|
.bothsidebar .product-1 .product:first-child {
|
|
border-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.bothsidebar .product-1 .product-image {
|
|
width: 240px;
|
|
height: 320px;
|
|
}
|
|
|
|
.bothsidebar .product-1 .product-title h3 { font-size: 20px; }
|
|
|
|
.bothsidebar .product-1 .product-desc .product-price { font-size: 16px; }
|
|
|
|
|
|
/* Shop - Single
|
|
-----------------------------------------------------------------*/
|
|
|
|
.single-product .product {
|
|
width: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
.shop-quick-view-ajax,
|
|
.portfolio-ajax-modal {
|
|
position: relative;
|
|
background-color: #FFF;
|
|
width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.single-product .product-image,
|
|
.single-product .product-image img { height: auto; }
|
|
|
|
.single-product .product-desc { padding: 0; }
|
|
|
|
.single-product .product-title h2 {
|
|
font-size: 28px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.single-product .product-price {
|
|
float: left;
|
|
font-size: 24px;
|
|
color: #1ABC9C;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.single-product .product-rating {
|
|
float: right;
|
|
position: relative;
|
|
top: 9px;
|
|
}
|
|
|
|
.single-product .product-desc .line { margin: 20px 0; }
|
|
|
|
.quantity {
|
|
float: left;
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.quantity .qty {
|
|
float: left;
|
|
width: 50px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
border: 0;
|
|
border-left: 1px solid #DDD;
|
|
border-right: 1px solid #DDD;
|
|
background-color: #EEE;
|
|
text-align: center;
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.quantity .plus,
|
|
.quantity .minus {
|
|
display: block;
|
|
float: left;
|
|
cursor: pointer;
|
|
border: 0px transparent;
|
|
padding: 0;
|
|
width: 36px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
text-align: center;
|
|
background-color: #EEE;
|
|
font-size: 16px;
|
|
font-weight: bold;
|
|
transition: background-color .2s linear;
|
|
-webkit-transition: background-color .2s linear;
|
|
-o-transition: background-color .2s linear;
|
|
}
|
|
|
|
.quantity .plus:hover,
|
|
.quantity .minus:hover { background-color: #DDD; }
|
|
|
|
.quantity .qty:focus,
|
|
.quantity .plus:focus,
|
|
.quantity .minus:focus {
|
|
box-shadow: none !important;
|
|
outline: 0 !important;
|
|
}
|
|
|
|
.single-product .add-to-cart.button {
|
|
height: 40px;
|
|
line-height: 40px;
|
|
}
|
|
|
|
.product-meta {
|
|
font-size: 13px;
|
|
color: #777;
|
|
}
|
|
|
|
.product-meta > .panel-body { margin-bottom: -5px; }
|
|
|
|
.product-meta > .panel-body > span {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
|
|
.single-product .feature-box.fbox-plain.fbox-small { padding-left: 26px; }
|
|
|
|
.single-product .feature-box.fbox-plain.fbox-small .fbox-icon { width: 20px; }
|
|
|
|
.single-product .feature-box.fbox-plain.fbox-small h3 {
|
|
font-size: 15px;
|
|
font-weight: bold;
|
|
line-height: 18px;
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
.single-product .feature-box.fbox-plain.fbox-small p { margin-left: -26px; }
|
|
|
|
.single-product .feature-box.fbox-plain.fbox-small .fbox-icon i { font-size: 18px; }
|
|
|
|
|
|
/* Individual Product
|
|
-----------------------------------------------------------------*/
|
|
|
|
.product.iproduct {
|
|
float: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.iproduct .product-image,
|
|
.iproduct .product-image a,
|
|
.iproduct .product-image img { height: auto; }
|
|
|
|
|
|
/* ----------------------------------------------------------------
|
|
Cart
|
|
-----------------------------------------------------------------*/
|
|
|
|
|
|
.cart .remove {
|
|
font-size: 14px;
|
|
color: #FF0000;
|
|
}
|
|
|
|
.cart .remove:hover { color: #000; }
|
|
|
|
.cart th {
|
|
padding: 12px 15px !important;
|
|
font-size: 14px;
|
|
color: #555;
|
|
}
|
|
|
|
.cart td {
|
|
padding: 12px 15px !important;
|
|
vertical-align: middle !important;
|
|
border-color: #E5E5E5 !important;
|
|
}
|
|
|
|
.cart-product-thumbnail a {
|
|
display: block;
|
|
width: 68px;
|
|
}
|
|
|
|
.cart-product-thumbnail img {
|
|
display: block;
|
|
width: 64px;
|
|
height: 64px;
|
|
border: 2px solid #EEE;
|
|
}
|
|
|
|
.cart-product-thumbnail img:hover { border-color: #1ABC9C; }
|
|
|
|
.cart-product-name a,
|
|
.product-name a {
|
|
font-weight: bold;
|
|
font-size: 13px;
|
|
color: #333;
|
|
}
|
|
|
|
.cart-product-name a:hover,
|
|
.product-name a:hover { color: #666; }
|
|
|
|
.cart-product-price,
|
|
.cart-product-quantity,
|
|
.cart-product-subtotal { text-align: center !important; }
|
|
|
|
.cart-product-quantity .quantity {
|
|
display: inline-block;
|
|
margin: 0;
|
|
float: none;
|
|
}
|
|
|
|
td.actions {
|
|
padding: 20px 15px !important;
|
|
vertical-align: top !important;
|
|
background-color: #F5F5F5;
|
|
} |