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.
 
 
 
 

267 lines
5.6 KiB

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