@ldmjs/ui 1.0.89 → 2.0.0-beta.0
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/README.md +39 -94
- package/dist/components/ld-avatar.js +1 -0
- package/dist/components/ld-badge.js +1 -0
- package/dist/components/ld-breadcrumbs.js +1 -0
- package/dist/components/ld-button.js +1 -0
- package/dist/components/ld-calendar.js +1 -0
- package/dist/components/ld-checkbox.js +1 -0
- package/dist/components/ld-chip.js +1 -0
- package/dist/components/ld-combobox.js +1 -0
- package/dist/components/ld-data-iterator.js +1 -0
- package/dist/components/ld-datepicker.js +1 -0
- package/dist/components/ld-dialog.js +1 -0
- package/dist/components/ld-edit-list-box.js +1 -0
- package/dist/components/ld-edit-masked-text.js +1 -0
- package/dist/components/ld-edit-text.js +1 -0
- package/dist/components/ld-icon.js +1 -0
- package/dist/components/ld-loader.js +1 -0
- package/dist/components/ld-page-toolbar.js +1 -0
- package/dist/components/ld-pager.js +1 -0
- package/dist/components/ld-progress.js +1 -0
- package/dist/components/ld-radiobutton.js +1 -0
- package/dist/components/ld-radiogroup.js +1 -0
- package/dist/components/ld-select-list-box.js +1 -0
- package/dist/components/ld-select.js +1 -0
- package/dist/components/ld-slider.js +1 -0
- package/dist/components/ld-splitter.js +1 -0
- package/dist/components/ld-step.js +1 -0
- package/dist/components/ld-switch.js +1 -0
- package/dist/components/ld-tab.js +1 -0
- package/dist/components/ld-tabs.js +1 -0
- package/dist/components/ld-text-markup.js +1 -0
- package/dist/components/ld-text-viewer.js +1 -0
- package/dist/components/ld-textarea.js +1 -0
- package/dist/components/ld-timepicker.js +1 -0
- package/dist/components/ld-toggle-buttons.js +1 -0
- package/dist/components/ld-uploader.js +1 -0
- package/dist/fonts/Roboto-Medium.ttf +0 -0
- package/dist/fonts/Roboto-Medium.woff +0 -0
- package/dist/fonts/Roboto-Medium.woff2 +0 -0
- package/dist/fonts/Roboto-SemiBold.ttf +0 -0
- package/dist/fonts/Roboto-SemiBold.woff +0 -0
- package/dist/fonts/Roboto-SemiBold.woff2 +0 -0
- package/dist/i18n/ru/ru-Ru.json +49 -2
- package/dist/index.d.ts +18 -15
- package/dist/index.js +1 -21178
- package/dist/lib/runtime-template.js +1 -1
- package/dist/lib/toastification.js +1 -1
- package/dist/scss/_animations.scss +31 -12
- package/dist/scss/_avatar.scss +333 -0
- package/dist/scss/_badge.scss +128 -0
- package/dist/scss/_breadcrumbs.scss +133 -17
- package/dist/scss/_buttons.scss +584 -282
- package/dist/scss/_calendar.scss +154 -51
- package/dist/scss/_checkbox.scss +245 -0
- package/dist/scss/_chip.scss +163 -63
- package/dist/scss/_colors.scss +21 -19
- package/dist/scss/_dialogs.scss +285 -178
- package/dist/scss/_editor.scss +146 -0
- package/dist/scss/_fonts.scss +115 -0
- package/dist/scss/_inputs.scss +905 -138
- package/dist/scss/_loader.scss +163 -0
- package/dist/scss/_pager.scss +83 -16
- package/dist/scss/_progress.scss +282 -0
- package/dist/scss/_radiobutton.scss +218 -0
- package/dist/scss/_radiogroup.scss +86 -0
- package/dist/scss/_scroll.scss +65 -0
- package/dist/scss/_shadows.scss +47 -0
- package/dist/scss/_slider.scss +53 -0
- package/dist/scss/_splitter.scss +60 -0
- package/dist/scss/_step.scss +179 -0
- package/dist/scss/_switch.scss +192 -0
- package/dist/scss/_tabs.scss +318 -0
- package/dist/scss/_textmarkup.scss +47 -0
- package/dist/scss/_textviewer.scss +13 -0
- package/dist/scss/_toasted.scss +44 -22
- package/dist/scss/_toggle.scss +125 -0
- package/dist/scss/_toolbar.scss +40 -1
- package/dist/scss/_tooltip.scss +30 -0
- package/dist/scss/_treeview.scss +35 -0
- package/dist/scss/_uploader.scss +167 -0
- package/dist/scss/_variables.scss +5 -27
- package/dist/scss/index.scss +140 -16
- package/dist/scss/utils.scss +17 -0
- package/dist/types/breadcrumbs.d.ts +2 -0
- package/dist/types/calendar.d.ts +8 -73
- package/dist/types/combobox.d.ts +10 -0
- package/dist/types/dialogs.d.ts +26 -1
- package/dist/types/form.d.ts +6 -0
- package/dist/types/options.d.ts +8 -1
- package/dist/types/toasted.d.ts +4 -4
- package/dist/utils/validators.js +1 -1
- package/package.json +122 -120
- package/dist/css/calendar.css +0 -1066
- package/dist/css/index.css +0 -20
- package/dist/css/root.css +0 -86
- package/dist/lib/calendar.js +0 -1
- package/dist/lib/floating.js +0 -1
- package/dist/lib/multiselect.js +0 -1
- package/dist/scss/_multiselect.scss +0 -170
- package/dist/scss/_toasted-old.scss +0 -408
- package/dist/scss/index-old.scss +0 -16
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
@use "sass:selector";
|
|
2
|
+
@use "sass:list";
|
|
3
|
+
@use "utils";
|
|
4
|
+
|
|
5
|
+
$loader-xs: 16px;
|
|
6
|
+
$loader-s: 24px;
|
|
7
|
+
$loader-m: 32px;
|
|
8
|
+
$loader-l: 48px;
|
|
9
|
+
$loader-xl: 64px;
|
|
10
|
+
|
|
11
|
+
$loaderSize: $loader-xs, $loader-s, $loader-m, $loader-l, $loader-xl;
|
|
12
|
+
|
|
13
|
+
$colors: (
|
|
14
|
+
"primary": (var(--primary), var(--primary-l-1)),
|
|
15
|
+
"success": (var(--success), var(--success-l-1)),
|
|
16
|
+
"warning": (var(--warning), var(--warning-l-1)),
|
|
17
|
+
"error": (var(--error), var(--error-l-1)),
|
|
18
|
+
"white": (var(--white), var(--white)),
|
|
19
|
+
);
|
|
20
|
+
|
|
21
|
+
:root {
|
|
22
|
+
--loader-xs: #{$loader-xs};
|
|
23
|
+
--loader-s: #{$loader-s};
|
|
24
|
+
--loader-m: #{$loader-m};
|
|
25
|
+
--loader-l: #{$loader-l};
|
|
26
|
+
--loader-xl: #{$loader-xl};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@keyframes blink {
|
|
30
|
+
0% {
|
|
31
|
+
opacity: 1;
|
|
32
|
+
}
|
|
33
|
+
25% {
|
|
34
|
+
opacity: 1;
|
|
35
|
+
}
|
|
36
|
+
49% {
|
|
37
|
+
opacity: 0.1;
|
|
38
|
+
}
|
|
39
|
+
51% {
|
|
40
|
+
opacity: 0.1;
|
|
41
|
+
}
|
|
42
|
+
75% {
|
|
43
|
+
opacity: 1
|
|
44
|
+
}
|
|
45
|
+
100% {
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@mixin loadersize() {
|
|
51
|
+
$sizearray: ('x-small', 'small', 'large', 'x-large', 'extra-large');
|
|
52
|
+
$parent: utils.getParent(&);
|
|
53
|
+
|
|
54
|
+
@at-root {
|
|
55
|
+
$index: 0;
|
|
56
|
+
@each $s in $sizearray {
|
|
57
|
+
$index: $index + 1;
|
|
58
|
+
$prefix: #{selector.append("--", $s)};
|
|
59
|
+
|
|
60
|
+
&#{utils.getSelector($parent, $prefix)} {
|
|
61
|
+
$size: list.nth($loaderSize, $index);
|
|
62
|
+
|
|
63
|
+
svg {
|
|
64
|
+
margin-top: calc($size / 2 * -1);
|
|
65
|
+
margin-left: calc($size / 2 * -1);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&#{utils.getSelector($parent, '--dotts')} {
|
|
69
|
+
i {
|
|
70
|
+
&:after {
|
|
71
|
+
border-radius: calc($size / 11);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@mixin loadercolor() {
|
|
81
|
+
$parent: utils.getParent(&);
|
|
82
|
+
|
|
83
|
+
@at-root {
|
|
84
|
+
@each $color, $values in $colors {
|
|
85
|
+
&.text-#{$color} {
|
|
86
|
+
$selector: utils.getSelector($parent, '--circle');
|
|
87
|
+
|
|
88
|
+
&#{$selector} {
|
|
89
|
+
i {
|
|
90
|
+
background: conic-gradient(
|
|
91
|
+
from 90deg,
|
|
92
|
+
rgba(52, 126, 255, 0) 0deg,
|
|
93
|
+
list.nth($values, 1) 180deg,
|
|
94
|
+
list.nth($values, 2) 306.266deg,
|
|
95
|
+
rgba(52, 126, 255, 0) 360deg
|
|
96
|
+
);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
$selector: utils.getSelector($parent, '--dotts');
|
|
101
|
+
|
|
102
|
+
&#{$selector} {
|
|
103
|
+
i {
|
|
104
|
+
&:after {
|
|
105
|
+
background-color: list.nth($values, 1);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
body {
|
|
115
|
+
.ld-loader {
|
|
116
|
+
position: absolute;
|
|
117
|
+
width: 100%;
|
|
118
|
+
height: 100%;
|
|
119
|
+
top: 0px;
|
|
120
|
+
left: 0px;
|
|
121
|
+
display: flex;
|
|
122
|
+
justify-content: center;
|
|
123
|
+
align-items: center;
|
|
124
|
+
overflow: hidden;
|
|
125
|
+
background-color: rgba(255, 255, 255, 1);
|
|
126
|
+
|
|
127
|
+
svg {
|
|
128
|
+
position: absolute;
|
|
129
|
+
top: 50%;
|
|
130
|
+
left: 50%;
|
|
131
|
+
animation: rotating 1s linear infinite;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@include loadersize();
|
|
135
|
+
|
|
136
|
+
&.ld-loader--transparent {
|
|
137
|
+
background-color: rgba(255, 255, 255, 0.5);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.ld-loader--dotts {
|
|
141
|
+
i {
|
|
142
|
+
overflow: hidden;
|
|
143
|
+
&:after {
|
|
144
|
+
content: '';
|
|
145
|
+
display: block;
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
left: 0;
|
|
149
|
+
height: 100%;
|
|
150
|
+
width: 23%;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
@for $i from 0 through 8 {
|
|
155
|
+
i:nth-child(#{$i + 1}) {
|
|
156
|
+
animation: blink 1s linear #{$i * 0.125}s infinite;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
@include loadercolor();
|
|
162
|
+
}
|
|
163
|
+
}
|
package/dist/scss/_pager.scss
CHANGED
|
@@ -1,20 +1,87 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
body {
|
|
2
|
+
.ld-pager {
|
|
3
|
+
display: flex;
|
|
4
|
+
align-items: center;
|
|
5
|
+
width: 100%;
|
|
6
|
+
|
|
7
|
+
.ld-pager-button {
|
|
8
|
+
display: flex;
|
|
9
|
+
align-items: center;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
height: var(--button-xs);
|
|
12
|
+
border-radius: var(--border-radius);
|
|
13
|
+
font-family: var(--semibold);
|
|
14
|
+
font-size: var(--text-body-s);
|
|
15
|
+
color: var(--grey-d-3);
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
transition: all 0.15s;
|
|
18
|
+
|
|
19
|
+
&[aria-selected=false]:not([disabled]),
|
|
20
|
+
&[aria-role=navigation] {
|
|
21
|
+
&:hover {
|
|
22
|
+
background-color: var(--grey-l-6);
|
|
23
|
+
color: var(--grey-d-4);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:active {
|
|
27
|
+
background-color: var(--grey-l-5);
|
|
28
|
+
color: var(--grey-d-5);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&[disabled] {
|
|
33
|
+
color: var(--grey-l-2);
|
|
34
|
+
|
|
35
|
+
span {
|
|
36
|
+
color: var(--grey-l-2);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&[aria-selected=true] {
|
|
41
|
+
background-color: var(--primary-l-6);
|
|
42
|
+
color: var(--primary-d-1);
|
|
43
|
+
|
|
44
|
+
&:hover {
|
|
45
|
+
background-color: var(--primary-l-6);
|
|
46
|
+
color: var(--primary-d-1);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
&:active {
|
|
50
|
+
background-color: var(--primary-l-6);
|
|
51
|
+
color: var(--primary-d-1);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&.ld-pager-button--icon {
|
|
56
|
+
width: var(--button-xs);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&.ld-pager--rounded {
|
|
61
|
+
.ld-pager-button {
|
|
62
|
+
border-radius: var(--button-xs);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
&.ld-pager--fluid {
|
|
67
|
+
width: 100%;
|
|
68
|
+
justify-content: space-between;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
span {
|
|
72
|
+
color: var(--grey-d-3);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
ul {
|
|
76
|
+
display: flex;
|
|
77
|
+
align-items: center;
|
|
78
|
+
list-style: none;
|
|
79
|
+
}
|
|
13
80
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
font-
|
|
17
|
-
color: var(--
|
|
81
|
+
.ld-pager-page {
|
|
82
|
+
font-family: var(--semibold);
|
|
83
|
+
font-size: var(--text-body-s);
|
|
84
|
+
color: var(--text);
|
|
18
85
|
}
|
|
19
86
|
}
|
|
20
87
|
}
|
|
@@ -0,0 +1,282 @@
|
|
|
1
|
+
body {
|
|
2
|
+
.ld-progress {
|
|
3
|
+
|
|
4
|
+
.ld-progress-counter {
|
|
5
|
+
color: var(--text);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.ld-progress-text {
|
|
9
|
+
color: var(--grey-d-1);
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
|
|
14
|
+
&--complete {
|
|
15
|
+
color: var(--text);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
// --------- linear
|
|
20
|
+
|
|
21
|
+
&.ld-progress--linear {
|
|
22
|
+
&.ld-progress--no-label {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.ld-progress-label {
|
|
28
|
+
display: flex;
|
|
29
|
+
align-items: center;
|
|
30
|
+
height: 20px;
|
|
31
|
+
margin-bottom: 8px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.ld-progress-text {
|
|
35
|
+
font-size: var(--text-body-s);
|
|
36
|
+
flex: 1 1 auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.ld-progress-counter {
|
|
40
|
+
font-size: var(--text-body-s);
|
|
41
|
+
color: var(--grey-d-1);
|
|
42
|
+
white-space: nowrap;
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
margin-left: 16px;
|
|
45
|
+
flex-shrink: 0;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.ld-progress-bar {
|
|
49
|
+
flex: 1 1 auto;
|
|
50
|
+
height: 4px;
|
|
51
|
+
background-color: var(--grey-l-5);
|
|
52
|
+
border-radius: 6px;
|
|
53
|
+
|
|
54
|
+
&:after {
|
|
55
|
+
content: '';
|
|
56
|
+
display: block;
|
|
57
|
+
height: 100%;
|
|
58
|
+
width: calc(var(--n) * 1%);
|
|
59
|
+
background-color: var(--primary);
|
|
60
|
+
border-radius: 6px;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@mixin counterabsolute() {
|
|
66
|
+
.ld-progress-counter {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: center;
|
|
70
|
+
position: absolute;
|
|
71
|
+
width: 100%;
|
|
72
|
+
top: 0;
|
|
73
|
+
left: 0;
|
|
74
|
+
font-family: var(--semibold);
|
|
75
|
+
font-weight: 600;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// --------- circular
|
|
80
|
+
|
|
81
|
+
&.ld-progress--circular {
|
|
82
|
+
position: relative;
|
|
83
|
+
|
|
84
|
+
@include counterabsolute();
|
|
85
|
+
|
|
86
|
+
.ld-progress-text {
|
|
87
|
+
text-align: center;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&.ld-progress--x-small {
|
|
91
|
+
.ld-progress-counter {
|
|
92
|
+
font-size: var(--text-body-s);
|
|
93
|
+
height: 24px;
|
|
94
|
+
top: 20px;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.ld-progress--small {
|
|
99
|
+
.ld-progress-counter {
|
|
100
|
+
font-size: var(--text-body-m);
|
|
101
|
+
height: 24px;
|
|
102
|
+
top: 32px;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
&.ld-progress--default {
|
|
107
|
+
.ld-progress-counter {
|
|
108
|
+
font-size: calc(var(--font-size) * 2 + 4px);
|
|
109
|
+
font-weight: 500;
|
|
110
|
+
height: 36px;
|
|
111
|
+
top: 50px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.ld-progress-text {
|
|
115
|
+
width: 100%;
|
|
116
|
+
position: absolute;
|
|
117
|
+
bottom: 50px;
|
|
118
|
+
left: 0;
|
|
119
|
+
line-height: 20px;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
&.ld-progress--large {
|
|
124
|
+
.ld-progress-counter {
|
|
125
|
+
font-size: var(--heading-4);
|
|
126
|
+
font-weight: 500;
|
|
127
|
+
height: 44px;
|
|
128
|
+
top: 66px;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.ld-progress-text {
|
|
132
|
+
width: 100%;
|
|
133
|
+
position: absolute;
|
|
134
|
+
bottom: 66px;
|
|
135
|
+
left: 0;
|
|
136
|
+
line-height: 20px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
&.ld-progress--x-large {
|
|
141
|
+
.ld-progress-counter {
|
|
142
|
+
font-size: var(--heading-3);
|
|
143
|
+
font-weight: 500;
|
|
144
|
+
height: 48px;
|
|
145
|
+
top: 84px;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.ld-progress-text {
|
|
149
|
+
width: 100%;
|
|
150
|
+
position: absolute;
|
|
151
|
+
bottom: 84px;
|
|
152
|
+
left: 0;
|
|
153
|
+
font-size: var(--text-body-m);
|
|
154
|
+
line-height: 20px;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
&.ld-progress--extra-large {
|
|
159
|
+
.ld-progress-counter {
|
|
160
|
+
font-size: var(--heading-1);
|
|
161
|
+
font-weight: 500;
|
|
162
|
+
height: 56px;
|
|
163
|
+
top: 98px;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.ld-progress-text {
|
|
167
|
+
width: 100%;
|
|
168
|
+
position: absolute;
|
|
169
|
+
bottom: 98px;
|
|
170
|
+
left: 0;
|
|
171
|
+
font-size: var(--text-body-l);
|
|
172
|
+
line-height: 24px;
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
// --------- half-circle
|
|
178
|
+
|
|
179
|
+
&.ld-progress--half-circle {
|
|
180
|
+
position: relative;
|
|
181
|
+
|
|
182
|
+
@include counterabsolute();
|
|
183
|
+
|
|
184
|
+
.ld-progress-text {
|
|
185
|
+
position: absolute;
|
|
186
|
+
width: 100%;
|
|
187
|
+
height: 100%;
|
|
188
|
+
bottom: 0;
|
|
189
|
+
left: 0;
|
|
190
|
+
text-align: center;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&.ld-progress--x-small {
|
|
194
|
+
.ld-progress-counter {
|
|
195
|
+
font-size: var(--text-body-s);
|
|
196
|
+
height: 20px;
|
|
197
|
+
top: 12px;
|
|
198
|
+
}
|
|
199
|
+
.ld-progress-text {
|
|
200
|
+
font-size: var(--font-size);
|
|
201
|
+
height: 16px;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&.ld-progress--small {
|
|
206
|
+
.ld-progress-counter {
|
|
207
|
+
font-size: var(--text-body-m);
|
|
208
|
+
height: 24px;
|
|
209
|
+
top: 20px;
|
|
210
|
+
}
|
|
211
|
+
.ld-progress-text {
|
|
212
|
+
font-size: var(--text-body-s);
|
|
213
|
+
height: 20px;
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
&.ld-progress--default {
|
|
218
|
+
.ld-progress-counter {
|
|
219
|
+
font-size: calc(var(--font-size) * 2 + 4px);
|
|
220
|
+
font-weight: 500;
|
|
221
|
+
height: 36px;
|
|
222
|
+
top: 40px;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.ld-progress-text {
|
|
226
|
+
font-size: var(--text-body-s);
|
|
227
|
+
height: 20px;
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
&.ld-progress--large {
|
|
232
|
+
.ld-progress-counter {
|
|
233
|
+
font-size: var(--heading-4);
|
|
234
|
+
font-weight: 500;
|
|
235
|
+
height: 44px;
|
|
236
|
+
top: 48px;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.ld-progress-text {
|
|
240
|
+
font-size: var(--text-body-s);
|
|
241
|
+
height: 20px;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
&.ld-progress--x-large {
|
|
246
|
+
.ld-progress-counter {
|
|
247
|
+
font-size: var(--heading-3);
|
|
248
|
+
font-weight: 500;
|
|
249
|
+
height: 48px;
|
|
250
|
+
top: 58px;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ld-progress-text {
|
|
254
|
+
font-size: var(--text-body-m);
|
|
255
|
+
height: 20px;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
&.ld-progress--extra-large {
|
|
260
|
+
.ld-progress-counter {
|
|
261
|
+
font-size: var(--heading-1);
|
|
262
|
+
font-weight: 500;
|
|
263
|
+
height: 56px;
|
|
264
|
+
top: 70px;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.ld-progress-text {
|
|
268
|
+
font-size: var(--text-body-l);
|
|
269
|
+
height: 24px;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
&.ld-progress--error {
|
|
275
|
+
.ld-progress-bar {
|
|
276
|
+
&:after {
|
|
277
|
+
background-color: var(--error);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
}
|