1
|
//
|
2
|
// Transition
|
3
|
//
|
4
|
|
5
|
.transition( @duration: @default-duration, @easing: @default-easing ) {
|
6
|
|
7
|
-webkit-transition: all @duration @easing;
|
8
|
-moz-transition: all @duration @easing;
|
9
|
-ms-transition: all @duration @easing;
|
10
|
-o-transition: all @duration @easing;
|
11
|
transition: all @duration @easing;
|
12
|
|
13
|
}
|
14
|
|
15
|
|
16
|
//
|
17
|
// Border-radius
|
18
|
//
|
19
|
|
20
|
.border-radius( @radius: @default-border-radius ){
|
21
|
|
22
|
-webkit-border-radius: @arguments;
|
23
|
-moz-border-radius: @arguments;
|
24
|
border-radius: @arguments;
|
25
|
|
26
|
}
|
27
|
|
28
|
|
29
|
//
|
30
|
// Box-shadow
|
31
|
//
|
32
|
|
33
|
.box-shadow( @x-axis: @default-box-shadow-x-axis, @y-axis: @default-box-shadow-y-axis, @blur: @default-box-shadow-blur, @color: @default-box-shadow-color, @inset: @default-box-shadow-inset ) {
|
34
|
|
35
|
-webkit-box-shadow: @inset @x-axis @y-axis @blur @color;
|
36
|
-moz-box-shadow: @inset @x-axis @y-axis @blur @color;
|
37
|
-o-box-shadow: @inset @x-axis @y-axis @blur @color;
|
38
|
box-shadow: @inset @x-axis @y-axis @blur @color;
|
39
|
|
40
|
}
|