Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Revert "update and fix some minor bwst theme layout issues, add bundessansweb…"" #11

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/components/button-link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:is(a, button) {
color: var(--color-primary);
font-style: normal;
font-weight: 400;
font-weight: var(--button-font-weight);
text-decoration-line: underline;
font-size: inherit;
}
Expand All @@ -17,11 +17,6 @@
outline-offset: calc(1rem / 8);
}

/* a:hover:not([aria-disabled]),
button:hover:not([disabled]) {
text-decoration-thickness: 0.25em;
}*/

:is(a, button):visited {
color: var(--visited);
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
}

:is(a, button) > .kol-span-wc {
font-weight: 400;
font-weight: var(--button-font-weight);
border-radius: var(--border-radius);
border-style: solid;
border-width: var(--border-width);
Expand Down
11 changes: 7 additions & 4 deletions src/components/details.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
@layer kol-theme-component {
:host {
font-family: var(--font-family);
}

details > summary {
border-radius: calc(var(--border-radius) / 2);
font-family: var(--font-family);
}

details > summary > span{
details > summary > span {
border-bottom-color: var(--color-subtle);
}

Expand All @@ -14,8 +17,8 @@
border-bottom-color: var(--color-primary);
}

details{
.content{
details {
.content {
padding: 0.25rem;
}
}
Expand Down
15 changes: 6 additions & 9 deletions src/components/input-checkbox.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
:host fieldset legend {
order: 2;
display: contents;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

:host .kol-input {
Expand All @@ -22,10 +23,9 @@
min-height: var(--a11y-min-size);
gap: 0.4rem;

.hint{
.hint {
font-size: 0.9rem;
}

}

:host .kol-input.default {
Expand Down Expand Up @@ -98,7 +98,7 @@

:host input:hover {
border-color: var(--color-primary);
box-shadow: 0px 2px 8px 2px rgba(8, 35, 48, 0.24);
box-shadow: var(--box-shadow-inputs);
}

:host input:focus:hover {
Expand Down Expand Up @@ -285,15 +285,12 @@
.kol-input:not(.checkbox.switch, .radio) .input:focus,
.kol-input:not(.checkbox) .input:focus,
.kol-input:is(.checkbox.switch, .radio) input:focus,
.kol-input:is(.checkbox) input:focus{
.kol-input:is(.checkbox) input:focus {
cursor: pointer;
outline-color: var(--color-primary-variant);
outline-offset: 2px;
outline-style: solid;
outline-width: 2px;
transition: outline-offset 0.2s linear;
}



}
5 changes: 3 additions & 2 deletions src/components/input-color.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down
5 changes: 3 additions & 2 deletions src/components/input-date.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down
5 changes: 3 additions & 2 deletions src/components/input-email.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down
5 changes: 3 additions & 2 deletions src/components/input-file.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down
5 changes: 3 additions & 2 deletions src/components/input-number.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down
5 changes: 3 additions & 2 deletions src/components/input-password.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down
8 changes: 4 additions & 4 deletions src/components/input-radio.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
width: 100%;
}


input {
cursor: pointer;
width: 100%;
Expand All @@ -27,7 +26,7 @@

input:hover {
border-color: var(--color-primary);
box-shadow: 0px 2px 8px 2px rgba(8, 35, 48, 0.24);
box-shadow: var(--box-shadow-inputs);
}

input:focus:hover {
Expand Down Expand Up @@ -110,8 +109,9 @@
fieldset legend {
order: 2;
display: contents;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

fieldset .kol-input {
Expand Down
19 changes: 9 additions & 10 deletions src/components/input-range.scss
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down Expand Up @@ -101,37 +102,35 @@
color: var(--color-text);
}

.kol-input input[type="range"] {
.kol-input input[type='range'] {
appearance: none;
background-color: var(--color-mute-variant);
border: 1px solid var(--border-color);
height: calc(1rem / 2);
line-height: 1.5rem;
}


.kol-input input[type="range"]::-webkit-slider-thumb{
.kol-input input[type='range']::-webkit-slider-thumb {
appearance: none;
height: 20px;
width: 20px;
border-radius: 50%;
background: var(--color-primary);
cursor: ew-resize;
transition: background .3s ease-in-out;
transition: background 0.3s ease-in-out;
}


.kol-input input[type="range"]::-moz-range-thumb {
.kol-input input[type='range']::-moz-range-thumb {
appearance: none;
height: 20px;
width: 20px;
border-radius: 50%;
background: var(--color-primary);
cursor: ew-resize;
transition: background .3s ease-in-out;
transition: background 0.3s ease-in-out;
}

/* .kol-input input[type=range]::-webkit-slider-runnable-track {
/* .kol-input input[type=range]::-webkit-slider-runnable-track {
appearance: none;
box-shadow: none;
border: none;
Expand Down
5 changes: 3 additions & 2 deletions src/components/input-text.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down
4 changes: 2 additions & 2 deletions src/components/link-button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
.ghost :is(a, button):hover > .kol-span-wc {
background-color: var(--color-primary-variant);
border-color: var(--color-primary-variant);
box-shadow: 0px 2px 8px 2px rgba(8, 35, 48, 0.24);
box-shadow: var(--box-shadow-inputs);
color: var(--color-light);
}

Expand Down Expand Up @@ -132,7 +132,7 @@
.ghost :is(a, button).small.transparent:hover > .kol-span-wc > span {
background-color: var(--color-primary-variant);
border-color: var(--color-primary-variant);
box-shadow: 0px 2px 8px 2px rgba(8, 35, 48, 0.24);
box-shadow: var(--box-shadow-inputs);
color: var(--color-light);
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
outline-offset: calc(1rem / 8);
}

/* a:hover:not([aria-disabled]),
/* a:hover:not([aria-disabled]),
button:hover:not([disabled]) {
text-decoration-thickness: 0.25em;
}*/
Expand Down
2 changes: 1 addition & 1 deletion src/components/pagination.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
.button:is(:active, :hover):not(:disabled) .button-inner {
background-color: var(--color-primary-variant);
border-color: var(--color-primary-variant);
box-shadow: 0 2px 8px 2px rgba(8, 35, 48, 0.24);
box-shadow: var(--box-shadow-inputs);
color: var(--color-light);
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
.cycle .progress {
stroke: var(--color-primary-variant);
}
.bar .progress{
.bar .progress {
fill: var(--color-primary-variant);
}
}
7 changes: 4 additions & 3 deletions src/components/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

.kol-input label {
order: 2;
font-size: 0.9rem;
font-weight: 700;
font-size: var(--label-size);
font-weight: var(--label-weight);
color: var(--label-color);
}

.kol-input .input {
Expand Down Expand Up @@ -46,7 +47,7 @@
border-width: var(--border-width);
padding: 0 0.5rem;

select{
select {
background-color: var(--color-light);
}
}
Expand Down
Loading
Loading