This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree 4 files changed +26
-7
lines changed
4 files changed +26
-7
lines changed Original file line number Diff line number Diff line change 4
4
@import ' ./app/pages/component-viewer/component-viewer-theme' ;
5
5
@import ' ./app/pages/component-list/component-list-theme' ;
6
6
@import ' ./app/pages/component-category-list/component-category-list-theme' ;
7
+ @import ' ./app/pages/guide-list/guide-list-theme' ;
7
8
8
9
@import ' ./styles/api-theme' ;
9
10
@import ' ./styles/markdown-theme' ;
50
51
@include nav-bar-theme ($theme );
51
52
@include example-viewer-theme ($theme );
52
53
@include footer-theme ($theme );
54
+ @include guide-list-theme ($theme );
53
55
}
Original file line number Diff line number Diff line change
1
+ @import ' ~@angular/material/theming' ;
2
+
3
+ @mixin guide-list-theme ($theme ) {
4
+ $primary : map-get ($theme , primary );
5
+ $accent : map-get ($theme , accent );
6
+ $warn : map-get ($theme , warn );
7
+ $background : map-get ($theme , background );
8
+ $foreground : map-get ($theme , foreground );
9
+
10
+ .docs-guide-list .docs-guide-item {
11
+ color : mat-color ($primary );
12
+ }
13
+ }
Original file line number Diff line number Diff line change 1
1
< div class ="docs-primary-header ">
2
2
< h1 > Guides</ h1 >
3
3
</ div >
4
- < md-list class ="docs-guide-list-item ">
5
- < a md-list-item
6
- *ngFor ="let guide of guideItems.getAllItems() "
7
- [routerLink] ="['/guide/', guide.id] ">
8
- {{guide.name}}
4
+
5
+ < md-nav-list class ="docs-guide-list ">
6
+ < a md-list-item *ngFor ="let guide of guideItems.getAllItems() "
7
+ class ="docs-guide-item "
8
+ [routerLink] ="['/guide/', guide.id] ">
9
+ {{guide.name}}
9
10
</ a >
10
- </ md-list >
11
+ </ md-nav- list >
11
12
12
13
< app-footer > </ app-footer >
Original file line number Diff line number Diff line change 4
4
flex-grow : 1 ;
5
5
}
6
6
7
- .docs-guide-list-item {
7
+ .docs-guide-list {
8
8
margin : 50px ;
9
9
flex-grow : 1 ;
10
10
}
11
11
12
+ .docs-guide-item , .docs-guide-item :hover {
13
+ text-decoration : none ;
14
+ }
You can’t perform that action at this time.
0 commit comments