Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

284 строки
5.9 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .event-teaser-large {
  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. position: relative;
  14. &:not(.widemode){
  15. flex-wrap: wrap;
  16. align-content: baseline;
  17. flex-flow: column;
  18. justify-content: flex-start;
  19. background-color: var(--theme-grey-light);
  20. .blue-box {
  21. height:250px;
  22. }
  23. .text-box{
  24. height: calc(100% - 250px);
  25. }
  26. }
  27. @include focus-visible;
  28. &:hover {
  29. color: var(--theme-color-secondary-intensed);
  30. .blue-box {
  31. background-color: var(--theme-color-secondary-intensed);
  32. }
  33. }
  34. .blue-box {
  35. display: flex;
  36. //flex-direction: column;
  37. justify-content: flex-end;
  38. color: var(--theme-color-white);
  39. margin-right: 18px;
  40. font-family: "Korb", sans-serif;
  41. min-height: 80px;
  42. font-size: 14px;
  43. line-height: 1;
  44. padding: 70px 15px 15px 15px;
  45. min-width: 80px;
  46. transition: 0.2s ease;
  47. position:relative;
  48. flex-flow: column;
  49. align-items: baseline;
  50. width:100%;
  51. margin-right: 0;
  52. min-height:250px;
  53. position: relative;
  54. &:not(.background-image){
  55. background: linear-gradient(135deg, #036 45.14%, #368484 100%), #D9D9D9;
  56. }
  57. .img-con{
  58. position:absolute;
  59. top:0;
  60. left:0;
  61. right:0;
  62. bottom:0;
  63. background-color:rgba(#003366,0.54);
  64. background-size: cover;
  65. background-position: 50% 50%;
  66. z-index:0;
  67. }
  68. &.background-image{
  69. .img-con:before{
  70. content:"";
  71. 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%);
  72. position:absolute;
  73. top:0;
  74. left:0;
  75. right:0;
  76. bottom:0;
  77. z-index:1;
  78. }
  79. }
  80. .icon-box {
  81. font-family: 'Pictograms', sans-serif;
  82. font-size: 48px;
  83. line-height: 1;
  84. color: var(--theme-color-white);
  85. position:absolute;
  86. top:15px;
  87. left:15px;
  88. }
  89. .ev-title{
  90. font-weight: 400;
  91. text-decoration: underline;
  92. line-height: normal;
  93. font-size: 28px;
  94. position:relative;
  95. }
  96. .ev-cat{
  97. color: var(--theme-color-primary);
  98. font-size: 16px;
  99. font-family: Source Sans Pro;
  100. font-weight: 400;
  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: var(--theme-color-secondary-intensed);
  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: var(--theme-color-error);
  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. .teaser--link {
  256. position: absolute;
  257. left: 0;
  258. top: 0;
  259. width: 100%;
  260. height: 100%;
  261. z-index: 10;
  262. }
  263. }