From 2f5cb0a280bbb9576af37088ed91dbac7668f8ff Mon Sep 17 00:00:00 2001 From: Krzysztof Kotlarek Date: Tue, 4 Jul 2023 09:56:52 +1000 Subject: [PATCH] UX: visual indicator for reorder sidebar links mode (#22379) Bring back CSS which was removed here https://github.com/discourse/discourse/commit/10dce46886f19dbaf57c931c3131d5a1afc39d02#diff-fa3cff3fcf18e3677f75fd71989c9bbd1b9940a5ce73f9c9efa6c4cbb0123b97L34 --- .../common/base/sidebar-custom-section.scss | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/app/assets/stylesheets/common/base/sidebar-custom-section.scss b/app/assets/stylesheets/common/base/sidebar-custom-section.scss index 3c5e959aaa3..7812529a03b 100644 --- a/app/assets/stylesheets/common/base/sidebar-custom-section.scss +++ b/app/assets/stylesheets/common/base/sidebar-custom-section.scss @@ -24,6 +24,20 @@ a { pointer-events: none; } + .sidebar-section-link-wrapper { + .sidebar-section-link-prefix.icon, + .sidebar-section-link { + background: none; + color: var(--primary-low-mid); + } + .sidebar-section-link.drag { + font-weight: bold; + color: var(--primary-high); + .sidebar-section-link-prefix.icon { + color: var(--primary-high); + } + } + } } } .discourse-touch {