urfu-ui-kit-vanilla 1.0.29 → 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.29",
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>
@@ -3,7 +3,7 @@ import 'air-datepicker/air-datepicker.css';
3
3
  import "../src/main.less";
4
4
 
5
5
  new AirDatepicker('#airdatepicker', {
6
- inline: true,
7
6
  toggleSelected: true,
8
7
  range: true,
8
+ position: "bottom right",
9
9
  })
package/src/main.css CHANGED
@@ -79,16 +79,26 @@ 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
90
  height: 48px;
84
91
  padding: 0 50px;
85
- text-align: center;
86
92
  border-radius: 10px;
87
93
  border: none;
88
94
  font-weight: 500;
89
95
  font-size: 13px;
90
96
  white-space: nowrap;
91
97
  cursor: pointer;
98
+ display: inline-flex;
99
+ column-gap: 8px;
100
+ justify-content: center;
101
+ align-items: center;
92
102
  transition-property: color, background-color, border-color, background-image;
93
103
  transition-duration: 0.15s;
94
104
  transition-timing-function: ease-in-out;
@@ -108,7 +118,6 @@ button {
108
118
  .u-button .u-icon {
109
119
  position: relative;
110
120
  top: 1px;
111
- margin-left: 8px;
112
121
  }
113
122
  .u-button .u-icon::before {
114
123
  color: inherit;
@@ -179,13 +188,16 @@ button {
179
188
  .u-button-cross {
180
189
  height: 48px;
181
190
  padding: 0 50px;
182
- text-align: center;
183
191
  border-radius: 10px;
184
192
  border: none;
185
193
  font-weight: 500;
186
194
  font-size: 13px;
187
195
  white-space: nowrap;
188
196
  cursor: pointer;
197
+ display: inline-flex;
198
+ column-gap: 8px;
199
+ justify-content: center;
200
+ align-items: center;
189
201
  transition-property: color, background-color, border-color, background-image;
190
202
  transition-duration: 0.15s;
191
203
  transition-timing-function: ease-in-out;
@@ -200,6 +212,9 @@ button {
200
212
  .u-button-cross:hover {
201
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 ");
202
214
  }
215
+ .u-button-medium {
216
+ height: 44px;
217
+ }
203
218
  .u-button-small {
204
219
  height: 38px;
205
220
  padding: 0 24px;
@@ -934,6 +949,9 @@ button {
934
949
  .u-file:hover {
935
950
  border: 1px solid #748AB9;
936
951
  }
952
+ .u-file-disabled:hover {
953
+ border: none;
954
+ }
937
955
  .u-file-icon {
938
956
  cursor: pointer;
939
957
  margin: auto;
@@ -966,6 +984,7 @@ button {
966
984
  font-weight: 400;
967
985
  font-size: 14px;
968
986
  line-height: 20px;
987
+ margin: 0;
969
988
  color: #748AB9;
970
989
  text-align: center;
971
990
  margin-bottom: 7px;
@@ -976,6 +995,7 @@ button {
976
995
  font-weight: 400;
977
996
  font-size: 16px;
978
997
  line-height: 22.4px;
998
+ margin: 0;
979
999
  color: #748AB9;
980
1000
  text-align: center;
981
1001
  }
@@ -983,6 +1003,7 @@ button {
983
1003
  font-weight: 400;
984
1004
  font-size: 12px;
985
1005
  line-height: 16.8px;
1006
+ margin: 0;
986
1007
  color: #748AB9;
987
1008
  text-align: center;
988
1009
  }
@@ -1631,8 +1652,11 @@ button {
1631
1652
  .pagination-container__p,
1632
1653
  .pagination-container__limit,
1633
1654
  .pagination-container .pages {
1634
- font-size: 1rem;
1635
- line-height: 1.5;
1655
+ /*table text*/
1656
+ /*table text*/
1657
+ font-weight: 400;
1658
+ font-size: 14px;
1659
+ line-height: 20px;
1636
1660
  }
1637
1661
  .pagination-container__p {
1638
1662
  color: #545454;
@@ -1658,6 +1682,13 @@ button {
1658
1682
  justify-content: space-between;
1659
1683
  margin-left: 0.8rem;
1660
1684
  column-gap: 0.5rem;
1685
+ user-select: none;
1686
+ }
1687
+ .pagination-container .pages * {
1688
+ cursor: pointer;
1689
+ }
1690
+ .pagination-container .pages__arrow-btn.inactive {
1691
+ cursor: not-allowed;
1661
1692
  }
1662
1693
  .pagination-container .pages-nums {
1663
1694
  display: flex;
@@ -1666,7 +1697,7 @@ button {
1666
1697
  }
1667
1698
  .pagination-container .pages-num {
1668
1699
  display: flex;
1669
- align-items: center;
1700
+ align-items: flex-end;
1670
1701
  cursor: pointer;
1671
1702
  justify-content: center;
1672
1703
  width: 33px;
@@ -1683,109 +1714,61 @@ button {
1683
1714
  color: #fff;
1684
1715
  background: #1e4391;
1685
1716
  }
1686
- .pagination-container .pages-num:hover {
1687
- background: rgba(30, 67, 145, 0.3);
1717
+ .pagination-container .pages-num:not(.pages-num-active):hover {
1718
+ font-weight: 700;
1719
+ color: #1e4391;
1688
1720
  }
1689
1721
  .pagination-container .pages-num:focus-visible {
1690
1722
  border: none;
1691
1723
  outline: none;
1692
1724
  }
1693
- .u-status-warning {
1725
+ .u-status {
1694
1726
  display: flex;
1695
1727
  justify-content: center;
1696
1728
  align-items: center;
1697
1729
  width: max-content;
1698
- font-size: 12px;
1699
- line-height: 140%;
1730
+ white-space: nowrap;
1731
+ font-size: 10px;
1732
+ line-height: 1.6;
1700
1733
  font-weight: 400;
1701
- height: 27px;
1702
- padding: 0 12px;
1734
+ height: 20px;
1735
+ padding: 0 8px;
1703
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 {
1704
1747
  background-color: #fcf4e6;
1705
1748
  color: #e98446;
1706
1749
  }
1707
1750
  .u-status-info {
1708
- display: flex;
1709
- justify-content: center;
1710
- align-items: center;
1711
- width: max-content;
1712
- font-size: 12px;
1713
- line-height: 140%;
1714
- font-weight: 400;
1715
- height: 27px;
1716
- padding: 0 12px;
1717
- border-radius: 8px;
1718
1751
  background-color: #e7f2ff;
1719
1752
  color: #1e4391;
1720
1753
  }
1721
1754
  .u-status-neutral {
1722
- display: flex;
1723
- justify-content: center;
1724
- align-items: center;
1725
- width: max-content;
1726
- font-size: 12px;
1727
- line-height: 140%;
1728
- font-weight: 400;
1729
- height: 27px;
1730
- padding: 0 12px;
1731
- border-radius: 8px;
1732
1755
  background-color: #eee;
1733
1756
  color: #222;
1734
1757
  }
1735
1758
  .u-status-success {
1736
- display: flex;
1737
- justify-content: center;
1738
- align-items: center;
1739
- width: max-content;
1740
- font-size: 12px;
1741
- line-height: 140%;
1742
- font-weight: 400;
1743
- height: 27px;
1744
- padding: 0 12px;
1745
- border-radius: 8px;
1746
1759
  background-color: #edf7eb;
1747
1760
  color: #147246;
1748
1761
  }
1749
1762
  .u-status-danger {
1750
- display: flex;
1751
- justify-content: center;
1752
- align-items: center;
1753
- width: max-content;
1754
- font-size: 12px;
1755
- line-height: 140%;
1756
- font-weight: 400;
1757
- height: 27px;
1758
- padding: 0 12px;
1759
- border-radius: 8px;
1760
1763
  background-color: #fdeaea;
1761
1764
  color: #ef302b;
1762
1765
  }
1763
1766
  .u-status-intermediate {
1764
- display: flex;
1765
- justify-content: center;
1766
- align-items: center;
1767
- width: max-content;
1768
- font-size: 12px;
1769
- line-height: 140%;
1770
- font-weight: 400;
1771
- height: 27px;
1772
- padding: 0 12px;
1773
- border-radius: 8px;
1774
- background-color: #FCF4FF;
1775
- color: #742C8E;
1767
+ background-color: #fcf4ff;
1768
+ color: #742c8e;
1776
1769
  }
1777
1770
  .u-status-prepared {
1778
- display: flex;
1779
- justify-content: center;
1780
- align-items: center;
1781
- width: max-content;
1782
- font-size: 12px;
1783
- line-height: 140%;
1784
- font-weight: 400;
1785
- height: 27px;
1786
- padding: 0 12px;
1787
- border-radius: 8px;
1788
- background-color: #E8FFFF;
1771
+ background-color: #e8ffff;
1789
1772
  color: #007171;
1790
1773
  }
1791
1774
  .u-message {
@@ -1883,7 +1866,7 @@ button {
1883
1866
  color: #222222;
1884
1867
  background-repeat: no-repeat;
1885
1868
  background-position: top calc(50% - 1px) left 16px;
1886
- border: 2px solid rgba(184, 218, 255, 0.85);
1869
+ border: 1px solid #748ab9;
1887
1870
  background-color: #E7F2FF;
1888
1871
  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='%231E4391' stroke-width='2'%3E%3C/circle%3E%3Crect x='9' y='8' width='2' height='8' rx='1' fill='%231E4391'%3E%3C/rect%3E%3Ccircle cx='10' cy='6' r='1' fill='%231E4391'%3E%3C/circle%3E%3C/svg%3E");
1889
1872
  }
@@ -1910,8 +1893,8 @@ button {
1910
1893
  color: #222222;
1911
1894
  background-repeat: no-repeat;
1912
1895
  background-position: top calc(50% - 1px) left 16px;
1913
- border: 2px solid rgba(184, 218, 255, 0.85);
1914
- border-color: rgba(248, 215, 218, 0.85);
1896
+ border: 1px solid #748ab9;
1897
+ border-color: #F17F7C;
1915
1898
  background-color: #FDEAEA;
1916
1899
  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='%23EF302B' stroke-width='2'%3E%3C/circle%3E%3Ccircle cx='10' cy='15' r='1' fill='%23EF302B'%3E%3C/circle%3E%3Cpath d='M8.59357 6.49708C8.54286 5.68582 9.18716 5 10 5C10.8128 5 11.4571 5.68582 11.4064 6.49708L11.0624 12.0019C11.0273 12.563 10.5621 13 10 13C9.4379 13 8.97268 12.563 8.93762 12.0019L8.59357 6.49708Z' fill='%23EF302B'%3E%3C/path%3E%3C/svg%3E");
1917
1900
  }
@@ -1938,9 +1921,9 @@ button {
1938
1921
  color: #222222;
1939
1922
  background-repeat: no-repeat;
1940
1923
  background-position: top calc(50% - 1px) left 16px;
1941
- border: 2px solid rgba(184, 218, 255, 0.85);
1924
+ border: 1px solid #748ab9;
1942
1925
  background-color: #EDF7EB;
1943
- border-color: rgba(212, 237, 218, 0.85);
1926
+ border-color: #6EA68C;
1944
1927
  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='%23147246' stroke-width='2'%3E%3C/circle%3E%3Cpath d='M6 10.5L9.10148 13.6015C9.31345 13.8134 9.663 13.7925 9.8482 13.5568L15 7' stroke='%23147246' stroke-width='2' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
1945
1928
  }
1946
1929
  .u-notification-success .u-notification-hide {
@@ -1966,8 +1949,8 @@ button {
1966
1949
  color: #222222;
1967
1950
  background-repeat: no-repeat;
1968
1951
  background-position: top calc(50% - 1px) left 16px;
1969
- border: 2px solid rgba(184, 218, 255, 0.85);
1970
- border-color: rgba(255, 243, 205, 0.85);
1952
+ border: 1px solid #748ab9;
1953
+ border-color: #EEB18C;
1971
1954
  background-color: #FCF4E6;
1972
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");
1973
1956
  }
@@ -2206,6 +2189,12 @@ button {
2206
2189
  .air-datepicker.-inline- {
2207
2190
  border: 1px solid #748AB9;
2208
2191
  }
2192
+ .air-datepicker--pointer::after {
2193
+ content: none;
2194
+ }
2195
+ .air-datepicker.-active-:not(.-custom-position-) {
2196
+ transform: translate(0, -12px);
2197
+ }
2209
2198
  .air-datepicker-nav {
2210
2199
  border: none;
2211
2200
  }
@@ -2417,6 +2406,13 @@ button {
2417
2406
  .air-datepicker-cell.-day-.-other-month-.-weekend-.-selected-.-range-to- {
2418
2407
  background-color: #EF302B;
2419
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
+ }
2420
2416
  .air-datepicker-cell.-month- {
2421
2417
  padding: 6px 12px;
2422
2418
  margin: auto;
@@ -2769,19 +2765,19 @@ button {
2769
2765
  .bg-blue {
2770
2766
  background-color: #1E4391;
2771
2767
  }
2768
+ .bg-blue-dark {
2769
+ background-color: #0F2B5E;
2770
+ }
2771
+ .bg-blue-light {
2772
+ background-color: #9FAECD;
2773
+ }
2772
2774
  .bg-red {
2773
2775
  background-color: #EF302B;
2774
2776
  }
2775
- .bg-dark-blue {
2776
- background-color: #0F2B5E;
2777
- }
2778
- .bg-dark-red {
2777
+ .bg-red-dark {
2779
2778
  background-color: #C0231F;
2780
2779
  }
2781
- .bg-light-blue {
2782
- background-color: #9FAECD;
2783
- }
2784
- .bg-light-red {
2780
+ .bg-red-light {
2785
2781
  background-color: #F58380;
2786
2782
  }
2787
2783
  .clr-transparent {
@@ -2890,86 +2886,6 @@ h5 {
2890
2886
  text-decoration: underline;
2891
2887
  text-underline-offset: 0.22em;
2892
2888
  }
2893
- .pagination-container {
2894
- display: flex;
2895
- align-items: center;
2896
- justify-content: space-between;
2897
- padding: 1.5rem 3.6rem;
2898
- }
2899
- .pagination-container__p,
2900
- .pagination-container__limit,
2901
- .pagination-container .pages {
2902
- /*table text*/
2903
- /*table text*/
2904
- font-weight: 400;
2905
- font-size: 14px;
2906
- line-height: 20px;
2907
- }
2908
- .pagination-container__p {
2909
- color: #545454;
2910
- }
2911
- .pagination-container__limit-wrapper {
2912
- display: inline-flex;
2913
- align-items: center;
2914
- column-gap: 16px;
2915
- padding-left: 1rem;
2916
- }
2917
- .pagination-container__limit {
2918
- font-weight: 600;
2919
- cursor: pointer;
2920
- }
2921
- .pagination-container .limit-active,
2922
- .pagination-container__limit:hover {
2923
- font-weight: 700;
2924
- color: #1e4391;
2925
- }
2926
- .pagination-container .pages {
2927
- display: flex;
2928
- align-items: center;
2929
- justify-content: space-between;
2930
- margin-left: 0.8rem;
2931
- column-gap: 0.5rem;
2932
- user-select: none;
2933
- }
2934
- .pagination-container .pages * {
2935
- cursor: pointer;
2936
- }
2937
- .pagination-container .pages__arrow-btn.inactive {
2938
- cursor: not-allowed;
2939
- }
2940
- .pagination-container .pages-nums {
2941
- display: flex;
2942
- align-items: center;
2943
- column-gap: 5px;
2944
- }
2945
- .pagination-container .pages-num {
2946
- display: flex;
2947
- align-items: flex-end;
2948
- cursor: pointer;
2949
- justify-content: center;
2950
- width: 33px;
2951
- height: 32px;
2952
- border-radius: 8px;
2953
- padding: 8px;
2954
- box-sizing: border-box;
2955
- color: #545454;
2956
- border: none;
2957
- text-decoration: none;
2958
- background: transparent;
2959
- }
2960
- .pagination-container .pages-num-active {
2961
- color: #fff;
2962
- background: #1e4391;
2963
- }
2964
- .pagination-container .pages-num:not(.pages-num-active):hover {
2965
- font-weight: 700;
2966
- color: #1e4391;
2967
- }
2968
- .pagination-container .pages-num:focus-visible {
2969
- border: none;
2970
- outline: none;
2971
- }
2972
-
2973
2889
  * {
2974
2890
  box-sizing: border-box;
2975
2891
  }
@@ -3022,3 +2938,10 @@ button {
3022
2938
  scrollbar-width: thin;
3023
2939
  /*Толщина скролла thin, auto*/
3024
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
 
@@ -7,6 +7,12 @@
7
7
  &.-inline- {
8
8
  border: 1px solid @clr-secondary-cold;
9
9
  }
10
+ &--pointer::after {
11
+ content: none;
12
+ }
13
+ &.-active-:not(.-custom-position-) {
14
+ transform: translate(0, -12px);
15
+ }
10
16
  &-nav {
11
17
  border: none;
12
18
  &--action {
@@ -219,6 +225,13 @@
219
225
  &.-weekend-.-selected-.-range-to- {
220
226
  background-color: @clr-main-danger;
221
227
  }
228
+ &.-selected- {
229
+ background-color: @clr-main-primary;
230
+ &.-focus- {
231
+ background-color: @clr-main-primary;
232
+ color: white;
233
+ }
234
+ }
222
235
  }
223
236
  }
224
237
  &.-month- {
@@ -3,13 +3,16 @@
3
3
  .button() {
4
4
  height: @height-main;
5
5
  padding: 0 50px;
6
- text-align: center;
7
6
  border-radius: @radius;
8
7
  border: none;
9
8
  font-weight: 500;
10
9
  font-size: 13px;
11
10
  white-space: nowrap;
12
11
  cursor: pointer;
12
+ display: inline-flex;
13
+ column-gap: 8px;
14
+ justify-content: center;
15
+ align-items: center;
13
16
  .transition;
14
17
  }
15
18
 
@@ -44,7 +47,6 @@
44
47
  .u-icon {
45
48
  position: relative;
46
49
  top: 1px;
47
- margin-left: 8px;
48
50
  &::before {
49
51
  color: inherit;
50
52
  }
@@ -121,6 +123,9 @@
121
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 ");
122
124
  }
123
125
  }
126
+ &-medium {
127
+ height:@height-medium;
128
+ }
124
129
  &-small {
125
130
  height: @height-small;
126
131
  padding: 0 24px;
@@ -449,6 +449,9 @@
449
449
  &:hover {
450
450
  border: 1px solid @clr-secondary-cold;
451
451
  }
452
+ &-disabled:hover {
453
+ border: none;
454
+ }
452
455
  &-icon {
453
456
  cursor: pointer;
454
457
  margin: auto;
@@ -477,17 +480,20 @@
477
480
  }
478
481
  &-title {
479
482
  .tt;
483
+ margin: 0;
480
484
  color: @clr-secondary-cold;
481
485
  text-align: center;
482
486
  margin-bottom: 7px;
483
487
  &-loading {
484
488
  .st;
489
+ margin: 0;
485
490
  color: @clr-secondary-cold;
486
491
  text-align: center;
487
492
  }
488
493
  }
489
494
  &-subtitle {
490
495
  .h5;
496
+ margin: 0;
491
497
  color: @clr-secondary-cold;
492
498
  text-align: center;
493
499
  }
@@ -13,7 +13,7 @@
13
13
  color: @clr-main-dark;
14
14
  background-repeat: no-repeat;
15
15
  background-position: top calc(50% - 1px) left 16px;
16
- border: 2px solid rgba(184, 218, 255, 0.85);
16
+ border: 1px solid #748ab9;
17
17
  }
18
18
 
19
19
  .notification-hide() {
@@ -36,7 +36,7 @@
36
36
  }
37
37
  &-fail {
38
38
  .notification;
39
- border-color: rgba(248, 215, 218, 0.85);
39
+ border-color: #F17F7C;
40
40
  background-color: #FDEAEA;
41
41
  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='%23EF302B' stroke-width='2'%3E%3C/circle%3E%3Ccircle cx='10' cy='15' r='1' fill='%23EF302B'%3E%3C/circle%3E%3Cpath d='M8.59357 6.49708C8.54286 5.68582 9.18716 5 10 5C10.8128 5 11.4571 5.68582 11.4064 6.49708L11.0624 12.0019C11.0273 12.563 10.5621 13 10 13C9.4379 13 8.97268 12.563 8.93762 12.0019L8.59357 6.49708Z' fill='%23EF302B'%3E%3C/path%3E%3C/svg%3E");
42
42
  .u-notification-hide {
@@ -47,7 +47,7 @@
47
47
  &-success {
48
48
  .notification;
49
49
  background-color: #EDF7EB;
50
- border-color: rgba(212, 237, 218, 0.85);
50
+ border-color:#6EA68C;
51
51
  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='%23147246' stroke-width='2'%3E%3C/circle%3E%3Cpath d='M6 10.5L9.10148 13.6015C9.31345 13.8134 9.663 13.7925 9.8482 13.5568L15 7' stroke='%23147246' stroke-width='2' stroke-linecap='round'%3E%3C/path%3E%3C/svg%3E");
52
52
  .u-notification-hide {
53
53
  .notification-hide;
@@ -56,7 +56,7 @@
56
56
  }
57
57
  &-warning {
58
58
  .notification;
59
- border-color: rgba(255, 243, 205, 0.85);
59
+ border-color: #EEB18C;
60
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 {
@@ -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
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() {
@@ -10,27 +10,22 @@
10
10
  }
11
11
  &-blue {
12
12
  background-color: @clr-main-primary;
13
- }
14
- &-red {
15
- background-color: @clr-main-danger;
16
- }
17
- &-dark {
18
- &-blue {
13
+ &-dark {
19
14
  background-color: @clr-secondary-primary;
20
15
  }
21
- &-red {
22
- background-color: @clr-secondary-danger;
16
+ &-light {
17
+ background-color: @clr-secondary-chilly;
23
18
  }
24
19
  }
25
- &-light {
26
- &-blue {
27
- background-color: @clr-secondary-chilly;
20
+ &-red {
21
+ background-color: @clr-main-danger;
22
+ &-dark {
23
+ background-color: @clr-secondary-danger;
28
24
  }
29
- &-red {
25
+ &-light {
30
26
  background-color: @clr-secondary-focusing;
31
27
  }
32
28
  }
33
-
34
29
  }
35
30
  //property: color
36
31
  .clr {