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 +73
-4
lines changed Expand file tree Collapse file tree 4 files changed +73
-4
lines changed Original file line number Diff line number Diff line change 8
8
@import ' ./styles/typography-theme' ;
9
9
@import ' ./app/shared/navbar/navbar-theme' ;
10
10
@import ' ./app/shared/example-viewer/example-viewer-theme' ;
11
+ @import ' ./app/shared/footer/footer-theme' ;
12
+
11
13
12
14
// Styles for the docs app that are based on the current theme.
13
15
@mixin material-docs-app-theme ($theme ) {
43
45
@include component-category-list-theme ($theme );
44
46
@include nav-bar-theme ($theme );
45
47
@include example-viewer-theme ($theme );
48
+ @include footer-theme ($theme );
46
49
}
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
+ .docs-footer-links a {
10
+ color : md-color ($primary , default-contrast );
11
+ }
12
+ }
13
+ }
Original file line number Diff line number Diff line change 1
1
< 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 ="docs-footer-list ">
3
+ < div class ="footer-logo ">
4
+ < img class ="docs-footer-angular-logo "
5
+ src ="../../../assets/img/homepage/angular-white-transparent.svg "
6
+ alt ="Angular ">
7
+ </ div >
8
+
9
+ < div class ="docs-footer-links ">
10
+ < ul >
11
+ < li > < a class ="" href ="https://wwww.angular.io "> Learn Angular</ a > </ li >
12
+ </ ul >
13
+ </ div >
14
+
15
+ < div class ="docs-footer-copyright ">
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 >
4
19
</ footer >
Original file line number Diff line number Diff line change 1
1
.docs-footer {
2
2
margin-top : 40px ;
3
- padding : 15px ;
4
- text-align : center ;
3
+ padding : 12px ;
5
4
font-size : 12px ;
6
5
}
6
+
7
+ .docs-footer-list {
8
+ align-items : center ;
9
+ display : flex ;
10
+ flex-flow : row wrap ;
11
+ padding : 8px ;
12
+ }
13
+
14
+ .docs-footer-angular-logo {
15
+ height : 50px ;
16
+ }
17
+
18
+ .docs-footer-copyright {
19
+ display : flex ;
20
+ flex : 1 ;
21
+ justify-content : flex-end ;
22
+ }
23
+
24
+ .docs-footer-links ul {
25
+ list-style : none ;
26
+ margin : 0 40px ;
27
+ padding : 0 ;
28
+
29
+ a {
30
+ font-size : 16px ;
31
+ padding : 0 ;
32
+ text-decoration : none ;
33
+
34
+ & :hover {
35
+ text-decoration : underline ;
36
+ }
37
+ }
38
+ }
39
+
40
+ @media screen and (max-width : 884px ){
41
+ .docs-footer-list {
42
+ flex-direction : column ;
43
+ }
44
+ }
You can’t perform that action at this time.
0 commit comments