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.
 
 
 
 

269 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. width: 100%;
  10. text-decoration: none;
  11. min-height:400px;
  12. flex-wrap: wrap;
  13. &:not(.widemode){
  14. flex-wrap: wrap;
  15. align-content: baseline;
  16. flex-flow: column;
  17. justify-content: flex-start;
  18. background-color: var(--theme-grey-light);
  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(--theme-color-secondary-intensed);
  29. .blue-box {
  30. background-color: var(--theme-color-secondary-intensed);
  31. }
  32. }
  33. .blue-box {
  34. display: flex;
  35. //flex-direction: column;
  36. justify-content: flex-end;
  37. color: var(--theme-color-white);
  38. margin-right: 18px;
  39. font-family: "Korb", sans-serif;
  40. min-height: 80px;
  41. font-size: 14px;
  42. line-height: 1;
  43. padding: 70px 15px 15px 15px;
  44. min-width: 80px;
  45. transition: 0.2s ease;
  46. position:relative;
  47. flex-flow: column;
  48. align-items: baseline;
  49. width:100%;
  50. margin-right: 0;
  51. min-height:250px;
  52. position: relative;
  53. &:not(.background-image){
  54. background: linear-gradient(135deg, #036 45.14%, #368484 100%), #D9D9D9;
  55. }
  56. .img-con{
  57. position:absolute;
  58. top:0;
  59. left:0;
  60. right:0;
  61. bottom:0;
  62. background-color:rgba(#003366,0.54);
  63. z-index:0;
  64. }
  65. &.background-image{
  66. .img-con:before{
  67. content:"";
  68. 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%);
  69. position:absolute;
  70. top:0;
  71. left:0;
  72. right:0;
  73. bottom:0;
  74. z-index:1;
  75. }
  76. }
  77. .icon-box {
  78. font-family: 'Pictograms', sans-serif;
  79. font-size: 48px;
  80. line-height: 1;
  81. color: var(--theme-color-white);
  82. position:absolute;
  83. top:15px;
  84. left:15px;
  85. }
  86. .ev-title{
  87. font-weight: 400;
  88. text-decoration: underline;
  89. line-height: normal;
  90. font-size: 28px;
  91. position:relative;
  92. }
  93. .ev-cat{
  94. color: #003366;
  95. font-size: 16px;
  96. font-family: Source Sans Pro;
  97. font-weight: 400;
  98. text-transform: uppercase;
  99. line-height: 16px;
  100. letter-spacing: 0.32px;
  101. background-color:white;
  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(--theme-grey-light);
  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. }
  146. }
  147. p {
  148. margin: 0;
  149. &:not(:last-child) {
  150. margin: 2px 0 0.3em;
  151. }
  152. }
  153. .detail-box {
  154. padding-top: 15px;
  155. border-top: 1px #CCD7E6 solid;
  156. .btn{
  157. float: right;
  158. margin-top:15px;
  159. display:none;
  160. }
  161. > div {
  162. display: block;
  163. font-size: var(--font-size-small);
  164. line-height: 1.2em;
  165. margin-right: 15px;
  166. margin-bottom: 5px;
  167. color: var(--theme-color-primary);
  168. &::before {
  169. position: relative;
  170. display: inline-block;
  171. font-family: 'Icons', sans-serif;
  172. font-size: 18px;
  173. line-height: 20px;
  174. margin-right: 5px;
  175. vertical-align: top;
  176. color: var(--theme-color-primary);
  177. }
  178. @media(max-width: 567px) {
  179. display: block;
  180. padding-left: 24px;
  181. position: relative;
  182. &:before {
  183. position: absolute;
  184. left: 0;
  185. }
  186. }
  187. &.date::before {
  188. @include icon-xsmall-kalender;
  189. }
  190. &.time::before {
  191. @include icon-xsmall-uhr;
  192. }
  193. &.location::before {
  194. @include icon-xsmall-pin;
  195. }
  196. &.interested-parties::before {
  197. @include icon-xsmall-liste;
  198. }
  199. &.price::before {
  200. @include icon-xsmall-euro;
  201. }
  202. &.status {
  203. &::before {
  204. @include icon-xsmall-offen;
  205. color: #2E8533;
  206. }
  207. &.interested-parties, &.waiting-list {
  208. &::before {
  209. @include icon-xsmall-liste;
  210. color: var(--theme-color-primary);
  211. }
  212. }
  213. &.reserved::before {
  214. @include icon-xsmall-geschlossen;
  215. color: #EA515A;
  216. }
  217. }
  218. }
  219. }
  220. &.widemode{
  221. @media screen and (min-width:992px){
  222. border-radius: 4px;
  223. .blue-box{
  224. width:50%;
  225. padding: 100px 15px 20px 15px;
  226. .icon-box {
  227. font-size: 70px;
  228. top:20px;
  229. }
  230. .ev-title{
  231. font-size: 36px;
  232. line-height: 43.20px;
  233. }
  234. }
  235. .text-box{
  236. width:50%;
  237. padding: 20px;
  238. .detail-box {
  239. .btn{
  240. display:inline-block;
  241. }
  242. }
  243. .ev-desc{
  244. font-size:18px;
  245. }
  246. }
  247. }
  248. }
  249. }