您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

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