25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

221 lines
3.7 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .events {
  4. padding: var(--section-padding) 0;
  5. background-color: var(--theme-color-primary-dimmed-04);
  6. .has-sidebar &,
  7. .magazine-article & {
  8. padding-left: calc(var(--section-padding) / 2);
  9. padding-right: calc(var(--section-padding) / 2);
  10. }
  11. .container > h2 {
  12. margin-top: var(--section-headline-margin);
  13. }
  14. + .events {
  15. margin-top: var(--border-width);
  16. }
  17. .events-actions {
  18. display: flex;
  19. flex-wrap: wrap;
  20. align-items: center;
  21. .prev, .next {
  22. margin-right: 10px;
  23. transition: 0.13s ease;
  24. &:hover {
  25. padding-left: 7px;
  26. }
  27. &.disabled {
  28. opacity: 0.4;
  29. pointer-events: none;
  30. }
  31. }
  32. .prev {
  33. transform: rotate(-90deg);
  34. }
  35. .next {
  36. transform: rotate(90deg);
  37. }
  38. a:last-child {
  39. @media(max-width: 767px) {
  40. margin-left: auto;
  41. }
  42. }
  43. > a:not(.btn) {
  44. @include focus-visible;
  45. &:hover {
  46. color: var(--theme-color-link-hover);
  47. }
  48. }
  49. }
  50. .mailupdate {
  51. margin-right: auto;
  52. display: block;
  53. @include focus-visible;
  54. transition: 0.3s ease;
  55. margin-left: -8px;
  56. padding: 2px 8px;
  57. border-radius: var(--border-radius-xs);
  58. @media(max-width: 767px) {
  59. margin-bottom: 20px;
  60. min-width: 100%;
  61. }
  62. }
  63. }
  64. /*
  65. .main-col {
  66. .events {
  67. padding: 34px 0;
  68. margin: calc(3% + 20px) 0;
  69. .container {
  70. padding: 0 42px;
  71. }
  72. }
  73. }
  74. */
  75. .events-wrapper {
  76. margin: 25px -10px;
  77. overflow: hidden;
  78. transition: 0.4s $easeOutQuad;
  79. padding: 0 10px;
  80. }
  81. .events-list {
  82. position: relative;
  83. list-style: none;
  84. padding: 0;
  85. margin: 0;
  86. transition: 0.4s $easeOutQuad;
  87. .result + .more-wrapper {
  88. margin-top: 24px;
  89. }
  90. li {
  91. position: relative;
  92. display: block;
  93. padding: 5px 0;
  94. }
  95. .event-component {
  96. margin: 10px 0;
  97. opacity: 1;
  98. }
  99. p {
  100. margin: 0 4px 2px;
  101. line-height: 1.2;
  102. text-decoration: underline;
  103. @media(max-width: 767px) {
  104. font-size: 16px;
  105. }
  106. }
  107. }
  108. .results-wrapper.events-list {
  109. .date-wrapper {
  110. font-size: 18px;
  111. line-height: 1.3;
  112. }
  113. a:not(.btn):hover .ev-title ~ div {
  114. color: var(--theme-color-primary);
  115. }
  116. .ev-title {
  117. text-decoration: underline;
  118. font-weight: 600;
  119. margin: 12px 0 6px;
  120. font-size: 22px;
  121. ~ div {
  122. display: inline-block;
  123. font-size: 18px;
  124. line-height: 22px;
  125. margin-right: 15px;
  126. margin-bottom: 2px;
  127. &:last-child {
  128. margin-bottom: 8px;
  129. }
  130. &:before {
  131. position: relative;
  132. display: inline-block;
  133. font-family: "Icons", sans-serif;
  134. font-size: 16px;
  135. line-height: 20px;
  136. margin-right: 5px;
  137. vertical-align: top;
  138. top: -1px;
  139. }
  140. @media(max-width: 567px) {
  141. display: block;
  142. padding-left: 24px;
  143. position: relative;
  144. &:before {
  145. position: absolute;
  146. left: 0;
  147. }
  148. }
  149. &.date {
  150. //@extend .icon-xsmall-kalender;
  151. }
  152. &.time {
  153. //@extend .icon-xsmall-uhr;
  154. }
  155. &.location {
  156. //@extend .icon-xsmall-pin;
  157. }
  158. &.interested-parties {
  159. //@extend .icon-xsmall-liste;
  160. }
  161. &.price {
  162. //@extend .icon-xsmall-euro;
  163. }
  164. &.status {
  165. //@extend .icon-xsmall-offen;
  166. &:before {
  167. color: #2E8533;
  168. }
  169. &.interested-parties, &.waiting-list {
  170. //@extend .icon-xsmall-liste;
  171. &:before {
  172. color: var(--theme-color-primary);
  173. }
  174. }
  175. &.reserved {
  176. //@extend .icon-xsmall-geschlossen;
  177. &:before {
  178. color: #EA515A;
  179. }
  180. }
  181. }
  182. }
  183. }
  184. }