From fe9cd04b68c5c10b9c299c92d439c6695f481145 Mon Sep 17 00:00:00 2001 From: Vincent Ogloblinsky Date: Fri, 16 Oct 2020 14:25:14 +0200 Subject: [PATCH] fix(app): Overview page not scrolling fix #997 --- src/app/engines/html.engine.ts | 5 --- src/resources/styles/compodoc.css | 55 +++++++++++--------------- src/templates/partials/classes.hbs | 19 --------- src/templates/partials/components.hbs | 19 --------- src/templates/partials/directives.hbs | 19 --------- src/templates/partials/injectables.hbs | 19 --------- src/templates/partials/overview.hbs | 2 +- src/templates/partials/pipes.hbs | 19 --------- 8 files changed, 23 insertions(+), 134 deletions(-) delete mode 100644 src/templates/partials/classes.hbs delete mode 100644 src/templates/partials/components.hbs delete mode 100644 src/templates/partials/directives.hbs delete mode 100644 src/templates/partials/injectables.hbs delete mode 100644 src/templates/partials/pipes.hbs diff --git a/src/app/engines/html.engine.ts b/src/app/engines/html.engine.ts index dcc730ca..23bf1839 100644 --- a/src/app/engines/html.engine.ts +++ b/src/app/engines/html.engine.ts @@ -29,19 +29,14 @@ export class HtmlEngine { 'markdown', 'modules', 'module', - 'components', 'component', 'controller', 'component-detail', - 'directives', 'directive', - 'injectables', 'injectable', 'interceptor', 'guard', - 'pipes', 'pipe', - 'classes', 'class', 'interface', 'routes', diff --git a/src/resources/styles/compodoc.css b/src/resources/styles/compodoc.css index a8783915..08da5c6a 100644 --- a/src/resources/styles/compodoc.css +++ b/src/resources/styles/compodoc.css @@ -15,14 +15,10 @@ body { /* IE9 Compat Modes */ src: local('Roboto Light'), local('Roboto-Light'), url('../fonts/roboto-v15-latin-300.eot?#iefix') format('embedded-opentype'), - /* IE6-IE8 */ - url('../fonts/roboto-v15-latin-300.woff2') format('woff2'), - /* Super Modern Browsers */ - url('../fonts/roboto-v15-latin-300.woff') format('woff'), - /* Modern Browsers */ - url('../fonts/roboto-v15-latin-300.ttf') format('truetype'), - /* Safari, Android, iOS */ - url('../fonts/roboto-v15-latin-300.svg#Roboto') format('svg'); + /* IE6-IE8 */ url('../fonts/roboto-v15-latin-300.woff2') format('woff2'), + /* Super Modern Browsers */ url('../fonts/roboto-v15-latin-300.woff') format('woff'), + /* Modern Browsers */ url('../fonts/roboto-v15-latin-300.ttf') format('truetype'), + /* Safari, Android, iOS */ url('../fonts/roboto-v15-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */ } @@ -36,14 +32,10 @@ body { /* IE9 Compat Modes */ src: local('Roboto'), local('Roboto-Regular'), url('../fonts/roboto-v15-latin-regular.eot?#iefix') format('embedded-opentype'), - /* IE6-IE8 */ - url('../fonts/roboto-v15-latin-regular.woff2') format('woff2'), - /* Super Modern Browsers */ - url('../fonts/roboto-v15-latin-regular.woff') format('woff'), - /* Modern Browsers */ - url('../fonts/roboto-v15-latin-regular.ttf') format('truetype'), - /* Safari, Android, iOS */ - url('../fonts/roboto-v15-latin-regular.svg#Roboto') format('svg'); + /* IE6-IE8 */ url('../fonts/roboto-v15-latin-regular.woff2') format('woff2'), + /* Super Modern Browsers */ url('../fonts/roboto-v15-latin-regular.woff') format('woff'), + /* Modern Browsers */ url('../fonts/roboto-v15-latin-regular.ttf') format('truetype'), + /* Safari, Android, iOS */ url('../fonts/roboto-v15-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */ } @@ -57,14 +49,10 @@ body { /* IE9 Compat Modes */ src: local('Roboto Bold'), local('Roboto-Bold'), url('../fonts/roboto-v15-latin-700.eot?#iefix') format('embedded-opentype'), - /* IE6-IE8 */ - url('../fonts/roboto-v15-latin-700.woff2') format('woff2'), - /* Super Modern Browsers */ - url('../fonts/roboto-v15-latin-700.woff') format('woff'), - /* Modern Browsers */ - url('../fonts/roboto-v15-latin-700.ttf') format('truetype'), - /* Safari, Android, iOS */ - url('../fonts/roboto-v15-latin-700.svg#Roboto') format('svg'); + /* IE6-IE8 */ url('../fonts/roboto-v15-latin-700.woff2') format('woff2'), + /* Super Modern Browsers */ url('../fonts/roboto-v15-latin-700.woff') format('woff'), + /* Modern Browsers */ url('../fonts/roboto-v15-latin-700.ttf') format('truetype'), + /* Safari, Android, iOS */ url('../fonts/roboto-v15-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */ } @@ -128,8 +116,9 @@ a[href] { padding: 0; } -.container-fluid.overview { +.tab-content.overview { margin-top: 50px; + margin-left: 15px; } .container-fluid.modules, @@ -200,11 +189,11 @@ a[href] { padding: 15px 30px; } -.content>h1:first-of-type { +.content > h1:first-of-type { margin-top: 15px; } -.content>h3:first-of-type { +.content > h3:first-of-type { margin-top: 5px; } @@ -275,8 +264,8 @@ a[href] { padding: 0px; } -.panel-group .panel-heading+.panel-collapse>.list-group, -.panel-group .panel-heading+.panel-collapse>.panel-body { +.panel-group .panel-heading + .panel-collapse > .list-group, +.panel-group .panel-heading + .panel-collapse > .panel-body { border-top: 0; } @@ -380,7 +369,7 @@ a[href] { border-bottom: none; } -.menu .panel-group .panel-heading+.panel-collapse>.panel-body { +.menu .panel-group .panel-heading + .panel-collapse > .panel-body { border-top: none; overflow-y: auto; max-height: 350px; @@ -390,7 +379,7 @@ a[href] { border-bottom: 1px solid #ddd; } -.panel-group .panel+.panel { +.panel-group .panel + .panel { margin-top: 0; } @@ -669,8 +658,8 @@ i { background: #fafafa; } -thead.coverage-header>tr>td, -thead.coverage-header>tr>th { +thead.coverage-header > tr > td, +thead.coverage-header > tr > th { border-bottom-width: 0; } diff --git a/src/templates/partials/classes.hbs b/src/templates/partials/classes.hbs deleted file mode 100644 index 7b64704a..00000000 --- a/src/templates/partials/classes.hbs +++ /dev/null @@ -1,19 +0,0 @@ -

