@transferwise/neptune-css 14.8.0 → 14.8.2

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.
Files changed (48) hide show
  1. package/dist/css/accordion.css +235 -1
  2. package/dist/css/alerts.css +761 -1
  3. package/dist/css/background.css +20 -1
  4. package/dist/css/badge.css +90 -1
  5. package/dist/css/border-radius.css +3 -1
  6. package/dist/css/breadcrumbs.css +20 -1
  7. package/dist/css/button-groups.css +412 -1
  8. package/dist/css/buttons.css +1382 -1
  9. package/dist/css/chevron.css +35 -1
  10. package/dist/css/circles.css +284 -1
  11. package/dist/css/close.css +47 -1
  12. package/dist/css/column-layout.css +164 -1
  13. package/dist/css/currency-flags.css +45 -1
  14. package/dist/css/decision.css +95 -1
  15. package/dist/css/dropdowns.css +413 -1
  16. package/dist/css/droppable.css +207 -1
  17. package/dist/css/flex.css +598 -1
  18. package/dist/css/footer.css +118 -1
  19. package/dist/css/grid.css +2369 -1
  20. package/dist/css/input-groups.css +2706 -1
  21. package/dist/css/link-callout.css +20 -1
  22. package/dist/css/list-group.css +267 -1
  23. package/dist/css/loaders.css +76 -1
  24. package/dist/css/media.css +74 -1
  25. package/dist/css/modals.css +185 -1
  26. package/dist/css/navbar-base.css +1385 -1
  27. package/dist/css/navbar.css +2397 -1
  28. package/dist/css/navs.css +296 -1
  29. package/dist/css/neptune-addons.css +1829 -1
  30. package/dist/css/neptune-core.css +2035 -2
  31. package/dist/css/neptune-social-media.css +144 -1
  32. package/dist/css/neptune.css +24372 -2
  33. package/dist/css/panels.css +528 -1
  34. package/dist/css/popovers.css +538 -1
  35. package/dist/css/process.css +483 -1
  36. package/dist/css/progress-bars.css +76 -1
  37. package/dist/css/ring.css +59 -1
  38. package/dist/css/select.css +99 -1
  39. package/dist/css/sequences.css +855 -1
  40. package/dist/css/table.css +446 -1
  41. package/dist/css/tick.css +32 -1
  42. package/dist/css/tooltip.css +142 -1
  43. package/dist/css/utilities.css +145 -1
  44. package/dist/css/wells.css +74 -1
  45. package/package.json +3 -2
  46. package/scripts/analyze-css-selectors.js +39 -0
  47. package/src/less/buttons.less +2 -6
  48. package/src/less/navbar-base.less +1 -1
