bebeboutik/themes/site/css/less/functions.less
Srv Bebeboutik 340bc7c146 push site
2016-01-04 12:48:08 +01:00

53 lines
900 B
Plaintext
Executable File

.radius (@radius) {
-moz-border-radius: @radius;
-webkit-border-radius: @radius;
border-radius: @radius;
}
.boxshadow (@shadow) {
-moz-box-shadow: @shadow;
-webkit-box-shadow: @shadow;
-ms-box-shadow: @shadow;
-o-box-shadow: @shadow;
box-shadow: @shadow;
}
.gradient (@from, @to, @default) {
background: @default;
background: -moz-linear-gradient(
top,
@from 0%,
@to 100%
);
background: -webkit-gradient(
linear,
top left,
bottom left,
color-stop(0, @from),
color-stop(1, @to)
);
background: -webkit-linear-gradient(
top,
@from 0%,
@to 100%
);
background: -o-linear-gradient(
top,
@from 0%,
@to 100%
);
background: -ms-linear-gradient(
top,
@from 0%,
@to 100%
);
background: linear-gradient(
top,
@from 0%,
@to 100%
);
filter: progid:DXImageTransform.Microsoft.Gradient(
StartColorStr='@from', EndColorStr='@to', GradientType=0
);
}