This repository was archived by the owner on Dec 18, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +80
-3
lines changed Expand file tree Collapse file tree 4 files changed +80
-3
lines changed Original file line number Diff line number Diff line change 88@import ' ./styles/typography-theme' ;
99@import ' ./app/shared/navbar/navbar-theme' ;
1010@import ' ./app/shared/example-viewer/example-viewer-theme' ;
11+ @import ' ./app/shared/footer/footer-theme' ;
12+
1113
1214// Styles for the docs app that are based on the current theme.
1315@mixin material-docs-app-theme ($theme ) {
4345 @include component-category-list-theme ($theme );
4446 @include nav-bar-theme ($theme );
4547 @include example-viewer-theme ($theme );
48+ @include footer-theme ($theme );
4649}
Original file line number Diff line number Diff line change 1+ @mixin footer-theme ($theme ) {
2+ $primary : map-get ($theme , primary );
3+ $accent : map-get ($theme , accent );
4+ $warn : map-get ($theme , warn );
5+ $background : map-get ($theme , background );
6+ $foreground : map-get ($theme , foreground );
7+
8+ app-footer {
9+ footer ul {
10+ a {
11+ color : md-color ($primary , default-contrast );
12+ }
13+ }
14+ }
15+ }
Original file line number Diff line number Diff line change 11< footer class ="docs-footer ">
2- Powered by Google ©2010-2016. Code licensed under an MIT-style License.
3- Documentation licensed under CC BY 4.0.
2+ < div class ="footer-list ">
3+ < div class ="footer-logo ">
4+ < img class ="docs-angular-logo "
5+ src ="../../../assets/img/homepage/angular-white-transparent.svg "
6+ alt ="Angular ">
7+ </ div >
8+
9+ < div class ="footer-links ">
10+ < ul class ="footer-links ">
11+ < li > < a class ="" href ="https://wwww.angular.io "> Learn Angular</ a > </ li >
12+ </ ul >
13+ </ div >
14+
15+ < div class ="footer-cc ">
16+ < p > Powered by Google ©2010-2016. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.</ p >
17+ </ div >
18+ </ div >
419</ footer >
Original file line number Diff line number Diff line change 11.docs-footer {
22 margin-top : 40px ;
33 padding : 15px ;
4- text-align : center ;
54 font-size : 12px ;
65}
6+
7+ .footer-list {
8+ align-items : center ;
9+ display : flex ;
10+ flex-flow : row wrap ;
11+ padding : 8px ;
12+ }
13+
14+ .docs-angular-logo {
15+ height : 50px ;
16+ }
17+
18+ .footer-logo {
19+ width : 8.33% ;
20+ }
21+
22+ .footer-cc {
23+ display : flex ;
24+ flex : 1 ;
25+ justify-content : flex-end ;
26+ }
27+
28+ footer ul {
29+ list-style : none ;
30+ padding : 0 ;
31+
32+ a {
33+ font-size : 16px ;
34+ padding : 0 ;
35+ text-decoration : none ;
36+
37+ & :hover {
38+ text-decoration : underline ;
39+ }
40+ }
41+ }
42+
43+ @media screen and (max-width : 884px ){
44+ .footer-list {
45+ flex-direction : column ;
46+ }
47+ .footer-logo {
48+ width : 0 ;
49+ }
50+ }
You can’t perform that action at this time.
0 commit comments