25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

241 lines
4.9 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. text-decoration: none;
  10. min-height:400px;
  11. flex-wrap: wrap;
  12. &:not(.widemode){
  13. flex-wrap: wrap;
  14. align-content: baseline;
  15. flex-flow: column;
  16. justify-content: flex-start;
  17. background-color: var(--theme-grey-light);
  18. .blue-box {
  19. height:250px;
  20. }
  21. .text-box{
  22. height: calc(100% - 250px);
  23. }
  24. }
  25. @include focus-visible;
  26. &:hover {
  27. color: var(--theme-color-secondary-intensed);
  28. .blue-box {
  29. background-color: var(--theme-color-secondary-intensed);
  30. }
  31. }
  32. .blue-box {
  33. display: flex;
  34. //flex-direction: column;
  35. justify-content: flex-end;
  36. background: linear-gradient(135deg, #036 45.14%, #368484 100%), #D9D9D9;
  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. .icon-box {
  53. font-family: 'Pictograms', sans-serif;
  54. font-size: 48px;
  55. line-height: 1;
  56. color: var(--theme-color-white);
  57. position:absolute;
  58. top:15px;
  59. left:15px;
  60. }
  61. .ev-title{
  62. font-weight: 400;
  63. text-decoration: underline;
  64. line-height: normal;
  65. font-size: 28px;
  66. }
  67. .ev-cat{
  68. color: #003366;
  69. font-size: 16px;
  70. font-family: Source Sans Pro;
  71. font-weight: 400;
  72. text-transform: uppercase;
  73. line-height: 16px;
  74. letter-spacing: 0.32px;
  75. background-color:white;
  76. border-radius:8px;
  77. display:inline-block;
  78. padding:5px 7px;
  79. }
  80. span {
  81. white-space: nowrap;
  82. }
  83. span:nth-child(2) {
  84. font-size: 36px;
  85. margin-left: -2px;
  86. }
  87. &.no-date {
  88. align-items: flex-start;
  89. &:before {
  90. @include icon-sanduhr;
  91. font-family: 'Icons', sans-serif;
  92. font-size: var(--icon-size);
  93. line-height: 1;
  94. margin-bottom: 4px;
  95. margin-top: 5px;
  96. }
  97. * {
  98. display: none;
  99. }
  100. }
  101. }
  102. .text-box {
  103. //align-self: center;
  104. padding: 15px;
  105. //line-height: 1.2;
  106. background-color: var(--theme-grey-light);
  107. width:100%;
  108. display:flex;
  109. justify-content:space-between;
  110. flex-flow: column;
  111. @media(max-width: 767px) {
  112. font-size: var(--font-size-small);
  113. }
  114. .ev-desc{
  115. line-height: 27px;
  116. letter-spacing: 0.18px;
  117. }
  118. }
  119. p {
  120. margin: 0;
  121. &:not(:last-child) {
  122. margin: 2px 0 0.3em;
  123. }
  124. }
  125. .detail-box {
  126. padding-top: 15px;
  127. border-top: 1px #CCD7E6 solid;
  128. .btn{
  129. float: right;
  130. margin-top:15px;
  131. display:none;
  132. }
  133. > div {
  134. display: block;
  135. font-size: var(--font-size-small);
  136. line-height: 1.2em;
  137. margin-right: 15px;
  138. margin-bottom: 5px;
  139. color: var(--theme-color-primary);
  140. &::before {
  141. position: relative;
  142. display: inline-block;
  143. font-family: 'Icons', sans-serif;
  144. font-size: 18px;
  145. line-height: 20px;
  146. margin-right: 5px;
  147. vertical-align: top;
  148. color: var(--theme-color-primary);
  149. }
  150. @media(max-width: 567px) {
  151. display: block;
  152. padding-left: 24px;
  153. position: relative;
  154. &:before {
  155. position: absolute;
  156. left: 0;
  157. }
  158. }
  159. &.date::before {
  160. @include icon-xsmall-kalender;
  161. }
  162. &.time::before {
  163. @include icon-xsmall-uhr;
  164. }
  165. &.location::before {
  166. @include icon-xsmall-pin;
  167. }
  168. &.interested-parties::before {
  169. @include icon-xsmall-liste;
  170. }
  171. &.price::before {
  172. @include icon-xsmall-euro;
  173. }
  174. &.status {
  175. &::before {
  176. @include icon-xsmall-offen;
  177. color: #2E8533;
  178. }
  179. &.interested-parties, &.waiting-list {
  180. &::before {
  181. @include icon-xsmall-liste;
  182. color: var(--theme-color-primary);
  183. }
  184. }
  185. &.reserved::before {
  186. @include icon-xsmall-geschlossen;
  187. color: #EA515A;
  188. }
  189. }
  190. }
  191. }
  192. &.widemode{
  193. @media screen and (min-width:992px){
  194. border-radius: 4px;
  195. .blue-box{
  196. width:50%;
  197. padding: 100px 15px 20px 15px;
  198. .icon-box {
  199. font-size: 70px;
  200. top:20px;
  201. }
  202. .ev-title{
  203. font-size: 36px;
  204. line-height: 43.20px;
  205. }
  206. }
  207. .text-box{
  208. width:50%;
  209. padding: 20px;
  210. .detail-box {
  211. .btn{
  212. display:inline-block;
  213. }
  214. }
  215. .ev-desc{
  216. font-size:18px;
  217. }
  218. }
  219. }
  220. }
  221. }