File tree Expand file tree Collapse file tree 6 files changed +27
-27
lines changed
projects/igniteui-angular/src/lib/core/styles/components Expand file tree Collapse file tree 6 files changed +27
-27
lines changed Original file line number Diff line number Diff line change 406
406
407
407
$cal-header-year-margin : 0 ;
408
408
$cal-header-date-margin : 0 ;
409
- $cal-header-padding : em (16px );
409
+ $cal-header-padding : rem (16px );
410
410
411
411
$variant : map .get ($theme , ' variant' );
412
412
$bootstrap-theme : $variant == ' bootstrap' ;
413
413
$not-bootstrap-theme : $variant != ' bootstrap' ;
414
414
415
415
$cal-picker-padding : map .get ((
416
- material: em (16px ),
417
- fluent: em (16px ),
418
- bootstrap: em (8px ),
419
- indigo- design: em (16px ),
416
+ material: rem (16px ),
417
+ fluent: rem (16px ),
418
+ bootstrap: rem (8px ),
419
+ indigo- design: rem (16px ),
420
420
), $variant );
421
421
422
422
$cal-value-w : map .get ((
423
- material: em (40px ),
424
- fluent: em (40px ),
425
- bootstrap: em (32px ),
426
- indigo- design: em (40px ),
423
+ material: rem (40px ),
424
+ fluent: rem (40px ),
425
+ bootstrap: rem (32px ),
426
+ indigo- design: rem (40px ),
427
427
), $variant );
428
428
429
429
$border-width : map .get ((
444
444
$cal-value-br : math .div ($cal-value-w , 2 );
445
445
$cal-value-fw : 600 ;
446
446
447
- $cal-value-month-margin : 0 em (12px );
448
- $cal-value-month-height : em (91px );
447
+ $cal-value-month-margin : 0 rem (12px );
448
+ $cal-value-month-height : rem (91px );
449
449
450
450
$cal-row-padding : rem (8px );
451
451
$cal-row-margin : rem (2px ) 0 ;
516
516
flex-flow : row nowrap ;
517
517
518
518
%cal-header-display {
519
- min-width : em (168px );
519
+ min-width : rem (168px );
520
520
}
521
521
}
522
522
555
555
556
556
%cal-picker-display {
557
557
display : flex ;
558
- height : em (56px );
558
+ height : rem (56px );
559
559
align-items : center ;
560
560
padding-bottom : $cal-picker-padding ;
561
561
background : var-get ($theme , ' picker-background-color' );
Original file line number Diff line number Diff line change 93
93
94
94
// If updating the WIDTH of the checkbox here, please update it in the grid theme as well.
95
95
// It is under the name of $cbx-size
96
- $size : em (20px );
97
- $size-bs : em (16px );
96
+ $size : rem (20px );
97
+ $size-bs : rem (16px );
98
98
$checkbox-radius : math .div ($size , 2 );
99
99
100
100
$variant : map .get ($theme , variant );
121
121
indigo- design: none ,
122
122
), $variant );
123
123
124
- $label-margin : em (8px );
124
+ $label-margin : rem (8px );
125
125
126
126
$mark-stroke : map .get ((
127
127
material: 3 ,
140
140
$mark-length : 24 ;
141
141
$mark-x-factor : math .div ($mark-stroke , $mark-length );
142
142
143
- $ripple-size : em (48px );
143
+ $ripple-size : rem (48px );
144
144
$ripple-radius : math .div ($ripple-size , 2 );
145
145
146
146
$ripple-theme : ripple-theme (
Original file line number Diff line number Diff line change 281
281
%igx-grid-toolbar__dd-list-items {
282
282
cursor : pointer ;
283
283
position : relative ;
284
- padding : em (8px ) em (16px );
284
+ padding : rem (8px ) rem (16px );
285
285
color : var-get ($theme , ' item-text-color' );
286
286
white-space : nowrap ;
287
287
Original file line number Diff line number Diff line change 125
125
), $variant );
126
126
127
127
$stripe-color : var-get ($theme , ' stripes-color' );
128
- $value-fs : em (14px , 16px );
128
+ $value-fs : rem (14px , 16px );
129
129
$value-fw : 600 ;
130
130
$value-margin : 0 ;
131
131
Original file line number Diff line number Diff line change 77
77
@include css-vars ($theme );
78
78
@include scale-in-out ($start-scale : .9 );
79
79
80
- $label-margin : em (8px );
80
+ $label-margin : rem (8px );
81
81
82
82
$variant : map .get ($theme , variant );
83
83
$bootstrap-theme : $variant == ' bootstrap' ;
84
84
$not-bootstrap-theme : $variant != ' bootstrap' ;
85
85
86
86
$size : map .get ((
87
- material: em (20px ),
88
- fluent: em (20px ),
89
- bootstrap: em (16px ),
90
- indigo- design: em (20px ),
87
+ material: rem (20px ),
88
+ fluent: rem (20px ),
89
+ bootstrap: rem (16px ),
90
+ indigo- design: rem (20px ),
91
91
), $variant );
92
92
93
93
$scale : map .get ((
120
120
121
121
$transition : all .2s ease-in ;
122
122
123
- $ripple-size : em (48px );
123
+ $ripple-size : rem (48px );
124
124
$ripple-radius : math .div ($ripple-size , 2 );
125
125
126
126
$ripple-theme : ripple-theme (
Original file line number Diff line number Diff line change 232
232
233
233
$switch-thumb-height : $switch-thumb-width ;
234
234
235
- $ripple-size : em (48px );
235
+ $ripple-size : rem (48px );
236
236
$ripple-radius : math .div ($ripple-size , 2 );
237
237
238
- $label-margin : em (8px );
238
+ $label-margin : rem (8px );
239
239
240
240
$input-transition : all .2s $ease-in-out-quad ;
241
241
You can’t perform that action at this time.
0 commit comments