urfu-ui-kit-vanilla 1.0.31 → 1.0.32

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/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UrFU UI-Kit for Vanilla Web",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
- "version": "1.0.31",
6
+ "version": "1.0.32",
7
7
  "type": "module",
8
8
  "scripts": {
9
9
  "start": "vite serve playground",
@@ -590,14 +590,25 @@
590
590
  <button class="u-tab-line-secondary">Tab</button>
591
591
  </section>
592
592
  <h2>Statuses</h2>
593
- <section class="flex">
594
- <span class="u-status-warning">status</span>
595
- <span class="u-status-info">status</span>
596
- <span class="u-status-neutral">status</span>
597
- <span class="u-status-success">status</span>
598
- <span class="u-status-danger">status</span>
599
- <span class="u-status-intermediate">status</span>
600
- <span class="u-status-prepared">status</span>
593
+ <section class="flex-container__2">
594
+ <div class="flex-item">
595
+ <span class="u-status u-status-warning">status</span>
596
+ <span class="u-status u-status-info">status</span>
597
+ <span class="u-status u-status-neutral">status</span>
598
+ <span class="u-status u-status-success">status</span>
599
+ <span class="u-status u-status-danger">status</span>
600
+ <span class="u-status u-status-intermediate">status</span>
601
+ <span class="u-status u-status-prepared">status</span>
602
+ </div>
603
+ <div class="flex-item">
604
+ <span class="u-status u-status-large u-status-warning">status</span>
605
+ <span class="u-status u-status-large u-status-info">status</span>
606
+ <span class="u-status u-status-large u-status-neutral">status</span>
607
+ <span class="u-status u-status-large u-status-success">status</span>
608
+ <span class="u-status u-status-large u-status-danger">status</span>
609
+ <span class="u-status u-status-large u-status-intermediate">status</span>
610
+ <span class="u-status u-status-large u-status-prepared">status</span>
611
+ </div>
601
612
  </section>
602
613
  <h2>Inputs</h2>
603
614
  <section>
package/src/main.css CHANGED
@@ -79,8 +79,15 @@ button {
79
79
  scrollbar-width: thin;
80
80
  /*Толщина скролла thin, auto*/
81
81
  }
82
+ .flex-container__2 {
83
+ display: flex;
84
+ column-gap: 15px;
85
+ }
86
+ .flex-container__2 > .flex-item {
87
+ flex: 0 0 50%;
88
+ }
82
89
  .u-button {
83
- height: 44px;
90
+ height: 48px;
84
91
  padding: 0 50px;
85
92
  border-radius: 10px;
86
93
  border: none;
@@ -179,7 +186,7 @@ button {
179
186
  color: #545454;
180
187
  }
181
188
  .u-button-cross {
182
- height: 44px;
189
+ height: 48px;
183
190
  padding: 0 50px;
184
191
  border-radius: 10px;
185
192
  border: none;
@@ -205,6 +212,9 @@ button {
205
212
  .u-button-cross:hover {
206
213
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='26' cy='26' r='26' transform='rotate(90 26 26)' fill='white'/%3E%3Cpath d='M20 20L31.5 32M32 20L20 32' stroke='%231E4391' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E ");
207
214
  }
215
+ .u-button-medium {
216
+ height: 44px;
217
+ }
208
218
  .u-button-small {
209
219
  height: 38px;
210
220
  padding: 0 24px;
@@ -263,7 +273,7 @@ button {
263
273
  color: #D995A2;
264
274
  }
265
275
  .u-input {
266
- height: 44px;
276
+ height: 48px;
267
277
  padding: 14px 16px;
268
278
  border-radius: 10px;
269
279
  font-weight: 400;
@@ -332,7 +342,7 @@ button {
332
342
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3386 0.661444C11.7039 1.02675 11.7039 1.61903 11.3386 1.98433L1.98434 11.3386C1.61904 11.7039 1.02676 11.7039 0.661455 11.3386C0.29615 10.9733 0.296149 10.381 0.661454 10.0157L10.0157 0.661444C10.381 0.296138 10.9733 0.296138 11.3386 0.661444Z' fill='%231E4391'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.661432 0.661444C1.02674 0.296138 1.61901 0.296138 1.98432 0.661444L11.3385 10.0157C11.7039 10.381 11.7038 10.9733 11.3385 11.3386C10.9732 11.7039 10.381 11.7039 10.0157 11.3386L0.661432 1.98433C0.296127 1.61903 0.296127 1.02675 0.661432 0.661444Z' fill='%231E4391'/%3E%3C/svg%3E ");
333
343
  }
334
344
  .u-input-required {
335
- height: 44px;
345
+ height: 48px;
336
346
  padding: 14px 16px;
337
347
  border-radius: 10px;
338
348
  font-weight: 400;
@@ -421,7 +431,7 @@ button {
421
431
  }
422
432
  .u-selectbox-select {
423
433
  cursor: pointer;
424
- height: 44px;
434
+ height: 48px;
425
435
  padding: 14px 16px;
426
436
  border-radius: 10px;
427
437
  font-weight: 400;
@@ -491,7 +501,7 @@ button {
491
501
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3386 0.661444C11.7039 1.02675 11.7039 1.61903 11.3386 1.98433L1.98434 11.3386C1.61904 11.7039 1.02676 11.7039 0.661455 11.3386C0.29615 10.9733 0.296149 10.381 0.661454 10.0157L10.0157 0.661444C10.381 0.296138 10.9733 0.296138 11.3386 0.661444Z' fill='%231E4391'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.661432 0.661444C1.02674 0.296138 1.61901 0.296138 1.98432 0.661444L11.3385 10.0157C11.7039 10.381 11.7038 10.9733 11.3385 11.3386C10.9732 11.7039 10.381 11.7039 10.0157 11.3386L0.661432 1.98433C0.296127 1.61903 0.296127 1.02675 0.661432 0.661444Z' fill='%231E4391'/%3E%3C/svg%3E ");
492
502
  }
493
503
  .u-selectbox-select-required {
494
- height: 44px;
504
+ height: 48px;
495
505
  padding: 14px 16px;
496
506
  border-radius: 10px;
497
507
  font-weight: 400;
@@ -611,7 +621,7 @@ button {
611
621
  .u-multiselectbox-select {
612
622
  max-height: 132px;
613
623
  overflow: auto;
614
- height: 44px;
624
+ height: 48px;
615
625
  padding: 14px 16px;
616
626
  border-radius: 10px;
617
627
  font-weight: 400;
@@ -690,7 +700,7 @@ button {
690
700
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.3386 0.661444C11.7039 1.02675 11.7039 1.61903 11.3386 1.98433L1.98434 11.3386C1.61904 11.7039 1.02676 11.7039 0.661455 11.3386C0.29615 10.9733 0.296149 10.381 0.661454 10.0157L10.0157 0.661444C10.381 0.296138 10.9733 0.296138 11.3386 0.661444Z' fill='%231E4391'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M0.661432 0.661444C1.02674 0.296138 1.61901 0.296138 1.98432 0.661444L11.3385 10.0157C11.7039 10.381 11.7038 10.9733 11.3385 11.3386C10.9732 11.7039 10.381 11.7039 10.0157 11.3386L0.661432 1.98433C0.296127 1.61903 0.296127 1.02675 0.661432 0.661444Z' fill='%231E4391'/%3E%3C/svg%3E ");
691
701
  }
692
702
  .u-multiselectbox-select-required {
693
- height: 44px;
703
+ height: 48px;
694
704
  padding: 14px 16px;
695
705
  border-radius: 10px;
696
706
  font-weight: 400;
@@ -939,6 +949,9 @@ button {
939
949
  .u-file:hover {
940
950
  border: 1px solid #748AB9;
941
951
  }
952
+ .u-file-disabled:hover {
953
+ border: none;
954
+ }
942
955
  .u-file-icon {
943
956
  cursor: pointer;
944
957
  margin: auto;
@@ -971,6 +984,7 @@ button {
971
984
  font-weight: 400;
972
985
  font-size: 14px;
973
986
  line-height: 20px;
987
+ margin: 0;
974
988
  color: #748AB9;
975
989
  text-align: center;
976
990
  margin-bottom: 7px;
@@ -981,6 +995,7 @@ button {
981
995
  font-weight: 400;
982
996
  font-size: 16px;
983
997
  line-height: 22.4px;
998
+ margin: 0;
984
999
  color: #748AB9;
985
1000
  text-align: center;
986
1001
  }
@@ -988,6 +1003,7 @@ button {
988
1003
  font-weight: 400;
989
1004
  font-size: 12px;
990
1005
  line-height: 16.8px;
1006
+ margin: 0;
991
1007
  color: #748AB9;
992
1008
  text-align: center;
993
1009
  }
@@ -1075,7 +1091,7 @@ button {
1075
1091
  color: #545454;
1076
1092
  }
1077
1093
  .u-expand-input {
1078
- height: 44px;
1094
+ height: 48px;
1079
1095
  padding: 14px 16px;
1080
1096
  border-radius: 10px;
1081
1097
  font-weight: 400;
@@ -1129,7 +1145,7 @@ button {
1129
1145
  /* For Firefox */
1130
1146
  }
1131
1147
  .u-expand-input-required {
1132
- height: 44px;
1148
+ height: 48px;
1133
1149
  padding: 14px 16px;
1134
1150
  border-radius: 10px;
1135
1151
  font-weight: 400;
@@ -1183,7 +1199,7 @@ button {
1183
1199
  /* For Firefox */
1184
1200
  }
1185
1201
  .u-calendar {
1186
- height: 44px;
1202
+ height: 48px;
1187
1203
  padding: 14px 16px;
1188
1204
  border-radius: 10px;
1189
1205
  font-weight: 400;
@@ -1442,7 +1458,7 @@ button {
1442
1458
  }
1443
1459
  .u-tab {
1444
1460
  cursor: pointer;
1445
- height: 44px;
1461
+ height: 48px;
1446
1462
  border-radius: 24px;
1447
1463
  padding: 0 18px;
1448
1464
  font-size: 16px;
@@ -1706,102 +1722,53 @@ button {
1706
1722
  border: none;
1707
1723
  outline: none;
1708
1724
  }
1709
- .u-status-warning {
1725
+ .u-status {
1710
1726
  display: flex;
1711
1727
  justify-content: center;
1712
1728
  align-items: center;
1713
1729
  width: max-content;
1714
- font-size: 12px;
1715
- line-height: 140%;
1730
+ white-space: nowrap;
1731
+ font-size: 10px;
1732
+ line-height: 1.6;
1716
1733
  font-weight: 400;
1717
- height: 27px;
1718
- padding: 0 12px;
1734
+ height: 20px;
1735
+ padding: 0 8px;
1719
1736
  border-radius: 8px;
1737
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
1738
+ }
1739
+ .u-status.u-status-large {
1740
+ line-height: 1.4;
1741
+ font-size: 12px;
1742
+ padding: 0 12px;
1743
+ height: 27px;
1744
+ min-width: 45px;
1745
+ }
1746
+ .u-status-warning {
1720
1747
  background-color: #fcf4e6;
1721
1748
  color: #e98446;
1722
1749
  }
1723
1750
  .u-status-info {
1724
- display: flex;
1725
- justify-content: center;
1726
- align-items: center;
1727
- width: max-content;
1728
- font-size: 12px;
1729
- line-height: 140%;
1730
- font-weight: 400;
1731
- height: 27px;
1732
- padding: 0 12px;
1733
- border-radius: 8px;
1734
1751
  background-color: #e7f2ff;
1735
1752
  color: #1e4391;
1736
1753
  }
1737
1754
  .u-status-neutral {
1738
- display: flex;
1739
- justify-content: center;
1740
- align-items: center;
1741
- width: max-content;
1742
- font-size: 12px;
1743
- line-height: 140%;
1744
- font-weight: 400;
1745
- height: 27px;
1746
- padding: 0 12px;
1747
- border-radius: 8px;
1748
1755
  background-color: #eee;
1749
1756
  color: #222;
1750
1757
  }
1751
1758
  .u-status-success {
1752
- display: flex;
1753
- justify-content: center;
1754
- align-items: center;
1755
- width: max-content;
1756
- font-size: 12px;
1757
- line-height: 140%;
1758
- font-weight: 400;
1759
- height: 27px;
1760
- padding: 0 12px;
1761
- border-radius: 8px;
1762
1759
  background-color: #edf7eb;
1763
1760
  color: #147246;
1764
1761
  }
1765
1762
  .u-status-danger {
1766
- display: flex;
1767
- justify-content: center;
1768
- align-items: center;
1769
- width: max-content;
1770
- font-size: 12px;
1771
- line-height: 140%;
1772
- font-weight: 400;
1773
- height: 27px;
1774
- padding: 0 12px;
1775
- border-radius: 8px;
1776
1763
  background-color: #fdeaea;
1777
1764
  color: #ef302b;
1778
1765
  }
1779
1766
  .u-status-intermediate {
1780
- display: flex;
1781
- justify-content: center;
1782
- align-items: center;
1783
- width: max-content;
1784
- font-size: 12px;
1785
- line-height: 140%;
1786
- font-weight: 400;
1787
- height: 27px;
1788
- padding: 0 12px;
1789
- border-radius: 8px;
1790
- background-color: #FCF4FF;
1791
- color: #742C8E;
1767
+ background-color: #fcf4ff;
1768
+ color: #742c8e;
1792
1769
  }
1793
1770
  .u-status-prepared {
1794
- display: flex;
1795
- justify-content: center;
1796
- align-items: center;
1797
- width: max-content;
1798
- font-size: 12px;
1799
- line-height: 140%;
1800
- font-weight: 400;
1801
- height: 27px;
1802
- padding: 0 12px;
1803
- border-radius: 8px;
1804
- background-color: #E8FFFF;
1771
+ background-color: #e8ffff;
1805
1772
  color: #007171;
1806
1773
  }
1807
1774
  .u-message {
@@ -1983,8 +1950,8 @@ button {
1983
1950
  background-repeat: no-repeat;
1984
1951
  background-position: top calc(50% - 1px) left 16px;
1985
1952
  border: 1px solid #748ab9;
1986
- border-color: rgba(255, 243, 205, 0.85);
1987
- background-color: #EEB18C;
1953
+ border-color: #EEB18C;
1954
+ background-color: #FCF4E6;
1988
1955
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%23E98446' stroke-width='2'%3E%3C/circle%3E%3Cpath d='M9.24233 13C9.03869 13 8.87361 12.8349 8.87361 12.6313C8.87361 12.229 8.92092 11.8715 9.01552 11.5587C9.11013 11.2458 9.25795 10.9665 9.45898 10.7207C9.67184 10.4749 9.84922 10.2905 9.99113 10.1676C10.1449 10.0335 10.3696 9.86034 10.6652 9.64805C10.9017 9.48045 11.0791 9.34637 11.1973 9.24581C11.3274 9.13408 11.4693 8.99441 11.6231 8.82682C11.7886 8.64804 11.9069 8.4581 11.9778 8.25698C12.0488 8.05587 12.0843 7.82681 12.0843 7.56983C12.0843 7.20112 11.9897 6.8771 11.8004 6.59777C11.6231 6.30727 11.3747 6.08939 11.0554 5.94413C10.748 5.78771 10.3991 5.7095 10.0089 5.7095C9.42942 5.7095 8.92683 5.87709 8.50111 6.21229C8.33022 6.34607 8.19259 6.4989 8.08823 6.67078C7.82922 7.09735 7.45131 7.51955 6.95227 7.51955C6.4297 7.51955 5.99284 7.08288 6.12856 6.57825C6.30589 5.91891 6.6651 5.37233 7.20621 4.93855C7.99852 4.31285 8.93275 4 10.0089 4C11.1323 4 12.0783 4.32402 12.847 4.97207C13.6157 5.62012 14 6.48603 14 7.56983C14 7.97207 13.9527 8.32961 13.8581 8.64246C13.7635 8.95531 13.6157 9.24023 13.4146 9.49721C13.2136 9.74302 13.0362 9.93296 12.8825 10.067C12.7288 10.2011 12.51 10.3743 12.2262 10.5866C11.9778 10.7765 11.7945 10.9218 11.6763 11.0223C11.5698 11.1117 11.4339 11.2458 11.2683 11.4246C11.1146 11.6034 11.0022 11.7933 10.9313 11.9944C10.8721 12.1844 10.8426 12.3966 10.8426 12.6313C10.8426 12.8349 10.6775 13 10.4739 13H9.24233Z' fill='%23E98446'%3E%3C/path%3E%3Ccircle cx='10' cy='15' r='1' fill='%23E98446'%3E%3C/circle%3E%3C/svg%3E");
1989
1956
  }
1990
1957
  .u-notification-warning .u-notification-hide {
@@ -2222,6 +2189,12 @@ button {
2222
2189
  .air-datepicker.-inline- {
2223
2190
  border: 1px solid #748AB9;
2224
2191
  }
2192
+ .air-datepicker--pointer::after {
2193
+ content: none;
2194
+ }
2195
+ .air-datepicker.-active-:not(.-custom-position-) {
2196
+ transform: translate(0, -12px);
2197
+ }
2225
2198
  .air-datepicker-nav {
2226
2199
  border: none;
2227
2200
  }
@@ -2433,6 +2406,13 @@ button {
2433
2406
  .air-datepicker-cell.-day-.-other-month-.-weekend-.-selected-.-range-to- {
2434
2407
  background-color: #EF302B;
2435
2408
  }
2409
+ .air-datepicker-cell.-day-.-other-month-.-selected- {
2410
+ background-color: #1E4391;
2411
+ }
2412
+ .air-datepicker-cell.-day-.-other-month-.-selected-.-focus- {
2413
+ background-color: #1E4391;
2414
+ color: white;
2415
+ }
2436
2416
  .air-datepicker-cell.-month- {
2437
2417
  padding: 6px 12px;
2438
2418
  margin: auto;
@@ -2785,19 +2765,19 @@ button {
2785
2765
  .bg-blue {
2786
2766
  background-color: #1E4391;
2787
2767
  }
2768
+ .bg-blue-dark {
2769
+ background-color: #0F2B5E;
2770
+ }
2771
+ .bg-blue-light {
2772
+ background-color: #9FAECD;
2773
+ }
2788
2774
  .bg-red {
2789
2775
  background-color: #EF302B;
2790
2776
  }
2791
- .bg-dark-blue {
2792
- background-color: #0F2B5E;
2793
- }
2794
- .bg-dark-red {
2777
+ .bg-red-dark {
2795
2778
  background-color: #C0231F;
2796
2779
  }
2797
- .bg-light-blue {
2798
- background-color: #9FAECD;
2799
- }
2800
- .bg-light-red {
2780
+ .bg-red-light {
2801
2781
  background-color: #F58380;
2802
2782
  }
2803
2783
  .clr-transparent {
@@ -2958,3 +2938,10 @@ button {
2958
2938
  scrollbar-width: thin;
2959
2939
  /*Толщина скролла thin, auto*/
2960
2940
  }
2941
+ .flex-container__2 {
2942
+ display: flex;
2943
+ column-gap: 15px;
2944
+ }
2945
+ .flex-container__2 > .flex-item {
2946
+ flex: 0 0 50%;
2947
+ }
package/src/main.less CHANGED
@@ -80,6 +80,15 @@ button {
80
80
  scrollbar-width: thin; /*Толщина скролла thin, auto*/
81
81
  }
82
82
 
83
+ .flex-container__2 {
84
+ display: flex;
85
+ column-gap: 15px;
86
+ }
87
+
88
+ .flex-container__2 > .flex-item {
89
+ flex: 0 0 50%;
90
+ }
91
+
83
92
 
84
93
  // страница показа
85
94
 
@@ -123,6 +123,9 @@
123
123
  background-image: url("data:image/svg+xml,%3Csvg width='52' height='52' viewBox='0 0 52 52' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='26' cy='26' r='26' transform='rotate(90 26 26)' fill='white'/%3E%3Cpath d='M20 20L31.5 32M32 20L20 32' stroke='%231E4391' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E ");
124
124
  }
125
125
  }
126
+ &-medium {
127
+ height:@height-medium;
128
+ }
126
129
  &-small {
127
130
  height: @height-small;
128
131
  padding: 0 24px;
@@ -56,8 +56,8 @@
56
56
  }
57
57
  &-warning {
58
58
  .notification;
59
- border-color: rgba(255, 243, 205, 0.85);
60
- background-color: #EEB18C;
59
+ border-color: #EEB18C;
60
+ background-color: #FCF4E6;
61
61
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='9' stroke='%23E98446' stroke-width='2'%3E%3C/circle%3E%3Cpath d='M9.24233 13C9.03869 13 8.87361 12.8349 8.87361 12.6313C8.87361 12.229 8.92092 11.8715 9.01552 11.5587C9.11013 11.2458 9.25795 10.9665 9.45898 10.7207C9.67184 10.4749 9.84922 10.2905 9.99113 10.1676C10.1449 10.0335 10.3696 9.86034 10.6652 9.64805C10.9017 9.48045 11.0791 9.34637 11.1973 9.24581C11.3274 9.13408 11.4693 8.99441 11.6231 8.82682C11.7886 8.64804 11.9069 8.4581 11.9778 8.25698C12.0488 8.05587 12.0843 7.82681 12.0843 7.56983C12.0843 7.20112 11.9897 6.8771 11.8004 6.59777C11.6231 6.30727 11.3747 6.08939 11.0554 5.94413C10.748 5.78771 10.3991 5.7095 10.0089 5.7095C9.42942 5.7095 8.92683 5.87709 8.50111 6.21229C8.33022 6.34607 8.19259 6.4989 8.08823 6.67078C7.82922 7.09735 7.45131 7.51955 6.95227 7.51955C6.4297 7.51955 5.99284 7.08288 6.12856 6.57825C6.30589 5.91891 6.6651 5.37233 7.20621 4.93855C7.99852 4.31285 8.93275 4 10.0089 4C11.1323 4 12.0783 4.32402 12.847 4.97207C13.6157 5.62012 14 6.48603 14 7.56983C14 7.97207 13.9527 8.32961 13.8581 8.64246C13.7635 8.95531 13.6157 9.24023 13.4146 9.49721C13.2136 9.74302 13.0362 9.93296 12.8825 10.067C12.7288 10.2011 12.51 10.3743 12.2262 10.5866C11.9778 10.7765 11.7945 10.9218 11.6763 11.0223C11.5698 11.1117 11.4339 11.2458 11.2683 11.4246C11.1146 11.6034 11.0022 11.7933 10.9313 11.9944C10.8721 12.1844 10.8426 12.3966 10.8426 12.6313C10.8426 12.8349 10.6775 13 10.4739 13H9.24233Z' fill='%23E98446'%3E%3C/path%3E%3Ccircle cx='10' cy='15' r='1' fill='%23E98446'%3E%3C/circle%3E%3C/svg%3E");
62
62
  .u-notification-hide {
63
63
  .notification-hide;
@@ -1,56 +1,61 @@
1
1
  @import "../../main.less";
2
2
 
3
- .status() {
3
+
4
+ .u-status {
4
5
  display: flex;
5
6
  justify-content: center;
6
7
  align-items: center;
7
8
  width: max-content;
8
- font-size: 12px;
9
- line-height: 140%;
9
+ white-space: nowrap;
10
+ font-size: 10px;
11
+ line-height: 1.6;
10
12
  font-weight: 400;
11
- height: 27px;
12
- padding: 0 12px;
13
+ height: 20px;
14
+ padding: 0 8px;
13
15
  border-radius: 8px;
16
+ transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
17
+ border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
18
+
19
+ &&-large {
20
+ line-height: 1.4;
21
+ font-size: 12px;
22
+ padding: 0 12px;
23
+ height: 27px;
24
+ min-width: 45px;
25
+ }
26
+
27
+ &-warning {
28
+ background-color: #fcf4e6;
29
+ color: #e98446;
30
+ }
31
+
32
+ &-info {
33
+ background-color: #e7f2ff;
34
+ color: #1e4391;
35
+ }
36
+
37
+ &-neutral {
38
+ background-color: #eee;
39
+ color: #222;
40
+ }
41
+
42
+ &-success {
43
+ background-color: #edf7eb;
44
+ color: #147246;
45
+ }
46
+
47
+ &-danger {
48
+ background-color: #fdeaea;
49
+ color: #ef302b;
50
+ }
51
+
52
+ &-intermediate {
53
+ background-color: #fcf4ff;
54
+ color: #742c8e;
55
+ }
56
+
57
+ &-prepared {
58
+ background-color: #e8ffff;
59
+ color: #007171;
60
+ }
14
61
  }
15
-
16
- .u-status-warning {
17
- .status;
18
- background-color: #fcf4e6;
19
- color: #e98446;
20
- }
21
-
22
- .u-status-info {
23
- .status;
24
- background-color: #e7f2ff;
25
- color: #1e4391;
26
- }
27
-
28
- .u-status-neutral {
29
- .status;
30
- background-color: #eee;
31
- color: #222;
32
- }
33
-
34
- .u-status-success {
35
- .status;
36
- background-color: #edf7eb;
37
- color: #147246;
38
- }
39
-
40
- .u-status-danger {
41
- .status;
42
- background-color: #fdeaea;
43
- color: #ef302b;
44
- }
45
-
46
- .u-status-intermediate {
47
- .status;
48
- background-color: #FCF4FF;
49
- color: #742C8E;
50
- }
51
-
52
- .u-status-prepared {
53
- .status;
54
- background-color: #E8FFFF;
55
- color: #007171;
56
- }
@@ -1,5 +1,6 @@
1
- @height-main: 44px;
1
+ @height-main: 48px;
2
2
  @height-secondary: 54px;
3
+ @height-medium: 44px;
3
4
  @height-small: 38px;
4
5
  @radius: 10px;
5
6
  .transition() {