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.
 
 
 
 

267 rindas
5.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: 400px) {
  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: 34500px;
  50. //margin:0;
  51. }
  52. @media(max-width: 399px) {
  53. width: 10000%;
  54. margin:0;
  55. }
  56. &.no-transition {
  57. -webkit-user-select: none;
  58. -moz-user-select: none;
  59. -ms-user-select: none;
  60. user-select: none;
  61. .image-box:after {
  62. content: "";
  63. @include full-size;
  64. z-index: 2;
  65. }
  66. }
  67. img, a {
  68. -webkit-user-select: none;
  69. -moz-user-select: none;
  70. -ms-user-select: none;
  71. user-select: none;
  72. -webkit-user-drag: none;
  73. -moz-user-drag: none;
  74. }
  75. }
  76. .slide {
  77. position: relative;
  78. width:1%;
  79. max-width:1%;
  80. min-width:1%;
  81. min-height:400px;
  82. padding:var(--col-padding);
  83. @media(min-width: 1000px) {
  84. //padding:var(--col-padding);
  85. }
  86. @media(min-width: 400px) {
  87. padding:var(--col-padding);
  88. }
  89. }
  90. .prev-clone,
  91. .next-clone {
  92. position: absolute;
  93. display: flex;
  94. width: 100%;
  95. }
  96. .prev-clone {
  97. position: absolute;
  98. right: 100%;
  99. justify-content: flex-end;
  100. }
  101. }
  102. .rotationslider{
  103. margin-bottom:calc(var(--section-margin) + 2rem) !important;
  104. overflow: hidden;
  105. padding-top: var(--section-margin);
  106. margin-top:0;
  107. h1{
  108. max-width: 50%;
  109. display: inline-block;
  110. }
  111. .eventteaserlargeslider {
  112. margin-bottom:2rem;
  113. position: relative;
  114. display: block;
  115. button {
  116. border: 0;
  117. background-color: transparent;
  118. padding: 0;
  119. cursor: pointer;
  120. }
  121. .slider-tabs, .tabs {
  122. position: absolute;
  123. bottom: -2rem;
  124. left: 50%;
  125. right: 0;
  126. padding: 0;
  127. list-style: none;
  128. transform: translate(-50%, 0);
  129. text-align: center;
  130. font-size: 0;
  131. line-height: 0;
  132. margin: 0;
  133. li {
  134. display: inline-block;
  135. vertical-align: top;
  136. &.active button:before {
  137. background-color: var(--theme-color-primary);
  138. //box-shadow: 0 0 0 2px var(--theme-color-primary);
  139. }
  140. }
  141. .btn {
  142. --button-min-size: 24px;
  143. font-size: 0;
  144. line-height: 0;
  145. display: flex;
  146. align-items: center;
  147. justify-content: center;
  148. &::before {
  149. content: "";
  150. position: relative;
  151. display: block;
  152. width: 15px;
  153. height: 15px;
  154. //border: 2px solid var(--theme-color-primary);
  155. background-color: var(--theme-color-primary-dimmed-04);
  156. border-radius: 15px;
  157. transition: 0.2s ease;
  158. }
  159. &::after {
  160. display: none;
  161. }
  162. &:hover {
  163. background-color: transparent;
  164. &::before {
  165. background-color: var(--theme-color-primary);
  166. }
  167. }
  168. }
  169. }
  170. .prev, .next {
  171. position: absolute;
  172. top: -94px;
  173. width: 60px;
  174. height: 60px;
  175. text-align: center;
  176. line-height: 60px;
  177. left: calc(var(--container-width) - 2 * var(--container-padding) - 60px);
  178. color: var(--theme-color-primary);
  179. right:auto;
  180. border-radius: 24px;
  181. background: var(--theme-color-primary-dimmed-04);
  182. --button-hover-shadow-opacity: 0.4;
  183. --button-hover-shadow-size: 6px ;
  184. @media(max-width: 1470px) {
  185. left:auto;
  186. right: var(--container-padding);
  187. }
  188. @media(max-width: 1339px) {
  189. top: -90px;
  190. }
  191. @media(max-width: 399px) {
  192. right:0px;
  193. top: -80px;
  194. }
  195. @media(max-width: 767px) {
  196. }
  197. &:before {
  198. @include icon-small-arrow-right-simple;
  199. font-family: "Icons", sans-serif;
  200. font-size: 30px;
  201. content: "\e825";
  202. }
  203. &:after{
  204. content: "";
  205. position: absolute;
  206. display: block;
  207. top: 0;
  208. left: 0;
  209. right: 0;
  210. bottom: 0;
  211. border-radius: var(--border-radius-lg);
  212. box-shadow: 0 0 0 2px var(--theme-color-primary-dimmed-04);
  213. opacity: 0;
  214. transition: 0.3s ease;
  215. }
  216. &:hover:after{
  217. opacity: 0.4;
  218. box-shadow: 0 0 0 6px var(--theme-color-primary-dimmed-04);
  219. }
  220. }
  221. .prev {
  222. left: calc(var(--container-width) - 2 * var(--container-padding) - 140px);
  223. transform: rotate(180deg);
  224. @media(max-width: 1470px) {
  225. left:auto;
  226. right:calc(var(--container-padding) + 70px);
  227. }
  228. @media(max-width: 399px) {
  229. right:70px;
  230. }
  231. }
  232. .count{
  233. display:none;
  234. }
  235. h2, .like-h2 {
  236. margin-top: 0.3em;
  237. margin-bottom: 0.4em;
  238. }
  239. }
  240. }