You are here

slick.theme--fullscreen.css in Slick Carousel 8.2

Best with 1 slidesToShow, placed at external region.

Detailed stylings are all yours, get yourself dirty.

File

css/theme/slick.theme--fullscreen.css
View source
  1. /**
  2. * @file
  3. * Best with 1 slidesToShow, placed at external region.
  4. *
  5. * Detailed stylings are all yours, get yourself dirty.
  6. */
  7. html,
  8. body {
  9. height: 100%;
  10. margin: 0;
  11. min-height: 100%;
  12. }
  13. body {
  14. overflow: hidden;
  15. }
  16. .slick-wrapper--fullscreen {
  17. background: #000;
  18. }
  19. .slick-wrapper--fullscreen,
  20. .slick-wrapper--fullscreen .slick,
  21. .slick--skin--fullscreen {
  22. left: 0;
  23. position: fixed;
  24. top: 0;
  25. width: 100%;
  26. }
  27. .slick-wrapper--fullscreen,
  28. .slick--skin--fullscreen {
  29. height: 100%;
  30. min-height: 100%;
  31. }
  32. .slick-wrapper--fullscreen {
  33. z-index: 997;
  34. }
  35. .slick--skin--fullscreen {
  36. z-index: 998;
  37. }
  38. .slick-wrapper--fullscreen .slick.slick--thumbnail {
  39. bottom: 0;
  40. top: auto;
  41. z-index: 999;
  42. }
  43. .slick-wrapper--fullscreen.slick-wrapper--tn-top .slick.slick--thumbnail {
  44. bottom: auto;
  45. top: 0;
  46. z-index: 999;
  47. }
  48. .slick-wrapper--fullscreen .slick__slider {
  49. margin-bottom: 0;
  50. }
  51. .slick--skin--fullscreen .slick__slider {
  52. height: 100%;
  53. margin-bottom: 0;
  54. min-height: 100%;
  55. }
  56. /** @todo better way than over-specificity to support nested slicks. */
  57. .slick--skin--fullscreen .slick-list,
  58. .slick--skin--fullscreen .slick-track,
  59. .slick--skin--fullscreen .slick__slide,
  60. .slick--skin--fullscreen .slide__content,
  61. .slick--skin--fullscreen .media,
  62. .slick--skin--fullscreen .slide__media {
  63. height: 100% !important; /* csslint allow: known-properties, important */
  64. min-height: 320px;
  65. }
  66. .slick--skin--fullscreen .slick-track {
  67. margin: 0;
  68. padding: 0;
  69. }
  70. .slick--skin--fullscreen .slick__slide {
  71. background-repeat: no-repeat;
  72. background-position: center center;
  73. background-size: cover;
  74. }
  75. .slick--skin--fullscreen .slide__media img {
  76. height: auto;
  77. left: 0;
  78. margin: 0 auto;
  79. min-height: 100%;
  80. min-width: 100%;
  81. position: absolute;
  82. top: 0;
  83. width: 100%;
  84. }
  85. .slick--skin--fullscreen .slide__constrained {
  86. left: 50%;
  87. margin-left: -49%;
  88. position: absolute;
  89. width: 98%;
  90. }
  91. .slick--skin--fullscreen .slide__constrained .slide__caption {
  92. position: relative;
  93. }
  94. .slick--skin--fullscreen .slide__caption {
  95. font-size: 22px;
  96. font-size: 1.375rem;
  97. color: #fff;
  98. }
  99. .slick--skin--fullscreen .slide__title {
  100. color: #fff;
  101. font-size: 48px;
  102. font-size: 3rem;
  103. line-height: 1;
  104. text-transform: uppercase;
  105. }
  106. .slick--skin--fullscreen .slide__link a {
  107. border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  108. border-top: 2px solid rgba(255, 255, 255, 0.8);
  109. color: #fff;
  110. color: rgba(255, 255, 255, 0.8);
  111. text-decoration: none;
  112. }
  113. .slick--skin--fullscreen .slide__link a:hover {
  114. border-color: #fff;
  115. color: #fff;
  116. text-decoration: none;
  117. }
  118. .slick--skin--fullscreen .slick-dots {
  119. bottom: 20px;
  120. }
  121. /* Views UI Preview */
  122. body.path-admin {
  123. overflow: visible;
  124. }
  125. .path-admin .slick-wrapper--fullscreen,
  126. .path-admin .slick-wrapper--fullscreen .slick,
  127. .path-admin .slick--skin--fullscreen,
  128. .path-admin .slick--skin--fullscreen .slide__media {
  129. min-height: 620px;
  130. position: relative;
  131. }
  132. .path-admin .slick-wrapper--fullscreen .slick--thumbnail {
  133. min-height: 80px;
  134. position: absolute;
  135. }
  136. .path-admin .slick--skin--fullscreen .slick__slider {
  137. min-height: 120px;
  138. }
  139. /** Nested slicks overrides. */
  140. .slick-wrapper--fullscreen .slick .slick {
  141. position: relative;
  142. }
  143. .slick--skin--fullscreen .slick__slider .slick__slider {
  144. height: auto;
  145. }
  146. .slick--skin--fullscreen .slick-list .slick-list {
  147. height: auto !important; /* csslint allow: known-properties, important */
  148. min-height: 40px;
  149. }
  150. @media (min-width: 65em) {
  151. .slick--skin--fullscreen .slide__constrained {
  152. padding-top: 10%;
  153. }
  154. }
  155. @media (min-width: 90em) {
  156. .slick--skin--fullscreen .slide__constrained {
  157. margin-left: -585px;
  158. width: 1170px;
  159. }
  160. }