Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

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