Skip to content

Commit 3cbcfd6

Browse files
committed
put disabled style in theme.scss
1 parent ae943f4 commit 3cbcfd6

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/lib/list/_list-theme.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
.mat-subheader {
2121
color: mat-color($foreground, secondary-text);
2222
}
23+
24+
.mat-list-item-disabled {
25+
background: #ededed;
26+
}
2327
}
2428

2529
.mat-divider {
@@ -69,6 +73,10 @@
6973
.mat-subheader {
7074
@include mat-typography-level-to-styles($config, body-2);
7175
}
76+
77+
.mat-list-item-disabled {
78+
background: #ededed;
79+
}
7280
}
7381

7482
// Dense list
@@ -86,5 +94,9 @@
8694
.mat-subheader {
8795
font: mat-font-weight($config, body-2) mat-font-size($config, caption) $font-family;
8896
}
97+
98+
.mat-list-item-disabled {
99+
background: #ededed;
100+
}
89101
}
90102
}

src/lib/list/list.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ $mat-dense-list-icon-size: 20px;
4343
position: relative;
4444
}
4545

46-
.mat-list-item-disabled {
47-
background: #ededed;
48-
}
49-
5046
.mat-list-item-content-reverse {
5147
display: flex;
5248
align-items: center;

0 commit comments

Comments
 (0)