diff --git a/app/components/main-footer.js b/app/components/main-footer.js deleted file mode 100644 index d9080c058..000000000 --- a/app/components/main-footer.js +++ /dev/null @@ -1,12 +0,0 @@ -import { computed } from '@ember/object'; -import Component from '@ember/component'; - -export default Component.extend({ - - tagName: '', - - currentYear: computed(function() { - return new Date().getUTCFullYear(); - }) - -}); diff --git a/app/styles/_class.scss b/app/styles/_class.scss index fd7b89bb5..41fe861bb 100644 --- a/app/styles/_class.scss +++ b/app/styles/_class.scss @@ -90,9 +90,6 @@ article.chapter { .attribute-label { display: inline-block; width: 120px; - color: $black; - font-weight: bold; - text-transform: uppercase; @media (max-width: $mobile-portrait-screen){ display: block; diff --git a/app/styles/app.scss b/app/styles/app.scss index aada7c40b..e45fdfd85 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -1,47 +1,7 @@ @charset "utf-8"; - @import "normalize"; @import "bourbon"; @import "./base/base"; -@import "neat"; @import "./components/all"; @import "class"; - -body { - margin: 0; - width: 100%; -} - -@include media($large-screen-up) { - .header { - top: 0; - width: 100%; - } - - main.container { - width: 100%; - min-height: calc(100vh - 18rem); - } - - main.container .content { - position: relative; - margin-right: 0; - margin-bottom: 0; - overflow:auto; - padding: $base-spacing; - min-width: auto; - &::after { - clear: both; - display: table; - } - - } - - main.container .content .chapter { - width: 800px; - max-width: 100%; - } -} - - @import "ember-power-select"; diff --git a/app/styles/base/_buttons.scss b/app/styles/base/_buttons.scss index 63d90b9d7..7711e9368 100644 --- a/app/styles/base/_buttons.scss +++ b/app/styles/base/_buttons.scss @@ -9,8 +9,6 @@ button { color: #fff; cursor: pointer; display: inline-block; - font-family: $base-font-family; - font-size: $base-font-size; font-weight: 600; line-height: 1; padding: 0.75em 1em; diff --git a/app/styles/base/_forms.scss b/app/styles/base/_forms.scss index a5a8aa520..f1cda4a3e 100644 --- a/app/styles/base/_forms.scss +++ b/app/styles/base/_forms.scss @@ -9,8 +9,6 @@ input, label, select { display: block; - font-family: $base-font-family; - font-size: $base-font-size; } .ember-power-select-trigger { @@ -19,8 +17,6 @@ select { max-width: 100%; width: auto; display: block; - font-family: $base-font-family; - font-size: $base-font-size; background-color: $base-background-color; transition: border-color; appearance: none; @@ -46,8 +42,6 @@ textarea { border-radius: $base-border-radius; box-shadow: $form-box-shadow; box-sizing: border-box; - font-family: $base-font-family; - font-size: $base-font-size; margin-bottom: $base-spacing / 2; padding: $base-spacing / 3; transition: border-color; diff --git a/app/styles/base/_grid-settings.scss b/app/styles/base/_grid-settings.scss index c7cb208f1..cff6ff387 100644 --- a/app/styles/base/_grid-settings.scss +++ b/app/styles/base/_grid-settings.scss @@ -1,13 +1,6 @@ -@import "neat-helpers"; // or "../neat/neat-helpers" when not in Rails -// Neat Overrides -// $column: 90px; -// $gutter: 30px; -// $grid-columns: 12; -// $max-width: 1088px; -// Neat Breakpoints $mobile-portrait-screen: 30em; // 480px $medium-screen: 40em; // 640px $large-screen: 54em; // 864px $medium-screen-up: new-breakpoint(min-width $medium-screen 4); $medium-large-screen-up: new-breakpoint(min-width $medium-screen 8); -$large-screen-up: new-breakpoint(min-width $large-screen 8); \ No newline at end of file +$large-screen-up: new-breakpoint(min-width $large-screen 8); diff --git a/app/styles/base/_lists.scss b/app/styles/base/_lists.scss index 3154037cb..42b4925df 100644 --- a/app/styles/base/_lists.scss +++ b/app/styles/base/_lists.scss @@ -1,11 +1,9 @@ ul, ol { - list-style-type: none; margin: 0; padding: 0; &%default-ul { - list-style-type: disc; margin-bottom: $small-spacing; padding-left: $base-spacing; @@ -15,11 +13,9 @@ ol { } &%default-ol { - list-style-type: none; margin-bottom: $base-spacing; > li { - counter-increment: customlistcounter; clear: both; padding: $small-spacing 0 $small-spacing 2em; position: relative; @@ -28,33 +24,17 @@ ol { &::before { @include position(absolute, ($small-spacing + 0.5em) null null 0); @include size(2em); - content: counter(customlistcounter) " "; - border: 2px solid $base-border-color; + border: 2px solid #74B0CE; border-radius: 50%; - color: $light-brown; float: left; - font-size: $small-font-size; line-height: calc(2em - 4px); overflow: hidden; text-align: center; } } - - &:first-child { - counter-reset: customlistcounter; - } } } -dl { - margin-bottom: $small-spacing; - - dt { - font-weight: bold; - margin-top: $small-spacing; - } - - dd { - margin: 0; - } +dd { + margin: 0; } diff --git a/app/styles/base/_typography.scss b/app/styles/base/_typography.scss index c6cd3375d..9009ffe85 100644 --- a/app/styles/base/_typography.scss +++ b/app/styles/base/_typography.scss @@ -1,54 +1,18 @@ @import "mixins/hidpi"; @import "mixins/text-adjust"; -body { - font-feature-settings: "kern", "liga", "pnum"; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; - color: $base-font-color; - font-family: $base-font-family; - font-size: $base-font-size; - line-height: $base-line-height; -} - h1, h2, h3, h4, h5, h6 { - font-family: $heading-font-family; - font-size: $base-font-size; - line-height: $heading-line-height; - margin: 0 0 $small-spacing; - font-weight: bold; - code { text-transform: none; } } -@each $i in 0, 1, 2, 3, 4 { - h#{$i + 1} { - font-size: modular-scale(-$i, 2em, 1.2); - } -} - -h1 { - color: $ember-orange; -} - -h2 { - color: $brown; -} - -p { - margin: 1.5em 0 $small-spacing; - line-height: 1.5em; -} - a { - color: $action-color; text-decoration: none; transition: color 0.1s linear; @@ -64,7 +28,7 @@ a { } hr { - border-bottom: $base-border; + border-bottom: 1px solid #e6e4e3; border-left: none; border-right: none; border-top: none; diff --git a/app/styles/base/_variables.scss b/app/styles/base/_variables.scss index 9ddf83154..da45dd514 100644 --- a/app/styles/base/_variables.scss +++ b/app/styles/base/_variables.scss @@ -1,13 +1,5 @@ // Typography -$base-font-family: 'Source Sans Pro', sans-serif; -$heading-font-family: $base-font-family; $monospace-font-family: Menlo, "DejaVu Sans Mono", "Bitstream Vera Sans Mono", Courier, monospace; -$footer-font-family: proxima-nova, sans-serif; - -// Font Sizes -$base-font-size: 1rem; -$small-font-size: 0.75rem; -$large-font-size: 1.5rem; // Line height $base-line-height: 1.5; @@ -22,8 +14,6 @@ $top-spacing: $base-spacing * 3.333; // 80px // Colors $ember-orange: #dd6a58; -$light-brown: #b67d47; -$brown: #865931; $medium-gray: #999; $dark-gray: #444545; $tan: #fffdf9; @@ -63,7 +53,6 @@ $highlight-colors: ( // Font Colors $base-font-color: $near-black; $dark-font-color: $dark-gray; -$light-font-color: $light-brown; $action-color: $ember-orange; // Border diff --git a/app/styles/colors.scss b/app/styles/colors.scss index b73e6810b..d3a5a887d 100644 --- a/app/styles/colors.scss +++ b/app/styles/colors.scss @@ -1,2 +1,2 @@ -$ember-orange: #dd6a58; +$ember-orange: #e04e39; diff --git a/app/styles/components/_all.scss b/app/styles/components/_all.scss index 29f88618c..96ca67150 100644 --- a/app/styles/components/_all.scss +++ b/app/styles/components/_all.scss @@ -1,5 +1,3 @@ -@import "header"; -@import "footer"; @import "layout"; @import "sidebar"; @import "article"; diff --git a/app/styles/components/_article.scss b/app/styles/components/_article.scss index 905093a54..a021e7049 100644 --- a/app/styles/components/_article.scss +++ b/app/styles/components/_article.scss @@ -7,10 +7,8 @@ article { .edit-page { @include size(24px, 18px); - color: $brown; display: inline-block; float: right; - font-size: 1rem; margin: 0.5em 0 0 0; opacity: 0.4; overflow: hidden; diff --git a/app/styles/components/_back-to-top.scss b/app/styles/components/_back-to-top.scss index b78de801c..1c167b0c9 100644 --- a/app/styles/components/_back-to-top.scss +++ b/app/styles/components/_back-to-top.scss @@ -5,12 +5,12 @@ margin-left: 1em; text-align: center; - @include media(max-width 89em) { + @media (max-width: 89em) { @include size(1.5em); overflow: hidden; } - @include media(max-width 78em) { + @media (max-width: 78em) { height: 0; } } diff --git a/app/styles/components/_class-field-desc.scss b/app/styles/components/_class-field-desc.scss index 9bbe0a2a1..6e3f3f062 100644 --- a/app/styles/components/_class-field-desc.scss +++ b/app/styles/components/_class-field-desc.scss @@ -11,10 +11,8 @@ } .args { - color: $light-brown; font-style: italic; font-weight: normal; - font-size: $base-font-size; } .class-field-description--link .return-type, @@ -23,7 +21,6 @@ color: $medium-gray; font-style: italic; font-weight: normal; - font-size: $base-font-size; margin-right: 5px; } @@ -31,15 +28,10 @@ color: white; background-color: gray; padding: 2px 7px; - font-size: 1.6em; font-weight: 600; border-radius: 3px; } -h3 .access{ - font-size: smaller; -} - .parameters { dl { display: inline-block; @@ -62,12 +54,10 @@ h3 .access{ p.github-link { margin: -12px 0 0; - font-size: $small-font-size; } p.field-since { margin: 0; - font-size: $small-font-size; } .class-field-description--link { diff --git a/app/styles/components/_footer.scss b/app/styles/components/_footer.scss deleted file mode 100644 index d30b17569..000000000 --- a/app/styles/components/_footer.scss +++ /dev/null @@ -1,169 +0,0 @@ -.footer > .container { - max-width: 960px; - margin: auto; -} - -.not-responsive .footer > .container { - width: 960px; -} -.not-responsive .footer { - min-width: 960px; -} - -.footer a:hover { - border-bottom: none; -} - -@media screen and (max-width: $medium-screen) { - .responsive.footer .container { - padding: 2rem 1rem; - - .footer-info { - margin-top: 12px; - margin-bottom: 12px; - } - .footer-statement { - margin: 1.1rem 0; - } - .footer-social { - line-height: 32px; - margin-bottom: 18px; - } - } -} -// The styles bellow were ported from the compiled sass from -// https://guides.emberjs.com/v2.3.0/ - -// Ideally we will install bourbon / bittters / neat -// and reuse the same _base_ stylesheets as the guides. -// Since that will affect many default styles hence -// the overall visual aesthetics of the site, this is an intentional -// intermediate step to quickly port the responsive footer. - -.footer { - background-color: #f2ece9; - border-top: 1px solid #f9e7e4; - border-top: 1px solid #e5dbd6; - text-align: left; - - .footer-statement { - text-align: center; - } -} - -.footer .container { - padding: 1.875rem 1rem -} - -.footer .container { - align-items:top; - display: flex -} - -@media screen and (max-width: $large-screen) { - .responsive.footer .container { - text-align: center; - display: block; - } -} - -.footer .footer-info { - color: #555; - // font-size: 0.75rem; - font-size: 11px; - line-height: 24px; - font-weight: 600; - margin: 0.875rem 0; - text-transform: uppercase -} - -.footer .footer-info { - flex:0 0 18em; - text-align: left -} - -@media screen and (max-width: $large-screen) { - .responsive.footer .footer-info { - text-align: center; - } - - .responsive.footer .footer-statement { - text-align: center; - } - - .responsive.footer .footer-tagline { - padding-left: 2em; - padding-right: 2em; - } -} - -.footer .footer-info a { - color: #C0260B -} - -.footer .footer-statement { - color: #666; - flex: 1; - font-size: 1.1rem; - margin: 1rem 0; - line-height: 26.4px; -} - -.footer .footer-social { - margin: 1rem 0 -} - -.footer .footer-contributions { - font-size: 11px; - text-align: center; -} - -.footer .footer-contributions .contributor { - flex: 1 0 11em; -} - -.footer .footer-contributions .logo-heroku { - max-height: 35px; -} - -.footer .footer-contributions .logo-fastly { - max-height: 45px; -} - -@media screen and (min-width: $large-screen) { - .footer .footer-contributions { - display: flex; - flex:0 0 21em; - } -} - -.footer .footer-social a { - -webkit-transition: opacity 200ms, color 200ms, fill 200ms; - -moz-transition: opacity 200ms, color 200ms, fill 200ms; - transition: opacity 200ms, color 200ms, fill 200ms; - color: #999; - font-size: 1.5rem; - margin-left: 0.75rem; - opacity: 0.7; - - svg { - height: 1.5rem; - fill: #999; - } -} - -@media screen and (max-width: $large-screen) { - .footer .footer-social a:first-child { - margin-left: 0; - } -} - - -.footer .footer-social a:hover { - color: #dd6a58; - opacity: 1; - - svg { - fill: #dd6a58; - } -} diff --git a/app/styles/components/_header.scss b/app/styles/components/_header.scss deleted file mode 100644 index 42551d161..000000000 --- a/app/styles/components/_header.scss +++ /dev/null @@ -1,215 +0,0 @@ -$white: white; - -.header-nav.container { - width: 980px; - padding: 0 1rem; - list-style-type: none; - margin: auto; -} - -.responsive .header-nav.container { - max-width: 980px; - width: auto; -} - -.not-responsive .header { - min-width: 980px; //do we need this -} - -.header a:hover { - border-bottom: none; -} - -// The styles bellow were ported from the compiled sass from -// https://guides.emberjs.com/v2.3.0/ - -// Ideally we will install bourbon / bittters / neat -// and reuse the same _base_ stylesheets as the guides. -// Since that will affect many default styles hence -// the overall visual aesthetics of the site, this is an intentional -// intermediate step to quickly port the responsive header. - -.header { - background-color: rgb(228, 112, 81); - background: #dd6a58 url("/assets/images/header.svg") top center no-repeat; - background-size: cover; - color: #fff; - padding: 1rem 0; - font-family: 'Source Sans Pro'; -} - -.es-header { - font-family: "Roboto", "Helvetica Neue", "Helvetica", sans-serif; - font-size: 18px; - font-weight: 400; -} - -.header .container { - display: flex; - display: -webkit-flex; -} - -@media screen and (max-width: $large-screen) { - .responsive.header .container { - display: block; - } -} - -.header .header-nav { - align-items: center; - display: flex; - justify-content: space-between; - height: 2.8rem; -} -@media screen and (max-width: $large-screen) { - .responsive.header .header-nav { - height: auto; - } -} - -.header a { - color: #fff; - display: inline; - font-size: 1.1em; - text-align: center; - width: 100%; -} - -@media screen and (max-width: $large-screen) { - .responsive.header a { - line-height: 24px; //do we need this - } -} - -// Desktop -.header-nav li { - -webkit-box-flex: 1; - -moz-box-flex: 1; - box-flex: 1; - -webkit-flex: 1 0 0; - -moz-flex: 1 0 0; - -ms-flex: 1 0 0; - flex: 1 0 0; - display: inline-block; - margin-top: 10px; - margin-bottom: 10px; - text-align: center; -} - -@media screen and (max-width: $large-screen) { - .responsive .header-nav li { - display: inherit; - } -} -@media screen and (max-width: $large-screen) { - .responsive .header-nav li:not(.header-logo):not(.header-search) { - width: 32%; - display: inline-block; - } -} - - -.header-nav li:not(.header-logo):not(.header-search) { - width: auto; -} - -.header-nav .header-logo { - -webkit-box-flex: 1.5; - -moz-box-flex: 1.5; - box-flex: 1.5; - -webkit-flex: 1.5 0 0; - -moz-flex: 1.5 0 0; - -ms-flex: 1.5 0 0; - flex: 1.5 0 0; -} - -@media screen and (min-width: $large-screen) { -} - -.header-nav .header-search { - -webkit-box-flex: 2; - -moz-box-flex: 2; - box-flex: 2; - -webkit-flex: 2 0 0; - -moz-flex: 2 0 0; - -ms-flex: 2 0 0; - flex: 2 0 0; -} - -@media screen and (max-width: $large-screen) { - .responsive .header-nav .header-search { - display: block; - } -} - -.header-logo a { - padding: 0.5rem; - margin-right: 0; - height: 40px; - width: 100px; - background: url("/assets/images/ember-logo.svg") no-repeat; - display: block; -} - -@media screen and (max-width: $large-screen) { - .responsive .header-logo a { - margin: 0 auto; - } -} - - -.header-search { - margin-left: 4%; - - .algolia-autocomplete { - display: block !important; // beats `inline-block` added by DocSearch script - } - .st-search-input { - width: 100%; - height: 35px; - margin-bottom: 0; - padding-left: 2.5em; - border: none; - border-radius: 35px; - outline: none; - appearance: none; - background: url("/assets/images/search-icon.svg") rgba(white, 0.1) 10px 10px no-repeat; - box-shadow: none; - font-size: 0.9rem; - line-height: 35px; - color: $white; - - // @include placeholder { - // color: $white; - // } - } - - .st-search-input::-webkit-input-placeholder { - color: white; - } - .st-search-input:-moz-placeholder { - color: white; - } - .st-search-input::-moz-placeholder { - color: white; - } - .st-search-input:-ms-input-placeholder { - color: white; - } -} -@media screen and (max-width: $large-screen) { - .responsive .header-search { - margin-left: 0; - } -} - -.visually-hidden { - border: 0 !important; - clip: rect(0 0 0 0) !important; - height: 1px !important; - margin: -1px !important; - overflow: hidden !important; - padding: 0 !important; - position: absolute !important; - width: 1px !important; -} diff --git a/app/styles/components/_highlight.scss b/app/styles/components/_highlight.scss index 8bc5a3a61..533d066dc 100644 --- a/app/styles/components/_highlight.scss +++ b/app/styles/components/_highlight.scss @@ -5,7 +5,6 @@ font-family: $monospace-font-family; font-size: 0.8em; line-height: 1.5em; - margin: $small-spacing 0 $large-spacing; overflow: hidden; position: relative; @@ -160,7 +159,7 @@ } code { - background-color: $base-border-color; + background-color: #DCE0E6; border-radius: $base-border-radius; font-family: $monospace-font-family; font-size: 0.9em; diff --git a/app/styles/components/_layout.scss b/app/styles/components/_layout.scss index dbc39f28c..9ec1fa9ef 100644 --- a/app/styles/components/_layout.scss +++ b/app/styles/components/_layout.scss @@ -1,16 +1,11 @@ -body { - background-color: $base-background-color; - margin: 0; -} - main { - @include media($large-screen) { + @media screen and (min-width: $large-screen) { display: flex; } } .container { - @include outer-container; + margin: 0 auto; padding: 0 1em; &::after { clear: both; diff --git a/app/styles/components/_sidebar.scss b/app/styles/components/_sidebar.scss index 2cecce42b..7d1349e20 100644 --- a/app/styles/components/_sidebar.scss +++ b/app/styles/components/_sidebar.scss @@ -1,31 +1,9 @@ .sidebar { - background-color: $sidebar-background-color; - border-bottom: $base-border; - position: relative; - z-index: 1; - padding: $small-spacing 0; - @include media($large-screen-up) { - // fixed sidebar, full height - @include span-columns(3.5); + @media (min-width: $large-screen-up) { margin-right: 0; - width: 19em; border-bottom: 0; - border-right: $base-border; padding: $small-spacing $base-spacing $base-spacing * 1.5; - - &::before { - @include position(absolute, 0 0 0 -100vw); - content: ""; - display: block; - background-color: $sidebar-background-color; - z-index: -1; - } - - &::after { - clear: both; - display: block; - } } @media (min-width: 1200px) { @@ -39,7 +17,6 @@ label[for="toc-toggle"] { cursor: pointer; - font-size: 1.25em; position: relative; &:hover { @@ -54,7 +31,6 @@ label[for="toc-toggle"] { &:after { content: ''; - border-color: $light-brown rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); border-style: solid; border-width: 5px 4px 0 4px; height: 0; @@ -67,11 +43,10 @@ label[for="toc-toggle"] { } .toc-toggle:checked ~ &:after { - border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) $light-brown rgba(0, 0, 0, 0); border-width: 0 4px 5px 4px; } - @include media($large-screen) { + @media screen and (min-width: $large-screen) { display: none; } } @@ -84,7 +59,7 @@ label[for="toc-toggle"] { .toc-toggle:checked ~ & { display: block; } - @include media($large-screen) { + @media screen and (min-width: $large-screen) { display: block; // ensure toc-toggle can not cause toc-container to be hidden on large screen @@ -94,34 +69,15 @@ label[for="toc-toggle"] { } } -li.toc-level-0 { - margin-bottom: 0.5em; +ol.toc-level-1 { + border-left: 1px solid #74B0CE; + // override ember-styleguide link color a { - color: $brown; - display: block; - line-height: 1.25; - padding-top: 0.25em; - padding-bottom: 0.25em; - - &:hover { - color: $ember-orange; - } - &.active { - color: $ember-orange; - font-weight: bold; - } + color: #42474f; + padding-left: 2rem; } - > a { - font-weight: bold; - } -} - -ol.toc-level-1 { - border-left: $base-border; - font-size: $base-font-size * 0.9; - &:not(.selected) { display: none; } @@ -129,10 +85,12 @@ ol.toc-level-1 { li { border-left: 3px solid transparent; transition: border-width $duration, margin-right $duration; + padding-top: 0.3em; + padding-bottom: 0.3em; &.selected, &:hover { - border-left-color: $base-border-color; + border-left-color: #74B0CE; } &:hover { @@ -140,8 +98,4 @@ ol.toc-level-1 { margin-right: -3px; } } - - a { - padding-left: $small-spacing; - } } diff --git a/app/styles/components/_toc.scss b/app/styles/components/_toc.scss index 33b1e9186..0c39a94fb 100644 --- a/app/styles/components/_toc.scss +++ b/app/styles/components/_toc.scss @@ -23,10 +23,9 @@ a.toc-anchor { margin-top: -5px; } -.toc-private-toggle { - font-size: $small-font-size; -} - -.toc-level-0 > a { +.toc-level-0 > a, .toc-spacing { transition: color 0.1s linear; + margin-bottom: 0.5em; + margin-top:0.5em; + display: block; } diff --git a/app/templates/application.hbs b/app/templates/application.hbs index 7ab35ba45..c100487e3 100644 --- a/app/templates/application.hbs +++ b/app/templates/application.hbs @@ -1,12 +1,10 @@ {{#es-header}} - {{#es-navbar links=links}} - {{search-input}} - {{/es-navbar}} + {{search-input}} {{/es-header}} -
+
{{outlet}}
-{{main-footer}} +{{es-footer}} {{!-- required by ember-cli-meta-tags --}} {{head-layout}} diff --git a/app/templates/components/class-field-description.hbs b/app/templates/components/class-field-description.hbs index ec2f88258..4004e3252 100644 --- a/app/templates/components/class-field-description.hbs +++ b/app/templates/components/class-field-description.hbs @@ -1,5 +1,5 @@
- + {{#if model.module}}
@@ -51,14 +51,14 @@
{{#each field.params as |param|}}
-
{{param.name}}
+
{{param.name}}
{{param.type}}
{{param.description}}
{{/each}} {{#if field.return}}
-
returns
+
returns
{{field.return.type}}
{{field.return.description}}
diff --git a/app/templates/components/import-example.hbs b/app/templates/components/import-example.hbs index 08efd36bd..70345df59 100644 --- a/app/templates/components/import-example.hbs +++ b/app/templates/components/import-example.hbs @@ -1,4 +1,4 @@ -
+
{{#if (is-clipboard-supported)}}
diff --git a/app/templates/components/main-footer.hbs b/app/templates/components/main-footer.hbs deleted file mode 100644 index 9ef73b629..000000000 --- a/app/templates/components/main-footer.hbs +++ /dev/null @@ -1,45 +0,0 @@ - diff --git a/app/templates/components/table-of-contents.hbs b/app/templates/components/table-of-contents.hbs index fb1013952..4ac5ff740 100644 --- a/app/templates/components/table-of-contents.hbs +++ b/app/templates/components/table-of-contents.hbs @@ -1,12 +1,14 @@
    -
  1. +
  2. Packages -
      +
        {{#each moduleIDs as |moduleID|}} {{#if (not-eq moduleID "@ember/object/computed")}} -
      1. - {{#link-to 'project-version.modules.module' version moduleID}}{{moduleID}}{{/link-to}} +
      2. + {{#link-to 'project-version.modules.module' version moduleID}} + {{moduleID}} + {{/link-to}}
      3. {{/if}} @@ -15,11 +17,11 @@ {{#if isShowingNamespaces}} -
      4. +
      5. Namespaces -
          +
            {{#each namespaceIDs as |namespaceID|}} -
          1. +
          2. {{#link-to 'project-version.namespaces.namespace' version namespaceID}}{{namespaceID}}{{/link-to}}
          3. {{/each}} @@ -27,18 +29,18 @@ {{/if}} -
          4. +
          5. Classes -
              +
                {{#each classesIDs as |classID|}} -
              1. +
              2. {{#link-to 'project-version.classes.class' version classID}}{{classID}}{{/link-to}}
              3. {{/each}}
            -