@itcase/ui 1.0.15 → 1.0.17
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/dist/components/Avatar.js +9 -4
- package/dist/components/Button.js +38 -25
- package/dist/components/Code.js +150 -0
- package/dist/components/CookiesWarning.js +1 -0
- package/dist/components/DatePicker.js +3 -2
- package/dist/components/Dropdown.js +14 -12
- package/dist/components/Empty.js +1 -0
- package/dist/components/FormField.js +4 -1
- package/dist/components/Group.js +5 -1
- package/dist/components/Image.js +7 -2
- package/dist/components/Input.js +4 -0
- package/dist/components/Loader.js +8 -4
- package/dist/components/Notification.js +14 -65
- package/dist/components/Select.js +160 -88
- package/dist/components/Tab.js +19 -10
- package/dist/css/components/Button/Button.css +1 -3
- package/dist/css/components/Choice/Choice.css +1 -1
- package/dist/css/components/Code/Code.css +55 -0
- package/dist/css/components/DatePicker/DatePicker.css +165 -99
- package/dist/css/components/Empty/Empty.css +2 -0
- package/dist/css/components/Grid/Grid.css +1 -0
- package/dist/css/components/Loader/Loader.css +2 -0
- package/dist/css/components/Notification/Notification.css +54 -11
- package/dist/css/components/Search/Search.css +2 -1
- package/dist/css/components/Search/css/search-input/search-input.css +2 -1
- package/dist/css/components/Segmented/Segmented.css +2 -1
- package/dist/css/components/Select/Select.css +12 -0
- package/dist/css/components/Select/css/__multi-value/select__multi-value.css +6 -0
- package/dist/css/components/Select/css/__value-container/select__value-container.css +4 -0
- package/dist/css/components/Switch/Switch.css +15 -8
- package/dist/css/components/Tab/Tab.css +18 -1
- package/dist/css/components/Textarea/Textarea.css +1 -7
- package/dist/css/styles/fill/fill.css +12 -0
- package/package.json +1 -1
|
@@ -721,109 +721,155 @@
|
|
|
721
721
|
vertical-align: -0.125em;
|
|
722
722
|
}
|
|
723
723
|
.react-datepicker {
|
|
724
|
-
background: var(--date-picker-
|
|
725
|
-
border-radius: var(--date-picker-
|
|
726
|
-
border:
|
|
727
|
-
box-shadow: var(--date-picker-
|
|
728
|
-
|
|
729
|
-
z-index: 1000 !important;
|
|
730
|
-
}
|
|
724
|
+
background: var(--date-picker-background);
|
|
725
|
+
border-radius: var(--date-picker-border-radius);
|
|
726
|
+
border: var(--date-picker-border);
|
|
727
|
+
box-shadow: var(--date-picker-box-shadow);
|
|
728
|
+
font-size: inherit;
|
|
731
729
|
&__triangle {
|
|
732
730
|
display: none;
|
|
733
731
|
}
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
display: flex;
|
|
739
|
-
flex-direction: column;
|
|
740
|
-
gap: 24px;
|
|
741
|
-
&--div {
|
|
742
|
-
display: flex;
|
|
743
|
-
justify-content: space-between;
|
|
744
|
-
}
|
|
745
|
-
&--time {
|
|
746
|
-
padding: 0;
|
|
732
|
+
&-wrapper {
|
|
733
|
+
width: 100%;
|
|
734
|
+
^&-popper {
|
|
735
|
+
z-index: 1000 !important;
|
|
747
736
|
}
|
|
748
737
|
}
|
|
749
738
|
&__month {
|
|
750
739
|
margin: 0;
|
|
751
|
-
background-color: var(--date-picker-container-background);
|
|
752
740
|
&-container {
|
|
753
741
|
margin: 0;
|
|
754
|
-
padding: var(--date-picker-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
}
|
|
799
|
-
&--selected:hover,
|
|
800
|
-
&--in-range:hover {
|
|
801
|
-
background: var(--date-picker-selected-background-hover);
|
|
802
|
-
}
|
|
803
|
-
&--outside-month {
|
|
804
|
-
^^^& .button__label {
|
|
805
|
-
color: var(--date-picker-outside-color);
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
&--weekend {
|
|
809
|
-
^^^& .button__label {
|
|
810
|
-
color: var(--date-picker-weekend-color);
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
&--outside-month&--weekend {
|
|
814
|
-
^^^& .button__label {
|
|
815
|
-
color: var(--date-picker-outside-weekend-color);
|
|
816
|
-
}
|
|
817
|
-
}
|
|
818
|
-
&--in-range {
|
|
819
|
-
background: var(--date-picker-selected-background);
|
|
820
|
-
^^^& .button__label {
|
|
821
|
-
color: var(--date-picker-selected-color);
|
|
742
|
+
padding: var(--date-picker-padding);
|
|
743
|
+
^^&__header {
|
|
744
|
+
padding: 0;
|
|
745
|
+
border-bottom: none;
|
|
746
|
+
border-radius: 0;
|
|
747
|
+
display: flex;
|
|
748
|
+
flex-direction: column;
|
|
749
|
+
gap: 24px;
|
|
750
|
+
background-color: transparent;
|
|
751
|
+
&--div {
|
|
752
|
+
display: flex;
|
|
753
|
+
justify-content: space-between;
|
|
754
|
+
align-items: center;
|
|
755
|
+
^^^^&__data {
|
|
756
|
+
flex: 1;
|
|
757
|
+
justify-content: center;
|
|
758
|
+
display: flex;
|
|
759
|
+
align-items: center;
|
|
760
|
+
gap: 12px;
|
|
761
|
+
^^^^^&__month {
|
|
762
|
+
&:first-letter {
|
|
763
|
+
text-transform: uppercase;
|
|
764
|
+
}
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
&--time {
|
|
769
|
+
padding: 0;
|
|
770
|
+
}
|
|
771
|
+
^^^&__day {
|
|
772
|
+
&-names {
|
|
773
|
+
margin: 0;
|
|
774
|
+
display: flex;
|
|
775
|
+
}
|
|
776
|
+
&-name {
|
|
777
|
+
display: flex;
|
|
778
|
+
width: var(--date-picker-day-width);
|
|
779
|
+
height: var(--date-picker-day-height);
|
|
780
|
+
margin: 0;
|
|
781
|
+
justify-content: center;
|
|
782
|
+
align-items: center;
|
|
783
|
+
line-height: normal;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
822
786
|
}
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
787
|
+
^^&__month {
|
|
788
|
+
^^^&__week {
|
|
789
|
+
display: flex;
|
|
790
|
+
^^^^&__day {
|
|
791
|
+
width: var(--date-picker-day-width);
|
|
792
|
+
height: var(--date-picker-day-height);
|
|
793
|
+
margin: 0;
|
|
794
|
+
border-radius: var(--date-picker-day-border-radius);
|
|
795
|
+
&:hover {
|
|
796
|
+
background: var(--date-picker-day-hover-background);
|
|
797
|
+
color: var(--date-picker-day-hover-text-color);
|
|
798
|
+
}
|
|
799
|
+
&--in-selecting-range:not(.react-datepicker__day--in-range):not(.react-datepicker__month-text--in-range):not(.react-datepicker__quarter-text--in-range):not(.react-datepicker__year-text--in-range) {
|
|
800
|
+
background: var(--date-picker-day-selected-background);
|
|
801
|
+
& .button__label {
|
|
802
|
+
color: var(--date-picker-day-selected-text-color);
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
&--in-range {
|
|
806
|
+
border-radius: 0;
|
|
807
|
+
background: var(--date-picker-day-selected-background);
|
|
808
|
+
& .button__label {
|
|
809
|
+
color: var(--date-picker-day-selected-text-color);
|
|
810
|
+
}
|
|
811
|
+
&:hover {
|
|
812
|
+
background: var(--date-picker-day-selected-background) !important;
|
|
813
|
+
& .button__label {
|
|
814
|
+
color: var(--date-picker-day-selected-text-color) !important;
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
&--in-selecting-range,
|
|
819
|
+
&--selecting-range,
|
|
820
|
+
&--range {
|
|
821
|
+
background-color: var(--date-picker-day-range-background) !important;
|
|
822
|
+
border-radius: var(--date-picker-day-range-border-radius) !important;
|
|
823
|
+
& .button__label {
|
|
824
|
+
color: var(--date-picker-day-range-text-color) !important;
|
|
825
|
+
}
|
|
826
|
+
&-start {
|
|
827
|
+
border-radius: var(--date-picker-day-range-start-border-radius) !important;
|
|
828
|
+
&:hover {
|
|
829
|
+
border-radius: var(--date-picker-day-range-start-border-radius) !important;
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
&-end {
|
|
833
|
+
border-radius: var(--date-picker-day-range-end-border-radius) !important;
|
|
834
|
+
&:hover {
|
|
835
|
+
border-radius: var(--date-picker-day-range-end-border-radius) !important;
|
|
836
|
+
}
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
&--today {
|
|
840
|
+
background: var(--date-picker-day-today-background);
|
|
841
|
+
& .button__label {
|
|
842
|
+
color: var(--date-picker-day-today-text-color);
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
&--today.react-datepicker__day--selecting-range-start.react-datepicker__day--selecting-range-end {
|
|
846
|
+
border-radius: var(--date-picker-day-border-radius) !important;
|
|
847
|
+
background: var(--date-picker-day-today-background);
|
|
848
|
+
& .button__label {
|
|
849
|
+
color: var(--date-picker-day-today-text-color);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
&--keyboard-selected {
|
|
853
|
+
background: transparent;
|
|
854
|
+
}
|
|
855
|
+
&--selected {
|
|
856
|
+
background: var(--date-picker-day-selected-background);
|
|
857
|
+
& .button__label {
|
|
858
|
+
color: var(--date-picker-day-selected-text-color);
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
&--outside-month {
|
|
862
|
+
background: var(--date-picker-day-outside-background) !important;
|
|
863
|
+
& .button__label {
|
|
864
|
+
color: var(--date-picker-day-outside-text-color) !important;
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
&-button {
|
|
868
|
+
width: 100%;
|
|
869
|
+
height: 100%;
|
|
870
|
+
}
|
|
871
|
+
}
|
|
872
|
+
}
|
|
827
873
|
}
|
|
828
874
|
}
|
|
829
875
|
}
|
|
@@ -842,13 +888,16 @@
|
|
|
842
888
|
height: 300px !important;
|
|
843
889
|
&-item {
|
|
844
890
|
border-radius: var(--date-picker-day-border-radius);
|
|
845
|
-
font-size:
|
|
891
|
+
font-size: var(--date-picker-name-size);
|
|
892
|
+
line-height: 30px;
|
|
846
893
|
max-height: var(--date-picker-height);
|
|
847
894
|
&:hover {
|
|
848
895
|
background: var(--date-picker-day-background-hover) !important;
|
|
849
896
|
}
|
|
850
897
|
&--selected {
|
|
851
898
|
background: var(--date-picker-selected-background) !important;
|
|
899
|
+
color: var(--date-picker-selected-color) !important;
|
|
900
|
+
font-weight: var(--date-picker-selected-weight) !important;
|
|
852
901
|
}
|
|
853
902
|
&--selected:hover {
|
|
854
903
|
background: var(--date-picker-selected-background-hover) !important;
|
|
@@ -885,16 +934,32 @@
|
|
|
885
934
|
}
|
|
886
935
|
}
|
|
887
936
|
.datepicker {
|
|
937
|
+
width: 100%;
|
|
888
938
|
border-radius: var(--date-picker-day-border-radius);
|
|
889
939
|
^^^^^& .input {
|
|
890
940
|
border-radius: var(--date-picker-day-border-radius);
|
|
891
941
|
}
|
|
892
942
|
}
|
|
893
|
-
.
|
|
894
|
-
|
|
895
|
-
&
|
|
896
|
-
|
|
897
|
-
|
|
943
|
+
.datepicker_type_multiple-months {
|
|
944
|
+
& .react-datepicker {
|
|
945
|
+
&__month-container {
|
|
946
|
+
&:nth-last-child(2) {
|
|
947
|
+
& .react-datepicker__header--div {
|
|
948
|
+
& .react-datepicker__icon {
|
|
949
|
+
&:last-child {
|
|
950
|
+
display: none;
|
|
951
|
+
}
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
}
|
|
955
|
+
&:last-child {
|
|
956
|
+
& .react-datepicker__header--div {
|
|
957
|
+
& .react-datepicker__icon {
|
|
958
|
+
&:first-child {
|
|
959
|
+
display: none;
|
|
960
|
+
}
|
|
961
|
+
}
|
|
962
|
+
}
|
|
898
963
|
}
|
|
899
964
|
}
|
|
900
965
|
}
|
|
@@ -916,6 +981,7 @@
|
|
|
916
981
|
--date-picker-name-size: 18px;
|
|
917
982
|
--date-picker-name-weight: 400;
|
|
918
983
|
--date-picker-selected-color: var(--color-accent-text-primary);
|
|
984
|
+
--date-picker-selected-weight: 400;
|
|
919
985
|
--date-picker-selected-background: var(--color-accent-primary);
|
|
920
986
|
--date-picker-selected-background-hover: var(--color-accent-primary-hover);
|
|
921
987
|
--date-picker-outside-color: var(--color-surface-text-quaternary);
|
|
@@ -1,18 +1,61 @@
|
|
|
1
1
|
.notification {
|
|
2
|
-
&__item {
|
|
3
|
-
padding: 12px;
|
|
4
|
-
&-text {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
align-items: center;
|
|
8
|
-
text-align: center;
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
2
|
}
|
|
12
3
|
.notification {
|
|
13
4
|
&&_type_global {
|
|
14
|
-
position:
|
|
15
|
-
|
|
5
|
+
position: fixed;
|
|
6
|
+
right: 0;
|
|
16
7
|
top: 0;
|
|
8
|
+
padding: 0;
|
|
9
|
+
background: none;
|
|
10
|
+
z-index: 1000;
|
|
11
|
+
^&__wrapper {
|
|
12
|
+
width: 100%;
|
|
13
|
+
align-items: flex-end;
|
|
14
|
+
display: flex;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.notification__item {
|
|
19
|
+
&_set {
|
|
20
|
+
&_float {
|
|
21
|
+
width: 320px;
|
|
22
|
+
margin: 16px 24px;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
.notification__item {
|
|
27
|
+
&_status {
|
|
28
|
+
&_success {
|
|
29
|
+
^^&-wrapper {
|
|
30
|
+
border-radius: 8px;
|
|
31
|
+
@mixin elevation-8;
|
|
32
|
+
padding: 12px 16px;
|
|
33
|
+
background: var(--color-success-primary);
|
|
34
|
+
^^^&-title {
|
|
35
|
+
color: var(--color-success-text-secondary);
|
|
36
|
+
@mixin h5;
|
|
37
|
+
}
|
|
38
|
+
^^^&-text {
|
|
39
|
+
color: var(--color-success-text-secondary);
|
|
40
|
+
@mixin text-s;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
&_error {
|
|
45
|
+
^^&-wrapper {
|
|
46
|
+
border-radius: 8px;
|
|
47
|
+
@mixin elevation-8;
|
|
48
|
+
padding: 12px 16px;
|
|
49
|
+
background: var(--color-error-primary);
|
|
50
|
+
^^^&-title {
|
|
51
|
+
color: var(--color-error-text-secondary);
|
|
52
|
+
@mixin h5;
|
|
53
|
+
}
|
|
54
|
+
^^^&-text {
|
|
55
|
+
color: var(--color-error-text-secondary);
|
|
56
|
+
@mixin text-s;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
17
60
|
}
|
|
18
61
|
}
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
grid-column: 1/3;
|
|
36
36
|
grid-row-start: 1;
|
|
37
37
|
z-index: 2;
|
|
38
|
+
padding: 1.25px 0 !important;
|
|
38
39
|
&:focus {
|
|
39
40
|
outline: 0;
|
|
40
41
|
}
|
|
@@ -65,7 +66,7 @@
|
|
|
65
66
|
z-index: 2;
|
|
66
67
|
}
|
|
67
68
|
&&_state_focus,
|
|
68
|
-
&&_state_filled
|
|
69
|
+
&&_state_filled {
|
|
69
70
|
^&__input {
|
|
70
71
|
&-wrapper {
|
|
71
72
|
left: 0;
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
grid-column: 1/3;
|
|
25
25
|
grid-row-start: 1;
|
|
26
26
|
z-index: 2;
|
|
27
|
+
padding: 1.25px 0 !important;
|
|
27
28
|
&:focus {
|
|
28
29
|
outline: 0;
|
|
29
30
|
}
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
z-index: 2;
|
|
55
56
|
}
|
|
56
57
|
&&_state_focus,
|
|
57
|
-
&&_state_filled
|
|
58
|
+
&&_state_filled {
|
|
58
59
|
^&__input {
|
|
59
60
|
&-wrapper {
|
|
60
61
|
left: 0;
|
|
@@ -24,6 +24,7 @@
|
|
|
24
24
|
min-width: 120px;
|
|
25
25
|
position: relative;
|
|
26
26
|
display: flex;
|
|
27
|
+
align-items: center;
|
|
27
28
|
&::after {
|
|
28
29
|
width: 1px;
|
|
29
30
|
height: 100%;
|
|
@@ -33,7 +34,7 @@
|
|
|
33
34
|
top: 0;
|
|
34
35
|
right: 0;
|
|
35
36
|
}
|
|
36
|
-
&:nth-last-child(-n+2) {
|
|
37
|
+
&:nth-last-child(-n + 2) {
|
|
37
38
|
&::after {
|
|
38
39
|
display: none;
|
|
39
40
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
.select {
|
|
2
|
+
width: 100%;
|
|
2
3
|
position: relative;
|
|
3
4
|
min-width: 240px;
|
|
4
5
|
}
|
|
@@ -185,6 +186,13 @@
|
|
|
185
186
|
}
|
|
186
187
|
}
|
|
187
188
|
|
|
189
|
+
.select__multi-value {
|
|
190
|
+
&-wrapper {
|
|
191
|
+
padding: 4px 6px;
|
|
192
|
+
border-radius: 6px;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
|
|
188
196
|
.select {
|
|
189
197
|
&__option {
|
|
190
198
|
display: flex;
|
|
@@ -257,6 +265,10 @@
|
|
|
257
265
|
flex-wrap: wrap;
|
|
258
266
|
align-items: center;
|
|
259
267
|
&--is-multi {
|
|
268
|
+
gap: 8px;
|
|
269
|
+
& .select__input-container {
|
|
270
|
+
display: none;
|
|
271
|
+
}
|
|
260
272
|
}
|
|
261
273
|
}
|
|
262
274
|
}
|
|
@@ -55,14 +55,21 @@
|
|
|
55
55
|
}
|
|
56
56
|
}
|
|
57
57
|
.switch {
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
58
|
+
&&_size {
|
|
59
|
+
@each $size in normal, compact {
|
|
60
|
+
&_$(size) {
|
|
61
|
+
min-width: var(--switch-size-$(size)-width);
|
|
62
|
+
min-height: var(--switch-size-$(size)-height);
|
|
63
|
+
max-width: var(--switch-size-$(size)-width);
|
|
64
|
+
max-height: var(--switch-size-$(size)-height);
|
|
65
|
+
}
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
+
:root {
|
|
70
|
+
--switch-size-normal-width: 52px;
|
|
71
|
+
--switch-size-normal-height: 32px;
|
|
72
|
+
|
|
73
|
+
--switch-size-compact-width: 40px;
|
|
74
|
+
--switch-size-compact-height: 24px;
|
|
75
|
+
}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
&_size {
|
|
29
29
|
@each $size in normal, compact {
|
|
30
30
|
&_$(size) {
|
|
31
|
-
^^&
|
|
31
|
+
^^&__wrapper {
|
|
32
32
|
padding: var(--tab-size-$(size)-padding);
|
|
33
33
|
gap: var(--tab-size-$(size)-gap);
|
|
34
34
|
}
|
|
@@ -38,6 +38,23 @@
|
|
|
38
38
|
}
|
|
39
39
|
.tab-group {
|
|
40
40
|
position: relative;
|
|
41
|
+
display: flex;
|
|
42
|
+
align-items: stretch;
|
|
43
|
+
& .tab {
|
|
44
|
+
display: flex;
|
|
45
|
+
flex-flow: column nowrap;
|
|
46
|
+
justify-content: flex-end;
|
|
47
|
+
&__wrapper {
|
|
48
|
+
display: flex;
|
|
49
|
+
justify-content: center;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: 4px;
|
|
52
|
+
}
|
|
53
|
+
&__label {
|
|
54
|
+
flex: 1;
|
|
55
|
+
display: flex;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
41
58
|
}
|
|
42
59
|
:root {
|
|
43
60
|
--tab-size-normal-padding: 10px;
|
|
@@ -14,9 +14,6 @@
|
|
|
14
14
|
&:read-only {
|
|
15
15
|
color: var(--color-surface-text-tertiary);
|
|
16
16
|
}
|
|
17
|
-
&:focus {
|
|
18
|
-
background: var(--color-surface-primary-hover);
|
|
19
|
-
}
|
|
20
17
|
}
|
|
21
18
|
.textarea {
|
|
22
19
|
&_shape {
|
|
@@ -30,10 +27,7 @@
|
|
|
30
27
|
&&_size {
|
|
31
28
|
@each $sizeValue in xs, s, m, l, xl, xxl {
|
|
32
29
|
&_$(sizeValue) {
|
|
33
|
-
padding
|
|
34
|
-
padding-right: var(--textarea-size-$(sizeValue)-padding-right);
|
|
35
|
-
padding-bottom: var(--textarea-size-$(sizeValue)-padding-bottom);
|
|
36
|
-
padding-left: var(--textarea-size-$(sizeValue)-padding-left);
|
|
30
|
+
padding: var(--textarea-size-$(sizeValue)-padding);
|
|
37
31
|
}
|
|
38
32
|
}
|
|
39
33
|
}
|
|
@@ -11,6 +11,18 @@
|
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
}
|
|
14
|
+
&-item {
|
|
15
|
+
@each $color in primary, secondary, tertiary, quaternary, quinary, senary, accent, disabled, hover {
|
|
16
|
+
&-$(color) {
|
|
17
|
+
background: var(--color-$(type)-item-$(color));
|
|
18
|
+
@each $alpha in 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 75, 80, 85, 90, 95 {
|
|
19
|
+
&$(alpha) {
|
|
20
|
+
background: var(--color-$(type)-item-$(color)-$(alpha));
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
14
26
|
}
|
|
15
27
|
}
|
|
16
28
|
@each $type in accent, primary, secondary, tertiary, quaternary, quinary, surface, success, error, info, warning {
|