Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 

271 righe
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. 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. }
  148. }
  149. p {
  150. margin: 0;
  151. &:not(:last-child) {
  152. margin: 2px 0 0.3em;
  153. }
  154. }
  155. .detail-box {
  156. padding-top: 15px;
  157. border-top: 1px #CCD7E6 solid;
  158. .btn{
  159. float: right;
  160. margin-top:15px;
  161. display:none;
  162. }
  163. > div {
  164. display: block;
  165. font-size: var(--font-size-small);
  166. line-height: 1.2em;
  167. margin-right: 15px;
  168. margin-bottom: 5px;
  169. color: var(--theme-color-primary);
  170. &::before {
  171. position: relative;
  172. display: inline-block;
  173. font-family: 'Icons', sans-serif;
  174. font-size: 18px;
  175. line-height: 20px;
  176. margin-right: 5px;
  177. vertical-align: top;
  178. color: var(--theme-color-primary);
  179. }
  180. @media(max-width: 567px) {
  181. display: block;
  182. padding-left: 24px;
  183. position: relative;
  184. &:before {
  185. position: absolute;
  186. left: 0;
  187. }
  188. }
  189. &.date::before {
  190. @include icon-xsmall-kalender;
  191. }
  192. &.time::before {
  193. @include icon-xsmall-uhr;
  194. }
  195. &.location::before {
  196. @include icon-xsmall-pin;
  197. }
  198. &.interested-parties::before {
  199. @include icon-xsmall-liste;
  200. }
  201. &.price::before {
  202. @include icon-xsmall-euro;
  203. }
  204. &.status {
  205. &::before {
  206. @include icon-xsmall-offen;
  207. color: #2E8533;
  208. }
  209. &.interested-parties, &.waiting-list {
  210. &::before {
  211. @include icon-xsmall-liste;
  212. color: var(--theme-color-primary);
  213. }
  214. }
  215. &.reserved::before {
  216. @include icon-xsmall-geschlossen;
  217. color: #EA515A;
  218. }
  219. }
  220. }
  221. }
  222. &.widemode{
  223. @media screen and (min-width:992px){
  224. border-radius: 4px;
  225. .blue-box{
  226. width:50%;
  227. padding: 100px 15px 20px 15px;
  228. .icon-box {
  229. font-size: 70px;
  230. top:20px;
  231. }
  232. .ev-title{
  233. font-size: 36px;
  234. line-height: 43.20px;
  235. }
  236. }
  237. .text-box{
  238. width:50%;
  239. padding: 20px;
  240. .detail-box {
  241. .btn{
  242. display:inline-block;
  243. }
  244. }
  245. .ev-desc{
  246. font-size:18px;
  247. }
  248. }
  249. }
  250. }
  251. }