UNPKG

10.4 kBCSSView Raw
1.next-sr-only {
2 position: absolute;
3 width: 1px;
4 height: 1px;
5 padding: 0;
6 overflow: hidden;
7 clip: rect(0, 0, 0, 0);
8 white-space: nowrap;
9 border: 0;
10 top: 0;
11 margin: -1px; }
12
13.next-progress-circle[dir=rtl] .next-progress-circle-container {
14 transform: scaleX(-1); }
15
16.next-progress-line[dir=rtl] .next-progress-line-overlay {
17 left: auto;
18 right: 0; }
19
20.next-progress-line {
21 box-sizing: border-box; }
22 .next-progress-line *,
23 .next-progress-line *:before,
24 .next-progress-line *:after {
25 box-sizing: border-box; }
26 .next-progress-line {
27 width: 100%;
28 display: inline-block;
29 position: relative; }
30 .next-progress-line-container {
31 display: inline-block;
32 width: 100%;
33 vertical-align: middle; }
34 .next-progress-line-underlay {
35 position: relative;
36 overflow: hidden;
37 width: 100%;
38 background: #EBECF0;
39 background: var(--progress-line-underlay-color, #EBECF0); }
40 .next-progress-line-overlay {
41 position: absolute;
42 left: 0;
43 top: 0;
44 transition: all 300ms ease;
45 transition: all var(--motion-duration-standard, 300ms) var(--motion-ease, ease); }
46 .next-progress-line-overlay-normal {
47 background: #5584FF;
48 background: var(--progress-line-normal-color, #5584FF); }
49 .next-progress-line-overlay-success {
50 background: #46BC15;
51 background: var(--progress-line-success-color, #46BC15); }
52 .next-progress-line-overlay-error {
53 background: #FF3000;
54 background: var(--progress-line-error-color, #FF3000); }
55 .next-progress-line-overlay-started {
56 background: #FF3000;
57 background: var(--progress-line-started-color, #FF3000); }
58 .next-progress-line-overlay-middle {
59 background: #FF9300;
60 background: var(--progress-line-middle-color, #FF9300); }
61 .next-progress-line-overlay-finishing {
62 background: #46BC15;
63 background: var(--progress-line-finishing-color, #46BC15); }
64 .next-progress-line.next-small .next-progress-line-underlay {
65 border-radius: 20px;
66 border-radius: var(--progress-line-radius-s, 20px);
67 height: 4px;
68 height: var(--progress-line-height-size-s, 4px); }
69 .next-progress-line.next-small .next-progress-line-overlay {
70 height: 4px;
71 height: var(--progress-line-height-size-s, 4px);
72 border-radius: 20px;
73 border-radius: var(--progress-line-radius-s, 20px);
74 top: 50%;
75 margin-top: -2px;
76 margin-top: calc(0px - var(--progress-line-height-size-s, 4px)/2); }
77 .next-progress-line.next-small .next-progress-line-text {
78 font-size: 12px;
79 font-size: var(--progress-line-font-s, 12px);
80 line-height: 4px;
81 line-height: var(--progress-line-height-size-s, 4px); }
82 .next-progress-line.next-medium .next-progress-line-underlay {
83 border-radius: 20px;
84 border-radius: var(--progress-line-radius-m, 20px);
85 height: 8px;
86 height: var(--progress-line-height-size-m, 8px); }
87 .next-progress-line.next-medium .next-progress-line-overlay {
88 height: 8px;
89 height: var(--progress-line-height-size-m, 8px);
90 border-radius: 20px;
91 border-radius: var(--progress-line-radius-m, 20px);
92 top: 50%;
93 margin-top: -4px;
94 margin-top: calc(0px - var(--progress-line-height-size-m, 8px)/2); }
95 .next-progress-line.next-medium .next-progress-line-text {
96 font-size: 12px;
97 font-size: var(--progress-line-font-m, 12px);
98 line-height: 8px;
99 line-height: var(--progress-line-height-size-m, 8px); }
100 .next-progress-line.next-large .next-progress-line-underlay {
101 border-radius: 20px;
102 border-radius: var(--progress-line-radius-l, 20px);
103 height: 12px;
104 height: var(--progress-line-height-size-l, 12px); }
105 .next-progress-line.next-large .next-progress-line-overlay {
106 height: 12px;
107 height: var(--progress-line-height-size-l, 12px);
108 border-radius: 20px;
109 border-radius: var(--progress-line-radius-l, 20px);
110 top: 50%;
111 margin-top: -6px;
112 margin-top: calc(0px - var(--progress-line-height-size-l, 12px)/2); }
113 .next-progress-line.next-large .next-progress-line-text {
114 font-size: 12px;
115 font-size: var(--progress-line-font-l, 12px);
116 line-height: 12px;
117 line-height: var(--progress-line-height-size-l, 12px); }
118 .next-progress-line-show-info .next-progress-line-container {
119 padding-right: 60px;
120 margin-right: -60px; }
121 .next-progress-line-show-info .next-progress-line-text {
122 width: 50px;
123 text-align: left;
124 margin-left: 10px;
125 vertical-align: middle;
126 display: inline-block;
127 color: #333333;
128 color: var(--progress-line-font-color, #333333); }
129 .next-progress-line-show-border .next-progress-line-underlay {
130 border: 1px solid #DCDEE3;
131 border: var(--progress-line-underlay-border-width, 1px) solid var(--progress-line-underlay-border-color, #DCDEE3); }
132 .next-progress-line-show-border.next-small .next-progress-line-underlay {
133 border-radius: 20px;
134 border-radius: var(--progress-line-radius-s, 20px);
135 height: 6px;
136 height: calc(var(--progress-line-height-size-s, 4px) + var(--progress-line-underlay-border-width, 1px)*2); }
137 .next-progress-line-show-border.next-small .next-progress-line-overlay {
138 height: 4px;
139 height: var(--progress-line-height-size-s, 4px);
140 border-radius: 20px;
141 border-radius: var(--progress-line-radius-s, 20px);
142 top: 50%;
143 margin-top: -2px;
144 margin-top: calc(0px - var(--progress-line-height-size-s, 4px)/2); }
145 .next-progress-line-show-border.next-small .next-progress-line-text {
146 font-size: 12px;
147 font-size: var(--progress-line-font-s, 12px);
148 line-height: 6px;
149 line-height: calc(var(--progress-line-height-size-s, 4px) + var(--progress-line-underlay-border-width, 1px)*2); }
150 .next-progress-line-show-border.next-medium .next-progress-line-underlay {
151 border-radius: 20px;
152 border-radius: var(--progress-line-radius-m, 20px);
153 height: 10px;
154 height: calc(var(--progress-line-height-size-m, 8px) + var(--progress-line-underlay-border-width, 1px)*2); }
155 .next-progress-line-show-border.next-medium .next-progress-line-overlay {
156 height: 8px;
157 height: var(--progress-line-height-size-m, 8px);
158 border-radius: 20px;
159 border-radius: var(--progress-line-radius-m, 20px);
160 top: 50%;
161 margin-top: -4px;
162 margin-top: calc(0px - var(--progress-line-height-size-m, 8px)/2); }
163 .next-progress-line-show-border.next-medium .next-progress-line-text {
164 font-size: 12px;
165 font-size: var(--progress-line-font-m, 12px);
166 line-height: 10px;
167 line-height: calc(var(--progress-line-height-size-m, 8px) + var(--progress-line-underlay-border-width, 1px)*2); }
168 .next-progress-line-show-border.next-large .next-progress-line-underlay {
169 border-radius: 20px;
170 border-radius: var(--progress-line-radius-l, 20px);
171 height: 14px;
172 height: calc(var(--progress-line-height-size-l, 12px) + var(--progress-line-underlay-border-width, 1px)*2); }
173 .next-progress-line-show-border.next-large .next-progress-line-overlay {
174 height: 12px;
175 height: var(--progress-line-height-size-l, 12px);
176 border-radius: 20px;
177 border-radius: var(--progress-line-radius-l, 20px);
178 top: 50%;
179 margin-top: -6px;
180 margin-top: calc(0px - var(--progress-line-height-size-l, 12px)/2); }
181 .next-progress-line-show-border.next-large .next-progress-line-text {
182 font-size: 12px;
183 font-size: var(--progress-line-font-l, 12px);
184 line-height: 14px;
185 line-height: calc(var(--progress-line-height-size-l, 12px) + var(--progress-line-underlay-border-width, 1px)*2); }
186
187.next-progress-circle {
188 box-sizing: border-box; }
189 .next-progress-circle *,
190 .next-progress-circle *:before,
191 .next-progress-circle *:after {
192 box-sizing: border-box; }
193 .next-progress-circle {
194 position: relative;
195 display: inline-block; }
196 .next-progress-circle-underlay {
197 stroke-width: 8px;
198 stroke-width: var(--progress-circle-underlay-width, 8px);
199 stroke: #EBECF0;
200 stroke: var(--progress-circle-underlay-color, #EBECF0); }
201 .next-progress-circle-overlay {
202 transition: all 300ms ease;
203 transition: all var(--motion-duration-standard, 300ms) var(--motion-ease, ease);
204 stroke-linecap: round;
205 stroke-linecap: var(--progress-circle-corner, round);
206 stroke-width: 8px;
207 stroke-width: var(--progress-circle-overlay-width, 8px); }
208 .next-progress-circle-overlay-normal {
209 stroke: #5584FF;
210 stroke: var(--progress-circle-normal-color, #5584FF); }
211 .next-progress-circle-overlay-success {
212 stroke: #46BC15;
213 stroke: var(--progress-circle-success-color, #46BC15); }
214 .next-progress-circle-overlay-error {
215 stroke: #FF3000;
216 stroke: var(--progress-circle-error-color, #FF3000); }
217 .next-progress-circle-overlay-started {
218 stroke: #FF3000;
219 stroke: var(--progress-circle-started-color, #FF3000); }
220 .next-progress-circle-overlay-middle {
221 stroke: #FF9300;
222 stroke: var(--progress-circle-middle-color, #FF9300); }
223 .next-progress-circle-overlay-finishing {
224 stroke: #46BC15;
225 stroke: var(--progress-circle-finishing-color, #46BC15); }
226 .next-progress-circle.next-small {
227 width: 100px;
228 width: var(--progress-circle-size-s, 100px);
229 height: 100px;
230 height: var(--progress-circle-size-s, 100px);
231 font-size: 20px;
232 font-size: var(--progress-circle-font-s, 20px); }
233 .next-progress-circle.next-medium {
234 width: 116px;
235 width: var(--progress-circle-size-m, 116px);
236 height: 116px;
237 height: var(--progress-circle-size-m, 116px);
238 font-size: 24px;
239 font-size: var(--progress-circle-font-m, 24px); }
240 .next-progress-circle.next-large {
241 width: 132px;
242 width: var(--progress-circle-size-l, 132px);
243 height: 132px;
244 height: var(--progress-circle-size-l, 132px);
245 font-size: 36px;
246 font-size: var(--progress-circle-font-l, 36px); }
247 .next-progress-circle-text {
248 display: block;
249 position: absolute;
250 width: 100%;
251 top: 50%;
252 left: 0;
253 text-align: center;
254 line-height: 1;
255 -webkit-transform: translateY(-50%);
256 transform: translateY(-50%);
257 transition: transform 300ms ease;
258 transition: transform var(--motion-duration-standard, 300ms) var(--motion-ease, ease);
259 color: #333333;
260 color: var(--progress-circle-text-color, #333333); }