Skip to content

Commit 4050f61

Browse files
committed
lint zeug
1 parent a0227ba commit 4050f61

File tree

9 files changed

+39
-34
lines changed

9 files changed

+39
-34
lines changed

packages/themes/ecl/src/ecl-ec/components/accordion.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
}
2323

2424
.kol-icon {
25-
font-family: 'ecl-icons';
25+
font-family: ecl-icons;
2626
&::before {
2727
content: '\ea46';
2828
}
@@ -32,7 +32,7 @@
3232
padding-bottom: var(--ecl-spacing-l);
3333

3434
.kol-icon {
35-
font-family: 'ecl-icons';
35+
font-family: ecl-icons;
3636
&::before {
3737
content: '\ea38';
3838
}
@@ -41,8 +41,8 @@
4141
}
4242

4343
.kol-span__container {
44-
flex-direction: row-reverse;
4544
width: 100%;
45+
flex-direction: row-reverse;
4646
justify-content: space-between;
4747
}
4848
}

packages/themes/ecl/src/ecl-ec/components/badge.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
@include icons;
66

77
.kol-badge {
8-
padding: var(--ecl-spacing-2xs) var(--ecl-spacing-s);
98
border-radius: 12px;
9+
padding: var(--ecl-spacing-2xs) var(--ecl-spacing-s);
10+
1011
font-size: var(--ecl-font-size-s);
1112

1213
&__smart-button {
@@ -21,8 +22,8 @@
2122
}
2223

2324
&:hover {
24-
background-color: var(--ecl-color-primary);
2525
color: var(--ecl-color-white);
26+
background-color: var(--ecl-color-primary);
2627
}
2728
}
2829
}

packages/themes/ecl/src/ecl-ec/components/nav.scss

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@
3939

4040
text-decoration: none;
4141

