File tree Expand file tree Collapse file tree 2 files changed +37
-3
lines changed
projects/igniteui-angular/src/lib
core/styles/components/button Expand file tree Collapse file tree 2 files changed +37
-3
lines changed Original file line number Diff line number Diff line change 387
387
compact : rem (36px )
388
388
);
389
389
390
+ $filtering-row-button-size : (
391
+ comfortable: rem (40px ),
392
+ cosy: rem (30px ),
393
+ compact : rem (21px )
394
+ );
395
+
390
396
$icon-in-button-margin : (
391
397
comfortable: rem (12px ),
392
398
cosy: rem (8px ),
481
487
white-space : nowrap ;
482
488
transition : $button-transition ;
483
489
490
+ @if ($variant == ' bootstrap' ) {
491
+ // important is needed to override the typography margins
492
+ margin : rem (4px ) !important ;
493
+ }
494
+
484
495
igx-icon {
485
496
display : flex ;
486
497
justify-content : center ;
513
524
}
514
525
}
515
526
527
+ igx-grid-filtering-row {
528
+ @if ($variant == ' bootstrap' ) {
529
+ %igx-button-display {
530
+ min-height : map .get ($filtering-row-button-size , ' comfortable' );
531
+ padding-block : 0 ;
532
+
533
+ > * {
534
+ display : flex ;
535
+ align-items : center ;
536
+ height : rem (18px );
537
+ }
538
+ }
539
+
540
+ %igx-button-display--cosy {
541
+ min-height : map .get ($filtering-row-button-size , ' cosy' );
542
+ }
543
+
544
+ %igx-button-display--compact {
545
+ min-height : map .get ($filtering-row-button-size , ' compact' );
546
+ }
547
+ }
548
+ }
549
+
516
550
%igx-button--flat {
517
551
background : var-get ($flat-theme , ' background' );
518
552
color : var-get ($flat-theme , ' foreground' );
Original file line number Diff line number Diff line change 162
162
</ igx-chip >
163
163
164
164
< span id ='operand ' *ngIf ="!last ">
165
- < button igxButton (click) ="toggleOperatorsDropDown($event, i) " [igxDropDownItemNavigation] ="operators " [displayDensity] ="column.grid. displayDensity ">
165
+ < button igxButton (click) ="toggleOperatorsDropDown($event, i) " [igxDropDownItemNavigation] ="operators " [displayDensity] ="displayDensity ">
166
166
< igx-icon > expand_more</ igx-icon >
167
167
< span > {{filteringService.getOperatorAsString(item.afterOperator)}}</ span >
168
168
</ button >
181
181
</ button >
182
182
183
183
< div #buttonsContainer [ngClass] ="isNarrowWidth ? 'igx-grid__filtering-row-editing-buttons--small' : 'igx-grid__filtering-row-editing-buttons' ">
184
- < button [displayDensity] ="column.grid. displayDensity " [igxButton] ="isNarrowWidth ? 'icon' : 'flat' " igxRipple (click) ="clearFiltering() " [disabled] ="disabled " [tabindex] ="disabled ">
184
+ < button [displayDensity] ="displayDensity " [igxButton] ="isNarrowWidth ? 'icon' : 'flat' " igxRipple (click) ="clearFiltering() " [disabled] ="disabled " [tabindex] ="disabled ">
185
185
< igx-icon > refresh</ igx-icon >
186
186
< span > {{isNarrowWidth ? '' : filteringService.grid.resourceStrings.igx_grid_filter_row_reset}}</ span >
187
187
</ button >
188
- < button #closeButton [displayDensity] ="column.grid. displayDensity " [igxButton] ="isNarrowWidth ? 'icon' : 'flat' " igxRipple (click) ="close() ">
188
+ < button #closeButton [displayDensity] ="displayDensity " [igxButton] ="isNarrowWidth ? 'icon' : 'flat' " igxRipple (click) ="close() ">
189
189
< igx-icon > close</ igx-icon >
190
190
< span > {{isNarrowWidth ? '' : filteringService.grid.resourceStrings.igx_grid_filter_row_close}}</ span >
191
191
</ button >
You can’t perform that action at this time.
0 commit comments