diff --git a/assets/javascripts/templates/sidebar_tmpl.coffee b/assets/javascripts/templates/sidebar_tmpl.coffee index 54cddac8..07c71fb3 100644 --- a/assets/javascripts/templates/sidebar_tmpl.coffee +++ b/assets/javascripts/templates/sidebar_tmpl.coffee @@ -27,6 +27,8 @@ templates.sidebarLabel = (doc, options = {}) -> label += 'checked' if options.checked label + ">#{doc.name}" +templates.sidebarDisabled = '
Disabled
' + templates.sidebarVote = 'Vote for new documentation' sidebarFooter = (html) -> """""" diff --git a/assets/javascripts/views/sidebar/doc_list.coffee b/assets/javascripts/views/sidebar/doc_list.coffee index 654a87c4..af405998 100644 --- a/assets/javascripts/views/sidebar/doc_list.coffee +++ b/assets/javascripts/views/sidebar/doc_list.coffee @@ -32,7 +32,8 @@ class app.views.DocList extends app.View render: => @html @tmpl('sidebarDoc', app.docs.all()) unless app.isSingleDoc() or app.settings.hasDocs() - @append @tmpl('sidebarDoc', app.disabledDocs.all(), disabled: true) + @append @tmpl('sidebarDisabled') + + @tmpl('sidebarDoc', app.disabledDocs.all(), disabled: true) return reset: -> diff --git a/assets/stylesheets/components/_sidebar.scss b/assets/stylesheets/components/_sidebar.scss index 1b8266a4..96b4d7e3 100644 --- a/assets/stylesheets/components/_sidebar.scss +++ b/assets/stylesheets/components/_sidebar.scss @@ -56,6 +56,13 @@ } } +._list-title { + margin: 1rem 0 .5rem 2.25rem; + font-size: .75rem; + color: $textColorLight; + text-transform: uppercase; +} + ._list-item { display: block; position: relative;