@gipisistemas/ngx-core 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.
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
height: fit-content;
|
|
38
38
|
font-family: $font-family;
|
|
39
39
|
font-size: $font-size;
|
|
40
|
-
color: $
|
|
40
|
+
color: $font-color;
|
|
41
41
|
|
|
42
42
|
.g-form-field-wrapper {
|
|
43
43
|
display: flex;
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
border-radius: 0.6rem;
|
|
52
52
|
padding: 0;
|
|
53
53
|
border: 0.1rem solid $black-400;
|
|
54
|
-
caret-color: $black-300;
|
|
55
54
|
background-color: $white-100;
|
|
56
55
|
font-family: $font-family;
|
|
57
56
|
font-size: $font-size;
|
|
58
|
-
color: $
|
|
57
|
+
color: $font-color;
|
|
58
|
+
caret-color: $font-color;
|
|
59
59
|
|
|
60
60
|
@include form-field-controls() {
|
|
61
61
|
flex: 1;
|
|
@@ -7,8 +7,12 @@
|
|
|
7
7
|
|
|
8
8
|
$white-100: utils.get-color($theme, white, 100);
|
|
9
9
|
$white-300: utils.get-color($theme, white, 300);
|
|
10
|
+
|
|
10
11
|
$black-200: utils.get-color($theme, black, 200);
|
|
11
12
|
$black-300: utils.get-color($theme, black, 300);
|
|
13
|
+
|
|
14
|
+
$primary-500: utils.get-color($theme, primary, 500);
|
|
15
|
+
|
|
12
16
|
$secondary-50: utils.get-color($theme, secondary, 50);
|
|
13
17
|
$secondary-200: utils.get-color($theme, secondary, 200);
|
|
14
18
|
|
|
@@ -28,6 +32,80 @@
|
|
|
28
32
|
height: fit-content;
|
|
29
33
|
cursor: pointer;
|
|
30
34
|
|
|
35
|
+
.g-select-multiple-values {
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: center;
|
|
38
|
+
gap: 0.4rem;
|
|
39
|
+
flex: 1;
|
|
40
|
+
min-width: 0;
|
|
41
|
+
max-width: 100%;
|
|
42
|
+
overflow: hidden;
|
|
43
|
+
white-space: nowrap;
|
|
44
|
+
padding: 0.8rem 1rem;
|
|
45
|
+
pointer-events: auto;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.g-select-value-chip {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: 0.4rem;
|
|
52
|
+
max-width: 14rem;
|
|
53
|
+
max-height: 2rem;
|
|
54
|
+
padding: 0.2rem 0.8rem;
|
|
55
|
+
border-radius: 0.6rem;
|
|
56
|
+
background-color: #e0e1e2;
|
|
57
|
+
font-size: 1.2rem;
|
|
58
|
+
color: $font-color;
|
|
59
|
+
font-weight: 600;
|
|
60
|
+
flex-shrink: 0;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.g-select-value-chip-label {
|
|
64
|
+
overflow: hidden;
|
|
65
|
+
text-overflow: ellipsis;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
min-width: 0;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.g-select-value-chip-remove {
|
|
71
|
+
display: inline-flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
width: 1.6rem;
|
|
75
|
+
height: 1.6rem;
|
|
76
|
+
padding: 0;
|
|
77
|
+
border: none;
|
|
78
|
+
border-radius: 50%;
|
|
79
|
+
background: transparent;
|
|
80
|
+
color: $font-color;
|
|
81
|
+
cursor: pointer;
|
|
82
|
+
|
|
83
|
+
> span {
|
|
84
|
+
font-size: 1.4rem;
|
|
85
|
+
line-height: 1;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
&:hover {
|
|
89
|
+
color: $black-200;
|
|
90
|
+
background-color: $white-300;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.g-select-value-chip-ellipsis {
|
|
95
|
+
display: inline-flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
justify-content: center;
|
|
98
|
+
min-width: 2.4rem;
|
|
99
|
+
padding: 0 0.6rem;
|
|
100
|
+
font-size: $font-size;
|
|
101
|
+
color: $font-color;
|
|
102
|
+
flex-shrink: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.select-input-multiple-hidden {
|
|
106
|
+
display: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
31
109
|
.g-select-actions {
|
|
32
110
|
display: flex;
|
|
33
111
|
align-items: center;
|
|
@@ -38,13 +116,13 @@
|
|
|
38
116
|
display: inline-flex;
|
|
39
117
|
align-items: center;
|
|
40
118
|
justify-content: center;
|
|
41
|
-
min-width:
|
|
42
|
-
height: 2rem;
|
|
119
|
+
min-width: 2.4rem;
|
|
120
|
+
height: 2.2rem;
|
|
43
121
|
padding: 0 0.6rem;
|
|
44
122
|
margin-right: 0.4rem;
|
|
45
|
-
background-color: $
|
|
123
|
+
background-color: $primary-500;
|
|
46
124
|
color: $white-100;
|
|
47
|
-
border-radius:
|
|
125
|
+
border-radius: 0.6rem;
|
|
48
126
|
font-size: 1.2rem;
|
|
49
127
|
font-weight: 600;
|
|
50
128
|
line-height: 1;
|
|
@@ -60,6 +138,12 @@
|
|
|
60
138
|
background: transparent;
|
|
61
139
|
transition: color 150ms;
|
|
62
140
|
cursor: pointer;
|
|
141
|
+
transition: all 0.2s cubic-bezier(0.075, 0.82, 0.165, 1);
|
|
142
|
+
|
|
143
|
+
&:disabled {
|
|
144
|
+
opacity: 0.5;
|
|
145
|
+
cursor: not-allowed;
|
|
146
|
+
}
|
|
63
147
|
|
|
64
148
|
&.clear {
|
|
65
149
|
width: 3.2rem;
|
|
@@ -69,6 +153,7 @@
|
|
|
69
153
|
|
|
70
154
|
&:hover {
|
|
71
155
|
color: $black-200;
|
|
156
|
+
background-color: $white-300;
|
|
72
157
|
}
|
|
73
158
|
|
|
74
159
|
> span {
|
|
@@ -85,11 +170,6 @@
|
|
|
85
170
|
color: $black-200;
|
|
86
171
|
}
|
|
87
172
|
|
|
88
|
-
&:disabled {
|
|
89
|
-
opacity: 0.5;
|
|
90
|
-
cursor: not-allowed;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
173
|
> span {
|
|
94
174
|
font-size: 2.6rem;
|
|
95
175
|
transition: transform 150ms;
|