Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

649 строки
12 KiB

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