You are here

slick.theme--full.css in Slick Carousel 7.2

Re-used rules for Fullscreen and Fullwidth.

File

css/theme/slick.theme--full.css
View source
  1. /**
  2. * @file
  3. * Re-used rules for Fullscreen and Fullwidth.
  4. */
  5. .slide__constrained {
  6. pointer-events: none;
  7. }
  8. .slide__constrained > .slide__caption {
  9. pointer-events: auto;
  10. }
  11. @media (min-width: 64em) {
  12. .slick--skin--fullwidth .slide__constrained > .slide__caption,
  13. .slick--skin--fullscreen .slide__constrained > .slide__caption {
  14. position: absolute;
  15. }
  16. .slide--caption--center .slide__constrained > .slide__caption {
  17. margin-top: -16%;
  18. top: 50%;
  19. }
  20. .slide--caption--center .slide__constrained > .slide__caption,
  21. .slide--caption--center-top .slide__constrained > .slide__caption {
  22. left: 50%;
  23. margin-left: -21%;
  24. padding: 0;
  25. text-align: center;
  26. }
  27. .slide--caption--right .slide__constrained > .slide__caption {
  28. left: auto;
  29. right: 0;
  30. }
  31. .slide--caption--top .slide__constrained > .slide__caption,
  32. .slide--caption--bottom .slide__constrained > .slide__caption {
  33. width: 100%;
  34. }
  35. .slide--caption--top .slide__constrained > .slide__caption {
  36. top: 0;
  37. }
  38. .slide--caption--bottom .slide__constrained > .slide__caption {
  39. bottom: 0;
  40. top: auto;
  41. }
  42. .slick--has-arrow-down .slide--caption--bottom .slide__constrained > .slide__caption {
  43. padding-bottom: 80px;
  44. }
  45. .slide--caption--stage-left .slide__constrained > .slide__caption,
  46. .slide--caption--stage-right .slide__constrained > .slide__caption,
  47. .slide--caption--stage-zebra .slide__constrained > .slide__caption {
  48. left: 50%;
  49. margin-left: -41%;
  50. padding: 0;
  51. width: 82%;
  52. }
  53. .slide--caption--stage-left .slide__constrained > .slide__caption > .slide__data,
  54. .slide--caption--stage-zebra:nth-child(odd) .slide__constrained > .slide__caption > .slide__data {
  55. margin-right: 56%;
  56. }
  57. .slide--caption--stage-right .slide__constrained > .slide__caption > .slide__data,
  58. .slide--caption--stage-zebra:nth-child(even) .slide__constrained > .slide__caption > .slide__data {
  59. margin-left: 56%;
  60. }
  61. .slide--caption--stage-left .slide__constrained > .slide__caption > .slide__overlay,
  62. .slide--caption--stage-zebra:nth-child(odd) .slide__constrained > .slide__caption > .slide__overlay {
  63. float: right;
  64. width: 52%;
  65. }
  66. .slide--caption--stage-right .slide__constrained > .slide__caption > .slide__overlay,
  67. .slide--caption--stage-zebra:nth-child(even) .slide__constrained > .slide__caption > .slide__overlay {
  68. float: left;
  69. width: 52%;
  70. }
  71. .slide--caption--below .slide__constrained > .slide__caption {
  72. padding: 20px 0;
  73. position: relative;
  74. top: auto;
  75. width: 100%;
  76. }
  77. }