Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

205 rindas
3.8 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. @import '../../components/event-teaser-large/event-teaser-large.scss';
  4. .right-open-container{
  5. width: calc((var(--container-width) / 2) + 50vw - 20px);
  6. margin-left:auto;
  7. margin-right:0;
  8. padding-right:0;
  9. }
  10. .eventteaserlargeslider {
  11. opacity: 0;
  12. transition: opacity 0.4s linear;
  13. &.initiated {
  14. opacity: 1;
  15. }
  16. &.single-slide {
  17. .controls {
  18. display: none;
  19. }
  20. }
  21. .slide-overflow {
  22. overflow: hidden;
  23. transition: height 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  24. }
  25. img.loading {
  26. opacity: 0;
  27. }
  28. img.loaded {
  29. transition: 0.3s ease;
  30. opacity: 1;
  31. }
  32. .slide-wrapper {
  33. position: relative;
  34. display: flex;
  35. align-items: flex-start;
  36. width: 80000px;
  37. contain: layout;
  38. margin:0 -15px;
  39. &.no-transition {
  40. -webkit-user-select: none;
  41. -moz-user-select: none;
  42. -ms-user-select: none;
  43. user-select: none;
  44. .image-box:after {
  45. content: "";
  46. @include full-size;
  47. z-index: 2;
  48. }
  49. }
  50. img, a {
  51. -webkit-user-select: none;
  52. -moz-user-select: none;
  53. -ms-user-select: none;
  54. user-select: none;
  55. -webkit-user-drag: none;
  56. -moz-user-drag: none;
  57. }
  58. }
  59. .slide {
  60. position: relative;
  61. //width: 100% !important;
  62. width:1%;
  63. max-width:1%;
  64. min-width:1%;
  65. //max-width: 800px !important;
  66. min-height:400px;
  67. padding:0 15px;
  68. }
  69. .prev-clone,
  70. .next-clone {
  71. position: absolute;
  72. display: flex;
  73. width: 100%;
  74. }
  75. .prev-clone {
  76. position: absolute;
  77. right: 100%;
  78. justify-content: flex-end;
  79. }
  80. }
  81. .rotation .eventteaserlargeslider {
  82. margin-bottom:2rem;
  83. position: relative;
  84. display: block;
  85. button {
  86. border: 0;
  87. background-color: transparent;
  88. padding: 0;
  89. cursor: pointer;
  90. }
  91. .slider-tabs, .tabs {
  92. position: absolute;
  93. bottom: -2rem;
  94. left: 50%;
  95. right: 0;
  96. padding: 0;
  97. list-style: none;
  98. transform: translate(-50%, 0);
  99. text-align: center;
  100. font-size: 0;
  101. line-height: 0;
  102. margin: 0;
  103. @media(max-width: 567px) {
  104. margin-bottom: 12px;
  105. }
  106. li {
  107. display: inline-block;
  108. vertical-align: top;
  109. &.active button:before {
  110. background-color: var(--theme-color-primary);
  111. box-shadow: 0 0 0 2px var(--theme-color-primary);
  112. }
  113. }
  114. .btn {
  115. --button-min-size: 24px;
  116. font-size: 0;
  117. line-height: 0;
  118. display: flex;
  119. align-items: center;
  120. justify-content: center;
  121. &::before {
  122. content: "";
  123. position: relative;
  124. display: block;
  125. width: 10px;
  126. height: 10px;
  127. border: 2px solid var(--theme-color-primary);
  128. border-radius: 5px;
  129. transition: 0.2s ease;
  130. }
  131. &::after {
  132. display: none;
  133. }
  134. &:hover {
  135. background-color: transparent;
  136. &::before {
  137. background-color: var(--theme-color-primary);
  138. }
  139. }
  140. }
  141. }
  142. .prev, .next {
  143. position: absolute;
  144. top: -100px;
  145. width: 60px;
  146. height: 60px;
  147. text-align: center;
  148. line-height: 60px;
  149. left: calc(var(--container-width) - 2 * var(--container-padding) - 60px);
  150. //margin: -25px 10px;
  151. color: var(--theme-color-primary);
  152. right:auto;
  153. border-radius: 24px;
  154. background: var(--theme-color-primary-dimmed-04);
  155. @media(max-width: 767px) {
  156. display: none;
  157. }
  158. &:before {
  159. @include icon-small-arrow-right-simple;
  160. font-family: "Icons", sans-serif;
  161. font-size: 30px;
  162. }
  163. }
  164. .prev {
  165. left: calc(var(--container-width) - 2 * var(--container-padding) - 140px);
  166. transform: rotate(180deg);
  167. }
  168. .count{
  169. display:none;
  170. }
  171. h2, .like-h2 {
  172. margin-top: 0.3em;
  173. margin-bottom: 0.4em;
  174. }
  175. }