From 53f29486c980140c402dde9d782960d42cb84784 Mon Sep 17 00:00:00 2001 From: tshenry Date: Fri, 9 Aug 2019 17:00:25 -0700 Subject: [PATCH] Include icons in category list --- common/common.scss | 35 +++++++-- common/header.html | 186 +++++++++++++++++++++++++-------------------- 2 files changed, 132 insertions(+), 89 deletions(-) diff --git a/common/common.scss b/common/common.scss index 7452ac0..0a2f1f4 100644 --- a/common/common.scss +++ b/common/common.scss @@ -1,12 +1,31 @@ span.category-badge-icon { - display: inline-flex; - align-self: center; - .d-icon { - opacity: 1; - font-size: 1.3em; - } + display: inline-flex; + align-self: center; + .d-icon { + opacity: 1; + font-size: 1.3em; + } } -.badge-wrapper .badge-category .d-icon { +.categories .category h3, +.badge-wrapper .badge-category { + display: inline-flex; + .d-icon { margin-right: 5px; -} \ No newline at end of file + &:not(.d-icon-lock) { + color: inherit; + } + } +} + +.categories-list .category-box-heading h3 { + .d-icon { + margin: 0; + &:not(.d-icon-lock) { + color: inherit; + } + } + div { + display: inline; + } +} diff --git a/common/header.html b/common/header.html index fd87fa8..093bfae 100644 --- a/common/header.html +++ b/common/header.html @@ -1,99 +1,123 @@ + +