frontend.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /* Wrappers */
  2. body.rtl .fl-module-content-slider .bx-viewport {
  3. direction: ltr;
  4. }
  5. .fl-module-content-slider .bx-wrapper {
  6. margin: 0 auto 40px;
  7. }
  8. .fl-content-slider {
  9. position: relative;
  10. }
  11. .fl-content-slider .fl-slide {
  12. backface-visibility: hidden;
  13. -webkit-backface-visibility: hidden;
  14. position: absolute;
  15. top: 0;
  16. visibility: hidden;
  17. }
  18. .fl-content-slider-wrapper .fl-slide:first-child,
  19. .fl-content-slider-loaded .fl-slide {
  20. position: relative;
  21. visibility: visible;
  22. }
  23. /* Controls */
  24. .bx-wrapper .bx-controls-direction a {
  25. z-index: 99;
  26. }
  27. /* Background Photo */
  28. .fl-content-slider .fl-slide-bg-photo {
  29. background-position: 50% 50%;
  30. background-repeat: no-repeat;
  31. background-size: cover;
  32. bottom: 0;
  33. left: 0;
  34. position: absolute;
  35. right: 0;
  36. top: 0;
  37. z-index: 1;
  38. }
  39. .fl-content-slider .fl-slide-bg-photo-img {
  40. display: none;
  41. }
  42. /* Background Link */
  43. .fl-content-slider .fl-slide-bg-link {
  44. bottom: 0;
  45. left: 0;
  46. position: absolute;
  47. right: 0;
  48. top: 0;
  49. z-index: 1;
  50. }
  51. /* Foreground Photo/Video */
  52. .fl-slide-photo {
  53. position: relative;
  54. text-align: center;
  55. z-index: 2;
  56. }
  57. .fl-slide-text-left .fl-slide-photo-wrap {
  58. float: right;
  59. }
  60. .fl-slide-text-center .fl-slide-photo-wrap {
  61. text-align: center;
  62. }
  63. .fl-slide-text-center .fl-slide-photo-wrap img {
  64. margin: 0 auto;
  65. }
  66. .fl-slide-text-right .fl-slide-photo-wrap {
  67. float: left;
  68. }
  69. /* Mobile Photo/Video */
  70. .fl-slide-mobile-photo {
  71. display: none;
  72. }
  73. .fl-slide-mobile-photo-img {
  74. width: 100%;
  75. }
  76. /* Title and Text Position */
  77. .fl-slide-content {
  78. position: relative;
  79. z-index: 2;
  80. }
  81. .fl-slide-text-left .fl-slide-content-wrap {
  82. float: left;
  83. text-align: left;
  84. }
  85. .fl-slide-text-center .fl-slide-content-wrap {
  86. margin: 0 auto;
  87. text-align: center;
  88. }
  89. .fl-slide-text-right .fl-slide-content-wrap {
  90. float: right;
  91. text-align: left;
  92. }
  93. /* Title and Text Style */
  94. .fl-slide-title,
  95. .fl-slide-text > * {
  96. line-height: 1.4;
  97. margin: 0 0 20px !important;
  98. padding: 0 !important;
  99. }
  100. .fl-slide-text > *:last-child {
  101. margin: 0 !important;
  102. }
  103. /* Buttons */
  104. .fl-slide-cta-button {
  105. padding-top: 24px;
  106. }
  107. .fl-content-slider-navigation{
  108. position: absolute;
  109. top: 50%;
  110. left: 0;
  111. right: 0;
  112. z-index: 1;
  113. margin-top: -16px;
  114. }
  115. .fl-content-slider-navigation a{
  116. position: absolute;
  117. display: inline-block;
  118. opacity: .7;
  119. }
  120. .fl-content-slider-navigation a:hover{ opacity: 1; }
  121. .fl-content-slider-navigation .slider-prev{ left: 5px; }
  122. .fl-content-slider-navigation .slider-next{ right: 5px; }
  123. .fl-content-slider-navigation .fl-content-slider-svg-container{
  124. position: relative;
  125. width: 32px;
  126. height: 32px;
  127. }
  128. .fl-content-slider-navigation svg{
  129. position: absolute;
  130. top: 0;
  131. left: 0;
  132. bottom: 0;
  133. right: 0;
  134. }
  135. .fl-content-slider-navigation path{
  136. fill: #fff;
  137. }
  138. .fl-content-slider-navigation a.disabled,
  139. .bx-controls a.disabled {
  140. cursor: not-allowed;
  141. pointer-events: none;
  142. }
  143. /* Slider controls fixes */
  144. .bx-wrapper .bx-controls:not(.bx-has-pager) {
  145. height: 30px;
  146. }
  147. .bx-wrapper .bx-controls:not(.bx-has-pager) .bx-controls-auto {
  148. bottom: 0;
  149. }