frontblocks-carousel.css
2 years ago
frontblocks-carousel.js
2 years ago
frontblocks-carousel.php
2 years ago
glide.min.js
2 years ago
frontblocks-carousel.css
140 lines
| 1 | /** |
| 2 | * ## Glide Carousel style |
| 3 | * --------------------------- */ |
| 4 | |
| 5 | .glide { |
| 6 | position: relative; |
| 7 | width: 100%; |
| 8 | box-sizing: border-box; |
| 9 | } |
| 10 | .glide * { |
| 11 | box-sizing: inherit; |
| 12 | } |
| 13 | .glide__track { |
| 14 | overflow: hidden; |
| 15 | } |
| 16 | .glide__slides { |
| 17 | position: relative; |
| 18 | width: 100%; |
| 19 | list-style: none; |
| 20 | backface-visibility: hidden; |
| 21 | transform-style: preserve-3d; |
| 22 | touch-action: pan-Y; |
| 23 | overflow: hidden; |
| 24 | margin: 0; |
| 25 | padding: 0; |
| 26 | white-space: nowrap; |
| 27 | display: flex; |
| 28 | flex-wrap: nowrap; |
| 29 | will-change: transform; |
| 30 | } |
| 31 | .glide__slides--dragging { |
| 32 | user-select: none; |
| 33 | } |
| 34 | .glide__slide { |
| 35 | width: 100%; |
| 36 | height: 100%; |
| 37 | flex-shrink: 0; |
| 38 | white-space: normal; |
| 39 | user-select: none; |
| 40 | -webkit-touch-callout: none; |
| 41 | -webkit-tap-highlight-color: transparent; |
| 42 | } |
| 43 | .glide__slide a { |
| 44 | user-select: none; |
| 45 | -webkit-user-drag: none; |
| 46 | -moz-user-select: none; |
| 47 | -ms-user-select: none; |
| 48 | } |
| 49 | .glide__arrows { |
| 50 | -webkit-touch-callout: none; |
| 51 | user-select: none; |
| 52 | } |
| 53 | .glide__bullets { |
| 54 | -webkit-touch-callout: none; |
| 55 | user-select: none; |
| 56 | } |
| 57 | .glide--rtl { |
| 58 | direction: rtl; |
| 59 | } |
| 60 | |
| 61 | /*# sourceMappingURL=glide.core.css.map */ |
| 62 | |
| 63 | .glide__arrow { |
| 64 | position: absolute; |
| 65 | display: block; |
| 66 | top: 50%; |
| 67 | z-index: 2; |
| 68 | color: white; |
| 69 | text-transform: uppercase; |
| 70 | padding: 9px 12px; |
| 71 | background-color: transparent; |
| 72 | border: 2px solid rgba(255, 255, 255, 0.5); |
| 73 | border-radius: 4px; |
| 74 | opacity: 1; |
| 75 | cursor: pointer; |
| 76 | transition: opacity 150ms ease, border 300ms ease-in-out; |
| 77 | transform: translateY(-50%); |
| 78 | line-height: 1; |
| 79 | } |
| 80 | .glide__arrow:focus { |
| 81 | outline: none; |
| 82 | } |
| 83 | .glide__arrow:hover { |
| 84 | border-color: white; |
| 85 | } |
| 86 | .glide__arrow--left { |
| 87 | left: 2em; |
| 88 | } |
| 89 | .glide__arrow--right { |
| 90 | right: 2em; |
| 91 | } |
| 92 | .glide__arrow--disabled { |
| 93 | opacity: 0.33; |
| 94 | } |
| 95 | .glide__bullets { |
| 96 | position: absolute; |
| 97 | z-index: 2; |
| 98 | bottom: 2em; |
| 99 | left: 50%; |
| 100 | display: inline-flex; |
| 101 | list-style: none; |
| 102 | transform: translateX(-50%); |
| 103 | } |
| 104 | .glide__bullet { |
| 105 | background-color: rgba(255, 255, 255, 0.5); |
| 106 | width: 9px; |
| 107 | height: 9px; |
| 108 | padding: 0; |
| 109 | border-radius: 50%; |
| 110 | border: 2px solid transparent; |
| 111 | transition: all 300ms ease-in-out; |
| 112 | cursor: pointer; |
| 113 | line-height: 0; |
| 114 | box-shadow: 0 0.25em 0.5em 0 rgba(0, 0, 0, 0.1); |
| 115 | margin: 0 0.25em; |
| 116 | } |
| 117 | .glide__bullet:focus { |
| 118 | outline: none; |
| 119 | } |
| 120 | .glide__bullet:hover, .glide__bullet:focus { |
| 121 | border: 2px solid white; |
| 122 | background-color: rgba(255, 255, 255, 0.5); |
| 123 | } |
| 124 | .glide__bullet--active { |
| 125 | background-color: white; |
| 126 | } |
| 127 | .glide--swipeable { |
| 128 | cursor: grab; |
| 129 | cursor: -moz-grab; |
| 130 | cursor: -webkit-grab; |
| 131 | } |
| 132 | .glide--dragging { |
| 133 | cursor: grabbing; |
| 134 | cursor: -moz-grabbing; |
| 135 | cursor: -webkit-grabbing; |
| 136 | } |
| 137 | |
| 138 | |
| 139 | /*# sourceMappingURL=glide.theme.css.map */ |
| 140 |