File tree 2 files changed +16
-1
lines changed
projects/igniteui-angular/src/lib
core/styles/components/calendar
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,6 @@ export class IgxDayItemComponent {
54
54
public isFirstInRange = false ;
55
55
56
56
@Input ( )
57
- @HostBinding ( 'class.igx-calendar__date--range' )
58
57
public isWithinRange = false ;
59
58
60
59
@Output ( )
@@ -122,6 +121,10 @@ export class IgxDayItemComponent {
122
121
123
122
return isDateInRanges ( this . date . date , this . outOfRangeDates ) ;
124
123
}
124
+ @HostBinding ( 'class.igx-calendar__date--range' )
125
+ public get isWithinRangeCSS ( ) : boolean {
126
+ return ! this . isSingleSelection && this . isWithinRange ;
127
+ }
125
128
126
129
@HostBinding ( 'class.igx-calendar__date--special' )
127
130
public get isSpecial ( ) : boolean {
Original file line number Diff line number Diff line change 652
652
}
653
653
}
654
654
655
+ %cal-value--inactive %cal-value--selected %cal-value--first {
656
+ & ::after {
657
+ background : transparent !important ;
658
+ }
659
+ }
660
+
661
+ %cal-value--inactive %cal-value--selected %cal-value--last {
662
+ & ::before {
663
+ background : transparent !important ;
664
+ }
665
+ }
666
+
655
667
%cal-value--first {
656
668
position : relative ;
657
669
background : transparent ;
You can’t perform that action at this time.
0 commit comments