File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed
projects/igniteui-angular/src/lib/core/styles/components/list Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 6969 border-radius : var-get ($theme , ' border-radius' );
7070
7171 @if $variant == ' bootstrap' {
72- border : rem ( 1 px ) solid var-get ($theme , ' border-color' );
72+ border : var-get ( $theme , ' border-width ' ) solid var-get ($theme , ' border-color' );
7373 }
7474
7575 & :focus-visible {
137137 justify-content : center ;
138138 border-radius : var-get ($theme , ' item-border-radius' );
139139 color : var-get ($theme , ' item-text-color' );
140+ border-bottom : var-get ($theme , ' border-width' ) solid var-get ($theme , ' border-color' );
140141
141- @if $bootstrap-theme or $variant == ' fluent' {
142- border-bottom : var-get ($theme , ' border-width' ) solid var-get ($theme , ' border-color' );
143-
144- & :last-of-type {
145- border-bottom : none ;
146- }
142+ & :last-of-type {
143+ border-bottom : none ;
147144 }
148145
149146 & :hover {
285282 --component-size : #{if ($variant == ' indigo' , 2 , var (--list-size ))} ;
286283 }
287284
285+ igx-icon ,
286+ igc-icon {
287+ color : var-get ($theme , ' item-thumbnail-color' );
288+ }
289+
288290 & :empty {
289291 display : none ;
290292 }
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ <h5 class="sample-title">WC List</h5>
5555 < span > Employees List</ span >
5656 </ igc-list-header >
5757 @for(employee of employeeItems; track employee){
58- < igc-list-item >
58+ < igc-list-item [selected] =" employee.selected " >
5959 @if(properties.addAvatarThumbnail) {
6060 < igc-avatar slot ="start " [src] ="employee.imageURL "> </ igc-avatar >
6161 }
@@ -69,7 +69,7 @@ <h5 class="sample-title">WC List</h5>
6969 < span slot ="subtitle "> {{employee.position}}</ span >
7070 }
7171 @if(properties.addCheckboxAction) {
72- < igc-checkbox slot ="end "> </ igc-checkbox >
72+ < igc-checkbox slot ="end " [checked] =" employee.selected " > </ igc-checkbox >
7373 }
7474 @if(properties.addIconAction) {
7575 < igc-icon slot ="end " name ="info "> </ igc-icon >
You can’t perform that action at this time.
0 commit comments