Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 
 
 

605 рядки
11 KiB

  1. @use '../../_global/styles/mixins' as *;
  2. @use '../../_global/styles/vars' as *;
  3. .teasers:not([data-items="1"]) {
  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: var(--swatches-neutrals-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. div.teaser {
  211. height: 100%;
  212. display: flex;
  213. flex-direction: column;
  214. @media(max-width: 999px) {
  215. height: calc(100% - 20px);
  216. }
  217. }
  218. .col.extern, .col.download, .col.intranet, .col.extranet {
  219. &:before {
  220. display: none;
  221. }
  222. .title:after {
  223. @include icon-small-stern;
  224. font-family: "Icons", sans-serif;
  225. position: relative;
  226. font-size: 20px;
  227. top: 7px;
  228. line-height: 1;
  229. text-decoration: none;
  230. display: inline-block;
  231. margin-left: 3px;
  232. }
  233. //h4.title {
  234. // top: 6px;
  235. //}
  236. }
  237. .col.extern .title:after {
  238. @include icon-small-link-external;
  239. }
  240. .col.download .title:after {
  241. @include icon-small-download;
  242. }
  243. .col.intranet .title:after {
  244. @include icon-small-schloss;
  245. }
  246. .teaser {
  247. position: relative;
  248. display: flex;
  249. flex-direction: column;
  250. text-decoration: none;
  251. transition: 0.25s $easeOutQuad;
  252. margin: -7px -8px -5px;
  253. padding: 7px 8px 5px;
  254. color: var(--theme-color-text);
  255. border-radius: 8px;
  256. width: auto;
  257. @include focus-visible;
  258. }
  259. a.teaser {
  260. h3, .like-h3, h4, .like-h4 {
  261. text-decoration: underline;
  262. text-underline-offset: 0.09em;
  263. text-decoration-thickness: 0.08em;
  264. }
  265. }
  266. h3, .like-h3, h4, .like-h4 {
  267. margin: 16px 0 14px;
  268. color: var(--theme-color-link);
  269. transition: 0.3s ease;
  270. font-weight: 400;
  271. }
  272. p {
  273. font-size: 16px;
  274. @media(min-width: 768px) {
  275. font-size: 18px;
  276. }
  277. }
  278. .kicker {
  279. margin-bottom: 8px;
  280. margin-left: 1px;
  281. order: -1;
  282. &.stand-out {
  283. @media(min-height: 768px) {
  284. position: absolute;
  285. bottom: 100%;
  286. margin-bottom: 0;
  287. }
  288. }
  289. }
  290. .text-box {
  291. margin-top: 0;
  292. border-top: 8px solid var(--theme-color-secondary);
  293. }
  294. .image-box + .text-box {
  295. margin-top: 8px;
  296. }
  297. .social-box {
  298. border: 4px solid var(--theme-color-primary-dimmed-03);
  299. margin-left: -2px;
  300. margin-right: -2px;
  301. padding: 10px;
  302. flex: 1 1 100%;
  303. background-color: var(--swatches-neutrals-white);
  304. @media(max-width: 767px) {
  305. margin-bottom: 20px;
  306. }
  307. .twitter-timeline {
  308. height: 100% !important;
  309. min-height: 420px !important;
  310. }
  311. }
  312. .image-box {
  313. position: relative;
  314. display: block;
  315. overflow: hidden;
  316. flex-grow: 0;
  317. flex-shrink: 0;
  318. border-radius: 4px;
  319. &.chart {
  320. display: flex;
  321. align-items: center;
  322. justify-content: center;
  323. background: linear-gradient(130deg, var(--theme-color-gradient-01) 46%, var(--theme-color-gradient-02) 123%, var(--theme-color-gradient-03) 255%);
  324. }
  325. &:before {
  326. content: "";
  327. position: relative;
  328. display: block;
  329. padding-top: 66.6667%;
  330. margin-bottom: 7px;
  331. }
  332. &:after {
  333. content: "";
  334. position: absolute;
  335. left: 0;
  336. bottom: 0;
  337. width: 100%;
  338. display: block;
  339. height: 8px;
  340. background-color: var(--theme-color-secondary);
  341. transition: 0.3s ease;
  342. z-index: 1;
  343. border-bottom-right-radius: 4px;
  344. border-bottom-left-radius: 4px;
  345. }
  346. img {
  347. border-top-left-radius: 4px;
  348. border-top-right-radius: 4px;
  349. }
  350. ~ .text-box {
  351. border-top: 0;
  352. margin-top: 0;
  353. }
  354. .gallery {
  355. position: absolute;
  356. top: 0;
  357. margin: 0;
  358. width: 100%;
  359. .gallery-wrapper {
  360. margin: 0;
  361. padding: 0;
  362. }
  363. .image {
  364. margin: 0;
  365. padding: 0;
  366. &:before {
  367. padding-top: 66.6666%;
  368. }
  369. }
  370. }
  371. }
  372. .linklist {
  373. margin: 0 0 12px;
  374. > li {
  375. margin-bottom: 2px;
  376. padding-left: 26px;
  377. font-size: 18px;
  378. > a {
  379. margin-left: -26px;
  380. padding-left: 26px;
  381. &:before {
  382. top: 3px;
  383. left: -5px;
  384. font-size: 24px;
  385. }
  386. }
  387. }
  388. }
  389. .chart-title {
  390. //@extend .like-h3;
  391. display: block;
  392. font-weight: 700 !important;
  393. padding: 30px;
  394. color: var(--theme-color-background) !important;
  395. text-decoration-color: transparent !important;
  396. margin-bottom: 16px;
  397. text-align: center;
  398. @media(max-width: 999px) {
  399. font-size: 28px;
  400. margin-bottom: 0;
  401. padding: 20px;
  402. }
  403. }
  404. .copyright {
  405. @include copyright;
  406. bottom: 8px;
  407. }
  408. img {
  409. position: absolute;
  410. display: block;
  411. top: 0;
  412. left: 0;
  413. width: 100%;
  414. height: calc(100% - 7px);
  415. transition: 0.3s ease;
  416. transform: translate3d(0, 0, 0) scale(1);
  417. opacity: 1;
  418. object-fit: cover;
  419. filter: saturate(100%);
  420. }
  421. &[data-type="hero"] .teaser:not(.video-teaser-wrapper){
  422. .text-box {
  423. position: relative;
  424. }
  425. .image-box ~ .text-box {
  426. padding-top: 16px;
  427. h4, .like-h4 {
  428. position: absolute;
  429. bottom: 100%;
  430. z-index: 1;
  431. background-color: var(--swatches-neutrals-white);
  432. margin-right: 40px;
  433. padding-top: 12px;
  434. padding-right: 24px;
  435. margin-bottom: 0;
  436. }
  437. }
  438. .chart-title {
  439. margin-bottom: 20px;
  440. @media(max-width: 567px) {
  441. margin-bottom: 16px;
  442. }
  443. }
  444. }
  445. .video-teaser-wrapper{
  446. .text-box{
  447. .text {
  448. font-size: 16px;
  449. @media(min-width: 768px) {
  450. font-size: 18px;
  451. }
  452. }
  453. }
  454. }
  455. .teaser-gallery{
  456. .btn{
  457. position: absolute;
  458. top: 0;
  459. right: 0;
  460. margin: 20px;
  461. }
  462. &:hover{
  463. .btn{
  464. box-shadow: 0 0 0 5px rgba(var(--theme-color-primary-rgb), 0.3);
  465. }
  466. }
  467. }
  468. }
  469. [data-doctype="OnlineMagazinStart"] {
  470. section.teasers[data-items="1"] {
  471. margin-top: 40px;
  472. }
  473. }
  474. .desktop a.teaser:hover,
  475. .desktop .teaser:has(.teaser--link):hover,
  476. .mobile a.teaser:active,
  477. .mobile .teaser:has(.teaser--link):active {
  478. color: var(--theme-color-link-hover);
  479. .image-box:after {
  480. height: 14px;
  481. }
  482. h3, .like-h3, h4, .like-h4 {
  483. color: var(--theme-color-link-hover);
  484. }
  485. }
  486. [data-type="masonry"] .count {
  487. position: absolute;
  488. top: 0;
  489. left: 0;
  490. background-color: red;
  491. color: var(--swatches-neutrals-white);
  492. width: 30px;
  493. height: 30px;
  494. line-height: 30px;
  495. text-align: center;
  496. z-index: 1;
  497. font-size: 14px;
  498. margin: 10px;
  499. }
  500. .magazine-article .teasers, .magazine-start .teasers, .teasers.magazine-style {
  501. h2, .like-h2 {
  502. text-transform: uppercase;
  503. font-size: var(--font-size-h4);
  504. margin-bottom: 1.2em;
  505. line-height: 1.2;
  506. margin-top: 0;
  507. &::before {
  508. content: "";
  509. position: relative;
  510. display: block;
  511. background: linear-gradient(90deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%);
  512. height: calc(var(--border-width) / 2);
  513. margin: 0 0.05em 0.5em;
  514. }
  515. }
  516. }
  517. .no-container {
  518. position: relative;
  519. left: 50%;
  520. width: calc(100vw - var(--scrollbar-width));
  521. margin: 0 calc(-50vw + 7px);
  522. }