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

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