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.
 
 
 
 

157 lines
3.1 KiB

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