From 131964d59ab52daa244942433324feb2c31baf2e Mon Sep 17 00:00:00 2001 From: Jesse Stuart Date: Fri, 15 Jun 2018 16:42:28 -0400 Subject: [PATCH] [css] Remove bullet styling from "tab-nav" components. (#9020) * [docs] Fix syntax formatting in HA-setup doc. Attempts to fix an unformatted code block; whatever markdown parser is being used seems to have gotten tripped up, and as a result the inline `yaml` in the script is interpreted as bullet points... it looks [pretty yucky](http://jstu.art/sAjc). I'm wondering if this is something specific to the Hugo toolchain? Because GH itself recognizes the block as valid, even with the `none` syntax type. If this doesn't trigger a CI build preview, I can test locally to verify. * [css] Don't display ul/li bullets on UI 'tabs-nav' components. * [docs] Revert HA docs changes. This reverts commit f5cf5c7e4f0468d077e48347bf678a95c791982e. --- src/sass/styles.sass | 3 --- static/css/styles.css | 5 +++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/sass/styles.sass b/src/sass/styles.sass index 981d39d620..9f31e944e1 100755 --- a/src/sass/styles.sass +++ b/src/sass/styles.sass @@ -1,4 +1,3 @@ - @import "reset" @import "skin" @@ -6,5 +5,3 @@ @import "base" @import "tablet" @import "desktop" - - diff --git a/static/css/styles.css b/static/css/styles.css index c8827273b4..2be6d99183 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -440,8 +440,9 @@ dd { margin-bottom: 16px; } #docsContent li { margin-bottom: 0.75em; font-size: 16px; line-height: 1.75em; } -/* No bullets for checklists */ -#docsContent ul.task-list>li { list-style-type: none !important; } +/* No bullets for checklists or 'UI Nav' components. */ +#docsContent ul.task-list>li, +#docsContent ul.ui-tabs-nav>li.ui-tabs-tab { list-style-type: none !important; } #docsContent table { width: 100%; border: 1px solid #ccc; border-spacing: 0; margin-top: 30px; margin-bottom: 30px; }