Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

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