I am looking for a option to do a angular mat slider as attached. enter image description here
I am develop something like the below using overriding the style of mat slider. But unable to do the following.
- Adding two small lines inside the square box.
- Adding custom color for the second part of the slider.( use light blue color instead of grey color. )
HTML:
<mat-slider [(ngModel)]="value1"></mat-slider>
**styles.sass:**
.mat-slider.mat-slider-horizontal .mat-slider-wrapper
top: 18px
.mat-slider.mat-slider-horizontal .mat-slider-track-wrapper
height: 12px
border-radius: 10px
.mat-slider.mat-slider-horizontal .mat-slider-track-background,
.mat-slider.mat-slider-horizontal .mat-slider-track-fill
height: 100%
.mat-slider.mat-slider-horizontal .mat-slider-track-fill
background-color: #7eacff
.mat-accent .mat-slider-thumb
height: 30px
width: 30px
background-color: white
border: solid 2px #f6f7f8
bottom: -20px
right: -20px
.mat-slider-min-value:not(.mat-slider-thumb-label-showing) .mat-slider-thumb
background-color: white
.mat-form-field
width: 85px
.mat-progress-spinner circle, .mat-spinner circle
stroke: #3fb53f
.mat-accent .mat-slider-thumb
height: 30px
width: 30px
background-color: white
/* border: solid 1px #003087; */
bottom: -20px
right: -20px
border-radius: 8px