flickity.css 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. /*! Flickity v2.2.1
  2. https://flickity.metafizzy.co
  3. ---------------------------------------------- */
  4. .flickity-enabled {
  5. position: relative; }
  6. .flickity-enabled:focus {
  7. outline: 0; }
  8. .flickity-viewport {
  9. overflow: hidden;
  10. position: relative;
  11. height: 100%; }
  12. .flickity-slider {
  13. position: absolute;
  14. width: 100%;
  15. height: 100%; }
  16. .flickity-enabled.is-draggable {
  17. -webkit-tap-highlight-color: transparent;
  18. -webkit-user-select: none;
  19. -moz-user-select: none;
  20. -ms-user-select: none;
  21. user-select: none; }
  22. .flickity-enabled.is-draggable .flickity-viewport {
  23. cursor: move;
  24. cursor: -webkit-grab;
  25. cursor: grab; }
  26. .flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  27. cursor: -webkit-grabbing;
  28. cursor: grabbing; }
  29. .flickity-button {
  30. position: absolute;
  31. background: rgba(255, 255, 255, 0.75);
  32. border: none;
  33. color: #333; }
  34. .flickity-button:hover {
  35. background: #fff;
  36. cursor: pointer; }
  37. .flickity-button:focus {
  38. outline: 0;
  39. box-shadow: 0 0 0 5px #19f; }
  40. .flickity-button:active {
  41. opacity: .6; }
  42. .flickity-button:disabled {
  43. opacity: .3;
  44. cursor: auto;
  45. pointer-events: none; }
  46. .flickity-button-icon {
  47. fill: currentColor; }
  48. .flickity-prev-next-button {
  49. top: 50%;
  50. width: 44px;
  51. height: 44px;
  52. border-radius: 50%;
  53. transform: translateY(-50%); }
  54. .flickity-prev-next-button.previous {
  55. left: 10px; }
  56. .flickity-prev-next-button.next {
  57. right: 10px; }
  58. .flickity-rtl .flickity-prev-next-button.previous {
  59. left: auto;
  60. right: 10px; }
  61. .flickity-rtl .flickity-prev-next-button.next {
  62. right: auto;
  63. left: 10px; }
  64. .flickity-prev-next-button .flickity-button-icon {
  65. position: absolute;
  66. left: 20%;
  67. top: 20%;
  68. width: 60%;
  69. height: 60%; }
  70. .flickity-page-dots {
  71. position: absolute;
  72. width: 100%;
  73. bottom: -25px;
  74. padding: 0;
  75. margin: 0;
  76. list-style: none;
  77. text-align: center;
  78. line-height: 1; }
  79. .flickity-rtl .flickity-page-dots {
  80. direction: rtl; }
  81. .flickity-page-dots .dot {
  82. display: inline-block;
  83. width: 10px;
  84. height: 10px;
  85. margin: 0 8px;
  86. background: #333;
  87. border-radius: 50%;
  88. opacity: .25;
  89. cursor: pointer; }
  90. .flickity-page-dots .dot.is-selected {
  91. opacity: 1; }