Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

664 rader
12 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  3. .teasers {
  4. position: relative;
  5. display: block;
  6. @media(min-width: 1000px) {
  7. margin-bottom: -10px;
  8. }
  9. .ad-box {
  10. position: relative;
  11. img {
  12. position: relative;
  13. display: block;
  14. width: 100%;
  15. height: auto;
  16. }
  17. }
  18. .magazine-indicator {
  19. //position: relative;
  20. display: inline-block;
  21. align-self: flex-start;
  22. font-family: "Korb", sans-serif;
  23. background: linear-gradient(90deg, var(--theme-color-gradient-01) 20%, var(--theme-color-gradient-02) 70%, var(--theme-color-gradient-03) 100%);
  24. color: white;
  25. padding: 6px 12px;
  26. //margin: 6px 0 0;
  27. position: absolute;
  28. top: 100%;
  29. right:9px;
  30. margin: 0;
  31. min-width: 160px;
  32. img {
  33. position: relative;
  34. display: block;
  35. width: auto;
  36. height: 40px;
  37. }
  38. @media(max-width: 767px) {
  39. margin-bottom: 12px;
  40. }
  41. }
  42. &[data-type="hero"]{
  43. .image-box ~ .text-box {
  44. .magazine-indicator{
  45. top: -16px;
  46. }
  47. }
  48. }
  49. .image-box ~ .text-box {
  50. h4{
  51. position: relative;
  52. .magazine-indicator{
  53. top: -40px;
  54. left: 0;
  55. right: auto;
  56. transform: translateY(-100%);
  57. }
  58. }
  59. }
  60. //@media(min-width: 768px), (max-width: 567px) {
  61. // .image-box ~ .magazine-indicator {
  62. // position: absolute;
  63. // top: -20px;
  64. // margin-top: 66.666%;
  65. // transform: translate(0, -100%);
  66. // z-index: 1;
  67. //
  68. //
  69. // top: -50px;
  70. // left: 0;
  71. // margin: 0;
  72. // display: inline-block;
  73. // transform: translateY(-100%);
  74. // min-width: 160px;
  75. //
  76. // }
  77. // &[data-type="hero"]{
  78. // .image-box ~ .magazine-indicator {
  79. // top: -60px;
  80. // }
  81. // }
  82. //
  83. // .kicker ~ .image-box ~ .magazine-indicator {
  84. // top: 12px;
  85. // }
  86. //}
  87. .button-wrapper {
  88. text-align: center;
  89. padding: calc(20px + 1%) 0 0;
  90. }
  91. &[data-type="masonry"] {
  92. .container {
  93. padding-bottom: calc(10px + 1vw);
  94. }
  95. .row {
  96. flex-wrap: nowrap;
  97. > .col {
  98. display: none;
  99. }
  100. }
  101. .column {
  102. flex: 1 1 100%;
  103. }
  104. .social-box {
  105. position: relative;
  106. display: block;
  107. min-height: 478px;
  108. font-size: 0;
  109. line-height: 0;
  110. > *:first-child {
  111. display: block;
  112. min-height: 450px;
  113. height: 450px !important;
  114. }
  115. }
  116. img.lazy {
  117. opacity: 0;
  118. transition: 0.3s ease;
  119. &.loaded {
  120. opacity: 1;
  121. }
  122. }
  123. }
  124. &[data-background="lightgrey"] {
  125. background-color: var(--theme-grey-light);
  126. padding: calc(2vw + 20px) 0;
  127. margin: calc(2.5vw + 20px) 0 calc(2vw + 20px);
  128. + .teasers[data-background="lightgrey"] {
  129. margin-top: calc(-2vw - 20px);
  130. padding-top: 20px;
  131. }
  132. &:first-child {
  133. margin-top: 0;
  134. }
  135. h2 {
  136. margin-top: 0 !important;
  137. }
  138. &[data-type="hero"] .teaser:not(.video-teaser-wrapper) .image-box ~ .text-box h4 {
  139. background-color: var(--theme-grey-light);
  140. }
  141. }
  142. @media(min-width: 568px) {
  143. &[data-items="2"] .col {
  144. max-width: 50%;
  145. }
  146. }
  147. @media(min-width: 768px) {
  148. &[data-items="3"] .col {
  149. max-width: 33.3333333%;
  150. }
  151. &[data-items="4"] .col {
  152. max-width: 50%;
  153. }
  154. }
  155. @media(min-width: 1200px) {
  156. &[data-items="2"] .row {
  157. margin: 0 -40px;
  158. }
  159. &[data-items="2"] .col {
  160. padding: 20px 40px;
  161. }
  162. &[data-items="4"] .col {
  163. max-width: 25%;
  164. }
  165. }
  166. @media(min-width: 568px) and (max-width: 767px) {
  167. &[data-items="3"], &[data-items="4"] {
  168. .teaser {
  169. position: relative;
  170. display: block;
  171. padding-left: 40%;
  172. min-height: 30vw;
  173. }
  174. .col.txt-teaser {
  175. .teaser {
  176. padding-left: 8px;
  177. min-height: 0;
  178. }
  179. .text-box {
  180. padding-top: 12px;
  181. }
  182. }
  183. .image-box {
  184. position: absolute;
  185. top: 4px;
  186. left: 0;
  187. right: 60%;
  188. margin-right: 10px;
  189. }
  190. .kicker {
  191. margin: 0 0 4px 10px;
  192. }
  193. .text-box {
  194. margin-left: 10px;
  195. }
  196. h4 {
  197. margin-top: 0;
  198. }
  199. &[data-type="hero"] .image-box + .text-box {
  200. h3, h4 {
  201. position: relative;
  202. font-size: 20px;
  203. margin-top: 0;
  204. padding: 0;
  205. }
  206. }
  207. }
  208. }
  209. @media(min-width: 568px) {
  210. &[data-items="1"] {
  211. .kicker:first-child {
  212. min-width: 100%;
  213. }
  214. .teaser {
  215. &:not(.fullwidth) {
  216. display: flex;
  217. flex-direction: row;
  218. align-items: flex-start;
  219. flex-wrap: wrap;
  220. }
  221. &.fullwidth {
  222. .kicker:first-child {
  223. max-width: calc(50% - var(--col-padding));
  224. min-width: calc(50% - var(--col-padding));
  225. }
  226. .image-box {
  227. margin-top: -29px;
  228. }
  229. }
  230. }
  231. .text-box {
  232. min-width: 100%;
  233. }
  234. .image-box {
  235. max-width: calc(50% - 20px);
  236. min-width: calc(50% - 20px);
  237. flex: 1 1 100%;
  238. margin-right: 40px;
  239. ~ .kicker {
  240. position: absolute;
  241. left: 50%;
  242. margin-left: 20px;
  243. white-space: nowrap;
  244. overflow: hidden;
  245. text-overflow: ellipsis;
  246. max-width: calc(50% - 20px);
  247. ~ .text-box {
  248. padding-top: 10px;
  249. min-width: calc(50% - 20px);
  250. max-width: calc(50% - 20px);
  251. }
  252. }
  253. }
  254. }
  255. }
  256. @media(min-width: 1000px) {
  257. &[data-items="1"] {
  258. .image-box {
  259. max-width: calc(50% - 20px);
  260. min-width: calc(50% - 20px);
  261. ~ .kicker {
  262. max-width: calc(50% - 20px);
  263. margin-left: 20px;
  264. }
  265. ~ .text-box {
  266. max-width: calc(50% - 20px);
  267. min-width: calc(50% - 20px);
  268. }
  269. }
  270. }
  271. }
  272. div.teaser {
  273. height: 100%;
  274. display: flex;
  275. flex-direction: column;
  276. @media(max-width: 999px) {
  277. height: calc(100% - 20px);
  278. }
  279. }
  280. .col.extern, .col.download, .col.intranet, .col.extranet {
  281. &:before {
  282. display: none;
  283. }
  284. .title:after {
  285. @include icon-small-stern;
  286. font-family: "Icons";
  287. position: relative;
  288. font-size: 20px;
  289. top: 7px;
  290. line-height: 1;
  291. text-decoration: none;
  292. display: inline-block;
  293. margin-left: 3px;
  294. }
  295. //h4.title {
  296. // top: 6px;
  297. //}
  298. }
  299. .col.extern .title:after {
  300. @include icon-small-link-external;
  301. }
  302. .col.download .title:after {
  303. @include icon-small-download;
  304. }
  305. .col.intranet .title:after {
  306. @include icon-small-schloss;
  307. }
  308. .teaser {
  309. position: relative;
  310. display: flex;
  311. flex-direction: column;
  312. text-decoration: none;
  313. transition: 0.25s $easeOutQuad;
  314. margin: -7px -8px -5px;
  315. padding: 7px 8px 5px;
  316. color: var(--theme-color-text);
  317. border-radius: 8px;
  318. width: auto;
  319. @include focus-visible;
  320. }
  321. a.teaser {
  322. h3, h4 {
  323. text-decoration: underline;
  324. text-underline-offset: 0.09em;
  325. text-decoration-thickness: 0.08em;
  326. }
  327. }
  328. h3, h4 {
  329. margin: 16px 0 14px;
  330. color: var(--theme-color-link);
  331. transition: 0.3s ease;
  332. font-weight: 400;
  333. }
  334. p {
  335. font-size: 16px;
  336. @media(min-width: 768px) {
  337. font-size: 18px;
  338. }
  339. }
  340. .kicker {
  341. margin-bottom: 8px;
  342. margin-left: 1px;
  343. order: -1;
  344. &.stand-out {
  345. @media(min-height: 768px) {
  346. position: absolute;
  347. bottom: 100%;
  348. margin-bottom: 0;
  349. }
  350. }
  351. }
  352. .text-box {
  353. margin-top: 8px;
  354. border-top: 8px solid var(--theme-color-secondary);
  355. }
  356. .social-box {
  357. border: 4px solid var(--theme-color-primary-dimmed-03);
  358. margin-left: -2px;
  359. margin-right: -2px;
  360. padding: 10px;
  361. flex: 1 1 100%;
  362. background-color: white;
  363. @media(max-width: 767px) {
  364. margin-bottom: 20px;
  365. }
  366. .twitter-timeline {
  367. height: 100% !important;
  368. min-height: 420px !important;
  369. }
  370. }
  371. .image-box {
  372. position: relative;
  373. display: block;
  374. overflow: hidden;
  375. flex-grow: 0;
  376. flex-shrink: 0;
  377. border-radius: 4px;
  378. &.chart {
  379. display: flex;
  380. align-items: center;
  381. justify-content: center;
  382. background: linear-gradient(130deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 90%, var(--theme-color-gradient-03) 160%);
  383. }
  384. &:before {
  385. content: "";
  386. position: relative;
  387. display: block;
  388. padding-top: 66.6667%;
  389. margin-bottom: 7px;
  390. }
  391. &:after {
  392. content: "";
  393. position: absolute;
  394. left: 0;
  395. bottom: 0;
  396. width: 100%;
  397. display: block;
  398. height: 8px;
  399. background-color: var(--theme-color-secondary);
  400. transition: 0.3s ease;
  401. z-index: 1;
  402. border-bottom-right-radius: 4px;
  403. border-bottom-left-radius: 4px;
  404. }
  405. img {
  406. border-top-left-radius: 4px;
  407. border-top-right-radius: 4px;
  408. }
  409. ~ .text-box {
  410. border-top: 0;
  411. margin-top: 0;
  412. }
  413. .gallery {
  414. position: absolute;
  415. top: 0;
  416. margin: 0;
  417. width: 100%;
  418. .gallery-wrapper {
  419. margin: 0;
  420. padding: 0;
  421. }
  422. .image {
  423. margin: 0;
  424. padding: 0;
  425. &:before {
  426. padding-top: 66.6666%;
  427. }
  428. }
  429. }
  430. }
  431. .linklist {
  432. margin: 0 0 12px;
  433. > li {
  434. margin-bottom: 2px;
  435. padding-left: 26px;
  436. font-size: 18px;
  437. > a {
  438. margin-left: -26px;
  439. padding-left: 26px;
  440. &:before {
  441. top: 3px;
  442. left: -5px;
  443. font-size: 24px;
  444. }
  445. }
  446. }
  447. }
  448. .chart-title {
  449. //@extend .like-h3;
  450. display: block;
  451. font-weight: 700 !important;
  452. padding: 30px;
  453. color: var(--theme-color-background) !important;
  454. text-decoration-color: transparent !important;
  455. margin-bottom: 16px;
  456. text-align: center;
  457. @media(max-width: 999px) {
  458. font-size: 28px;
  459. margin-bottom: 0;
  460. padding: 20px;
  461. }
  462. }
  463. .copyright {
  464. @include copyright;
  465. bottom: 8px;
  466. }
  467. img {
  468. position: absolute;
  469. display: block;
  470. top: 0;
  471. left: 0;
  472. width: 100%;
  473. height: calc(100% - 7px);
  474. transition: 0.3s ease;
  475. transform: translate3d(0, 0, 0) scale(1);
  476. opacity: 1;
  477. object-fit: cover;
  478. filter: saturate(100%);
  479. }
  480. &[data-type="hero"] .teaser:not(.video-teaser-wrapper){
  481. .text-box {
  482. position: relative;
  483. }
  484. .image-box ~ .text-box {
  485. padding-top: 16px;
  486. h4 {
  487. position: absolute;
  488. bottom: 100%;
  489. z-index: 1;
  490. background-color: white;
  491. margin-right: 40px;
  492. padding-top: 12px;
  493. padding-right: 24px;
  494. margin-bottom: 0;
  495. }
  496. }
  497. .chart-title {
  498. margin-bottom: 20px;
  499. @media(max-width: 567px) {
  500. margin-bottom: 16px;
  501. }
  502. }
  503. }
  504. .video-teaser-wrapper{
  505. .text-box{
  506. .text {
  507. font-size: 16px;
  508. @media(min-width: 768px) {
  509. font-size: 18px;
  510. }
  511. }
  512. }
  513. }
  514. .teaser-gallery{
  515. .btn{
  516. position: absolute;
  517. top: 0;
  518. right: 0;
  519. margin: 20px;
  520. }
  521. &:hover{
  522. .btn{
  523. box-shadow: 0 0 0 5px rgba(var(--theme-color-primary-rgb), 0.3);
  524. }
  525. }
  526. }
  527. }
  528. .desktop a.teaser:hover, .mobile a.teaser:active {
  529. color: var(--theme-color-link-hover);
  530. .image-box:after {
  531. height: 14px;
  532. }
  533. h3, h4 {
  534. color: var(--theme-color-link-hover);
  535. }
  536. }
  537. [data-type="masonry"] .count {
  538. position: absolute;
  539. top: 0;
  540. left: 0;
  541. background-color: red;
  542. color: white;
  543. width: 30px;
  544. height: 30px;
  545. line-height: 30px;
  546. text-align: center;
  547. z-index: 1;
  548. font-size: 14px;
  549. margin: 10px;
  550. }
  551. .magazine-article .teasers, .magazine-start .teasers, .teasers.magazine-style {
  552. h2 {
  553. text-transform: uppercase;
  554. font-size: var(--font-size-h4);
  555. margin-bottom: 1.2em;
  556. line-height: 1.2;
  557. margin-top: 0;
  558. &::before {
  559. content: "";
  560. position: relative;
  561. display: block;
  562. background: linear-gradient(90deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%);
  563. height: calc(var(--border-width) / 2);
  564. margin: 0 0.05em 0.5em;
  565. }
  566. }
  567. }
  568. .no-container {
  569. position: relative;
  570. left: 50%;
  571. width: calc(100vw - var(--scrollbar-width));
  572. margin: 0 calc(-50vw + 7px);
  573. }