| 1 |
/*! Flickity v2.2.2 |
| 2 |
https://flickity.metafizzy.co |
| 3 |
---------------------------------------------- */ |
| 4 |
|
| 5 |
.flickity-enabled { |
| 6 |
position: relative; |
| 7 |
} |
| 8 |
|
| 9 |
.flickity-enabled:focus { outline: none; } |
| 10 |
|
| 11 |
.flickity-viewport { |
| 12 |
overflow: hidden; |
| 13 |
position: relative; |
| 14 |
height: 100%; |
| 15 |
} |
| 16 |
|
| 17 |
.flickity-slider { |
| 18 |
position: absolute; |
| 19 |
width: 100%; |
| 20 |
height: 100%; |
| 21 |
} |
| 22 |
|
| 23 |
/* draggable */ |
| 24 |
|
| 25 |
.flickity-enabled.is-draggable { |
| 26 |
-webkit-tap-highlight-color: transparent; |
| 27 |
-webkit-user-select: none; |
| 28 |
-moz-user-select: none; |
| 29 |
-ms-user-select: none; |
| 30 |
user-select: none; |
| 31 |
} |
| 32 |
|
| 33 |
.flickity-enabled.is-draggable .flickity-viewport { |
| 34 |
cursor: move; |
| 35 |
cursor: -webkit-grab; |
| 36 |
cursor: grab; |
| 37 |
} |
| 38 |
|
| 39 |
.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down { |
| 40 |
cursor: -webkit-grabbing; |
| 41 |
cursor: grabbing; |
| 42 |
} |
| 43 |
|
| 44 |
/* ---- flickity-button ---- */ |
| 45 |
|
| 46 |
.flickity-button { |
| 47 |
position: absolute; |
| 48 |
border: none; |
| 49 |
color: hsla(0, 0%, 100%, 0.75); |
| 50 |
} |
| 51 |
|
| 52 |
.flickity-button:hover { |
| 53 |
color: #FFF; |
| 54 |
cursor: pointer; |
| 55 |
} |
| 56 |
|
| 57 |
.flickity-button:focus { |
| 58 |
outline: none; |
| 59 |
box-shadow: 0 0 0 5px #19F; |
| 60 |
} |
| 61 |
|
| 62 |
.flickity-button:active { |
| 63 |
opacity: 0.6; |
| 64 |
} |
| 65 |
|
| 66 |
.flickity-button:disabled { |
| 67 |
opacity: 0.3; |
| 68 |
cursor: auto; |
| 69 |
/* prevent disabled button from capturing pointer up event. #716 */ |
| 70 |
pointer-events: none; |
| 71 |
} |
| 72 |
|
| 73 |
.flickity-button-icon { |
| 74 |
fill: currentColor; |
| 75 |
} |
| 76 |
|
| 77 |
/* ---- previous/next buttons ---- */ |
| 78 |
|
| 79 |
.flickity-prev-next-button { |
| 80 |
top: 50%; |
| 81 |
width: 44px; |
| 82 |
height: 44px; |
| 83 |
border-radius: 0; |
| 84 |
/* vertically center */ |
| 85 |
transform: translateY(-50%); |
| 86 |
} |
| 87 |
|
| 88 |
.flickity-prev-next-button.previous { left: 10px; } |
| 89 |
.flickity-prev-next-button.next { right: 10px; } |
| 90 |
/* right to left */ |
| 91 |
.flickity-rtl .flickity-prev-next-button.previous { |
| 92 |
left: auto; |
| 93 |
right: 10px; |
| 94 |
} |
| 95 |
.flickity-rtl .flickity-prev-next-button.next { |
| 96 |
right: auto; |
| 97 |
left: 10px; |
| 98 |
} |
| 99 |
|
| 100 |
.flickity-prev-next-button .flickity-button-icon { |
| 101 |
position: relative; |
| 102 |
left: 20%; |
| 103 |
top: 20%; |
| 104 |
width: 60%; |
| 105 |
height: 60%; |
| 106 |
} |
| 107 |
|
| 108 |
/* ---- page dots ---- */ |
| 109 |
|
| 110 |
.flickity-page-dots { |
| 111 |
position: absolute; |
| 112 |
width: 100%; |
| 113 |
bottom: 25px; |
| 114 |
padding: 0; |
| 115 |
margin: 0; |
| 116 |
list-style: none; |
| 117 |
text-align: center; |
| 118 |
line-height: 1; |
| 119 |
} |
| 120 |
|
| 121 |
.flickity-rtl .flickity-page-dots { direction: rtl; } |
| 122 |
|
| 123 |
.flickity-page-dots .dot { |
| 124 |
display: inline-block; |
| 125 |
width: 10px; |
| 126 |
height: 10px; |
| 127 |
margin: 0 8px; |
| 128 |
background: #333; |
| 129 |
border-radius: 50%; |
| 130 |
opacity: 1; |
| 131 |
cursor: pointer; |
| 132 |
} |
| 133 |
|
| 134 |
.flickity-page-dots .dot.is-selected { |
| 135 |
opacity: 1; |
| 136 |
} |