dibk-design 0.4.41 → 0.4.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -674
- package/README.md +3 -3
- package/dist/components/Accordion.md +15 -15
- package/dist/components/Accordion.module.scss +205 -181
- package/dist/components/Button.md +75 -75
- package/dist/components/Button.module.scss +232 -216
- package/dist/components/CheckBoxIcon.js +109 -103
- package/dist/components/CheckBoxIcon.md +38 -38
- package/dist/components/CheckBoxIcon.module.scss +62 -62
- package/dist/components/CheckBoxInput.js +104 -101
- package/dist/components/CheckBoxInput.md +58 -51
- package/dist/components/CheckBoxInput.module.scss +24 -24
- package/dist/components/CheckBoxListItem.md +82 -82
- package/dist/components/CheckBoxListItem.module.scss +71 -71
- package/dist/components/ContentBox.md +46 -46
- package/dist/components/ContentBox.module.scss +116 -116
- package/dist/components/Dialog.md +5 -5
- package/dist/components/Dialog.module.scss +78 -71
- package/dist/components/DragAndDropFileInput.md +13 -13
- package/dist/components/DragAndDropFileInput.module.scss +45 -45
- package/dist/components/Footer.md +7 -7
- package/dist/components/Footer.module.scss +11 -11
- package/dist/components/Header.md +11 -11
- package/dist/components/Header.module.scss +64 -51
- package/dist/components/InputField.md +41 -41
- package/dist/components/InputField.module.scss +95 -83
- package/dist/components/Label.md +9 -9
- package/dist/components/Label.module.scss +16 -16
- package/dist/components/List.md +10 -10
- package/dist/components/List.module.scss +18 -18
- package/dist/components/LoadingAnimation.md +5 -5
- package/dist/components/LoadingAnimation.module.scss +26 -26
- package/dist/components/NavigationBar.md +42 -42
- package/dist/components/NavigationBar.module.scss +176 -176
- package/dist/components/NavigationBarListItem.md +15 -15
- package/dist/components/Paper.md +9 -9
- package/dist/components/Paper.module.scss +18 -17
- package/dist/components/RadioButtonIcon.md +41 -41
- package/dist/components/RadioButtonIcon.module.scss +44 -44
- package/dist/components/RadioButtonInput.md +30 -30
- package/dist/components/RadioButtonInput.module.scss +26 -26
- package/dist/components/RadioButtonListItem.md +70 -70
- package/dist/components/RadioButtonListItem.module.scss +71 -71
- package/dist/components/Select.md +28 -28
- package/dist/components/Select.module.scss +100 -101
- package/dist/components/Textarea.md +27 -27
- package/dist/components/Textarea.module.scss +72 -64
- package/dist/components/Theme.md +12 -12
- package/dist/components/Theme.module.scss +76 -76
- package/dist/components/WizardNavigation/Step.module.scss +75 -75
- package/dist/components/WizardNavigation.md +84 -84
- package/dist/components/WizardNavigation.module.scss +3 -3
- package/dist/fonts/Altis-Light.svg +326 -326
- package/dist/fonts/open-sans-v27-latin-ext_latin-300.svg +346 -346
- package/dist/fonts/open-sans-v27-latin-ext_latin-300italic.svg +377 -377
- package/dist/fonts/open-sans-v27-latin-ext_latin-700.svg +349 -349
- package/dist/fonts/open-sans-v27-latin-ext_latin-700italic.svg +379 -379
- package/dist/fonts/open-sans-v27-latin-ext_latin-italic.svg +379 -379
- package/dist/fonts/open-sans-v27-latin-ext_latin-regular.svg +349 -349
- package/dist/images/dibk-logo-mobile.svg +91 -91
- package/dist/images/dibk-logo.svg +991 -991
- package/dist/images/spinner.svg +56 -56
- package/dist/style/abstracts/_all.scss +1 -1
- package/dist/style/abstracts/mixins/_all.scss +12 -12
- package/dist/style/abstracts/mixins/_animation.scss +6 -6
- package/dist/style/abstracts/mixins/_appearance.scss +5 -5
- package/dist/style/abstracts/mixins/_border-radius.scss +31 -31
- package/dist/style/abstracts/mixins/_box-shadow.scss +5 -5
- package/dist/style/abstracts/mixins/_box-sizing.scss +5 -5
- package/dist/style/abstracts/mixins/_calc.scss +5 -5
- package/dist/style/abstracts/mixins/_keyframes.scss +14 -14
- package/dist/style/abstracts/mixins/_opacity.scss +5 -5
- package/dist/style/abstracts/mixins/_placeholder.scss +17 -17
- package/dist/style/abstracts/mixins/_scrollbar.scss +26 -26
- package/dist/style/abstracts/mixins/_transform.scss +6 -6
- package/dist/style/abstracts/mixins/_transition.scss +34 -34
- package/dist/style/abstracts/variables/_all.scss +2 -2
- package/dist/style/abstracts/variables/_colors.scss +29 -29
- package/dist/style/abstracts/variables/_typography.scss +1 -1
- package/dist/style/abstracts/variables/_viewports.scss +14 -11
- package/dist/style/base/_all.scss +1 -1
- package/dist/style/base/_reset.scss +15 -15
- package/dist/style/base/_typography.scss +6 -6
- package/dist/style/base/fonts.css +95 -95
- package/dist/style/global.scss +3 -3
- package/dist/style/layout/_containers.scss +9 -9
- package/package.json +43 -42
- package/dist/fonts_old/Altis-Light.eot +0 -0
- package/dist/fonts_old/Altis-Light.svg +0 -326
- package/dist/fonts_old/Altis-Light.ttf +0 -0
- package/dist/fonts_old/Altis-Light.woff +0 -0
- package/dist/fonts_old/Altis.eot +0 -0
- package/dist/fonts_old/Altis.svg +0 -327
- package/dist/fonts_old/Altis.ttf +0 -0
- package/dist/fonts_old/OpenSans-300.woff2 +0 -0
- package/dist/fonts_old/OpenSans-400.ttf +0 -0
- package/dist/fonts_old/OpenSans-400.woff +0 -0
- package/dist/fonts_old/OpenSans-400.woff2 +0 -0
- package/dist/fonts_old/OpenSans-400ekte.woff +0 -0
- package/dist/fonts_old/OpenSans-700.woff2 +0 -0
|
@@ -1,216 +1,232 @@
|
|
|
1
|
-
@import "../style/global.scss";
|
|
2
|
-
@include keyframes(pushnext) {
|
|
3
|
-
0% {
|
|
4
|
-
@include transform(rotate(45deg) translate3d(0, 0, 0));
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
50% {
|
|
8
|
-
@include transform(rotate(45deg) translate3d(2px, -2px, 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
100% {
|
|
12
|
-
@include transform(rotate(45deg) translate3d(0, 0, 0));
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
@include keyframes(pushprev) {
|
|
16
|
-
0% {
|
|
17
|
-
@include transform(rotate(-135deg) translate3d(0, 0, 0));
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
50% {
|
|
21
|
-
@include transform(rotate(-135deg) translate3d(-2px, 2px, 0));
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
100% {
|
|
25
|
-
@include transform(rotate(-135deg) translate3d(0, 0, 0));
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
:local(.button) {
|
|
30
|
-
@include appearance(none);
|
|
31
|
-
@include border-radius(0);
|
|
32
|
-
@include transition(
|
|
33
|
-
filter 300ms ease-out,
|
|
34
|
-
background-color 300ms ease-out,
|
|
35
|
-
color 300ms ease-out,
|
|
36
|
-
border-color 300ms ease-out
|
|
37
|
-
);
|
|
38
|
-
font-family: "Altis", sans-serif;
|
|
39
|
-
border-style: solid;
|
|
40
|
-
border-width: 1px;
|
|
41
|
-
$border-color: $color-primary;
|
|
42
|
-
cursor: pointer;
|
|
43
|
-
line-height: 1;
|
|
44
|
-
position: relative;
|
|
45
|
-
text-align: center;
|
|
46
|
-
text-decoration: none;
|
|
47
|
-
display: inline-block;
|
|
48
|
-
margin-right: 5px;
|
|
49
|
-
margin-bottom: 5px;
|
|
50
|
-
font-size:
|
|
51
|
-
font-weight: 500;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&:local(.
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
&:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
&:
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
1
|
+
@import "../style/global.scss";
|
|
2
|
+
@include keyframes(pushnext) {
|
|
3
|
+
0% {
|
|
4
|
+
@include transform(rotate(45deg) translate3d(0, 0, 0));
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
50% {
|
|
8
|
+
@include transform(rotate(45deg) translate3d(2px, -2px, 0));
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
100% {
|
|
12
|
+
@include transform(rotate(45deg) translate3d(0, 0, 0));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
@include keyframes(pushprev) {
|
|
16
|
+
0% {
|
|
17
|
+
@include transform(rotate(-135deg) translate3d(0, 0, 0));
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
50% {
|
|
21
|
+
@include transform(rotate(-135deg) translate3d(-2px, 2px, 0));
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
100% {
|
|
25
|
+
@include transform(rotate(-135deg) translate3d(0, 0, 0));
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
:local(.button) {
|
|
30
|
+
@include appearance(none);
|
|
31
|
+
@include border-radius(0);
|
|
32
|
+
@include transition(
|
|
33
|
+
filter 300ms ease-out,
|
|
34
|
+
background-color 300ms ease-out,
|
|
35
|
+
color 300ms ease-out,
|
|
36
|
+
border-color 300ms ease-out
|
|
37
|
+
);
|
|
38
|
+
font-family: "Altis", sans-serif;
|
|
39
|
+
border-style: solid;
|
|
40
|
+
border-width: 1px;
|
|
41
|
+
$border-color: $color-primary;
|
|
42
|
+
cursor: pointer;
|
|
43
|
+
line-height: 1;
|
|
44
|
+
position: relative;
|
|
45
|
+
text-align: center;
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
display: inline-block;
|
|
48
|
+
margin-right: 5px;
|
|
49
|
+
margin-bottom: 5px;
|
|
50
|
+
font-size: 17px;
|
|
51
|
+
font-weight: 500;
|
|
52
|
+
@media only screen and (min-width: $screen-sm) {
|
|
53
|
+
font-size: 20px;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&:local(.hasTheme) {
|
|
57
|
+
&:hover,
|
|
58
|
+
&:focus {
|
|
59
|
+
filter: brightness(90%);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:active {
|
|
63
|
+
filter: brightness(85%);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:local(.regular) {
|
|
68
|
+
padding: 14px 24px;
|
|
69
|
+
@media only screen and (min-width: $screen-sm) {
|
|
70
|
+
padding: 17px 32px;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&:local(.small) {
|
|
75
|
+
padding: 6px 24px;
|
|
76
|
+
min-width: 80px;
|
|
77
|
+
line-height: 18px;
|
|
78
|
+
@media only screen and (min-width: $screen-sm) {
|
|
79
|
+
line-height: 21px;
|
|
80
|
+
padding: 6px 32px;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&:local(.default) {
|
|
85
|
+
background-color: #fff;
|
|
86
|
+
color: $color-primary;
|
|
87
|
+
&:not(:local(.hasTheme)) {
|
|
88
|
+
&:hover:not(:local(.noHover)),
|
|
89
|
+
&:active {
|
|
90
|
+
background-color: $color-primary;
|
|
91
|
+
color: #fff;
|
|
92
|
+
&:after,
|
|
93
|
+
&:before {
|
|
94
|
+
border-color: #fff;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&:local(.primary) {
|
|
101
|
+
background-color: $color-primary;
|
|
102
|
+
color: #fff;
|
|
103
|
+
&:not(:local(.hasTheme)) {
|
|
104
|
+
&:hover:not(:local(.noHover)),
|
|
105
|
+
&:active {
|
|
106
|
+
background-color: #fff;
|
|
107
|
+
color: $color-primary;
|
|
108
|
+
&:after,
|
|
109
|
+
&:before {
|
|
110
|
+
border-color: $color-primary;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
&:disabled {
|
|
117
|
+
&:local(.hasTheme),
|
|
118
|
+
&:not(:local(.hasTheme)) {
|
|
119
|
+
&:local(.default) {
|
|
120
|
+
background-color: #fff;
|
|
121
|
+
cursor: default;
|
|
122
|
+
opacity: 0.6;
|
|
123
|
+
color: #afaba8;
|
|
124
|
+
border: 1px solid #e5e3e1;
|
|
125
|
+
&:hover,
|
|
126
|
+
&:focus,
|
|
127
|
+
&:active {
|
|
128
|
+
background-color: #fff;
|
|
129
|
+
cursor: default;
|
|
130
|
+
opacity: 0.6;
|
|
131
|
+
color: #afaba8;
|
|
132
|
+
border: 1px solid #e5e3e1;
|
|
133
|
+
&:before,
|
|
134
|
+
&:after {
|
|
135
|
+
border-color: #afaba8;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
&:before,
|
|
139
|
+
&:after {
|
|
140
|
+
border-color: #afaba8;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
&:local(.primary) {
|
|
144
|
+
background-color: $color-primary;
|
|
145
|
+
cursor: default;
|
|
146
|
+
opacity: 0.6;
|
|
147
|
+
color: #fff;
|
|
148
|
+
border: 1px solid $color-primary;
|
|
149
|
+
&:hover,
|
|
150
|
+
&:focus,
|
|
151
|
+
&:active {
|
|
152
|
+
background-color: $color-primary;
|
|
153
|
+
cursor: default;
|
|
154
|
+
opacity: 0.6;
|
|
155
|
+
color: #fff;
|
|
156
|
+
border: 1px solid $color-primary;
|
|
157
|
+
&:before,
|
|
158
|
+
&:after {
|
|
159
|
+
border-color: $color-primary;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
&:before,
|
|
163
|
+
&:after {
|
|
164
|
+
border-color: $color-primary;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
&:local(.rounded) {
|
|
171
|
+
border-radius: 20px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
&:local(.hasArrowLeft) {
|
|
175
|
+
&:before {
|
|
176
|
+
@include transform(rotate(-135deg));
|
|
177
|
+
@include calc("top", "50% - 0.4rem");
|
|
178
|
+
content: " ";
|
|
179
|
+
display: inline-block;
|
|
180
|
+
position: absolute;
|
|
181
|
+
right: auto;
|
|
182
|
+
left: 0.55em;
|
|
183
|
+
width: 0.5rem;
|
|
184
|
+
height: 0.5rem;
|
|
185
|
+
vertical-align: middle;
|
|
186
|
+
border: 2px solid white;
|
|
187
|
+
border-width: 2px 2px 0 0;
|
|
188
|
+
margin-right: 1em;
|
|
189
|
+
@media only screen and (min-width: $screen-sm) {
|
|
190
|
+
left: 1em;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
&:hover {
|
|
195
|
+
&:before {
|
|
196
|
+
@include animation(pushprev 0.8s linear infinite);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
&:local(.default) {
|
|
200
|
+
&:before {
|
|
201
|
+
border-color: $color-primary;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&:local(.hasArrowRight) {
|
|
207
|
+
&:after {
|
|
208
|
+
@include transform(rotate(45deg));
|
|
209
|
+
@include calc("top", "50% - 0.4rem");
|
|
210
|
+
content: " ";
|
|
211
|
+
display: inline-block;
|
|
212
|
+
position: absolute;
|
|
213
|
+
left: auto;
|
|
214
|
+
right: 0.55em;
|
|
215
|
+
width: 0.5rem;
|
|
216
|
+
height: 0.5rem;
|
|
217
|
+
vertical-align: middle;
|
|
218
|
+
border: 2px solid white;
|
|
219
|
+
border-width: 2px 2px 0 0;
|
|
220
|
+
margin-left: 1em;
|
|
221
|
+
@media only screen and (min-width: $screen-sm) {
|
|
222
|
+
right: 1em;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
&:hover {
|
|
227
|
+
&:after {
|
|
228
|
+
@include animation(pushnext 0.8s linear infinite);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|