@itcase/ui 1.8.134 → 1.8.135

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.
@@ -34,7 +34,31 @@
34
34
  .icon_fill {
35
35
  @each $type in accent, primary, secondary, tertiary, quaternary, surface,
36
36
  error, success, warning, info, danger {
37
- &_$(type) {
37
+ &_active_hover_$(type) {
38
+ &-item {
39
+ @each $color in primary, secondary, tertiary, quaternary {
40
+ &-$(color) {
41
+ &:hover {
42
+ & svg {
43
+ stroke: none;
44
+ fill: var(--color-$(type)-item-$(color));
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
50
+ @each $color in primary, secondary, tertiary, quaternary {
51
+ &-$(color) {
52
+ &:hover {
53
+ & svg {
54
+ stroke: none;
55
+ fill: var(--color-$(type)-fill-$(color));
56
+ }
57
+ }
58
+ }
59
+ }
60
+ }
61
+ &_active_$(type) {
38
62
  &-item {
39
63
  @each $color in primary, secondary, tertiary, quaternary {
40
64
  &-$(color) {
@@ -54,38 +78,7 @@
54
78
  }
55
79
  }
56
80
  }
57
- }
58
- @each $palette in red, neon-pink, electric-pink, hibiscus, pink, pink-citrus,
59
- pomegranate, dragon-fruit, camellia, red-rose, plum, orange, clementine,
60
- apricot, papaya, kumquat, light-orange, peach, flamingo, rose-gold,
61
- pink-sand, vintage-rose, grapefruit, cream, mellow-yellow, canary-yellow,
62
- pollen, flash-light, lemon-cream, flash, dark-green, green, spearmint, mint,
63
- beryl, sea-foam, turquoise, blue, light-blue, cerulean, surf-blue,
64
- pacific-green, blue-cobalt, dark-teal, blue-horizon, denim-blue, linen-blue,
65
- deep-navy, midnight-blue, purple, ultra-violet, lilac, ocean-blue,
66
- delft-blue, indigo, lavender-gray, lavender, mist-blue, storm-gray, cactus,
67
- pine-green, cyprus-green, northern-blue, azure, alaskan-blue, khaki,
68
- dark-olive, soft-white, antique-white, yellow-gold, gold, camel, walnut,
69
- stone, pebble, cocoa, coastal-gray, white, black, alto, athens-gray,
70
- sonic-silver {
71
- &_$(palette) {
72
- &-item {
73
- & svg {
74
- stroke: none;
75
- fill: var(--color-palette-$(palette));
76
- }
77
- }
78
- & svg {
79
- stroke: none;
80
- fill: var(--color-palette-$(palette));
81
- }
82
- }
83
- }
84
- }
85
- .icon_fill_hover {
86
- @each $type in accent, primary, secondary, tertiary, quaternary, surface,
87
- error, success, warning, info, danger {
88
- &_$(type) {
81
+ &_hover_$(type) {
89
82
  &-item {
90
83
  @each $color in primary, secondary, tertiary, quaternary {
91
84
  &-$(color) {
@@ -99,6 +92,26 @@
99
92
  }
100
93
  }
101
94
  }
95
+ &_$(type) {
96
+ &-item {
97
+ @each $color in primary, secondary, tertiary, quaternary {
98
+ &-$(color) {
99
+ & svg {
100
+ stroke: none;
101
+ fill: var(--color-$(type)-item-$(color));
102
+ }
103
+ }
104
+ }
105
+ }
106
+ @each $color in primary, secondary, tertiary, quaternary {
107
+ &-$(color) {
108
+ & svg {
109
+ stroke: none;
110
+ fill: var(--color-$(type)-fill-$(color));
111
+ }
112
+ }
113
+ }
114
+ }
102
115
  }
103
116
  @each $palette in red, neon-pink, electric-pink, hibiscus, pink, pink-citrus,
104
117
  pomegranate, dragon-fruit, camellia, red-rose, plum, orange, clementine,
@@ -113,136 +126,60 @@
113
126
  dark-olive, soft-white, antique-white, yellow-gold, gold, camel, walnut,
114
127
  stone, pebble, cocoa, coastal-gray, white, black, alto, athens-gray,
115
128
  sonic-silver {
116
- &_$(palette) {
129
+ &_active_hover_$(palette) {
117
130
  &:hover {
118
131
  & svg {
119
132
  stroke: none;
120
- fill: var(--color-$(type)-fill-$(color));
133
+ fill: var(--color-palette-$(palette));
121
134
  }
122
135
  }
123
136
  &-item {
124
137
  &:hover {
125
138
  & svg {
126
139
  stroke: none;
127
- fill: var(--color-$(type)-item-$(color));
140
+ fill: var(--color-palette-$(palette));
128
141
  }
129
142
  }
130
143
  }
131
144
  }
132
- }
133
- }
134
- .icon_fill {
135
- &_active {
136
- @each $type in accent, primary, secondary, tertiary, quaternary, surface,
137
- error, success, warning, info, danger {
138
- &_$(type) {
139
- &-item {
140
- @each $color in primary, secondary, tertiary, quaternary {
141
- &-$(color) {
142
- & svg {
143
- stroke: none;
144
- fill: var(--color-$(type)-item-$(color));
145
- }
146
- }
147
- }
148
- }
149
- @each $color in primary, secondary, tertiary, quaternary {
150
- &-$(color) {
151
- & svg {
152
- stroke: none;
153
- fill: var(--color-$(type)-fill-$(color));
154
- }
155
- }
145
+ &_active_$(palette) {
146
+ &-item {
147
+ & svg {
148
+ stroke: none;
149
+ fill: var(--color-palette-$(palette));
156
150
  }
157
151
  }
152
+ & svg {
153
+ stroke: none;
154
+ fill: var(--color-palette-$(palette));
155
+ }
158
156
  }
159
- @each $palette in red, neon-pink, electric-pink, hibiscus, pink,
160
- pink-citrus, pomegranate, dragon-fruit, camellia, red-rose, plum, orange,
161
- clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
162
- rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
163
- canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
164
- spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulean,
165
- surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
166
- denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
167
- lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
168
- storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
169
- alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
170
- gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
171
- alto, athens-gray, sonic-silver {
172
- &_$(palette) {
173
- &-item {
157
+ &_hover_$(palette) {
158
+ &:hover {
159
+ & svg {
160
+ stroke: none;
161
+ fill: var(--color-$(type)-fill-$(color));
162
+ }
163
+ }
164
+ &-item {
165
+ &:hover {
174
166
  & svg {
175
167
  stroke: none;
176
- fill: var(--color-palette-$(palette));
168
+ fill: var(--color-$(type)-item-$(color));
177
169
  }
178
170
  }
171
+ }
172
+ }
173
+ &_$(palette) {
174
+ &-item {
179
175
  & svg {
180
176
  stroke: none;
181
177
  fill: var(--color-palette-$(palette));
182
178
  }
183
179
  }
184
- }
185
- }
186
- }
187
- .icon_fill {
188
- &_active {
189
- &_hover {
190
- @each $type in accent, primary, secondary, tertiary, quaternary, surface,
191
- error, success, warning, info, danger {
192
- &_$(type) {
193
- &-item {
194
- @each $color in primary, secondary, tertiary, quaternary {
195
- &-$(color) {
196
- &:hover {
197
- & svg {
198
- stroke: none;
199
- fill: var(--color-$(type)-item-$(color));
200
- }
201
- }
202
- }
203
- }
204
- }
205
- @each $color in primary, secondary, tertiary, quaternary {
206
- &-$(color) {
207
- &:hover {
208
- & svg {
209
- stroke: none;
210
- fill: var(--color-$(type)-fill-$(color));
211
- }
212
- }
213
- }
214
- }
215
- }
216
- }
217
- @each $palette in red, neon-pink, electric-pink, hibiscus, pink,
218
- pink-citrus, pomegranate, dragon-fruit, camellia, red-rose, plum, orange,
219
- clementine, apricot, papaya, kumquat, light-orange, peach, flamingo,
220
- rose-gold, pink-sand, vintage-rose, grapefruit, cream, mellow-yellow,
221
- canary-yellow, pollen, flash-light, lemon-cream, flash, dark-green, green,
222
- spearmint, mint, beryl, sea-foam, turquoise, blue, light-blue, cerulean,
223
- surf-blue, pacific-green, blue-cobalt, dark-teal, blue-horizon,
224
- denim-blue, linen-blue, deep-navy, midnight-blue, purple, ultra-violet,
225
- lilac, ocean-blue, delft-blue, indigo, lavender-gray, lavender, mist-blue,
226
- storm-gray, cactus, pine-green, cyprus-green, northern-blue, azure,
227
- alaskan-blue, khaki, dark-olive, soft-white, antique-white, yellow-gold,
228
- gold, camel, walnut, stone, pebble, cocoa, coastal-gray, white, black,
229
- alto, athens-gray, sonic-silver {
230
- &_$(palette) {
231
- &:hover {
232
- & svg {
233
- stroke: none;
234
- fill: var(--color-palette-$(palette));
235
- }
236
- }
237
- &-item {
238
- &:hover {
239
- & svg {
240
- stroke: none;
241
- fill: var(--color-palette-$(palette));
242
- }
243
- }
244
- }
245
- }
180
+ & svg {
181
+ stroke: none;
182
+ fill: var(--color-palette-$(palette));
246
183
  }
247
184
  }
248
185
  }
@@ -273,9 +210,9 @@
273
210
  @each $size in 12, 14, 16, 20, 24, 32, 40 {
274
211
  &^^&_size_$(size) {
275
212
  & ^^^&__badge {
213
+ position: absolute;
276
214
  top: 0;
277
215
  right: 0;
278
- position: absolute;
279
216
  transform: translate(var(--icon-size-$(size)-badge-position));
280
217
  }
281
218
  }
@@ -18,6 +18,16 @@
18
18
  &:focus {
19
19
  outline: 0;
20
20
  }
21
+ &-absolute-header {
22
+ & .modal__header {
23
+ position: sticky;
24
+ top: 0;
25
+ z-index: 100;
26
+ }
27
+ & .modal__close {
28
+ position: absolute;
29
+ }
30
+ }
21
31
  &-wrapper {
22
32
  width: 100%;
23
33
  }
@@ -69,7 +79,7 @@
69
79
  ^^&__header {
70
80
  position: sticky;
71
81
  top: 0;
72
- z-index: 1;
82
+ z-index: 100;
73
83
  }
74
84
  ^^&__content {
75
85
  &-wrapper {