/**@main styles begin**/
/**@main styles end**/
/**@Universal templates begin**/
.box(){
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.border-radius(@radius: 5px) {
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
border-radius: @radius;
}
.text-in-line{
white-space: nowrap;
word-wrap: normal;
}
.reset-list {
padding: 0;
margin: 0;
li {
list-style: none;
}
}
.box-shadow(@x, @y, @blur, @size, @color) {
-webkit-box-shadow: @arguments;
-moz-box-shadow: @arguments;
box-shadow: @arguments;
}
/**@Universal templates end**/
/**@Through styles begin**/
.orange{color: #ff5900;}
.green{color: #78d701;}//change
.blue{color: #1b9ce3;}
.gray{color: #b0b0b0;}
@red: #ec0f00;
@green: #56a600;
@grey: #9a9a9a;
@text-black: #2a2a2a; //in use
@text-grey: #434343; //in use
@text-grey-light: #949494; //in use
@text-green: #64b100; //in use
@text-red: #ec0f00; //in use
@text-white: #fff; //in use
@text-blue: #10689b; //in use
@bg-grey: #f6f6f6; //in use
@bg-grey-dark: #efefef; //in use
@bg-yellow: #fff9e2; //in use
@bg-blue: #1679d3; //in use
@bg-green: #67b400; //in use
@bg-orange: #ffa200; //in use
@bg-black-light: #363636; //in use
@bg-white: #fff; //in use
@border-grey: #e0e0e0; //in use
@border-grey-dark: #c2c2c2; //in use
@border-white: #fff; //in use
/**@Through styles end**/
/**@HEADER STYLES BEGIN**/
/**@HEADER STYLES END**/
/**@Main page styles begin**/
/**@Main page styles end**/
/**@Catalog & Products styles begin**/
.product-card{
.title-block{
h1{}
}
.sidebar{
float: right;
width: 280px;
overflow: hidden;
margin-left: 20px;
}
.rate_and_review{
background: @bg-grey;
padding: 12px 0 12px 12px;
line-height: 14px;
color: @text-grey;
.highlight-count{
color: @text-green;
}
.highlight-value{
color: @text-red;
}
.stars{
float: left;
margin-right: 5px;
height: 14px;
overflow: hidden;
.border-radius(0 0 3px 3px)
}
}
.buy-block{
margin-top: 18px;
padding: 15px 19px;
border: 1px dashed @border-grey-dark;
.border-radius(6px);
.box;
.in_stock{
color: @text-green;
font-size: 15px;
font-weight: bold;
float: left;
line-height: 29px;
}
.sku {
background: @bg-grey-dark;
color: @text-grey;
float: right;
line-height: 29px;
font-size: 13px;
min-width: 135px;
padding:0 13px;
.box;
.border-radius(5px);
.text-in-line;
}
.price-block{
position: relative;
clear: both;
padding-top: 60px;
.price-old{
position: absolute;
left: 0;
top: 10px;
color: @text-grey-light;
font-size: 14px;
font-weight: bold;
line-height: 42px;
.sum{
font-size: 24px;
text-decoration: line-through;
color: @text-grey-light;
}
}
.price-difference{
position: absolute;
top: 10px;
right: 0;
float: right;
background: @bg-yellow;
.border-radius(0 3px 3px 0);
min-width: 90px;
text-align: right;
padding: 5px 9px;
line-height: 16px;
.box;
.label{
display: block;
}
.value{
color: @text-red;
font-size: 14px;
font-weight: bold;
span{
color: @text-grey;
}
}
&:after{
content: '';
position: absolute;
left: -15px;
top: 0;
background: url("../images/price-difference-arrow.png") no-repeat center center;
background-size: 15px 100%;
width: 15px;
height: 42px;
}
.label{
color: @text-grey;
}
}
.price{
font-size: 38px;
color: @text-red;
font-weight: bold;
text-align: center;
padding: 22px;
background: @bg-grey;
.border-radius(3px);
span{
font-size: 27px;
color: @text-grey;
font-weight: bold;
}
}
}
}
.buttons-block{
}
.utp-block{
overflow: hidden;
padding-top: 16px;
.item{
margin-bottom: 20px;
position: relative;
.link{
position: absolute;
z-index: 10;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
.title{
font-weight: bold;
padding-left: 38px;
line-height: 31px;
font-size: 14px;
color: @text-white;
text-align: left;
.border-radius(6px 6px 0 0);
overflow: hidden;
background-color: @bg-blue;
background-repeat: no-repeat;
background-position: 10px center;
}
&.index-0 .title{background-color: @bg-blue;background-position: 7px center;}
&.index-1 .title{background-color: @bg-green;}
&.index-2 .title{background-color: @bg-orange;}
.text{
margin-top: 5px;
line-height: 18px;
border-top: 0;
border-left: 1px dashed @border-grey-dark;
border-right: 1px dashed @border-grey-dark;
border-bottom: 1px dashed @border-grey-dark;
.border-radius(0 0 6px 6px);
text-align: left;
padding: 5px 5px 5px 45px;
p{
padding: 5px 0;
}
}
}
}
.card-attributes{
background: @bg-grey;
padding: 15px 15px 15px 38px;
.border-radius(3px);
.block-title{
font-weight: bold;
font-size: 16px;
margin-bottom: 10px;
}
ul{
margin-top: 10px;
.reset-list;
li{
padding: 3px 0;
border-radius: 3px;
background: #f4f4f4;
font-size: 12px;
&.second{
background: none;
}
.title{
font-weight: bold;
}
.triggerAllFeatures{
color: @text-green;
&:hover{
color: @text-blue;
}
}
}
}
}
.all-images{
.image{
img{
display: block;
}
overflow: hidden;
margin: 0 0 0 10px;
}
}
//Tabs
.tabs.tabs-product{
.ui-tabs-nav{
border-bottom: 1px solid @border-grey;
overflow: hidden;
li{
float: left;
margin-right: 6px;
height: 38px;
line-height: 38px;
border: 1px solid #dadada;
border-bottom: none;
border-radius: 3px 3px 0 0;
padding: 0 16px;
&:first-of-type{
margin-left: 20px;
}
a{
font-weight: normal;
color: @text-grey;
text-decoration: none;
font-style: italic;
&:hover{
text-decoration: underline;
}
}
&.icon a{padding-left: 35px}
&.icon-details{ background: url("../images/icons-sprite.png") no-repeat 11px -190px; }
&.icon-colors{ background: url("../images/icons-sprite.png") no-repeat 11px -240px; }
&.icon-reviews{ background: url("../images/icons-sprite.png") no-repeat 11px -290px; }
&.icon-multiset{ background: url("../images/icons-sprite.png") no-repeat 11px -340px; }
&.icon-gallery{ background: url("../images/icons-sprite.png") no-repeat 11px -390px; }
&.ui-state-active{
border: none;
background-color: @bg-black-light;
padding: 1px 17px;
a{
color: @text-white;
&:hover{
text-decoration: none;
}
}
}
}
}
.tab-content{
border: 0;
padding: 0;
display: block;
position: relative;
margin-right: 300px;
}
}
.block{
background: @bg-grey;
border: 1px solid @border-grey;
.border-radius(5px);
.block-title{
font-size: 18px;
font-weight: bold;
}
}
.configurable-block{
margin-top: 20px;
padding: 20px;
.block-title{
margin-bottom: 15px;
}
.item{
margin-bottom: 10px;
&:last-of-type{
margin-bottom: 0;
}
.title{
font-size: 18px;
}
.select{
padding: 10px 0 0 0;
overflow: hidden;
.option {
float: left;
margin-right: 10px;
margin-bottom: 10px;
.box-shadow(0px,3px,4px,0px,rgba( 0, 0, 0, 0.3));
position: relative;
border: 0;
padding-bottom: 2px;
background: #c6c6c6;
.border-radius(4px);
a{
min-width: 80px;
position: relative;
display: block;
padding: 10px 13px;
float: left;
text-decoration: none;
color: @text-grey;
font-size: 14px;
line-height: 15px;
background: @bg-white;
border: 1px solid @border-grey;
.border-radius(4px);
}
&.selected{
background: #1473bf;
.box-shadow(0px,3px,4px,0px,rgba( 0, 0, 0, 0.5));
a{
color: @text-white;
background: #1679d3;
border: 1px solid #0f73c3;
.box-shadow(0px,1px,1px,0px,rgba( 255, 255, 255, 0.3));
}
}
&:hover{
top: -1px;
.box-shadow(0px,3px,4px,0px,rgba( 0, 0, 0, 0.5));
}
}
}
}
}
.material-select{
margin-top: 20px;
height: 200px;
position: relative;
.selected-block{
padding: 20px;
width: 270px;
height: 200px;
.box;
float: left;
.selected{
margin-top: 35px;
.image{
.border-radius(4px);
border: 3px solid @border-white;
width: 80px;
height: 80px;
background: #d4c3b9; //temp
float: left;
}
.label{
font-weight: bold;
font-size: 15px;
padding-top: 15px;
padding-bottom: 5px;
margin-left: 90px;
}
.title{
margin-left: 90px;
}
}
}
.option-list{
position: relative;
margin-left: 270px;
height: 200px;
margin-right: 145px;
}
.option{
.box;
width: 25%;
float: left;
height: 200px;
border-left: 1px solid @border-grey;
&:last-of-type{
border-right: 1px solid @border-grey;
}
.holder{
position: relative;
width: 100px;
margin: 0 auto;
padding-top: 20px;
}
.image{
.border-radius(4px);
border: 3px solid @border-white;
width: 80px;
height: 80px;
background: #d4c3b9; //temp
margin: 0 auto;
}
.title{
font-weight: bold;
text-align: center;
font-size: 12px;
margin-top: 5px;
text-decoration: underline;
}
.price {
margin-top: 5px;
text-align: center;
.plus{
font-weight: bold;
font-size: 12px;
}
.value{
font-size: 18px;
font-weight: bold;
color: @text-red;
}
.currency{
font-size: 12px;
font-weight: bold;
}
}
}
}
.view-all{
position: absolute;
display: block;
top: 0;
right: 0;
bottom: 0;
width: 145px;
.border-radius(0 3px 3px 0);
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#1ea5e3+0,177dd5+93,20b1e7+100 */
background: #1ea5e3; /* Old browsers */
background: -moz-linear-gradient(top, #1ea5e3 0%, #177dd5 93%, #20b1e7 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top, #1ea5e3 0%,#177dd5 93%,#20b1e7 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom, #1ea5e3 0%,#177dd5 93%,#20b1e7 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1ea5e3', endColorstr='#20b1e7',GradientType=0 ); /* IE6-9 */
font-weight: bold;
font-size: 18px;
color: @text-white;
.box;
padding: 50px 25px;
text-decoration: none;
span{
text-decoration: underline;
}
&:after{
content: '';
position: absolute;
left: 50%;
margin-left: -10px;
bottom: 10px;
border-top:14px solid #fff;
border-right:9px solid transparent;
border-bottom:14px solid transparent;
border-left:9px solid transparent;
}
}
.material-list {
overflow: visible;
margin: 10px 300px 10px 0;
.block{
padding: 10px 20px;
}
.material {
float: left;
width: 100%;
margin-bottom: 10px;
.box;
&:last-of-type{
margin-bottom: 0;
}
.title {
font-size: 18px;
color: #434343;
font-weight: bold;
text-transform: uppercase;
padding: 10px 0;
}
.group-title{
color: #434343;
padding: 10px 0;
font-size: 14px;
clear: left;
}
.items {
.material-item {
position: relative;
cursor: pointer;
margin-right: 10px;
margin-bottom: 10px;
float: left;
.image{
.border-radius(4px);
border: 3px solid @border-white;
width: 80px;
height: 80px;
overflow: hidden;
.border-radius(3px);
img {
display: block;
width: 80px;
height: 80px;
}
}
.image-zoom{
display: none;
position: absolute;
left: 50%;
top: 50%;
width: 200px;
height: 200px;
margin-top: -100px;
margin-left: -100px;
.border-radius(3px);
border: 2px solid #000;
.box-shadow(0,0,4px,0px,rgba(0,0,0,0.5));
}
.title{
text-decoration: underline;
font-size: 12px;
text-align: center;
font-weight: bold;
text-transform: none;
}
.label{
display: none;
position: absolute;
z-index: 2;
left: 2px;
right: 2px;
top: 2px;
padding: 5px 0;
.border-radius(3px);
background: #14c318;
color: #fff;
font-size: 12px;
text-align: center;
}
&:hover{
z-index: 100;
/*.image-zoom{
display: block;
}*/
}
&.active{
.image{
width: 80px;
height: 80px;
border: 3px solid #f57f00;
}
.image-zoom{
border: 2px solid #f57f00;
}
.title{
color: #000;
text-decoration: none;
}
}
}
}
}
}
}
/**@Catalog & Products styles end**/
/**@FOOTER STYLES BEGIN**/
/**@FOOTER STYLES END**/