|
| 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 | + background: hsla(0, 0%, 100%, 0.75); |
| 49 | + border: none; |
| 50 | + color: #333; |
| 51 | +} |
| 52 | + |
| 53 | +.flickity-button:hover { |
| 54 | + background: white; |
| 55 | + cursor: pointer; |
| 56 | +} |
| 57 | + |
| 58 | +.flickity-button:focus { |
| 59 | + outline: none; |
| 60 | + box-shadow: 0 0 0 5px #19F; |
| 61 | +} |
| 62 | + |
| 63 | +.flickity-button:active { |
| 64 | + opacity: 0.6; |
| 65 | +} |
| 66 | + |
| 67 | +.flickity-button:disabled { |
| 68 | + opacity: 0.3; |
| 69 | + cursor: auto; |
| 70 | + /* prevent disabled button from capturing pointer up event. #716 */ |
| 71 | + pointer-events: none; |
| 72 | +} |
| 73 | + |
| 74 | +.flickity-button-icon { |
| 75 | + fill: currentColor; |
| 76 | +} |
| 77 | + |
| 78 | +/* ---- previous/next buttons ---- */ |
| 79 | + |
| 80 | +.flickity-prev-next-button { |
| 81 | + top: 50%; |
| 82 | + width: 44px; |
| 83 | + height: 44px; |
| 84 | + border-radius: 50%; |
| 85 | + /* vertically center */ |
| 86 | + transform: translateY(-50%); |
| 87 | +} |
| 88 | + |
| 89 | +.flickity-prev-next-button.previous { left: 10px; } |
| 90 | +.flickity-prev-next-button.next { right: 10px; } |
| 91 | +/* right to left */ |
| 92 | +.flickity-rtl .flickity-prev-next-button.previous { |
| 93 | + left: auto; |
| 94 | + right: 10px; |
| 95 | +} |
| 96 | +.flickity-rtl .flickity-prev-next-button.next { |
| 97 | + right: auto; |
| 98 | + left: 10px; |
| 99 | +} |
| 100 | + |
| 101 | +.flickity-prev-next-button .flickity-button-icon { |
| 102 | + position: absolute; |
| 103 | + left: 20%; |
| 104 | + top: 20%; |
| 105 | + width: 60%; |
| 106 | + height: 60%; |
| 107 | +} |
| 108 | + |
| 109 | +/* ---- page dots ---- */ |
| 110 | + |
| 111 | +.flickity-page-dots { |
| 112 | + position: absolute; |
| 113 | + width: 100%; |
| 114 | + bottom: -25px; |
| 115 | + padding: 0; |
| 116 | + margin: 0; |
| 117 | + list-style: none; |
| 118 | + text-align: center; |
| 119 | + line-height: 1; |
| 120 | +} |
| 121 | + |
| 122 | +.flickity-rtl .flickity-page-dots { direction: rtl; } |
| 123 | + |
| 124 | +.flickity-page-dots .dot { |
| 125 | + display: inline-block; |
| 126 | + width: 10px; |
| 127 | + height: 10px; |
| 128 | + margin: 0 8px; |
| 129 | + background: #9cae40; |
| 130 | + border-radius: 50%; |
| 131 | + opacity: 0.25; |
| 132 | + cursor: pointer; |
| 133 | +} |
| 134 | + |
| 135 | +.flickity-page-dots .dot.is-selected { |
| 136 | + opacity: 1; |
| 137 | +} |
0 commit comments