Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

602 řádky
14 KiB

  1. @import "../objects/ihk-finder-form";
  2. .ihk-landing{
  3. overflow: hidden;
  4. .ihk-finder {
  5. max-width: 380px;
  6. margin-left: 10vw;
  7. margin-bottom: 20%;
  8. @media(max-width: 1239px) {
  9. max-width: 340px;
  10. }
  11. }
  12. @media(min-width: 768px) {
  13. .page-header {
  14. height: 120px;
  15. }
  16. .page-wrapper, .page-header.nav-open:not(.scrolled) ~ .page-wrapper {
  17. border-top: 120px solid white;
  18. }
  19. }
  20. .ihk-selection {
  21. position: relative;
  22. margin: 0;
  23. padding: 0;
  24. min-height: calc(100vh - 220px);
  25. min-height: calc(var(--viewport-height, 1vh) * 100 - 220px);
  26. display: flex;
  27. align-items: center;
  28. @media(max-width: 567px) {
  29. margin-top: 0;
  30. margin-bottom: 15px;
  31. }
  32. .row {
  33. flex-wrap: nowrap;
  34. justify-content: space-between;
  35. align-items: center;
  36. }
  37. .col {
  38. max-width: 50%;
  39. @media(max-width: 999px) {
  40. max-width: 500px;
  41. margin: 0 auto;
  42. }
  43. @media(max-width: 567px) {
  44. max-width: none;
  45. padding: 0 40px;
  46. }
  47. }
  48. .col:last-child {
  49. text-align: center;
  50. }
  51. .map {
  52. position: relative;
  53. display: block;
  54. width: calc(65vh - 100px);
  55. max-width: 100%;
  56. min-width: 400px;
  57. margin: 0 auto;
  58. &:before {
  59. content: "";
  60. position: relative;
  61. display: block;
  62. padding-top: 135%;
  63. padding-bottom: 1px;
  64. background-image: url("../../../img/germany.svg");
  65. background-size: 100%;
  66. background-repeat: no-repeat;
  67. }
  68. .marker {
  69. position: absolute;
  70. display: block;
  71. > a {
  72. position: absolute;
  73. display: block;
  74. width: 10px;
  75. height: 10px;
  76. background-color: $color-primary;
  77. border-radius: 50%;
  78. margin: -6px;
  79. box-shadow: 0 0 0 1px $color-primary-light-03;
  80. transition: 0.25s ease;
  81. }
  82. &:hover, &.hover {
  83. z-index: 102;
  84. > a {
  85. background-color: $color-secondary-dark;
  86. box-shadow: 0 0 0 6px rgba($color-secondary, 0.3);
  87. &:before {
  88. content: "";
  89. @include fullsize;
  90. margin: -5px;
  91. border-radius: 50%;
  92. }
  93. }
  94. .tooltip {
  95. @include show;
  96. //transition: opacity 0.2s ease 0.1s, visibility 0s ease 0.1s, transform 0.2s ease 0.1s;
  97. transform: translate3d(0, 0, 0);
  98. }
  99. &:not(.open) .tooltip {
  100. pointer-events: none;
  101. }
  102. }
  103. &.open {
  104. > a {
  105. background-color: $color-secondary-dark;
  106. box-shadow: 0 0 0 6px rgba($color-secondary, 0.3);
  107. }
  108. .tooltip {
  109. @include show;
  110. z-index: 101;
  111. transform: translate3d(0, 0, 0);
  112. .title {
  113. font-size: 24px;
  114. padding: 26px 70px 190px 30px;
  115. min-width: 380px;
  116. }
  117. &.long-name .title, &.extra-long-name .title {
  118. min-width: 466px;
  119. }
  120. .closer {
  121. @include show(0.3s);
  122. }
  123. .contents {
  124. @include show(0.3s);
  125. }
  126. }
  127. &.sideways .tooltip {
  128. transform: translate3d(30px, 70%, 0);
  129. &::before {
  130. margin-top: -13px;
  131. }
  132. &::after {
  133. left: -11px;
  134. transition: 0.2s ease 0.2s;
  135. }
  136. }
  137. /*
  138. &[data-title="ihk-flensburg"], &[data-title="ihk-kiel"], &[data-title="ihk-neubrandenburg"] {
  139. .tooltip {
  140. transform: translate3d(30px, 40%, 0);
  141. &:before {
  142. border-width: 14px 14px 14px 0;
  143. border-color: transparent $color-primary transparent transparent;
  144. top: 60%;
  145. margin-top: 0;
  146. left: -14px;
  147. }
  148. }
  149. }
  150. */
  151. }
  152. }
  153. .tooltip {
  154. position: absolute;
  155. display: block;
  156. left: -2px;
  157. bottom: 100%;
  158. background-color: $color-primary;
  159. color: white;
  160. padding: 0;
  161. margin-bottom: 14px;
  162. @include hide;
  163. transform: translate3d(0, -10px, 0);
  164. box-shadow: 0 0 0 1px rgba(white, 0.2);
  165. pointer-events: none;
  166. z-index: 100;
  167. &:before {
  168. content: "";
  169. position: absolute;
  170. display: block;
  171. left: 0;
  172. top: 100%;
  173. margin-top: -1px;
  174. width: 0;
  175. height: 0;
  176. border-style: solid;
  177. border-width: 12px 12px 0 0;
  178. border-color: $color-primary transparent transparent transparent;
  179. transition: 0.2s ease;
  180. }
  181. &::after {
  182. content: "";
  183. position: absolute;
  184. display: block;
  185. border-style: solid;
  186. border-width: 11px 11px 11px 0;
  187. border-color: transparent $color-primary transparent transparent;
  188. top: 30%;
  189. margin-top: 0;
  190. left: 1px;
  191. transition: 0.2s;
  192. }
  193. &.long-name, &.extra-long-name {
  194. .title {
  195. white-space: normal;
  196. min-width: 300px;
  197. }
  198. .contents {
  199. top: 90px;
  200. }
  201. }
  202. &.extra-long-name .contents {
  203. top: 120px;
  204. }
  205. .title {
  206. position: relative;
  207. display: block;
  208. font-size: 18px;
  209. line-height: 1.2;
  210. font-family: "Korb", sans-serif;
  211. white-space: nowrap;
  212. margin: 0;
  213. padding: 6px 12px;
  214. min-width: 50px;
  215. transition: min-width 0.2s ease 0.2s, font-size 0.2s ease 0.2s, padding 0.2s ease 0.2s;
  216. }
  217. .contents {
  218. position: absolute;
  219. top: 60px;
  220. font-size: 18px;
  221. padding: 10px 30px 26px;
  222. @include hide;
  223. width: 100%;
  224. &:after {
  225. content: "";
  226. position: relative;
  227. display: block;
  228. clear: both;
  229. }
  230. .btn {
  231. background-color: $color-secondary;
  232. float: right;
  233. color: $color-primary;
  234. white-space: nowrap;
  235. &:hover {
  236. box-shadow: 0 0 0 5px rgba($color-secondary, 0.5);
  237. }
  238. }
  239. }
  240. .details {
  241. margin-bottom: 30px;
  242. }
  243. .closer {
  244. position: absolute;
  245. right: 0;
  246. top: 0;
  247. width: 40px;
  248. height: 40px;
  249. background-color: transparent;
  250. border: 0;
  251. @include hide;
  252. @extend .icon-schliessen;
  253. font-size: 30px;
  254. line-height: 1;
  255. padding: 5px;
  256. text-align: center;
  257. color: white;
  258. margin: 10px;
  259. cursor: pointer;
  260. @include focusvisible;
  261. transition: 0.3s ease;
  262. &:before {
  263. font-family: "Icons";
  264. }
  265. }
  266. }
  267. }
  268. .artwork {
  269. width: calc(45vw - 50px);
  270. max-height: 66vh;
  271. top: 50%;
  272. transform: translate(0, -50%);
  273. @media(min-width: 1000px) {
  274. margin: 0;
  275. @media(max-width: 1339px) {
  276. width: 44vw;
  277. }
  278. }
  279. @media(min-height: 1050px) {
  280. max-height: 700px;
  281. }
  282. }
  283. @media(max-width: 999px) {
  284. .col:first-child {
  285. display: none;
  286. }
  287. .col:last-child {
  288. min-height: calc(400px + 30vw);
  289. display: flex;
  290. align-items: center;
  291. justify-content: center;
  292. }
  293. .artwork {
  294. width: 110%;
  295. height: 100%;
  296. max-height: none;
  297. }
  298. form {
  299. margin-left: 0;
  300. }
  301. }
  302. @media(max-width: 567px) {
  303. .artwork {
  304. width: 180%;
  305. margin-right: -80%;
  306. margin-top: 0;
  307. }
  308. form {
  309. max-width: 100%;
  310. margin-left: 0;
  311. }
  312. }
  313. }
  314. .page-header {
  315. &:before {
  316. border: 0;
  317. box-shadow: none;
  318. //display: none;
  319. }
  320. .logo {
  321. z-index: 1;
  322. &:after {
  323. content: "";
  324. @include fullsize;
  325. margin-left: 160px;
  326. background-color: white;
  327. }
  328. }
  329. nav {
  330. left: 0;
  331. width: 100%;
  332. display: flex;
  333. justify-content: center;
  334. flex-direction: column;
  335. z-index: 0;
  336. @include hide;
  337. overflow: auto;
  338. height: calc(100vh - 100px);
  339. height: calc(var(--viewport-height, 1vh) * 100 - 100px);
  340. @media(max-width: 767px) {
  341. height: calc(100vh - 80px);
  342. height: calc(var(--viewport-height, 1vh) * 100 - 80px);
  343. }
  344. @media(max-width: 359px) {
  345. height: calc(100vh - 70px);
  346. height: calc(var(--viewport-height, 1vh) * 100 - 70px);
  347. }
  348. @media(max-width: 1200px), (max-height: 800px) {
  349. align-items: flex-start;
  350. justify-content: flex-start;
  351. }
  352. &::before {
  353. content: '';
  354. display: block;
  355. flex-grow: 1;
  356. }
  357. &:after {
  358. content: '';
  359. display: block;
  360. flex-grow: 2;
  361. }
  362. }
  363. &.nav-open {
  364. z-index: 103;
  365. @media (min-width: 1200px) {
  366. height: 120px;
  367. .logo img {
  368. height: 75px;
  369. }
  370. }
  371. nav {
  372. @include show;
  373. left: 0;
  374. transform: none;
  375. }
  376. .ihk-index {
  377. transform: translate3d(0, 0, 0) scale(1);
  378. }
  379. .toggle-ihk-list {
  380. @extend .icon-schliessen;
  381. span:first-child {
  382. display: none;
  383. }
  384. span:last-child {
  385. display: block;
  386. }
  387. }
  388. }
  389. .right {
  390. position: relative;
  391. z-index: 1;
  392. padding: 0 40px;
  393. @media(max-width: 999px) {
  394. padding: 0 20px;
  395. }
  396. @media(max-width: 567px) {
  397. padding: 0 17px;
  398. }
  399. > * {
  400. display: inline-block;
  401. vertical-align: middle;
  402. @include focusvisible;
  403. transition: 0.3s ease;
  404. }
  405. .has-icon {
  406. font-size: 0;
  407. text-decoration: none;
  408. padding: 10px;
  409. &:before {
  410. font-size: 30px;
  411. line-height: 1;
  412. font-family: "Icons";
  413. }
  414. @media(max-width: 999px) {
  415. display: none;
  416. }
  417. }
  418. }
  419. .toggle-ihk-list {
  420. position: relative;
  421. border: 2px solid $color-primary;
  422. padding: 15px 20px 15px 54px;
  423. font-family: "Korb", sans-serif;
  424. font-size: 22px;
  425. line-height: 26px;
  426. background-color: transparent;
  427. border-radius: 24px;
  428. cursor: pointer;
  429. min-width: 258px;
  430. margin-left: 15px;
  431. @extend .icon-liste;
  432. @media(max-width: 767px) {
  433. padding: 8px 16px 8px 46px;
  434. border-radius: 18px;
  435. font-size: 20px;
  436. min-width: 184px;
  437. }
  438. &:before {
  439. font-family: "Icons";
  440. position: absolute;
  441. font-size: 30px;
  442. line-height: 1;
  443. left: 16px;
  444. top: 50%;
  445. margin-top: -15px;
  446. @media(max-width: 767px) {
  447. left: 13px;
  448. font-size: 26px;
  449. line-height: 30px;
  450. }
  451. }
  452. span {
  453. display: block;
  454. &:last-child {
  455. display: none;
  456. }
  457. }
  458. @media(min-width: 1200px) {
  459. &:hover {
  460. box-shadow: 0 0 0 5px rgba($color-primary, 0.4);
  461. background-color: $color-primary;
  462. color: $color-white;
  463. }
  464. }
  465. }
  466. .ihk-list {
  467. max-width: 1442px;
  468. width: 100%;
  469. margin: 0 auto;
  470. }
  471. .ihk-index {
  472. font-size: 18px;
  473. line-height: 22px;
  474. list-style: none;
  475. padding: 30px 40px 50px;
  476. columns: 4;
  477. column-gap: 30px;
  478. margin: 0;
  479. transition: 0.4s ease;
  480. transform: translate3d(0, 0, 0) scale(0.94);
  481. @media(max-width: 1199px) {
  482. columns: 3;
  483. }
  484. @media(max-width: 999px) {
  485. columns: 3;
  486. padding: 30px 30px 50px;
  487. }
  488. @media(max-width: 567px) {
  489. columns: 1;
  490. padding: 20px 20px 40px;
  491. }
  492. li {
  493. position: relative;
  494. padding-left: 30px;
  495. ul {
  496. padding: 0;
  497. margin-bottom: 6px;
  498. }
  499. li {
  500. list-style: none;
  501. padding-left: 0;
  502. }
  503. }
  504. > li {
  505. break-inside: avoid-column;
  506. page-break-inside: avoid;
  507. }
  508. .index-letter {
  509. //position: absolute;
  510. //left: 0;
  511. //top: 4px;
  512. //width: 22px;
  513. margin-top:5px;
  514. margin-bottom: 5px;
  515. margin-left: -20px;
  516. display: inline-block;
  517. padding: 4px;
  518. height: 26px;
  519. border-radius: 4px;
  520. font-weight: 600;
  521. background-color: $color-primary-light-03;
  522. line-height: 22px;
  523. text-align: center;
  524. }
  525. a {
  526. position: relative;
  527. display: block;
  528. padding: 4px 5px 4px 24px;
  529. text-decoration: underline;
  530. @extend .icon-small-arrow-right-simple;
  531. transition: 0.2s ease;
  532. cursor: pointer;
  533. &:before {
  534. font-family: "Icons";
  535. position: absolute;
  536. font-size: 18px;
  537. line-height: 22px;
  538. left: 0;
  539. color: $color-secondary;
  540. text-decoration: none;
  541. }
  542. &:hover {
  543. color: $color-secondary-dark;
  544. }
  545. }
  546. }
  547. }
  548. .finder-footer {
  549. text-align: right;
  550. @media(min-width: 1000px) {
  551. position: fixed;
  552. bottom: 0;
  553. right: 0;
  554. }
  555. nav {
  556. margin: 0 20px 20px;
  557. }
  558. ul {
  559. margin: 0;
  560. list-style: none;
  561. font-size: 0;
  562. line-height: 0;
  563. }
  564. li {
  565. display: inline-block;
  566. margin-right: 15px;
  567. }
  568. a {
  569. font-size: 18px;
  570. line-height: 24px;
  571. padding: 5px;
  572. display: block;
  573. @include focusvisible;
  574. transition: 0.2s ease;
  575. &.has-icon {
  576. position: relative;
  577. padding-right: 30px;
  578. }
  579. &:before {
  580. font-family: "Icons";
  581. font-size: 20px;
  582. position: absolute;
  583. display: block;
  584. right: 3px;
  585. font-weight: 400;
  586. }
  587. }
  588. }
  589. }
  590. .ihk-landing-article{
  591. .finder-footer {
  592. @media(min-width: 1000px) {
  593. position: relative;
  594. bottom: auto;
  595. right: auto;
  596. }
  597. }
  598. }