{{t "classes" }}

-
-
- {{#each classes}} -
-
-
-

{{name}}

-
-
- -
-
-
- {{/each}} -
-
diff --git a/src/templates/partials/components.hbs b/src/templates/partials/components.hbs deleted file mode 100644 index 8f79a394..00000000 --- a/src/templates/partials/components.hbs +++ /dev/null @@ -1,19 +0,0 @@ -

{{t "components" }}

-
-
- {{#each components}} -
-
-
-

{{name}}

-
-
- -
-
-
- {{/each}} -
-
diff --git a/src/templates/partials/directives.hbs b/src/templates/partials/directives.hbs deleted file mode 100644 index 8bfd6de2..00000000 --- a/src/templates/partials/directives.hbs +++ /dev/null @@ -1,19 +0,0 @@ -

{{t "directives" }}

-
-
- {{#each directives}} -
-
-
-

{{name}}

-
-
- -
-
-
- {{/each}} -
-
diff --git a/src/templates/partials/injectables.hbs b/src/templates/partials/injectables.hbs deleted file mode 100644 index 19ec6f55..00000000 --- a/src/templates/partials/injectables.hbs +++ /dev/null @@ -1,19 +0,0 @@ -

{{t "injectables" }}

-
-
- {{#each injectables}} -
-
-
-

{{name}}

-
-
- -
-
-
- {{/each}} -
-
diff --git a/src/templates/partials/overview.hbs b/src/templates/partials/overview.hbs index e3f0096c..51b215c5 100644 --- a/src/templates/partials/overview.hbs +++ b/src/templates/partials/overview.hbs @@ -14,7 +14,7 @@ {{/if}} {{/unless}} {{/unless}} -
+
{{#if modules}}
diff --git a/src/templates/partials/pipes.hbs b/src/templates/partials/pipes.hbs deleted file mode 100644 index 04f9863e..00000000 --- a/src/templates/partials/pipes.hbs +++ /dev/null @@ -1,19 +0,0 @@ -

{{t "pipes" }}

-
-
- {{#each pipes}} -
-
-
-

{{name}}

-
-
- -
-
-
- {{/each}} -
-