File tree Expand file tree Collapse file tree 6 files changed +52
-69
lines changed Expand file tree Collapse file tree 6 files changed +52
-69
lines changed Original file line number Diff line number Diff line change 1
-
2
- /* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
3
1
mat-card {
4
- background-color : transparent;
2
+ background-color : transparent;
5
3
}
Original file line number Diff line number Diff line change 1
-
2
- /* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
3
1
mat-card {
4
- background-color : transparent;
2
+ background-color : transparent;
5
3
}
6
4
7
5
# subtitle {
8
- max-width : 85% ;
9
- overflow : hidden;
10
- white-space : nowrap;
11
- text-overflow : ellipsis;
6
+ max-width : 85% ;
7
+ overflow : hidden;
8
+ white-space : nowrap;
9
+ text-overflow : ellipsis;
12
10
}
Original file line number Diff line number Diff line change 1
-
2
- /* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
3
1
mat-card {
4
- background-color : transparent;
2
+ background-color : transparent;
5
3
}
6
4
7
5
# subtitle {
8
- max-width : 85% ;
9
- overflow : hidden;
10
- white-space : nowrap;
11
- text-overflow : ellipsis;
6
+ max-width : 85% ;
7
+ overflow : hidden;
8
+ white-space : nowrap;
9
+ text-overflow : ellipsis;
12
10
}
13
11
14
-
15
12
div .card {
16
- padding : 10px ;
17
- padding-bottom : 8px ;
18
- width : 100% ;
13
+ padding : 10px ;
14
+ padding-bottom : 8px ;
15
+ width : 100% ;
19
16
}
20
- .fixed-bottom {
21
- align-self : flex-end;
22
- align-content : right;
17
+ .fixed-bottom {
18
+ align-self : flex-end;
19
+ align-content : right;
23
20
}
24
21
25
22
table .card-table {
26
- table-layout : fixed;
27
- width : 100% ;
23
+ table-layout : fixed;
24
+ width : 100% ;
28
25
}
29
26
30
27
.avatar {
31
- width : 50px ;
28
+ width : 50px ;
32
29
}
33
30
34
- .close {
35
- scale : 0.5 ;
36
- color : red;
31
+ .close {
32
+ scale : 0.5 ;
33
+ color : red;
37
34
}
38
35
39
36
.avatar img {
40
- height : 50px ;
41
- width : 50px ;
42
- background : url (' /assets/lotus_placeholder.png' ) no-repeat;
43
- background-size : contain;
37
+ height : 50px ;
38
+ width : 50px ;
39
+ background : url (" /assets/lotus_placeholder.png" ) no-repeat;
40
+ background-size : contain;
44
41
}
45
42
46
43
div .content {
47
- margin : 0 ;
48
- margin-left : 5px ;
49
- font-size : 0.9em ;
50
- width : 100% ;
44
+ margin : 0 ;
45
+ margin-left : 5px ;
46
+ font-size : 0.9em ;
47
+ width : 100% ;
51
48
}
52
49
53
50
div .content p {
54
- margin : 0.3em 0 ;
55
- width : calc (100% - 2em );
51
+ margin : 0.3em 0 ;
52
+ width : calc (100% - 2em );
56
53
}
57
54
58
55
.card-sub-title {
59
- color : gray;
60
- white-space : nowrap;
61
- overflow : hidden;
62
- text-overflow : ellipsis;
56
+ color : gray;
57
+ white-space : nowrap;
58
+ overflow : hidden;
59
+ text-overflow : ellipsis;
63
60
}
64
61
65
62
.badge {
66
- width : 30px ;
67
- padding-right : 5px ;
63
+ width : 30px ;
64
+ padding-right : 5px ;
68
65
}
69
66
70
67
.badge img {
71
- height : 20px ; width : 20px ;
68
+ height : 20px ;
69
+ width : 20px ;
72
70
}
Original file line number Diff line number Diff line change 1
-
2
- /* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
3
1
mat-card {
4
- background-color : transparent;
2
+ background-color : transparent;
5
3
}
6
4
7
5
# subtitle {
8
- max-width : 85% ;
9
- height : fit-content;
10
- white-space : normal;
11
- overflow : hidden;
12
- word-wrap : break-word;
13
- }
6
+ max-width : 85% ;
7
+ height : fit-content;
8
+ white-space : normal;
9
+ overflow : hidden;
10
+ word-wrap : break-word;
11
+ }
Original file line number Diff line number Diff line change 1
-
2
- /* TODO(mdc-migration): The following rule targets internal classes of card that may no longer apply for the MDC version. */
3
1
mat-card {
4
- background-color : transparent;
2
+ background-color : transparent;
5
3
}
6
4
7
5
.disabled {
8
- cursor : default;
9
- pointer-events : none;
6
+ cursor : default;
7
+ pointer-events : none;
10
8
}
Original file line number Diff line number Diff line change 1
1
@use " sass:map" ;
2
2
@use ' @angular/material' as mat ;
3
- // TODO(v15): As of v15 mat.legacy-core no longer includes default typography styles.
4
- // The following line adds:
5
- // 1. Default typography styles for all components
6
- // 2. Styles for typography hierarchy classes (e.g. .mat-headline-1)
7
- // If you specify typography styles for the components you use elsewhere, you should delete this line.
8
- // If you don't need the default component typographies but still want the hierarchy styles,
9
- // you can delete this line and instead use:
10
- // `@include mat.legacy-typography-hierarchy(mat.define-typography-config());`
3
+
11
4
@include mat .all-component-typographies ();
12
5
@include mat .elevation-classes ();
13
6
@include mat .app-background ();
You can’t perform that action at this time.
0 commit comments