From c863a3c9a17bf5486821186d10184df55daa22f1 Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Mon, 26 Feb 2024 18:48:04 -0800 Subject: [PATCH] Start cleaning up unnecessary elements on Community Resources category --- common/common.scss | 37 +++++++++++++++++++++++++++++++++++++ mobile/mobile.scss | 22 ++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/common/common.scss b/common/common.scss index 3f92444..d6947e8 100644 --- a/common/common.scss +++ b/common/common.scss @@ -535,6 +535,43 @@ html body #main-outlet { margin-top: 2em; } +// Community Resources Category +.category-resources { + // Topic List + + .topic-list-header { + display: none !important; + } + + .topic-list-body { + .topic-list-data { + // Center content in the topic list + display: flex; + align-items: center; + } + + .num.views, + .num.posts, + .num.activity, + .posters, + .topic-statuses { + display: none !important; + } + } + + // Topic Posts + + .topic-map, + .topic-status { // Hide the lock icon in the topic header of the post + display: none; + } + + .topic-meta-data { + display: flex; + justify-content: right; + } +} + // published page additions .published-page-content-wrapper { max-width: 1000px; diff --git a/mobile/mobile.scss b/mobile/mobile.scss index 6b67cbe..9a4b587 100644 --- a/mobile/mobile.scss +++ b/mobile/mobile.scss @@ -213,3 +213,25 @@ ol.category-breadcrumb { margin: 2rem 0; } } + +// Community Resources Category +.category-resources { + + // Topic List + + .topic-list-data { + .right { + margin-left: 0 !important; + display: flex; + align-items: center; + } + } + + // Topic Post + + .topic-avatar, + .topic-meta-data { + display: none !important; + } +} +