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 33 < md-nav-list >
44 < a md-list-item [routerLink] ="['ButtonDemo'] "> Button</ a >
55 < 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 >
106 < a md-list-item [routerLink] ="['CheckboxDemo'] "> Checkbox</ a >
7+ < a md-list-item [routerLink] ="['GesturesDemo'] "> Gestures</ a >
118 < 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 >
149 < a md-list-item [routerLink] ="['ListDemo'] "> List</ a >
1510 < 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 >
1616 < 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 >
1818 </ md-nav-list >
1919 < button md-raised-button (click) ="start.close() "> CLOSE</ button >
2020 </ md-sidenav >
Original file line number Diff line number Diff line change @@ -39,22 +39,6 @@ <h4 md-line>{{message.from}}</h4>
3939 < p md-line class ="demo-secondary-text "> {{message.message}} </ p >
4040 </ md-list-item >
4141 </ 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 >
5842 </ div >
5943
6044 < div >
@@ -82,18 +66,38 @@ <h4 md-line>{{message.from}}</h4>
8266 < p md-line class ="demo-secondary-text "> {{message.message}} </ p >
8367 </ md-list-item >
8468 </ 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 >
8681 < md-list-item *ngFor ="#link of links ">
8782 < a md-line href ="http://www.google.com "> {{ link.name }}</ a >
8883 < button md-icon-button (click) ="infoClicked=!infoClicked ">
8984 < i class ="material-icons "> info</ i >
9085 </ button >
9186 </ md-list-item >
9287 </ md-nav-list >
93- < md-nav-list dense >
88+ < md-nav-list >
9489 < 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 >
9692 </ a >
9793 </ 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 >
98102 </ div >
99103</ div >
Original file line number Diff line number Diff line change 11
22.demo {
3- width : 350px ;
43 display : flex ;
4+ flex-flow : row wrap ;
55
66 md-list , md-nav-list {
77 border : 1px solid rgba (0 ,0 ,0 ,0.12 );
88 width : 350px ;
9- margin : 20px ;
9+ margin : 20px 20 px 0 0 ;
1010
1111 }
1212 h2 {
13- margin : 0 20px ;
13+ margin-top : 20px ;
1414 }
1515
1616 i {
1717 color : rgba (0 ,0 ,0 ,0.12 );
1818 }
1919}
2020
21- .demo-button {
22- margin : 20px ;
23- }
24-
2521.demo-secondary-text {
2622 color : rgba (0 , 0 , 0 , 0.54 );
2723}
You can’t perform that action at this time.
0 commit comments