|
18 | 18 | $not-bootstrap-theme: $variant != 'bootstrap';
|
19 | 19 | $bootstrap-theme: $variant == 'bootstrap';
|
20 | 20 |
|
21 |
| - $vertical-space-comfortable: rem(16px); |
22 |
| - $vertical-space-cosy: rem(12px); |
23 |
| - $vertical-space-compact: rem(8px); |
24 |
| - $horizontal-space-comfortable: rem(16px); |
25 |
| - $horizontal-space-cosy: rem(12px); |
26 |
| - $horizontal-space-compact: rem(8px); |
| 21 | + $vertical-space-comfortable: spacing(16px, 'comfortable'); |
| 22 | + $vertical-space-cosy: spacing(12px, 'cosy'); |
| 23 | + $vertical-space-compact: spacing(8px, 'compact'); |
| 24 | + $horizontal-space-comfortable: spacing(16px, 'comfortable'); |
| 25 | + $horizontal-space-cosy: spacing(12px, 'cosy'); |
| 26 | + $horizontal-space-compact: spacing(8px, 'compact'); |
27 | 27 |
|
28 | 28 | $bootstrap-theme: $variant == 'bootstrap';
|
29 | 29 |
|
|
59 | 59 |
|
60 | 60 | %advanced-filter__main {
|
61 | 61 | display: block;
|
62 |
| - padding: rem(16px); |
| 62 | + padding: spacing(16px); |
63 | 63 | overflow: auto;
|
64 | 64 | min-height: 214px;
|
65 | 65 | max-height: 468px;
|
66 | 66 |
|
67 | 67 | [igxButton] + [igxButton] {
|
68 |
| - margin-inline-start: rem(8px); |
| 68 | + margin-inline-start: spacing(8px); |
69 | 69 | }
|
70 | 70 | }
|
71 | 71 |
|
|
74 | 74 | width: rem(18px);
|
75 | 75 | height: rem(18px);
|
76 | 76 | font-size: rem(18px);
|
77 |
| - margin-inline-end: rem(8px); |
| 77 | + margin-inline-end: spacing(8px); |
78 | 78 | }
|
79 | 79 | }
|
80 | 80 |
|
|
141 | 141 | }
|
142 | 142 |
|
143 | 143 | %filter-tree__expression-column {
|
144 |
| - padding: 0 rem(8px); |
| 144 | + padding: 0 spacing(8px); |
145 | 145 | }
|
146 | 146 |
|
147 | 147 | %filter-tree__expression-actions {
|
148 | 148 | display: inline-flex;
|
149 |
| - margin: 0 rem(8px); |
| 149 | + margin: 0 spacing(8px); |
150 | 150 |
|
151 | 151 | igx-icon {
|
152 | 152 | cursor: pointer;
|
|
160 | 160 | }
|
161 | 161 |
|
162 | 162 | igx-icon + igx-icon {
|
163 |
| - margin-inline-start: rem(8px); |
| 163 | + margin-inline-start: spacing(8px); |
164 | 164 | }
|
165 | 165 | }
|
166 | 166 |
|
|
189 | 189 | igx-select + igx-input-group,
|
190 | 190 | igx-select + igx-date-picker,
|
191 | 191 | igx-input-group + igx-select {
|
192 |
| - margin-inline-start: rem(8px); |
| 192 | + margin-inline-start: spacing(8px); |
193 | 193 | }
|
194 | 194 |
|
195 | 195 | + %filter-tree,
|
|
200 | 200 |
|
201 | 201 | %filter-tree__inputs-actions {
|
202 | 202 | display: flex;
|
203 |
| - margin: 0 rem(8px); |
| 203 | + margin: 0 spacing(8px); |
204 | 204 | align-items: center;
|
205 | 205 |
|
206 | 206 | [igxButton] {
|
207 | 207 | transition: none;
|
208 | 208 | }
|
209 | 209 |
|
210 | 210 | [igxButton] + [igxButton] {
|
211 |
| - margin-inline-start: rem(8px); |
| 211 | + margin-inline-start: spacing(8px); |
212 | 212 | }
|
213 | 213 | }
|
214 | 214 |
|
|
230 | 230 | height: rem(24px);
|
231 | 231 | background: white;
|
232 | 232 | border-radius: border-radius(rem(4px));
|
233 |
| - margin-inline-end: rem(8px); |
| 233 | + margin-inline-end: spacing(8px); |
234 | 234 | }
|
235 | 235 |
|
236 | 236 | + %filter-legend__item {
|
237 |
| - margin-inline-start: rem(24px); |
| 237 | + margin-inline-start: spacing(24px); |
238 | 238 | }
|
239 | 239 | }
|
240 | 240 |
|
|
252 | 252 | flex-flow: column;
|
253 | 253 | width: 196px;
|
254 | 254 | background-color: var-get($theme, 'filtering-row-background');
|
255 |
| - padding: rem(16px); |
256 |
| - margin-inline-start: rem(16px); |
| 255 | + padding: spacing(16px); |
| 256 | + margin-inline-start: spacing(16px); |
257 | 257 | border-radius: border-radius(rem(4px));
|
258 | 258 | border: 1px solid color($palette, 'grays', 200);
|
259 | 259 |
|
|
269 | 269 | }
|
270 | 270 |
|
271 | 271 | [igxButton] > igx-icon + * {
|
272 |
| - margin-inline-start: 8px; |
| 272 | + margin-inline-start: spacing(8px); |
273 | 273 | }
|
274 | 274 |
|
275 | 275 | igx-buttongroup > * {
|
|
333 | 333 |
|
334 | 334 | %advanced-filter__main,
|
335 | 335 | %advanced-filter__header {
|
336 |
| - padding: $vertical-space-cosy rem(16px); |
| 336 | + padding: $vertical-space-cosy spacing(16px, 'cosy'); |
337 | 337 | }
|
338 | 338 |
|
339 | 339 | %filter-tree__expression-actions igx-icon {
|
|
392 | 392 |
|
393 | 393 | %advanced-filter__main,
|
394 | 394 | %advanced-filter__header {
|
395 |
| - padding: $vertical-space-compact rem(16px); |
| 395 | + padding: $vertical-space-compact spacing(16px, 'compact'); |
396 | 396 | }
|
397 | 397 |
|
398 | 398 | %filter-tree__expression-actions igx-icon {
|
|
0 commit comments