You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

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