Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

167 строки
3.3 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .event-teaser {
  4. background-color: white;
  5. border-radius: 8px;
  6. overflow: hidden;
  7. display: flex;
  8. transition: 0.3s ease;
  9. text-decoration: none;
  10. position: relative;
  11. @include focus-visible;
  12. &:hover {
  13. color: var(--theme-color-secondary-intensed);
  14. .date-box {
  15. background-color: var(--theme-color-secondary-intensed);
  16. }
  17. }
  18. .date-box {
  19. display: flex;
  20. flex-direction: column;
  21. justify-content: flex-end;
  22. background-color: var(--theme-color-primary);
  23. color: var(--theme-color-white);
  24. margin-right: 18px;
  25. font-family: "Korb", sans-serif;
  26. min-height: 80px;
  27. font-size: 14px;
  28. line-height: 1;
  29. text-transform: uppercase;
  30. padding: 7px 12px 8px;
  31. min-width: 80px;
  32. transition: 0.2s ease;
  33. @media(max-width: 767px) {
  34. margin-right: 12px;
  35. justify-content: flex-start;
  36. padding-top: 10px;
  37. }
  38. span {
  39. white-space: nowrap;
  40. abbr {
  41. text-decoration: none;
  42. }
  43. }
  44. span:nth-child(2) {
  45. font-size: 36px;
  46. margin-left: -2px;
  47. }
  48. &.no-date {
  49. align-items: flex-start;
  50. &:before {
  51. @include icon-sanduhr;
  52. font-family: 'Icons', sans-serif;
  53. font-size: var(--icon-size);
  54. line-height: 1;
  55. margin-bottom: 4px;
  56. margin-top: 5px;
  57. }
  58. * {
  59. display: none;
  60. }
  61. }
  62. }
  63. .text-box {
  64. align-self: center;
  65. padding: 10px 18px 10px 0;
  66. line-height: 1.2;
  67. @media(max-width: 767px) {
  68. font-size: var(--font-size-small);
  69. }
  70. }
  71. p {
  72. margin: 0;
  73. &:not(:last-child) {
  74. margin: 2px 0 0.3em;
  75. }
  76. }
  77. .ev-title {
  78. ~ div {
  79. display: inline-block;
  80. font-size: var(--font-size-small);
  81. line-height: 1.2em;
  82. margin-right: 15px;
  83. margin-bottom: 2px;
  84. color: var(--theme-color-primary);
  85. &::before {
  86. position: relative;
  87. display: inline-block;
  88. font-family: 'Icons', sans-serif;
  89. font-size: 18px;
  90. line-height: 20px;
  91. margin-right: 5px;
  92. vertical-align: top;
  93. color: var(--theme-color-primary);
  94. }
  95. @media(max-width: 567px) {
  96. display: block;
  97. padding-left: 24px;
  98. position: relative;
  99. &:before {
  100. position: absolute;
  101. left: 0;
  102. }
  103. }
  104. &.date::before {
  105. @include icon-xsmall-kalender;
  106. }
  107. &.time::before {
  108. @include icon-xsmall-uhr;
  109. }
  110. &.location::before {
  111. @include icon-xsmall-pin;
  112. }
  113. &.interested-parties::before {
  114. @include icon-xsmall-liste;
  115. }
  116. &.price::before {
  117. @include icon-xsmall-euro;
  118. }
  119. &.status {
  120. &::before {
  121. @include icon-xsmall-offen;
  122. color: var(--theme-color-secondary-intensed);
  123. }
  124. &.interested-parties, &.waiting-list {
  125. &::before {
  126. @include icon-xsmall-liste;
  127. color: var(--theme-color-primary);
  128. }
  129. }
  130. &.reserved::before {
  131. @include icon-xsmall-geschlossen;
  132. color: var(--theme-color-error);
  133. }
  134. }
  135. }
  136. }
  137. .teaser--link {
  138. position: absolute;
  139. left: 0;
  140. top: 0;
  141. width: 100%;
  142. height: 100%;
  143. z-index: 10;
  144. }
  145. }