| @@ -20,7 +20,7 @@ export const createParticipationTeaser = ({ | |||||
| target: '_self', | target: '_self', | ||||
| } | } | ||||
| }) => { | }) => { | ||||
| const teaser = createElement('div', ['participation-teaser', 'tile']); | |||||
| const teaser = createElement('div', ['participation-teaser','variant-base', 'tile']); | |||||
| const tb = createElement('div', ['text-box'], null, teaser); | const tb = createElement('div', ['text-box'], null, teaser); | ||||
| const kickerSpan = createElement('p', ['kicker'], kicker, tb); | const kickerSpan = createElement('p', ['kicker'], kicker, tb); | ||||
| @@ -25,7 +25,7 @@ export const createParticipationStage = ({ | |||||
| isFirstElement = false, | isFirstElement = false, | ||||
| }) => { | }) => { | ||||
| const hasImage = imageSrc && imageSrc.length > 0; | const hasImage = imageSrc && imageSrc.length > 0; | ||||
| const section = createElement('section', ['participation', 'participation-stage']); | |||||
| const section = createElement('section', ['participation', 'participation-stage','variant-solid']); | |||||
| const container = createElement('div', ['container'], null, section); | const container = createElement('div', ['container'], null, section); | ||||
| const row = createElement('div', ['row'], null, container); | const row = createElement('div', ['row'], null, container); | ||||
| const col = createElement('div', ['col'], null, row); | const col = createElement('div', ['col'], null, row); | ||||
| @@ -4,7 +4,7 @@ | |||||
| .participation-stage { | .participation-stage { | ||||
| background-image: url('./beteiligung-cover.jpg'); | background-image: url('./beteiligung-cover.jpg'); | ||||
| background-size: cover; | background-size: cover; | ||||
| color: var(--swatches-neutrals-white); | |||||
| color: var(--color-text); | |||||
| min-height: calc(18vw + 300px); | min-height: calc(18vw + 300px); | ||||
| display: flex; | display: flex; | ||||
| align-items: center; | align-items: center; | ||||
| @@ -43,10 +43,14 @@ | |||||
| .text-box { | .text-box { | ||||
| max-width: 580px; | max-width: 580px; | ||||
| padding: calc(30px + 1vw) 0; | padding: calc(30px + 1vw) 0; | ||||
| .btn { | |||||
| background-color: var(--color-button-primary-background); | |||||
| color: var(--color-button-primary-text); | |||||
| } | |||||
| } | } | ||||
| a:not(.btn) { | a:not(.btn) { | ||||
| color: var(--swatches-neutrals-white); | |||||
| color: var(--color-text); | |||||
| + .btn { | + .btn { | ||||
| margin-left: 30px; | margin-left: 30px; | ||||
| @@ -54,8 +58,8 @@ | |||||
| } | } | ||||
| .progress { | .progress { | ||||
| --color-bg: var(--swatches-neutrals-white); | |||||
| --color-fg: var(--swatches-neutrals-white); | |||||
| --color-bg: var(--color-text); | |||||
| --color-fg: var(--color-text); | |||||
| --bg-opacity: 0.4; | --bg-opacity: 0.4; | ||||
| + h1, + .text-2 { | + h1, + .text-2 { | ||||
| @@ -66,7 +70,7 @@ | |||||
| &.image-stage { | &.image-stage { | ||||
| position: relative; | position: relative; | ||||
| background-image: none; | background-image: none; | ||||
| background-color: var(--theme-color-primary); | |||||
| background-color: var(--color-background); | |||||
| overflow: hidden; | overflow: hidden; | ||||
| z-index: 1; | z-index: 1; | ||||
| @@ -78,7 +82,7 @@ | |||||
| top: 0; | top: 0; | ||||
| bottom: 0; | bottom: 0; | ||||
| margin: -15% 0 -15% 0; | margin: -15% 0 -15% 0; | ||||
| background-color: var(--theme-color-primary); | |||||
| background-color: var(--color-background); | |||||
| } | } | ||||
| .text-box { | .text-box { | ||||
| @@ -11,7 +11,7 @@ export const createParticipationTeasers = ({ | |||||
| items = ParticipationTeasersData, | items = ParticipationTeasersData, | ||||
| buttonLabel = 'Alle aktuellen Beteiligungen', | buttonLabel = 'Alle aktuellen Beteiligungen', | ||||
| }) => { | }) => { | ||||
| const section = createElement('section', ['participation-teasers']); | |||||
| const section = createElement('section', ['participation-teasers','variant-subtle-primary']); | |||||
| const hlContainer = createElement('div', ['container'], null, section); | const hlContainer = createElement('div', ['container'], null, section); | ||||
| const hl = createElement('h2', [], headline, hlContainer); | const hl = createElement('h2', [], headline, hlContainer); | ||||
| const wrapper = createElement('div', ['overflow-wrapper'], null, section); | const wrapper = createElement('div', ['overflow-wrapper'], null, section); | ||||
| @@ -6,7 +6,7 @@ | |||||
| display: block; | display: block; | ||||
| padding: var(--section-padding) 0; | padding: var(--section-padding) 0; | ||||
| margin: 0; | margin: 0; | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--color-background); | |||||
| @media(max-width: 767px) { | @media(max-width: 767px) { | ||||
| margin-top: 24px; | margin-top: 24px; | ||||
| @@ -9,7 +9,7 @@ export const createQuickFacts = ({ | |||||
| headline = 'Quick Facts', | headline = 'Quick Facts', | ||||
| facts = QuickFactsData, | facts = QuickFactsData, | ||||
| }) => { | }) => { | ||||
| const section = createElement('section', ['quick-facts']); | |||||
| const section = createElement('section', ['quick-facts','variant-subtle-primary']); | |||||
| const container = createElement('div', ['container'], null, section); | const container = createElement('div', ['container'], null, section); | ||||
| if (headline && headline.length > 0) { | if (headline && headline.length > 0) { | ||||
| createElement('h2', [], headline, container); | createElement('h2', [], headline, container); | ||||
| @@ -33,7 +33,7 @@ | |||||
| position: relative; | position: relative; | ||||
| display: block; | display: block; | ||||
| text-align: center; | text-align: center; | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--color-background); | |||||
| overflow: hidden; | overflow: hidden; | ||||
| @media(max-width: 767px) { | @media(max-width: 767px) { | ||||
| @@ -138,7 +138,7 @@ | |||||
| line-height: 50px; | line-height: 50px; | ||||
| right: 0; | right: 0; | ||||
| margin: -25px 10px; | margin: -25px 10px; | ||||
| color: var(--theme-color-primary); | |||||
| color: var(--color-text); | |||||
| @media(max-width: 767px) { | @media(max-width: 767px) { | ||||
| display: none; | display: none; | ||||
| @@ -40,7 +40,7 @@ export const createSearch = | |||||
| const tilesContainer = createElement('div', ['tiles'], null, col); | const tilesContainer = createElement('div', ['tiles'], null, col); | ||||
| tiles.map((tile) => { | tiles.map((tile) => { | ||||
| const div = createElement('div', ['tile'], null, tilesContainer); | |||||
| const div = createElement('div', ['tile','variant-base'], null, tilesContainer); | |||||
| const a = createElement('a', [], tile.title, div); | const a = createElement('a', [], tile.title, div); | ||||
| a.href = tile.link; | a.href = tile.link; | ||||
| }) | }) | ||||
| @@ -91,7 +91,7 @@ class IHKSearchTypeahead { | |||||
| buildGroup(json, tileClass, title) { | buildGroup(json, tileClass, title) { | ||||
| const tile = $('<div/>').addClass('tile').addClass(tileClass).appendTo(this.tileWrapper); | const tile = $('<div/>').addClass('tile').addClass(tileClass).appendTo(this.tileWrapper); | ||||
| const outer = $('<div/>').addClass('outer').appendTo(tile); | |||||
| const outer = $('<div/>').addClass('outer').addClass('variant-subtle-primary').appendTo(tile); | |||||
| const inner = $('<div/>').addClass('inner').appendTo(outer); | const inner = $('<div/>').addClass('inner').appendTo(outer); | ||||
| const p = $('<p/>').appendTo(inner); | const p = $('<p/>').appendTo(inner); | ||||
| const ul = $('<ul/>').appendTo(inner); | const ul = $('<ul/>').appendTo(inner); | ||||
| @@ -94,11 +94,11 @@ section.search { | |||||
| } | } | ||||
| &[data-type="download"]::before { | &[data-type="download"]::before { | ||||
| color: var(--theme-color-link); | |||||
| color: var(--color-text); | |||||
| @include icon-small-download; | @include icon-small-download; | ||||
| } | } | ||||
| &[data-type="external"]::before { | &[data-type="external"]::before { | ||||
| color: var(--theme-color-link); | |||||
| color: var(--color-text); | |||||
| @include icon-small-link-external; | @include icon-small-link-external; | ||||
| } | } | ||||
| @@ -125,7 +125,7 @@ section.search { | |||||
| top: 0; | top: 0; | ||||
| margin: 11px 10px; | margin: 11px 10px; | ||||
| z-index: 1; | z-index: 1; | ||||
| background-color: var(--swatches-neutrals-white); | |||||
| //background-color: var(--swatches-neutrals-white); | |||||
| padding: 7px 6px 5px; | padding: 7px 6px 5px; | ||||
| border-top-right-radius: 8px; | border-top-right-radius: 8px; | ||||
| border-bottom-left-radius: 8px; | border-bottom-left-radius: 8px; | ||||
| @@ -137,7 +137,7 @@ section.search { | |||||
| } | } | ||||
| .outer { | .outer { | ||||
| background-color: var(--theme-color-primary-dimmed-04); | |||||
| background-color: var(--color-background); | |||||
| } | } | ||||
| p { | p { | ||||
| @@ -167,7 +167,7 @@ section.search { | |||||
| box-shadow: 0 4px 20px -5px rgba(#000, 0.25); | box-shadow: 0 4px 20px -5px rgba(#000, 0.25); | ||||
| transition: 0.25s ease; | transition: 0.25s ease; | ||||
| line-height: 1.2; | line-height: 1.2; | ||||
| background-color: var(--theme-color-background); | |||||
| background-color: var(--color-background); | |||||
| overflow: hidden; | overflow: hidden; | ||||
| @include focus-visible(); | @include focus-visible(); | ||||
| @@ -185,12 +185,12 @@ section.search { | |||||
| left: 0; | left: 0; | ||||
| right: 0; | right: 0; | ||||
| height: var(--border-width); | height: var(--border-width); | ||||
| background-color: var(--theme-color-secondary); | |||||
| background-color: var(--color-decoration); | |||||
| transition: 0.25s $easeOutQuad; | transition: 0.25s $easeOutQuad; | ||||
| } | } | ||||
| &:hover { | &:hover { | ||||
| color: var(--swatches-secondary-700); | |||||
| color: var(--color-text-accent); | |||||
| &:before { | &:before { | ||||
| height: var(--border-width-hover); | height: var(--border-width-hover); | ||||
| @@ -205,7 +205,7 @@ section.search { | |||||
| } | } | ||||
| .outer { | .outer { | ||||
| background-color: var(--theme-primary-light-04); | |||||
| background-color: var(--color-background); | |||||
| padding: 14px 20px 18px; | padding: 14px 20px 18px; | ||||
| border: 4px solid var(--swatches-neutrals-white); | border: 4px solid var(--swatches-neutrals-white); | ||||
| @@ -248,7 +248,7 @@ section.search { | |||||
| font-weight: 500; | font-weight: 500; | ||||
| &:hover { | &:hover { | ||||
| color: var(--color-secondary-dark); | |||||
| color: var(--color-text-accent); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||