Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.
 
 
 
 

282 Zeilen
5.9 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .event-teaser-large {
  4. background-color: var(--color-background);
  5. border-radius: 16px;
  6. overflow: hidden;
  7. display: flex;
  8. transition: 0.3s ease;
  9. width: 100%;
  10. text-decoration: none;
  11. min-height:400px;
  12. flex-wrap: wrap;
  13. position: relative;
  14. &:not(.widemode){
  15. flex-wrap: wrap;
  16. align-content: baseline;
  17. flex-flow: column;
  18. justify-content: flex-start;
  19. .blue-box {
  20. height:250px;
  21. }
  22. .text-box{
  23. height: calc(100% - 250px);
  24. }
  25. }
  26. @include focus-visible;
  27. &:hover {
  28. color: var(--color-text-accent);
  29. .blue-box {
  30. background-color: var(--color-text-accent);
  31. }
  32. }
  33. .blue-box {
  34. display: flex;
  35. //flex-direction: column;
  36. justify-content: flex-end;
  37. color: var(--color-text);
  38. font-family: "Korb", sans-serif;
  39. font-size: 14px;
  40. line-height: 1;
  41. padding: 70px 15px 15px 15px;
  42. min-width: 80px;
  43. transition: 0.2s ease;
  44. position:relative;
  45. flex-flow: column;
  46. align-items: baseline;
  47. width:100%;
  48. margin-right: 0;
  49. min-height:250px;
  50. position: relative;
  51. &:not(.background-image){
  52. //background: linear-gradient(135deg, #036 45.14%, #368484 100%), #D9D9D9;
  53. background: linear-gradient(132deg, var(--gradient-b) 26.51%, var(--gradient-a) 100%);
  54. }
  55. .img-con{
  56. position:absolute;
  57. top:0;
  58. left:0;
  59. right:0;
  60. bottom:0;
  61. background-color:rgba(#003366,0.54);
  62. background-size: cover;
  63. background-position: 50% 50%;
  64. z-index:0;
  65. }
  66. &.background-image{
  67. .img-con:before{
  68. content:"";
  69. background: linear-gradient(0deg, rgba(0, 51, 102, 0.33) 0%, rgba(0, 51, 102, 0.33) 100%), linear-gradient(180deg, rgba(0, 32, 65, 0) 0%, rgba(0, 32.45, 64.90, 0.60) 100%);
  70. position:absolute;
  71. top:0;
  72. left:0;
  73. right:0;
  74. bottom:0;
  75. z-index:1;
  76. }
  77. }
  78. .icon-box {
  79. font-family: 'Pictograms', sans-serif;
  80. font-size: 48px;
  81. line-height: 1;
  82. color: var(--color-text);
  83. position:absolute;
  84. top:15px;
  85. left:15px;
  86. }
  87. .ev-title{
  88. font-weight: 400;
  89. text-decoration: underline;
  90. line-height: normal;
  91. font-size: 28px;
  92. position:relative;
  93. }
  94. .ev-cat{
  95. color: var(--color-button-tertiary-text);
  96. font-size: 16px;
  97. font-family: "Source Sans Pro", sans-serif;
  98. font-weight: 400;
  99. line-height: 16px;
  100. letter-spacing: 0.32px;
  101. background-color: var(--color-button-tertiary-background);
  102. border-radius:8px;
  103. display:inline-block;
  104. padding:5px 7px;
  105. position:relative;
  106. }
  107. span {
  108. white-space: nowrap;
  109. }
  110. span:nth-child(2) {
  111. font-size: 36px;
  112. margin-left: -2px;
  113. }
  114. &.no-date {
  115. align-items: flex-start;
  116. &:before {
  117. @include icon-sanduhr;
  118. font-family: 'Icons', sans-serif;
  119. font-size: var(--icon-size);
  120. line-height: 1;
  121. margin-bottom: 4px;
  122. margin-top: 5px;
  123. }
  124. * {
  125. display: none;
  126. }
  127. }
  128. }
  129. .text-box {
  130. //align-self: center;
  131. padding: 15px;
  132. //line-height: 1.2;
  133. //background-color: var(--color-background);
  134. width:100%;
  135. display:flex;
  136. justify-content:space-between;
  137. flex-flow: column;
  138. @media(max-width: 767px) {
  139. font-size: var(--font-size-small);
  140. }
  141. .ev-desc{
  142. line-height: 27px;
  143. letter-spacing: 0.18px;
  144. font-size:18px;
  145. display: -webkit-box;
  146. -webkit-line-clamp: 6;
  147. -webkit-box-orient: vertical;
  148. overflow: hidden;
  149. }
  150. }
  151. p {
  152. margin: 0;
  153. &:not(:last-child) {
  154. margin: 2px 0 0.3em;
  155. }
  156. }
  157. .detail-box {
  158. padding-top: 15px;
  159. border-top: 1px #CCD7E6 solid;
  160. .btn{
  161. float: right;
  162. margin-top:15px;
  163. display:none;
  164. }
  165. > div {
  166. display: block;
  167. font-size: var(--font-size-small);
  168. line-height: 1.2em;
  169. margin-right: 15px;
  170. margin-bottom: 5px;
  171. color: var(--color-text);
  172. &::before {
  173. position: relative;
  174. display: inline-block;
  175. font-family: 'Icons', sans-serif;
  176. font-size: 18px;
  177. line-height: 20px;
  178. margin-right: 5px;
  179. vertical-align: top;
  180. color: var(--color-text);
  181. }
  182. @media(max-width: 567px) {
  183. display: block;
  184. padding-left: 24px;
  185. position: relative;
  186. &:before {
  187. position: absolute;
  188. left: 0;
  189. }
  190. }
  191. &.date::before {
  192. @include icon-xsmall-kalender;
  193. }
  194. &.time::before {
  195. @include icon-xsmall-uhr;
  196. }
  197. &.location::before {
  198. @include icon-xsmall-pin;
  199. }
  200. &.interested-parties::before {
  201. @include icon-xsmall-liste;
  202. }
  203. &.price::before {
  204. @include icon-xsmall-euro;
  205. }
  206. &.status {
  207. &::before {
  208. @include icon-xsmall-offen;
  209. color: var(--color-text-accent);
  210. }
  211. &.interested-parties, &.waiting-list {
  212. &::before {
  213. @include icon-xsmall-liste;
  214. color: var(--color-text);
  215. }
  216. }
  217. &.reserved::before {
  218. @include icon-xsmall-geschlossen;
  219. color: var(--theme-color-error);
  220. }
  221. }
  222. }
  223. }
  224. &.widemode{
  225. @media screen and (min-width:992px){
  226. //border-radius: 4px;
  227. .blue-box{
  228. width:50%;
  229. padding: 100px 15px 20px 15px;
  230. .icon-box {
  231. font-size: 70px;
  232. top:20px;
  233. }
  234. .ev-title{
  235. font-size: 36px;
  236. line-height: 43.20px;
  237. }
  238. }
  239. .text-box{
  240. width:50%;
  241. padding: 20px;
  242. .detail-box {
  243. .btn{
  244. display:inline-block;
  245. }
  246. }
  247. .ev-desc{
  248. font-size:18px;
  249. }
  250. }
  251. }
  252. }
  253. .teaser--link {
  254. position: absolute;
  255. left: 0;
  256. top: 0;
  257. width: 100%;
  258. height: 100%;
  259. z-index: 10;
  260. }
  261. }