From bb52e22ecfb70cf979bddd0f8fecff66e2709a60 Mon Sep 17 00:00:00 2001 From: Stefanie Fluin Date: Tue, 25 Apr 2017 09:33:09 -0700 Subject: [PATCH] feat(aio): api pages styling - Banner class code consolidation for API pages - Set up temporary table of contents class and file - API pages title styling - Add color styling to doc-type listed on each API details page - Classes and SCSS variables refactor - Mobile optimization on headers, info-banner, and API pages - API page table custom styling - API Class Overview template code overview into table format --- aio/src/app/app.component.html | 1 + .../app/embedded/api/api-list.component.html | 2 +- aio/src/styles/0-base/_typography.scss | 11 ++ aio/src/styles/1-layouts/_api-page.scss | 44 ++++++++ aio/src/styles/1-layouts/_layouts-dir.scss | 3 +- .../styles/1-layouts/_marketing-layout.scss | 2 +- .../styles/1-layouts/_table-of-contents.scss | 10 ++ aio/src/styles/2-modules/_api-info-bar.scss | 16 ++- aio/src/styles/2-modules/_api-list.scss | 100 +++--------------- aio/src/styles/2-modules/_banner.scss | 24 ++--- aio/src/styles/2-modules/_code.scss | 13 --- aio/src/styles/2-modules/_hr.scss | 1 - aio/src/styles/_constants.scss | 78 +++++++++++++- .../templates/includes/_class-overview.html | 100 ++++++++++++------ .../templates/includes/_description.html | 2 +- .../templates/includes/_info-bar.html | 8 +- .../templates/includes/_members.html | 6 +- .../transforms/templates/includes/_title.html | 4 +- 18 files changed, 259 insertions(+), 166 deletions(-) create mode 100644 aio/src/styles/1-layouts/_table-of-contents.scss diff --git a/aio/src/app/app.component.html b/aio/src/app/app.component.html index 3563fe8046..74ae5198c0 100644 --- a/aio/src/app/app.component.html +++ b/aio/src/app/app.component.html @@ -28,6 +28,7 @@ + diff --git a/aio/src/app/embedded/api/api-list.component.html b/aio/src/app/embedded/api/api-list.component.html index 2a8df1f239..b4d73e7cc2 100644 --- a/aio/src/app/embedded/api/api-list.component.html +++ b/aio/src/app/embedded/api/api-list.component.html @@ -1,4 +1,4 @@ -