You are here

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