You are here

flickity.css in Flickity Carousel 8

/*! Flickity v1.1.1
http://flickity.metafizzy.co
---------------------------------------------- */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
          tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: white;
  background: hsla(0, 0%, 100%, 0.75);
  cursor: pointer;
  /* vertically center */
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.flickity-prev-next-button:hover { background: white; }

.flickity-prev-next-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #09F;
}

.flickity-prev-next-button:active {
  filter: alpha(opacity=60); /* IE8 */
  opacity: 0.6;
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button:disabled {
  filter: alpha(opacity=30); /* IE8 */
  opacity: 0.3;
  cursor: auto;
}

.flickity-prev-next-button svg {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

.flickity-prev-next-button .arrow {
  fill: #333;
}

/* color & size if no SVG - IE8 and Android 2.3 */
.flickity-prev-next-button.no-svg {
  color: #333;
  font-size: 26px;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -25px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 8px;
  background: #333;
  border-radius: 50%;
  filter: alpha(opacity=25); /* IE8 */
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  filter: alpha(opacity=100); /* IE8 */
  opacity: 1;
}

File

vendor/flickity/flickity.css
View source
  1. /*! Flickity v1.1.1
  2. http://flickity.metafizzy.co
  3. ---------------------------------------------- */
  4. .flickity-enabled {
  5. position: relative;
  6. }
  7. .flickity-enabled:focus { outline: none; }
  8. .flickity-viewport {
  9. overflow: hidden;
  10. position: relative;
  11. height: 100%;
  12. }
  13. .flickity-slider {
  14. position: absolute;
  15. width: 100%;
  16. height: 100%;
  17. }
  18. /* draggable */
  19. .flickity-enabled.is-draggable {
  20. -webkit-tap-highlight-color: transparent;
  21. tap-highlight-color: transparent;
  22. -webkit-user-select: none;
  23. -moz-user-select: none;
  24. -ms-user-select: none;
  25. user-select: none;
  26. }
  27. .flickity-enabled.is-draggable .flickity-viewport {
  28. cursor: move;
  29. cursor: -webkit-grab;
  30. cursor: grab;
  31. }
  32. .flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  33. cursor: -webkit-grabbing;
  34. cursor: grabbing;
  35. }
  36. /* ---- previous/next buttons ---- */
  37. .flickity-prev-next-button {
  38. position: absolute;
  39. top: 50%;
  40. width: 44px;
  41. height: 44px;
  42. border: none;
  43. border-radius: 50%;
  44. background: white;
  45. background: hsla(0, 0%, 100%, 0.75);
  46. cursor: pointer;
  47. /* vertically center */
  48. -webkit-transform: translateY(-50%);
  49. -ms-transform: translateY(-50%);
  50. transform: translateY(-50%);
  51. }
  52. .flickity-prev-next-button:hover { background: white; }
  53. .flickity-prev-next-button:focus {
  54. outline: none;
  55. box-shadow: 0 0 0 5px #09F;
  56. }
  57. .flickity-prev-next-button:active {
  58. filter: alpha(opacity=60); /* IE8 */
  59. opacity: 0.6;
  60. }
  61. .flickity-prev-next-button.previous { left: 10px; }
  62. .flickity-prev-next-button.next { right: 10px; }
  63. /* right to left */
  64. .flickity-rtl .flickity-prev-next-button.previous {
  65. left: auto;
  66. right: 10px;
  67. }
  68. .flickity-rtl .flickity-prev-next-button.next {
  69. right: auto;
  70. left: 10px;
  71. }
  72. .flickity-prev-next-button:disabled {
  73. filter: alpha(opacity=30); /* IE8 */
  74. opacity: 0.3;
  75. cursor: auto;
  76. }
  77. .flickity-prev-next-button svg {
  78. position: absolute;
  79. left: 20%;
  80. top: 20%;
  81. width: 60%;
  82. height: 60%;
  83. }
  84. .flickity-prev-next-button .arrow {
  85. fill: #333;
  86. }
  87. /* color & size if no SVG - IE8 and Android 2.3 */
  88. .flickity-prev-next-button.no-svg {
  89. color: #333;
  90. font-size: 26px;
  91. }
  92. /* ---- page dots ---- */
  93. .flickity-page-dots {
  94. position: absolute;
  95. width: 100%;
  96. bottom: -25px;
  97. padding: 0;
  98. margin: 0;
  99. list-style: none;
  100. text-align: center;
  101. line-height: 1;
  102. }
  103. .flickity-rtl .flickity-page-dots { direction: rtl; }
  104. .flickity-page-dots .dot {
  105. display: inline-block;
  106. width: 10px;
  107. height: 10px;
  108. margin: 0 8px;
  109. background: #333;
  110. border-radius: 50%;
  111. filter: alpha(opacity=25); /* IE8 */
  112. opacity: 0.25;
  113. cursor: pointer;
  114. }
  115. .flickity-page-dots .dot.is-selected {
  116. filter: alpha(opacity=100); /* IE8 */
  117. opacity: 1;
  118. }