1 | @charset "UTF-8";
|
2 |
|
3 |
|
4 |
|
5 |
|
6 | @mixin slick-arrow-size($arrow-width, $arrow-height, $icon-size) {
|
7 | width: $arrow-width;
|
8 | height: $arrow-height;
|
9 | line-height: $arrow-height;
|
10 |
|
11 | .#{$css-prefix}icon {
|
12 | @include icon-size($icon-size);
|
13 | }
|
14 | }
|
15 |
|
16 | @mixin slick-arrow-statement(
|
17 | $icon-color,
|
18 | $icon-color-hover,
|
19 | $icon-color-disabled,
|
20 | $icon-bg-color,
|
21 | $icon-bg-color-hover,
|
22 | $icon-bg-color-disabled,
|
23 | $icon-bg-opacity,
|
24 | $icon-bg-opacity-hover,
|
25 | $icon-bg-opacity-disabled
|
26 | ) {
|
27 | color: $icon-color;
|
28 | background: $icon-bg-color;
|
29 | opacity: $icon-bg-opacity;
|
30 | padding: 0;
|
31 | border: none;
|
32 |
|
33 | &:focus,
|
34 | &:hover {
|
35 | color: $icon-color-hover;
|
36 | background: $icon-bg-color-hover;
|
37 | opacity: $icon-bg-opacity-hover;
|
38 | }
|
39 |
|
40 | &.disabled {
|
41 | color: $icon-color-disabled;
|
42 | background: $icon-bg-color-disabled;
|
43 | opacity: $icon-bg-opacity-disabled;
|
44 | }
|
45 | }
|
46 |
|
47 | @mixin slick-arrow-position-hoz($top, $right, $bottom, $left) {
|
48 | top: $top;
|
49 | bottom: $bottom;
|
50 |
|
51 | &#{$slick-prefix}-prev {
|
52 | left: $left;
|
53 | }
|
54 |
|
55 | &#{$slick-prefix}-next {
|
56 | right: $right;
|
57 | }
|
58 | }
|
59 |
|
60 | @mixin slick-arrow-position-ver($top, $right, $bottom, $left) {
|
61 | right: $right;
|
62 | left: $left;
|
63 |
|
64 | &#{$slick-prefix}-prev {
|
65 | top: $top;
|
66 | }
|
67 |
|
68 | &#{$slick-prefix}-next {
|
69 | bottom: $bottom;
|
70 | }
|
71 | }
|
72 |
|
73 | @mixin slick-dots-position(
|
74 | $dots-width,
|
75 | $dots-offset,
|
76 | $dots-direction: 'hoz'
|
77 | ) {
|
78 | width: $dots-width;
|
79 | @if $dots-direction == 'ver' {
|
80 | top: 0;
|
81 | right: $dots-offset;
|
82 | bottom: 0;
|
83 | } @else {
|
84 | bottom: $dots-offset;
|
85 | left: 0;
|
86 | }
|
87 | }
|