diff --git a/packages/docs/src/app/components/footer/_footer-theme.scss b/packages/docs/src/app/components/footer/_footer-theme.scss new file mode 100644 index 000000000..1553fa310 --- /dev/null +++ b/packages/docs/src/app/components/footer/_footer-theme.scss @@ -0,0 +1,34 @@ +@mixin mc-footer-theme($theme) { + $background: #fff; + $dodger_blue: #8c949e; + $celtic_blue: #2768bb; + $light_gray: #c6cacf; + + .docs-footer { + background-color: $background; + + &__wrapper { + border-top: 1px solid $light_gray; + } + + &__text-wrapper { color: $dodger_blue; } + + &__link { + color: $celtic_blue; + border-bottom: 1px solid $celtic_blue; + } + + &__icon { fill: $dodger_blue; } + } + +} + +@mixin mc-footer-typography($config) { + .docs-footer__text-wrapper { + @include mc-typography-level-to-styles($config, caption); + } + + .docs-footer__link { + @include mc-typography-level-to-styles($config, body); + } +} diff --git a/packages/docs/src/app/components/footer/footer.component.html b/packages/docs/src/app/components/footer/footer.component.html new file mode 100644 index 000000000..cde71e49b --- /dev/null +++ b/packages/docs/src/app/components/footer/footer.component.html @@ -0,0 +1,21 @@ +
diff --git a/packages/docs/src/app/components/footer/footer.component.scss b/packages/docs/src/app/components/footer/footer.component.scss new file mode 100644 index 000000000..28b01dcd3 --- /dev/null +++ b/packages/docs/src/app/components/footer/footer.component.scss @@ -0,0 +1,40 @@ +.docs-footer { + position: fixed; + bottom: 0; + + width: 100%; + will-change: transform; + padding: { + left: 360px; + right: 360px; + }; + + &__wrapper { + display: flex; + flex-direction: row; + justify-content: space-between; + align-items: center; + + margin: { + right: 68px; + left: 68px; + }; + padding: { + top: 12px; + bottom: 12px; + }; + } + + &__text-wrapper { + display: flex; + flex-direction: column; + } + + &__link { display: inline-flex; } + + &__icon { + width: 23.3px; + height: 22.7px; + opacity: 0.8; + } +} diff --git a/packages/docs/src/app/components/footer/footer.component.ts b/packages/docs/src/app/components/footer/footer.component.ts new file mode 100644 index 000000000..8bf78ca61 --- /dev/null +++ b/packages/docs/src/app/components/footer/footer.component.ts @@ -0,0 +1,10 @@ +import { Component } from '@angular/core'; + + +@Component({ + selector: 'footer', + templateUrl: './footer.component.html', + styleUrls: ['./footer.component.scss'] +}) + +export class FooterComponent {} diff --git a/packages/docs/src/app/components/footer/footer.module.ts b/packages/docs/src/app/components/footer/footer.module.ts new file mode 100644 index 000000000..cd388cd27 --- /dev/null +++ b/packages/docs/src/app/components/footer/footer.module.ts @@ -0,0 +1,12 @@ +import { CommonModule } from '@angular/common'; +import { NgModule } from '@angular/core'; + +import { FooterComponent } from './footer.component'; + + +@NgModule({ + imports: [CommonModule], + exports: [FooterComponent], + declarations: [FooterComponent] +}) +export class FooterModule {} diff --git a/packages/docs/src/app/components/main-layout/main-layout.component.html b/packages/docs/src/app/components/main-layout/main-layout.component.html index 6a4c1d1e1..a0224e9de 100644 --- a/packages/docs/src/app/components/main-layout/main-layout.component.html +++ b/packages/docs/src/app/components/main-layout/main-layout.component.html @@ -9,3 +9,5 @@