42-
&:focus-visible {
43-
}
44-
4542
.kol-span__icon--right {
4643
transform: rotate(180deg);
4744
&::before {
@@ -60,13 +57,14 @@
6057
position: relative;
6158

6259
&::before {
63-
content: '';
60+
background-color: var(--ecl-color-primary);
6461
position: absolute;
6562
top: 0;
66-
left: 0;
6763
bottom: 0;
64+
left: 0;
6865
width: 4px;
69-
background-color: var(--ecl-color-primary);
66+
67+
content: '';
7068
}
7169

7270
& > .kol-nav__entry-wrapper .kol-span__icon--right {
@@ -82,22 +80,22 @@
8280
.kol-span {
8381
&__container {
8482
display: grid;
83+
gap: 0;
8584
justify-content: flex-start;
8685
grid-template-areas: 'expander deco label';
8786
grid-template-columns: 24px min-content 1fr;
88-
gap: 0;
8987
}
9088

9189
&__icon--left {
92-
grid-area: deco;
9390
margin-right: to-rem(8);
91+
grid-area: deco;
9492
}
9593

9694
&__icon--right {
97-
grid-area: expander;
95+
transform: rotate(90deg);
9896
width: to-rem(16);
9997
margin-right: to-rem(8);
100-
transform: rotate(90deg);
98+
grid-area: expander;
10199

102100
&::before {
103101
content: '\ea50';

packages/themes/ecl/src/ecl-ec/components/quote.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,24 @@
22

33
@layer kol-theme-component {
44
.kol-quote--block {
5-
display: block;
6-
border-inline-start: 4px solid var(--ecl-color-primary);
7-
border-radius: 2px;
85
box-shadow: var(--ecl-shadow-1);
6+
border-radius: 2px;
7+
display: block;
98
padding: var(--ecl-spacing-3xl);
9+
border-inline-start: 4px solid var(--ecl-color-primary);
1010

1111
.kol-quote__blockquote {
1212
margin: 0;
13+
1314
font-size: var(--ecl-font-size-l);
1415
}
1516

1617
.kol-quote__cite {
1718
display: inline-block;
18-
font-weight: 700;
1919
margin-top: var(--ecl-spacing-m);
2020

21+
font-weight: 700;
22+
2123
&::before {
2224
display: none;
2325
}

packages/themes/ecl/src/ecl-ec/components/spin.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,6 @@
22

33
@layer kol-theme-component {
44
.kol-spin__spinner {
5+
background-color: var(--ecl-color-primary);
56
}
67
}

packages/themes/ecl/src/ecl-ec/global.scss

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@
4242
--ecl-color-dark-100: #26324b;
4343
--ecl-color-dark-80: #546fa6;
4444
--ecl-color-dark-60: #9ac;
45-
--ecl-color-dark-06-o: rgba(38, 50, 75, 0.06);
46-
--ecl-color-dark-05-o: rgba(38, 50, 75, 0.05);
45+
--ecl-color-dark-06-o: rgb(38, 50, 75, 0.06);
46+
--ecl-color-dark-05-o: rgb(38, 50, 75, 0.05);
4747
--ecl-color-info: var(--ecl-color-primary-100);
4848
--ecl-color-success: #24a148;
4949
--ecl-color-error: #da1e28;
5050
--ecl-color-warning: #f39811;
5151
--ecl-color-background: #fcfcfc;
5252
--ecl-color-branding: #004494;
53-
--ecl-color-stroke: color-mix(in srgb, var(--c-p) 50%, transparent);
54-
--ecl-color-overlay-light: color-mix(in srgb, var(--c-d) 70%, transparent);
55-
--ecl-color-overlay-dark: color-mix(in srgb, var(--c-d) 90%, transparent);
53+
--ecl-color-stroke: color-mix(in srgb, var(--ecl-color-primary) 50%, transparent);
54+
--ecl-color-overlay-light: color-mix(in srgb, var(--ecl-color-dark) 70%, transparent);
55+
--ecl-color-overlay-dark: color-mix(in srgb, var(--ecl-color-dark) 90%, transparent);
5656
--ecl-color-white: #fff;
5757
--ecl-color-neutral: var(--ecl-color-neutral-100);
5858
--ecl-color-neutral-180: #6c85d1;
@@ -73,8 +73,6 @@
7373
--ecl-color-accent-60: #d1ccff;
7474
--ecl-color-accent-40: #fafaff;
7575

76-
--ecl-color-stroke: color-mix(in srgb, var(--ecl-color-primary) 50%, transparent);
77-
7876
--ecl-font-family-default: arial, sans-serif;
7977
--ecl-font-size: #{to-rem(16)};
8078
--ecl-font-weight: 400;
@@ -126,10 +124,11 @@
126124
}
127125

128126
:host {
129-
font-family: var(--ecl-font-family-default);
130-
font-weight: var(--ecl-font-weight);
131127
color: var(--ecl-color-dark);
128+
129+
font-family: var(--ecl-font-family-default);
132130
font-size: var(--ecl-font-size-m);
131+
font-weight: var(--ecl-font-weight);
133132
line-height: var(--ecl-line-height-m);
134133
}
135134

packages/themes/ecl/src/ecl-ec/mixins/button.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,12 @@
102102
background-color: var(--button-background-color);
103103
border-color: var(--button-border-color);
104104
border-style: solid;
105-
border-width: var(--button-border-width);
106105

107106
border-radius: 2px;
108107
min-width: var(--a11y-min-size);
109108
min-height: var(--a11y-min-size);
110109
padding: var(--ecl-spacing-xs) var(--ecl-spacing-m);
110+
border-width: var(--button-border-width);
111111

112112
font-weight: var(--font-weight-bold);
113113
line-height: 1.2;

packages/themes/ecl/src/ecl-ec/mixins/card.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77

88
background-color: var(--ecl-color-white);
99
box-shadow: var(--ecl-shadow-1);
10+
border-radius: 0 0 2px 2px;
1011
border: 1px solid var(--ecl-color-stroke);
1112
border-bottom: 4px solid var(--ecl-color-primary);
12-
border-radius: 0 0 2px 2px;
1313

1414
&__header {
1515
display: block;

packages/themes/ecl/src/ecl-ec/mixins/icon.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,25 @@
1313
}
1414
}
1515
&.kolicon-chevron-down {
16-
font-family: ecl-icons;
1716
transform: rotate(180deg);
17+
18+
font-family: ecl-icons;
1819
&::before {
1920
content: '\ea11';
2021
}
2122
}
2223
&.kolicon-chevron-left {
23-
font-family: ecl-icons;
2424
transform: rotate(-90deg);
25+
26+
font-family: ecl-icons;
2527
&::before {
2628
content: '\ea11';
2729
}
2830
}
2931
&.kolicon-chevron-right {
30-
font-family: ecl-icons;
3132
transform: rotate(90deg);
33+
34+
font-family: ecl-icons;
3235
&::before {
3336
content: '\ea11';
3437
}
@@ -151,8 +154,9 @@
151154
}
152155

153156
&.kolicon-sort-desc {
154-
font-family: ecl-icons;
155157
transform: rotate(180deg);
158+
159+
font-family: ecl-icons;
156160
&::before {
157161
content: '\ea50';
158162
}

0 commit comments

Comments
 (0)