@@ -1 +1,483 @@
1
- .process{display:block;margin:auto;position:relative}.process svg{height:100%;width:100%}.process-circle{stroke:#0097c7;stroke:var(--color-content-accent);stroke-opacity:1;stroke-linecap:round;animation-duration:1.5s;animation-iteration-count:infinite;animation-timing-function:ease-out;-webkit-transform:translateZ(0);transform-origin:center center;transition:stroke 1s linear .2s}.np-theme-personal .process-circle{stroke:#37517e;stroke:var(--color-content-primary)}.np-theme-personal--bright-green .process-circle,.np-theme-personal--dark .process-circle,.np-theme-personal--forest-green .process-circle{stroke:var(--color-interactive-primary)}.process-inverse .process-circle{stroke:#fff;stroke:var(--color-background-screen)}.process-icon-container{display:inline-block;height:50%;left:25%;position:absolute;top:25%;transform:rotate(45deg);width:50%}.process-icon-horizontal,.process-icon-vertical{display:block;height:0;position:absolute;width:0}.process-success .process-icon-horizontal{background-color:#008026;background-color:var(--color-content-positive);bottom:0;left:0}.np-theme-personal .process-success .process-icon-horizontal{background-color:var(--color-sentiment-positive)}.process-success .process-icon-vertical{background-color:#008026;background-color:var(--color-content-positive);right:0;top:100%}.np-theme-personal .process-success .process-icon-vertical{background-color:var(--color-sentiment-positive)}.process-success .process-circle{stroke:#008026;stroke:var(--color-content-positive)}.np-theme-personal .process-success .process-circle{stroke:var(--color-sentiment-positive)}.process-danger .process-icon-horizontal{background-color:#cf2929;background-color:var(--color-content-negative);left:0}.np-theme-personal .process-danger .process-icon-horizontal{background-color:var(--color-sentiment-negative)}.process-danger .process-icon-vertical{background-color:#cf2929;background-color:var(--color-content-negative);top:0}.np-theme-personal .process-danger .process-icon-vertical{background-color:var(--color-sentiment-negative)}.process-danger .process-circle{stroke:#cf2929;stroke:var(--color-content-negative)}.np-theme-personal .process-danger .process-circle{stroke:var(--color-sentiment-negative)}.process-danger .process-circle,.process-success .process-circle{animation-delay:1ms;animation-duration:1.5s;animation-fill-mode:forwards;animation-iteration-count:1;animation-timing-function:ease-out}.process-danger .process-icon-horizontal,.process-success .process-icon-horizontal{animation:process-width .3s ease 1.2s forwards}.process-danger .process-icon-vertical,.process-success .process-icon-vertical{animation:process-height .3s ease 1.5s forwards}.process-stopped .process-circle{animation:none}.process-stopped .process-icon-container{display:none}.process-xs{height:12px;width:12px}.process-xs .process-circle{stroke-dashoffset:31.41592654px;stroke-dasharray:31.41592654px;stroke-width:1.5px}.process-xs.process-danger .process-icon-horizontal{height:1px;top:2.5px}.process-xs.process-danger .process-icon-vertical{left:2.5px;width:1px}.process-xs .process-icon-horizontal,.process-xs .process-icon-vertical{border-radius:.5px}.process-xs.process-success .process-icon-container{height:5px;left:4.5px;width:2.5px}.process-xs.process-success .process-icon-horizontal{height:1px}.process-xs.process-success .process-icon-vertical{width:1px}.process-xs{height:24px;width:24px}.process-xs .process-circle{stroke-dashoffset:69.11503838px;stroke-dasharray:69.11503838px;stroke-width:2px}.process-xs.process-danger .process-icon-horizontal{height:2px;top:5px}.process-xs.process-danger .process-icon-vertical{left:5px;width:2px}.process-xs .process-icon-horizontal,.process-xs .process-icon-vertical{border-radius:1px}.process-xs.process-success .process-icon-container{height:10px;left:9px;width:5px}.process-xs.process-success .process-icon-horizontal{height:2px}.process-xs.process-success .process-icon-vertical{width:2px}.process-sm{height:48px;width:48px}.process-sm .process-circle{stroke-dashoffset:144.51326207px;stroke-dasharray:144.51326207px;stroke-width:2.4px}.process-sm.process-danger .process-icon-horizontal{height:3px;top:10.5px}.process-sm.process-danger .process-icon-vertical{left:10.5px;width:3px}.process-sm .process-icon-horizontal,.process-sm .process-icon-vertical{border-radius:1.5px}.process-sm.process-success .process-icon-container{height:21px;left:18px;width:10.5px}.process-sm.process-success .process-icon-horizontal{height:3px}.process-sm.process-success .process-icon-vertical{width:3px}.process-xl{height:128px;width:128px}.process-xl .process-circle{stroke-dashoffset:395.84067435px;stroke-dasharray:395.84067435px;stroke-width:3px}.process-xl.process-danger .process-icon-horizontal{height:8px;top:28px}.process-xl.process-danger .process-icon-vertical{left:28px;width:8px}.process-xl .process-icon-horizontal,.process-xl .process-icon-vertical{border-radius:4px}.process-xl.process-success .process-icon-container{height:56px;left:48px;width:28px}.process-xl.process-success .process-icon-horizontal{height:8px}.process-xl.process-success .process-icon-vertical{width:8px}.process-xxs .process-circle{animation-name:process-chase-circle-xxs}.process-xxs.process-danger .process-circle,.process-xxs.process-success .process-circle{animation-name:process-success-circle-xxs}.process-xs .process-circle{animation-name:process-chase-circle-xs}.process-xs.process-danger .process-circle,.process-xs.process-success .process-circle{animation-name:process-success-circle-xs}.process-sm .process-circle{animation-name:process-chase-circle-sm}.process-sm.process-danger .process-circle,.process-sm.process-success .process-circle{animation-name:process-success-circle-sm}.process-xl .process-circle{animation-name:process-chase-circle-xl}.process-xl.process-danger .process-circle,.process-xl.process-success .process-circle{animation-name:process-success-circle-xl}@keyframes process-chase-circle-xxs{0%{stroke-dashoffset:93.24777961px;stroke-dasharray:31.41592654px;transform:rotate(0deg)}25%{stroke-dashoffset:30.41592654px;stroke-dasharray:15.70796327px}75%{stroke-dashoffset:30.41592654px;stroke-dasharray:23.5619449px}to{stroke-dashoffset:30.41592654px;stroke-dasharray:31.41592654px;transform:rotate(1turn)}}@keyframes process-success-circle-xxs{0%{stroke-dashoffset:30.41592654px;stroke-dasharray:31.41592654px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:31.41592654px;transform:rotate(1turn)}}@keyframes process-chase-circle-xs{0%{stroke-dashoffset:206.34511514px;stroke-dasharray:69.11503838px;transform:rotate(0deg)}25%{stroke-dashoffset:68.11503838px;stroke-dasharray:34.55751919px}75%{stroke-dashoffset:68.11503838px;stroke-dasharray:51.83627878px}to{stroke-dashoffset:68.11503838px;stroke-dasharray:69.11503838px;transform:rotate(1turn)}}@keyframes process-success-circle-xs{0%{stroke-dashoffset:68.11503838px;stroke-dasharray:69.11503838px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:69.11503838px;transform:rotate(1turn)}}@keyframes process-chase-circle-sm{0%{stroke-dashoffset:432.5397862px;stroke-dasharray:144.51326207px;transform:rotate(0deg)}25%{stroke-dashoffset:143.51326207px;stroke-dasharray:72.25663103px}75%{stroke-dashoffset:143.51326207px;stroke-dasharray:108.38494655px}to{stroke-dashoffset:143.51326207px;stroke-dasharray:144.51326207px;transform:rotate(1turn)}}@keyframes process-success-circle-sm{0%{stroke-dashoffset:143.51326207px;stroke-dasharray:144.51326207px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:144.51326207px;transform:rotate(1turn)}}@keyframes process-chase-circle-xl{0%{stroke-dashoffset:1186.52202306px;stroke-dasharray:395.84067435px;transform:rotate(0deg)}25%{stroke-dashoffset:394.84067435px;stroke-dasharray:197.92033718px}75%{stroke-dashoffset:394.84067435px;stroke-dasharray:296.88050576px}to{stroke-dashoffset:394.84067435px;stroke-dasharray:395.84067435px;transform:rotate(1turn)}}@keyframes process-success-circle-xl{0%{stroke-dashoffset:394.84067435px;stroke-dasharray:395.84067435px;transform:rotate(0deg)}to{stroke-dashoffset:0;stroke-dasharray:395.84067435px;transform:rotate(1turn)}}@keyframes process-width{to{width:100%}}@keyframes process-height{to{height:100%;top:0}}.btn .process:first-child{float:left;margin-left:-12px;margin-right:12px}[dir=rtl] .btn .process:first-child{float:right;margin-left:0;margin-left:12px;margin-right:-12px;margin-right:0}.btn-block .process:first-child{position:absolute}.btn .process-circle{transition:stroke .5s linear 0s}.btn-primary .process-circle,.btn-success .process-circle{stroke:#fff}.btn-primary .process-icon-horizontal,.btn-primary .process-icon-vertical,.btn-success .process-icon-horizontal,.btn-success .process-icon-vertical{background-color:#fff}.btn:focus .process-circle,.btn:hover .process-circle{stroke:#fff}.btn:focus .process-icon-horizontal,.btn:focus .process-icon-vertical,.btn:hover .process-icon-horizontal,.btn:hover .process-icon-vertical,.btn[disabled] .process-icon-horizontal,.btn[disabled] .process-icon-vertical{background-color:#fff}
1
+ /*
2
+ // Keep these sizes in case we want to add these back in.
3
+ @process-lg-radius: 48px;
4
+ @process-lg-stroke: 2.7px;
5
+ @process-lg-circumference: (pi() * (2 * (@process-lg-radius - 1)));
6
+ @process-lg-icon-size: 48px;
7
+ @process-lg-icon-stroke: 6px;
8
+
9
+ @process-md-radius: 36px;
10
+ @process-md-circumference: (pi() * (2 * (@process-md-radius - 1)));
11
+ @process-md-stroke: 2.5px;
12
+ @process-md-icon-size: 36px;
13
+ @process-md-icon-stroke: 4px;
14
+ */
15
+ .process {
16
+ position: relative;
17
+ margin: auto;
18
+ display: block;
19
+ }
20
+ .process svg {
21
+ width: 100%;
22
+ height: 100%;
23
+ }
24
+ .process-circle {
25
+ transform-origin: center center;
26
+ transition: stroke 1s 0.2s linear;
27
+ stroke: #0097c7;
28
+ stroke: var(--color-content-accent);
29
+ stroke-opacity: 1;
30
+ stroke-linecap: round;
31
+ -webkit-transform: translate3d(0, 0, 0);
32
+ animation-duration: 1.5s;
33
+ animation-timing-function: ease-out;
34
+ animation-iteration-count: infinite;
35
+ }
36
+ .np-theme-personal .process-circle {
37
+ stroke: #37517e;
38
+ stroke: var(--color-content-primary);
39
+ }
40
+ .np-theme-personal--forest-green .process-circle,
41
+ .np-theme-personal--bright-green .process-circle,
42
+ .np-theme-personal--dark .process-circle {
43
+ stroke: var(--color-interactive-primary);
44
+ }
45
+ .process-inverse .process-circle {
46
+ stroke: #ffffff;
47
+ stroke: var(--color-background-screen);
48
+ }
49
+ .process-icon-container {
50
+ position: absolute;
51
+ display: inline-block;
52
+ transform: rotate(45deg);
53
+ height: 50%;
54
+ width: 50%;
55
+ left: 25%;
56
+ top: 25%;
57
+ }
58
+ .process-icon-horizontal,
59
+ .process-icon-vertical {
60
+ position: absolute;
61
+ display: block;
62
+ width: 0;
63
+ height: 0;
64
+ }
65
+ .process-success .process-icon-horizontal {
66
+ background-color: #008026;
67
+ background-color: var(--color-content-positive);
68
+ bottom: 0;
69
+ left: 0;
70
+ }
71
+ .np-theme-personal .process-success .process-icon-horizontal {
72
+ background-color: var(--color-sentiment-positive);
73
+ }
74
+ .process-success .process-icon-vertical {
75
+ background-color: #008026;
76
+ background-color: var(--color-content-positive);
77
+ top: 100%;
78
+ right: 0;
79
+ }
80
+ .np-theme-personal .process-success .process-icon-vertical {
81
+ background-color: var(--color-sentiment-positive);
82
+ }
83
+ .process-success .process-circle {
84
+ stroke: #008026;
85
+ stroke: var(--color-content-positive);
86
+ }
87
+ .np-theme-personal .process-success .process-circle {
88
+ stroke: var(--color-sentiment-positive);
89
+ }
90
+ .process-danger .process-icon-horizontal {
91
+ background-color: #cf2929;
92
+ background-color: var(--color-content-negative);
93
+ left: 0;
94
+ }
95
+ .np-theme-personal .process-danger .process-icon-horizontal {
96
+ background-color: var(--color-sentiment-negative);
97
+ }
98
+ .process-danger .process-icon-vertical {
99
+ background-color: #cf2929;
100
+ background-color: var(--color-content-negative);
101
+ top: 0;
102
+ }
103
+ .np-theme-personal .process-danger .process-icon-vertical {
104
+ background-color: var(--color-sentiment-negative);
105
+ }
106
+ .process-danger .process-circle {
107
+ stroke: #cf2929;
108
+ stroke: var(--color-content-negative);
109
+ }
110
+ .np-theme-personal .process-danger .process-circle {
111
+ stroke: var(--color-sentiment-negative);
112
+ }
113
+ .process-success .process-circle,
114
+ .process-danger .process-circle {
115
+ animation-duration: 1.5s;
116
+ animation-delay: 1ms;
117
+ animation-timing-function: ease-out;
118
+ animation-fill-mode: forwards;
119
+ animation-iteration-count: 1;
120
+ }
121
+ .process-success .process-icon-horizontal,
122
+ .process-danger .process-icon-horizontal {
123
+ /* Animation over transition, to run once on load */
124
+ animation: process-width 0.3s 1.2s ease forwards;
125
+ }
126
+ .process-success .process-icon-vertical,
127
+ .process-danger .process-icon-vertical {
128
+ /* Animation over transition, to run once on load */
129
+ animation: process-height 0.3s 1.5s ease forwards;
130
+ }
131
+ .process-stopped .process-circle {
132
+ animation: none;
133
+ }
134
+ .process-stopped .process-icon-container {
135
+ display: none;
136
+ }
137
+ .process-xs {
138
+ width: 12px;
139
+ height: 12px;
140
+ }
141
+ .process-xs .process-circle {
142
+ /* Hide before animation to prevent glitching */
143
+ stroke-dashoffset: 31.41592654px;
144
+ stroke-dasharray: 31.41592654px;
145
+ stroke-width: 1.5px;
146
+ }
147
+ .process-xs.process-danger .process-icon-horizontal {
148
+ top: 2.5px;
149
+ height: 1px;
150
+ }
151
+ .process-xs.process-danger .process-icon-vertical {
152
+ left: 2.5px;
153
+ width: 1px;
154
+ }
155
+ .process-xs .process-icon-horizontal,
156
+ .process-xs .process-icon-vertical {
157
+ border-radius: 0.5px;
158
+ }
159
+ .process-xs.process-success .process-icon-container {
160
+ width: 2.5px;
161
+ height: 5px;
162
+ left: 4.5px;
163
+ }
164
+ .process-xs.process-success .process-icon-horizontal {
165
+ height: 1px;
166
+ }
167
+ .process-xs.process-success .process-icon-vertical {
168
+ width: 1px;
169
+ }
170
+ .process-xs {
171
+ width: 24px;
172
+ height: 24px;
173
+ }
174
+ .process-xs .process-circle {
175
+ /* Hide before animation to prevent glitching */
176
+ stroke-dashoffset: 69.11503838px;
177
+ stroke-dasharray: 69.11503838px;
178
+ stroke-width: 2px;
179
+ }
180
+ .process-xs.process-danger .process-icon-horizontal {
181
+ top: 5px;
182
+ height: 2px;
183
+ }
184
+ .process-xs.process-danger .process-icon-vertical {
185
+ left: 5px;
186
+ width: 2px;
187
+ }
188
+ .process-xs .process-icon-horizontal,
189
+ .process-xs .process-icon-vertical {
190
+ border-radius: 1px;
191
+ }
192
+ .process-xs.process-success .process-icon-container {
193
+ width: 5px;
194
+ height: 10px;
195
+ left: 9px;
196
+ }
197
+ .process-xs.process-success .process-icon-horizontal {
198
+ height: 2px;
199
+ }
200
+ .process-xs.process-success .process-icon-vertical {
201
+ width: 2px;
202
+ }
203
+ .process-sm {
204
+ width: 48px;
205
+ height: 48px;
206
+ }
207
+ .process-sm .process-circle {
208
+ /* Hide before animation to prevent glitching */
209
+ stroke-dashoffset: 144.51326207px;
210
+ stroke-dasharray: 144.51326207px;
211
+ stroke-width: 2.4px;
212
+ }
213
+ .process-sm.process-danger .process-icon-horizontal {
214
+ top: 10.5px;
215
+ height: 3px;
216
+ }
217
+ .process-sm.process-danger .process-icon-vertical {
218
+ left: 10.5px;
219
+ width: 3px;
220
+ }
221
+ .process-sm .process-icon-horizontal,
222
+ .process-sm .process-icon-vertical {
223
+ border-radius: 1.5px;
224
+ }
225
+ .process-sm.process-success .process-icon-container {
226
+ width: 10.5px;
227
+ height: 21px;
228
+ left: 18px;
229
+ }
230
+ .process-sm.process-success .process-icon-horizontal {
231
+ height: 3px;
232
+ }
233
+ .process-sm.process-success .process-icon-vertical {
234
+ width: 3px;
235
+ }
236
+ .process-xl {
237
+ width: 128px;
238
+ height: 128px;
239
+ }
240
+ .process-xl .process-circle {
241
+ /* Hide before animation to prevent glitching */
242
+ stroke-dashoffset: 395.84067435px;
243
+ stroke-dasharray: 395.84067435px;
244
+ stroke-width: 3px;
245
+ }
246
+ .process-xl.process-danger .process-icon-horizontal {
247
+ top: 28px;
248
+ height: 8px;
249
+ }
250
+ .process-xl.process-danger .process-icon-vertical {
251
+ left: 28px;
252
+ width: 8px;
253
+ }
254
+ .process-xl .process-icon-horizontal,
255
+ .process-xl .process-icon-vertical {
256
+ border-radius: 4px;
257
+ }
258
+ .process-xl.process-success .process-icon-container {
259
+ width: 28px;
260
+ height: 56px;
261
+ left: 48px;
262
+ }
263
+ .process-xl.process-success .process-icon-horizontal {
264
+ height: 8px;
265
+ }
266
+ .process-xl.process-success .process-icon-vertical {
267
+ width: 8px;
268
+ }
269
+ .process-xxs .process-circle {
270
+ animation-name: process-chase-circle-xxs;
271
+ }
272
+ .process-xxs.process-success .process-circle,
273
+ .process-xxs.process-danger .process-circle {
274
+ animation-name: process-success-circle-xxs;
275
+ }
276
+ .process-xs .process-circle {
277
+ animation-name: process-chase-circle-xs;
278
+ }
279
+ .process-xs.process-success .process-circle,
280
+ .process-xs.process-danger .process-circle {
281
+ animation-name: process-success-circle-xs;
282
+ }
283
+ .process-sm .process-circle {
284
+ animation-name: process-chase-circle-sm;
285
+ }
286
+ .process-sm.process-success .process-circle,
287
+ .process-sm.process-danger .process-circle {
288
+ animation-name: process-success-circle-sm;
289
+ }
290
+ .process-xl .process-circle {
291
+ animation-name: process-chase-circle-xl;
292
+ }
293
+ .process-xl.process-success .process-circle,
294
+ .process-xl.process-danger .process-circle {
295
+ animation-name: process-success-circle-xl;
296
+ }
297
+ @keyframes process-chase-circle-xxs {
298
+ 0% {
299
+ transform: rotate(0deg);
300
+ stroke-dashoffset: 93.24777961px;
301
+ stroke-dasharray: 31.41592654px;
302
+ }
303
+ 25% {
304
+ stroke-dashoffset: 30.41592654px;
305
+ stroke-dasharray: 15.70796327px;
306
+ }
307
+ 75% {
308
+ stroke-dashoffset: 30.41592654px;
309
+ stroke-dasharray: 23.5619449px;
310
+ }
311
+ 100% {
312
+ transform: rotate(360deg);
313
+ stroke-dashoffset: 30.41592654px;
314
+ stroke-dasharray: 31.41592654px;
315
+ }
316
+ }
317
+ @keyframes process-success-circle-xxs {
318
+ 0% {
319
+ transform: rotate(0deg);
320
+ stroke-dashoffset: 30.41592654px;
321
+ stroke-dasharray: 31.41592654px;
322
+ }
323
+ 100% {
324
+ transform: rotate(360deg);
325
+ stroke-dashoffset: 0;
326
+ stroke-dasharray: 31.41592654px;
327
+ }
328
+ }
329
+ @keyframes process-chase-circle-xs {
330
+ 0% {
331
+ transform: rotate(0deg);
332
+ stroke-dashoffset: 206.34511514px;
333
+ stroke-dasharray: 69.11503838px;
334
+ }
335
+ 25% {
336
+ stroke-dashoffset: 68.11503838px;
337
+ stroke-dasharray: 34.55751919px;
338
+ }
339
+ 75% {
340
+ stroke-dashoffset: 68.11503838px;
341
+ stroke-dasharray: 51.83627878px;
342
+ }
343
+ 100% {
344
+ transform: rotate(360deg);
345
+ stroke-dashoffset: 68.11503838px;
346
+ stroke-dasharray: 69.11503838px;
347
+ }
348
+ }
349
+ @keyframes process-success-circle-xs {
350
+ 0% {
351
+ transform: rotate(0deg);
352
+ stroke-dashoffset: 68.11503838px;
353
+ stroke-dasharray: 69.11503838px;
354
+ }
355
+ 100% {
356
+ transform: rotate(360deg);
357
+ stroke-dashoffset: 0;
358
+ stroke-dasharray: 69.11503838px;
359
+ }
360
+ }
361
+ @keyframes process-chase-circle-sm {
362
+ 0% {
363
+ transform: rotate(0deg);
364
+ stroke-dashoffset: 432.5397862px;
365
+ stroke-dasharray: 144.51326207px;
366
+ }
367
+ 25% {
368
+ stroke-dashoffset: 143.51326207px;
369
+ stroke-dasharray: 72.25663103px;
370
+ }
371
+ 75% {
372
+ stroke-dashoffset: 143.51326207px;
373
+ stroke-dasharray: 108.38494655px;
374
+ }
375
+ 100% {
376
+ transform: rotate(360deg);
377
+ stroke-dashoffset: 143.51326207px;
378
+ stroke-dasharray: 144.51326207px;
379
+ }
380
+ }
381
+ @keyframes process-success-circle-sm {
382
+ 0% {
383
+ transform: rotate(0deg);
384
+ stroke-dashoffset: 143.51326207px;
385
+ stroke-dasharray: 144.51326207px;
386
+ }
387
+ 100% {
388
+ transform: rotate(360deg);
389
+ stroke-dashoffset: 0;
390
+ stroke-dasharray: 144.51326207px;
391
+ }
392
+ }
393
+ @keyframes process-chase-circle-xl {
394
+ 0% {
395
+ transform: rotate(0deg);
396
+ stroke-dashoffset: 1186.52202306px;
397
+ stroke-dasharray: 395.84067435px;
398
+ }
399
+ 25% {
400
+ stroke-dashoffset: 394.84067435px;
401
+ stroke-dasharray: 197.92033718px;
402
+ }
403
+ 75% {
404
+ stroke-dashoffset: 394.84067435px;
405
+ stroke-dasharray: 296.88050576px;
406
+ }
407
+ 100% {
408
+ transform: rotate(360deg);
409
+ stroke-dashoffset: 394.84067435px;
410
+ stroke-dasharray: 395.84067435px;
411
+ }
412
+ }
413
+ @keyframes process-success-circle-xl {
414
+ 0% {
415
+ transform: rotate(0deg);
416
+ stroke-dashoffset: 394.84067435px;
417
+ stroke-dasharray: 395.84067435px;
418
+ }
419
+ 100% {
420
+ transform: rotate(360deg);
421
+ stroke-dashoffset: 0;
422
+ stroke-dasharray: 395.84067435px;
423
+ }
424
+ }
425
+ @keyframes process-width {
426
+ to {
427
+ width: 100%;
428
+ }
429
+ }
430
+ @keyframes process-height {
431
+ to {
432
+ top: 0;
433
+ height: 100%;
434
+ }
435
+ }
436
+ .btn .process:first-child {
437
+ margin-left: -12px;
438
+ margin-right: 12px;
439
+ float: left;
440
+ }
441
+ [dir="rtl"] .btn .process:first-child {
442
+ margin-right: -12px;
443
+ margin-left: 0;
444
+ margin-left: initial;
445
+ }
446
+ [dir="rtl"] .btn .process:first-child {
447
+ margin-left: 12px;
448
+ margin-right: 0;
449
+ margin-right: initial;
450
+ }
451
+ [dir="rtl"] .btn .process:first-child {
452
+ float: right;
453
+ }
454
+ .btn-block .process:first-child {
455
+ position: absolute;
456
+ }
457
+ .btn .process-circle {
458
+ transition: stroke 0.5s 0s linear;
459
+ }
460
+ .btn-primary .process-circle,
461
+ .btn-success .process-circle {
462
+ stroke: #fff;
463
+ }
464
+ .btn-primary .process-icon-horizontal,
465
+ .btn-success .process-icon-horizontal,
466
+ .btn-primary .process-icon-vertical,
467
+ .btn-success .process-icon-vertical {
468
+ background-color: #fff;
469
+ }
470
+ .btn:hover .process-circle,
471
+ .btn:focus .process-circle {
472
+ stroke: #fff;
473
+ }
474
+ .btn:hover .process-icon-horizontal,
475
+ .btn:focus .process-icon-horizontal,
476
+ .btn:hover .process-icon-vertical,
477
+ .btn:focus .process-icon-vertical {
478
+ background-color: #fff;
479
+ }
480
+ .btn[disabled] .process-icon-horizontal,
481
+ .btn[disabled] .process-icon-vertical {
482
+ background-color: #fff;
483
+ }
@@ -1 +1,76 @@
1
- .progress{background-color:#86a7bd1a;background-color:var(--color-background-neutral);border-radius:1px;height:2px;margin-bottom:11px;margin-bottom:calc((var(--size-24) - 2px)/2);margin-top:11px;margin-top:calc((var(--size-24) - 2px)/2)}.progress-bar{background-color:#0097c7;background-color:var(--color-content-accent);color:#fff;float:left;font-size:1rem;font-size:var(--font-size-16);font-weight:800;font-weight:var(--font-weight-bold);height:100%;text-align:right;transition:width .6s ease;width:0}[dir=rtl] .progress-bar{float:right;text-align:left}.progress-bar:after{background-color:inherit;border-radius:8px/2;content:"";float:right;height:8px;margin-right:8px/2;margin-top:8px/2 + 1;width:8px}[dir=rtl] .progress-bar:after{float:left;margin-left:8px/2;margin-right:0}.progress-bar:first-child{border-bottom-left-radius:2px/2;border-top-left-radius:2px/2}.progress-bar:last-child{border-bottom-right-radius:2px/2;border-top-right-radius:2px/2}.progress-bar-primary{background-color:#37517e;background-color:var(--color-content-primary)}.progress-bar-success{background-color:#008026;background-color:var(--color-content-positive)}.progress-bar-info{background-color:#0097c7;background-color:var(--color-content-accent)}.progress-bar-warning{background-color:#9a6500;background-color:var(--color-content-warning)}.progress-bar-danger{background-color:#cf2929;background-color:var(--color-content-negative)}
1
+ .progress {
2
+ height: 2px;
3
+ margin-top: calc((24px - 2px) / 2);
4
+ margin-top: calc((var(--size-24) - 2px) / 2);
5
+ margin-bottom: calc((24px - 2px) / 2);
6
+ margin-bottom: calc((var(--size-24) - 2px) / 2);
7
+ background-color: rgba(134,167,189,0.10196);
8
+ background-color: var(--color-background-neutral);
9
+ border-radius: calc(2px / 2);
10
+ }
11
+ .progress-bar {
12
+ float: left;
13
+ width: 0%;
14
+ height: 100%;
15
+ font-size: 1rem;
16
+ font-size: var(--font-size-16);
17
+ font-weight: 800;
18
+ font-weight: var(--font-weight-bold);
19
+ color: #fff;
20
+ text-align: right;
21
+ background-color: #0097c7;
22
+ background-color: var(--color-content-accent);
23
+ transition: width 0.6s ease;
24
+ }
25
+ [dir="rtl"] .progress-bar {
26
+ float: right;
27
+ }
28
+ [dir="rtl"] .progress-bar {
29
+ text-align: left;
30
+ }
31
+ .progress-bar::after {
32
+ content: "";
33
+ float: right;
34
+ margin-top: 8px / 2 + 1;
35
+ margin-right: 8px / 2;
36
+ width: 8px;
37
+ height: 8px;
38
+ background-color: inherit;
39
+ border-radius: 8px / 2;
40
+ }
41
+ [dir="rtl"] .progress-bar::after {
42
+ float: left;
43
+ }
44
+ [dir="rtl"] .progress-bar::after {
45
+ margin-left: 8px / 2;
46
+ margin-right: 0;
47
+ margin-right: initial;
48
+ }
49
+ .progress-bar:first-child {
50
+ border-top-left-radius: 2px / 2;
51
+ border-bottom-left-radius: 2px / 2;
52
+ }
53
+ .progress-bar:last-child {
54
+ border-top-right-radius: 2px / 2;
55
+ border-bottom-right-radius: 2px / 2;
56
+ }
57
+ .progress-bar-primary {
58
+ background-color: #37517e;
59
+ background-color: var(--color-content-primary);
60
+ }
61
+ .progress-bar-success {
62
+ background-color: #008026;
63
+ background-color: var(--color-content-positive);
64
+ }
65
+ .progress-bar-info {
66
+ background-color: #0097c7;
67
+ background-color: var(--color-content-accent);
68
+ }
69
+ .progress-bar-warning {
70
+ background-color: #9a6500;
71
+ background-color: var(--color-content-warning);
72
+ }
73
+ .progress-bar-danger {
74
+ background-color: #cf2929;
75
+ background-color: var(--color-content-negative);
76
+ }
package/dist/css/ring.css CHANGED
@@ -1 +1,59 @@
1
- :root{--ring-outline-width:2px;--ring-outline-offset:2px;--ring-outline-color:var(--color-content-primary)}:root .np-theme-personal,:root.np-theme-personal{--ring-outline-color:var(--color-interactive-primary)}.focus-ring:focus{outline:none}.focus-ring:focus-visible{outline:2px solid #37517e;outline:var(--ring-outline-color) solid var(--ring-outline-width);outline-offset:2px;outline-offset:var(--ring-outline-offset)}a:focus,button:focus,details:focus,dialog:focus,input:focus,option:focus,select:focus,summary:focus,textarea:focus{outline:none}a:focus-visible,button:focus-visible,details:focus-visible,dialog:focus-visible,input:focus-visible,option:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:2px solid #37517e;outline:var(--ring-outline-color) solid var(--ring-outline-width);outline-offset:2px;outline-offset:var(--ring-outline-offset)}.ring-offset-0{--ring-outline-offset:0}.ring-inset{--ring-outline-width:3px;--ring-outline-offset:calc(var(--ring-outline-width)*-1)}.ring-negative{--ring-outline-color:var(--color-sentiment-negative)}
1
+ :root {
2
+ --ring-outline-width: 2px;
3
+ --ring-outline-offset: 2px;
4
+ --ring-outline-color: var(--color-content-primary);
5
+ }
6
+ :root.np-theme-personal,
7
+ :root .np-theme-personal {
8
+ --ring-outline-color: var(--color-interactive-primary);
9
+ }
10
+ .focus-ring:focus {
11
+ outline: none;
12
+ }
13
+ .focus-ring:focus-visible {
14
+ outline: #37517e solid 2px;
15
+ outline: var(--color-content-primary) solid 2px;
16
+ outline: #37517e solid 2px;
17
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
18
+ outline-offset: 2px;
19
+ outline-offset: var(--ring-outline-offset);
20
+ }
21
+ details:focus,
22
+ summary:focus,
23
+ a:focus,
24
+ button:focus,
25
+ input:focus,
26
+ option:focus,
27
+ dialog:focus,
28
+ input:focus,
29
+ select:focus,
30
+ textarea:focus {
31
+ outline: none;
32
+ }
33
+ details:focus-visible,
34
+ summary:focus-visible,
35
+ a:focus-visible,
36
+ button:focus-visible,
37
+ input:focus-visible,
38
+ option:focus-visible,
39
+ dialog:focus-visible,
40
+ input:focus-visible,
41
+ select:focus-visible,
42
+ textarea:focus-visible {
43
+ outline: #37517e solid 2px;
44
+ outline: var(--color-content-primary) solid 2px;
45
+ outline: #37517e solid 2px;
46
+ outline: var(--ring-outline-color) solid var(--ring-outline-width);
47
+ outline-offset: 2px;
48
+ outline-offset: var(--ring-outline-offset);
49
+ }
50
+ .ring-offset-0 {
51
+ --ring-outline-offset: 0;
52
+ }
53
+ .ring-inset {
54
+ --ring-outline-width: 3px;
55
+ --ring-outline-offset: calc(-1 * var(--ring-outline-width));
56
+ }
57
+ .ring-negative {
58
+ --ring-outline-color: var(--color-sentiment-negative);
59
+ }