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

595 строки
11 KiB

  1. @import '../../_global/styles/mixins';
  2. @import '../../_global/styles/vars';
  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: 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";
  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: 8px;
  292. border-top: 8px solid var(--theme-color-secondary);
  293. }
  294. .social-box {
  295. border: 4px solid var(--theme-color-primary-dimmed-03);
  296. margin-left: -2px;
  297. margin-right: -2px;
  298. padding: 10px;
  299. flex: 1 1 100%;
  300. background-color: white;
  301. @media(max-width: 767px) {
  302. margin-bottom: 20px;
  303. }
  304. .twitter-timeline {
  305. height: 100% !important;
  306. min-height: 420px !important;
  307. }
  308. }
  309. .image-box {
  310. position: relative;
  311. display: block;
  312. overflow: hidden;
  313. flex-grow: 0;
  314. flex-shrink: 0;
  315. border-radius: 4px;
  316. &.chart {
  317. display: flex;
  318. align-items: center;
  319. justify-content: center;
  320. background: linear-gradient(130deg, var(--theme-color-gradient-01) 46%, var(--theme-color-gradient-02) 123%, var(--theme-color-gradient-03) 255%);
  321. }
  322. &:before {
  323. content: "";
  324. position: relative;
  325. display: block;
  326. padding-top: 66.6667%;
  327. margin-bottom: 7px;
  328. }
  329. &:after {
  330. content: "";
  331. position: absolute;
  332. left: 0;
  333. bottom: 0;
  334. width: 100%;
  335. display: block;
  336. height: 8px;
  337. background-color: var(--theme-color-secondary);
  338. transition: 0.3s ease;
  339. z-index: 1;
  340. border-bottom-right-radius: 4px;
  341. border-bottom-left-radius: 4px;
  342. }
  343. img {
  344. border-top-left-radius: 4px;
  345. border-top-right-radius: 4px;
  346. }
  347. ~ .text-box {
  348. border-top: 0;
  349. margin-top: 0;
  350. }
  351. .gallery {
  352. position: absolute;
  353. top: 0;
  354. margin: 0;
  355. width: 100%;
  356. .gallery-wrapper {
  357. margin: 0;
  358. padding: 0;
  359. }
  360. .image {
  361. margin: 0;
  362. padding: 0;
  363. &:before {
  364. padding-top: 66.6666%;
  365. }
  366. }
  367. }
  368. }
  369. .linklist {
  370. margin: 0 0 12px;
  371. > li {
  372. margin-bottom: 2px;
  373. padding-left: 26px;
  374. font-size: 18px;
  375. > a {
  376. margin-left: -26px;
  377. padding-left: 26px;
  378. &:before {
  379. top: 3px;
  380. left: -5px;
  381. font-size: 24px;
  382. }
  383. }
  384. }
  385. }
  386. .chart-title {
  387. //@extend .like-h3;
  388. display: block;
  389. font-weight: 700 !important;
  390. padding: 30px;
  391. color: var(--theme-color-background) !important;
  392. text-decoration-color: transparent !important;
  393. margin-bottom: 16px;
  394. text-align: center;
  395. @media(max-width: 999px) {
  396. font-size: 28px;
  397. margin-bottom: 0;
  398. padding: 20px;
  399. }
  400. }
  401. .copyright {
  402. @include copyright;
  403. bottom: 8px;
  404. }
  405. img {
  406. position: absolute;
  407. display: block;
  408. top: 0;
  409. left: 0;
  410. width: 100%;
  411. height: calc(100% - 7px);
  412. transition: 0.3s ease;
  413. transform: translate3d(0, 0, 0) scale(1);
  414. opacity: 1;
  415. object-fit: cover;
  416. filter: saturate(100%);
  417. }
  418. &[data-type="hero"] .teaser:not(.video-teaser-wrapper){
  419. .text-box {
  420. position: relative;
  421. }
  422. .image-box ~ .text-box {
  423. padding-top: 16px;
  424. h4, .like-h4 {
  425. position: absolute;
  426. bottom: 100%;
  427. z-index: 1;
  428. background-color: white;
  429. margin-right: 40px;
  430. padding-top: 12px;
  431. padding-right: 24px;
  432. margin-bottom: 0;
  433. }
  434. }
  435. .chart-title {
  436. margin-bottom: 20px;
  437. @media(max-width: 567px) {
  438. margin-bottom: 16px;
  439. }
  440. }
  441. }
  442. .video-teaser-wrapper{
  443. .text-box{
  444. .text {
  445. font-size: 16px;
  446. @media(min-width: 768px) {
  447. font-size: 18px;
  448. }
  449. }
  450. }
  451. }
  452. .teaser-gallery{
  453. .btn{
  454. position: absolute;
  455. top: 0;
  456. right: 0;
  457. margin: 20px;
  458. }
  459. &:hover{
  460. .btn{
  461. box-shadow: 0 0 0 5px rgba(var(--theme-color-primary-rgb), 0.3);
  462. }
  463. }
  464. }
  465. }
  466. .desktop a.teaser:hover,
  467. .desktop .teaser:has(.teaser--link):hover,
  468. .mobile a.teaser:active,
  469. .mobile .teaser:has(.teaser--link):active {
  470. color: var(--theme-color-link-hover);
  471. .image-box:after {
  472. height: 14px;
  473. }
  474. h3, .like-h3, h4, .like-h4 {
  475. color: var(--theme-color-link-hover);
  476. }
  477. }
  478. [data-type="masonry"] .count {
  479. position: absolute;
  480. top: 0;
  481. left: 0;
  482. background-color: red;
  483. color: white;
  484. width: 30px;
  485. height: 30px;
  486. line-height: 30px;
  487. text-align: center;
  488. z-index: 1;
  489. font-size: 14px;
  490. margin: 10px;
  491. }
  492. .magazine-article .teasers, .magazine-start .teasers, .teasers.magazine-style {
  493. h2, .like-h2 {
  494. text-transform: uppercase;
  495. font-size: var(--font-size-h4);
  496. margin-bottom: 1.2em;
  497. line-height: 1.2;
  498. margin-top: 0;
  499. &::before {
  500. content: "";
  501. position: relative;
  502. display: block;
  503. background: linear-gradient(90deg, var(--theme-color-gradient-01) 10%, var(--theme-color-gradient-02) 55%, var(--theme-color-gradient-03) 90%);
  504. height: calc(var(--border-width) / 2);
  505. margin: 0 0.05em 0.5em;
  506. }
  507. }
  508. }
  509. .no-container {
  510. position: relative;
  511. left: 50%;
  512. width: calc(100vw - var(--scrollbar-width));
  513. margin: 0 calc(-50vw + 7px);
  514. }