2014-08-31 05:51:21 +00:00
|
|
|
@woocommerce: #ad74a2;
|
|
|
|
@green: #7ad03a;
|
|
|
|
@red: #a00;
|
|
|
|
@orange: #ffba00;
|
|
|
|
@blue: #2ea2cc;
|
2013-01-31 14:15:50 +00:00
|
|
|
|
2013-08-19 14:12:17 +00:00
|
|
|
.clearfix() {
|
|
|
|
*zoom:1;
|
|
|
|
&:before,
|
|
|
|
&:after {
|
|
|
|
content: " ";
|
|
|
|
display: table;
|
|
|
|
}
|
|
|
|
&:after {
|
|
|
|
clear: both;
|
|
|
|
}
|
2012-04-28 17:28:18 +00:00
|
|
|
}
|
|
|
|
.border_radius(@radius:4px) {
|
|
|
|
-webkit-border-radius:@radius;
|
|
|
|
border-radius:@radius;
|
|
|
|
}
|
|
|
|
.border_radius_right(@radius:4px) {
|
|
|
|
-webkit-border-top-right-radius: @radius;
|
|
|
|
-webkit-border-bottom-right-radius: @radius;
|
|
|
|
border-top-right-radius: @radius;
|
|
|
|
border-bottom-right-radius: @radius;
|
|
|
|
}
|
2013-01-30 16:18:36 +00:00
|
|
|
.border_radius_left(@radius:4px) {
|
2012-04-28 17:28:18 +00:00
|
|
|
-webkit-border-top-left-radius: @radius;
|
|
|
|
-webkit-border-bottom-left-radius: @radius;
|
|
|
|
border-top-left-radius: @radius;
|
|
|
|
border-bottom-left-radius: @radius;
|
|
|
|
}
|
|
|
|
.border_radius_bottom(@radius:4px) {
|
|
|
|
-webkit-border-bottom-left-radius: @radius;
|
|
|
|
-webkit-border-bottom-right-radius: @radius;
|
|
|
|
border-bottom-left-radius: @radius;
|
|
|
|
border-bottom-right-radius: @radius;
|
|
|
|
}
|
|
|
|
.border_radius_top(@radius:4px) {
|
|
|
|
-webkit-border-top-left-radius: @radius;
|
|
|
|
-webkit-border-top-right-radius: @radius;
|
|
|
|
border-top-left-radius: @radius;
|
|
|
|
border-top-right-radius: @radius;
|
|
|
|
}
|
|
|
|
.opacity(@opacity:0.75) {
|
|
|
|
filter:~"alpha(opacity=@opacity * 100)";
|
|
|
|
-moz-opacity:@opacity;
|
|
|
|
-khtml-opacity: @opacity;
|
|
|
|
opacity: @opacity;
|
|
|
|
}
|
|
|
|
.box_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_in:3px, @shadow_color:#888) {
|
|
|
|
box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
|
|
|
|
-webkit-box-shadow:@shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
|
|
|
|
}
|
|
|
|
.inset_box_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_in:3px, @shadow_color:#888) {
|
|
|
|
box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
|
|
|
|
-webkit-box-shadow:inset @shadow_x @shadow_y @shadow_rad @shadow_in @shadow_color;
|
|
|
|
}
|
|
|
|
.text_shadow(@shadow_x:3px, @shadow_y:3px, @shadow_rad:3px, @shadow_color:#fff) {
|
|
|
|
text-shadow:@shadow_x @shadow_y @shadow_rad @shadow_color;
|
|
|
|
}
|
|
|
|
.vertical_gradient(@from: #000, @to: #FFF) {
|
|
|
|
background: @from;
|
|
|
|
background: -webkit-gradient(linear, left top, left bottom, from(@from), to(@to));
|
|
|
|
background: -webkit-linear-gradient(@from, @to);
|
|
|
|
background: -moz-linear-gradient(center top, @from 0%, @to 100%);
|
|
|
|
background: -moz-gradient(center top, @from 0%, @to 100%);
|
|
|
|
}
|
|
|
|
.transition(@selector:all, @animation:ease-in-out, @duration:.2s) {
|
|
|
|
-webkit-transition:@selector @animation @duration;
|
|
|
|
-moz-transition:@selector @animation @duration;
|
|
|
|
-o-transition:@selector @animation @duration;
|
|
|
|
transition:@selector @animation @duration;
|
|
|
|
}
|
|
|
|
|
2013-01-30 16:18:36 +00:00
|
|
|
.scale(@ratio:1.5){
|
2014-08-31 05:51:21 +00:00
|
|
|
-webkit-transform:scale(@ratio);
|
|
|
|
-moz-transform:scale(@ratio);
|
|
|
|
-ms-transform:scale(@ratio);
|
|
|
|
-o-transform:scale(@ratio);
|
|
|
|
transform:scale(@ratio);
|
2013-01-30 16:18:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.borderbox () {
|
|
|
|
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
|
|
|
|
-moz-box-sizing: border-box; /* Firefox, other Gecko */
|
|
|
|
box-sizing: border-box; /* Opera/IE 8+ */
|
|
|
|
}
|
|
|
|
|
2012-04-28 17:28:18 +00:00
|
|
|
.clear { clear: both; }
|
|
|
|
.nobr { white-space: nowrap; }
|
|
|
|
|
2012-05-01 18:28:45 +00:00
|
|
|
.darkorlighttextshadow ( @a, @opacity: 0.8 ) when (lightness(@a) >= 65%) { .text_shadow( 0, -1px, 0, rgba(0,0,0,@opacity) ); }
|
2013-05-10 15:29:01 +00:00
|
|
|
.darkorlighttextshadow ( @a, @opacity: 0.8 ) when (lightness(@a) < 65%) { .text_shadow( 0, 1px, 0, rgba(255,255,255,@opacity) ); }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Objects
|
|
|
|
*/
|
|
|
|
.menu() {
|
|
|
|
.clearfix;
|
|
|
|
li {
|
2014-03-05 09:37:26 +00:00
|
|
|
display: inline-block;
|
2013-05-10 15:29:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.mediaright() {
|
|
|
|
.clearfix;
|
|
|
|
img {
|
|
|
|
float:right;
|
|
|
|
height:auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.medialeft() {
|
|
|
|
.clearfix;
|
|
|
|
img {
|
|
|
|
float:right;
|
|
|
|
height:auto;
|
|
|
|
}
|
|
|
|
}
|
2013-07-17 11:08:26 +00:00
|
|
|
.ir() {
|
|
|
|
display: block;
|
2013-11-08 13:03:09 +00:00
|
|
|
text-indent: -9999px;
|
2013-07-17 11:08:26 +00:00
|
|
|
position: relative;
|
|
|
|
height:1em;
|
|
|
|
width:1em;
|
|
|
|
}
|
2013-09-20 11:08:56 +00:00
|
|
|
.icon( @glyph: "\e001" ) {
|
2013-07-17 11:08:26 +00:00
|
|
|
font-family: 'WooCommerce';
|
|
|
|
speak: none;
|
|
|
|
font-weight: normal;
|
|
|
|
font-variant: normal;
|
|
|
|
text-transform: none;
|
|
|
|
line-height: 1;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
margin:0;
|
|
|
|
text-indent: 0;
|
|
|
|
position: absolute;
|
|
|
|
top:0;
|
|
|
|
left:0;
|
|
|
|
width:100%;
|
|
|
|
height: 100%;
|
2013-07-17 11:48:48 +00:00
|
|
|
text-align: center;
|
2013-09-20 11:08:56 +00:00
|
|
|
content: @glyph;
|
2013-07-17 11:08:26 +00:00
|
|
|
}
|
2013-09-20 11:08:56 +00:00
|
|
|
.iconbefore( @glyph: "\e001" ) {
|
2013-07-16 15:54:17 +00:00
|
|
|
font-family: 'WooCommerce';
|
|
|
|
speak: none;
|
|
|
|
font-weight: normal;
|
|
|
|
font-variant: normal;
|
|
|
|
text-transform: none;
|
|
|
|
line-height: 1;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
2013-07-17 10:51:49 +00:00
|
|
|
margin-right:7px;
|
2013-09-20 11:08:56 +00:00
|
|
|
content: @glyph;
|
2013-07-16 15:54:17 +00:00
|
|
|
}
|
2013-09-20 11:08:56 +00:00
|
|
|
.iconafter( @glyph: "\e001" ) {
|
2013-07-17 10:51:49 +00:00
|
|
|
font-family: 'WooCommerce';
|
|
|
|
speak: none;
|
|
|
|
font-weight: normal;
|
|
|
|
font-variant: normal;
|
|
|
|
text-transform: none;
|
|
|
|
line-height: 1;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
margin-left:7px;
|
2013-09-20 11:08:56 +00:00
|
|
|
content: @glyph;
|
2014-08-31 05:51:21 +00:00
|
|
|
}
|