File tree Expand file tree Collapse file tree 3 files changed +33
-33
lines changed Expand file tree Collapse file tree 3 files changed +33
-33
lines changed Original file line number Diff line number Diff line change 3
3
< md-nav-list >
4
4
< a md-list-item [routerLink] ="['ButtonDemo'] "> Button</ a >
5
5
< a md-list-item [routerLink] ="['CardDemo'] "> Card</ a >
6
- < a md-list-item [routerLink] ="['ProgressCircleDemo'] "> Progress Circle</ a >
7
- < a md-list-item [routerLink] ="['ProgressBarDemo'] "> Progress Bar</ a >
8
- < a md-list-item [routerLink] ="['PortalDemo'] "> Portal</ a >
9
- < a md-list-item [routerLink] ="['OverlayDemo'] "> Overlay</ a >
10
6
< a md-list-item [routerLink] ="['CheckboxDemo'] "> Checkbox</ a >
7
+ < a md-list-item [routerLink] ="['GesturesDemo'] "> Gestures</ a >
11
8
< a md-list-item [routerLink] ="['InputDemo'] "> Input</ a >
12
- < a md-list-item [routerLink] ="['ToolbarDemo'] "> Toolbar</ a >
13
- < a md-list-item [routerLink] ="['RadioDemo'] "> Radio</ a >
14
9
< a md-list-item [routerLink] ="['ListDemo'] "> List</ a >
15
10
< a md-list-item [routerLink] ="['LiveAnnouncerDemo'] "> Live Announcer</ a >
11
+ < a md-list-item [routerLink] ="['OverlayDemo'] "> Overlay</ a >
12
+ < a md-list-item [routerLink] ="['PortalDemo'] "> Portal</ a >
13
+ < a md-list-item [routerLink] ="['ProgressCircleDemo'] "> Progress Circle</ a >
14
+ < a md-list-item [routerLink] ="['ProgressBarDemo'] "> Progress Bar</ a >
15
+ < a md-list-item [routerLink] ="['RadioDemo'] "> Radio</ a >
16
16
< a md-list-item [routerLink] ="['SidenavDemo'] "> Sidenav</ a >
17
- < a md-list-item [routerLink] ="['GesturesDemo '] "> Gestures </ a >
17
+ < a md-list-item [routerLink] ="['ToolbarDemo '] "> Toolbar </ a >
18
18
</ md-nav-list >
19
19
< button md-raised-button (click) ="start.close() "> CLOSE</ button >
20
20
</ md-sidenav >
Original file line number Diff line number Diff line change @@ -39,22 +39,6 @@ <h4 md-line>{{message.from}}</h4>
39
39
< p md-line class ="demo-secondary-text "> {{message.message}} </ p >
40
40
</ md-list-item >
41
41
</ md-list >
42
- < div *ngIf ="infoClicked ">
43
- More info!
44
- </ div >
45
- < md-nav-list >
46
- < md-list-item *ngFor ="#link of links ">
47
- < a md-line href ="http://www.google.com "> {{ link.name }}</ a >
48
- < button md-icon-button (click) ="infoClicked=!infoClicked ">
49
- < i class ="material-icons "> info</ i >
50
- </ button >
51
- </ md-list-item >
52
- </ md-nav-list >
53
- < md-nav-list >
54
- < a md-list-item *ngFor ="#link of links " href ="http://www.google.com ">
55
- {{ link.name }}
56
- </ a >
57
- </ md-nav-list >
58
42
</ div >
59
43
60
44
< div >
@@ -82,18 +66,38 @@ <h4 md-line>{{message.from}}</h4>
82
66
< p md-line class ="demo-secondary-text "> {{message.message}} </ p >
83
67
</ md-list-item >
84
68
</ md-list >
85
- < md-nav-list dense >
69
+ </ div >
70
+ < div >
71
+ < h2 > Nav lists</ h2 >
72
+ < md-nav-list >
73
+ < a md-list-item *ngFor ="#link of links " href ="http://www.google.com ">
74
+ {{ link.name }}
75
+ </ a >
76
+ </ md-nav-list >
77
+ < div *ngIf ="infoClicked ">
78
+ More info!
79
+ </ div >
80
+ < md-nav-list >
86
81
< md-list-item *ngFor ="#link of links ">
87
82
< a md-line href ="http://www.google.com "> {{ link.name }}</ a >
88
83
< button md-icon-button (click) ="infoClicked=!infoClicked ">
89
84
< i class ="material-icons "> info</ i >
90
85
</ button >
91
86
</ md-list-item >
92
87
</ md-nav-list >
93
- < md-nav-list dense >
88
+ < md-nav-list >
94
89
< a md-list-item *ngFor ="#link of links " href ="http://www.google.com ">
95
- {{ link.name }}
90
+ < span md-line > {{ link.name }}</ span >
91
+ < span md-line class ="demo-secondary-text "> Description </ span >
96
92
</ a >
97
93
</ md-nav-list >
94
+ < md-nav-list dense >
95
+ < md-list-item *ngFor ="#link of links ">
96
+ < a md-line href ="http://www.google.com "> {{ link.name }}</ a >
97
+ < button md-icon-button (click) ="infoClicked=!infoClicked ">
98
+ < i class ="material-icons "> info</ i >
99
+ </ button >
100
+ </ md-list-item >
101
+ </ md-nav-list >
98
102
</ div >
99
103
</ div >
Original file line number Diff line number Diff line change 1
1
2
2
.demo {
3
- width : 350px ;
4
3
display : flex ;
4
+ flex-flow : row wrap ;
5
5
6
6
md-list , md-nav-list {
7
7
border : 1px solid rgba (0 ,0 ,0 ,0.12 );
8
8
width : 350px ;
9
- margin : 20px ;
9
+ margin : 20px 20 px 0 0 ;
10
10
11
11
}
12
12
h2 {
13
- margin : 0 20px ;
13
+ margin-top : 20px ;
14
14
}
15
15
16
16
i {
17
17
color : rgba (0 ,0 ,0 ,0.12 );
18
18
}
19
19
}
20
20
21
- .demo-button {
22
- margin : 20px ;
23
- }
24
-
25
21
.demo-secondary-text {
26
22
color : rgba (0 , 0 , 0 , 0.54 );
27
23
}
You can’t perform that action at this time.
0 commit comments