From 6d8405bbd07a1569b879798162df9e6e70801dcf Mon Sep 17 00:00:00 2001 From: Kris Date: Tue, 11 Oct 2022 17:15:58 -0400 Subject: [PATCH] UX: updated styles for user nav with sidebar (#18550) --- .../discourse/app/components/user-nav.hbs | 17 ++- .../app/components/user-nav/messages-nav.hbs | 48 +++--- .../discourse/app/templates/preferences.hbs | 45 +++--- .../discourse/app/templates/user/activity.hbs | 34 ++++- .../app/templates/user/notifications.hbs | 17 ++- .../stylesheets/common/base/new-user.scss | 140 ++++++++++++++---- .../stylesheets/common/components/navs.scss | 1 - app/assets/stylesheets/desktop/new-user.scss | 7 +- app/assets/stylesheets/mobile/new-user.scss | 29 +++- 9 files changed, 239 insertions(+), 99 deletions(-) diff --git a/app/assets/javascripts/discourse/app/components/user-nav.hbs b/app/assets/javascripts/discourse/app/components/user-nav.hbs index 39d13e8d43b..6a832c2d89f 100644 --- a/app/assets/javascripts/discourse/app/components/user-nav.hbs +++ b/app/assets/javascripts/discourse/app/components/user-nav.hbs @@ -4,14 +4,14 @@
  • {{d-icon "user"}} - {{i18n "user.summary.title"}} + {{i18n "user.summary.title"}}
  • {{d-icon "stream"}} - {{i18n "user.activity_stream"}} + {{i18n "user.activity_stream"}}
  • {{/unless}} @@ -19,7 +19,8 @@ {{#if @showNotificationsTab}}
  • - {{d-icon "bell" class="glyph"}}{{i18n "user.notifications"}} + {{d-icon "bell" class="glyph"}} + {{i18n "user.notifications"}}
  • {{/if}} @@ -28,7 +29,7 @@
  • {{d-icon "far-envelope"}} - {{i18n "user.private_messages"}} + {{i18n "user.private_messages"}}
  • {{/if}} @@ -37,7 +38,7 @@
  • {{d-icon "user-plus"}} - {{i18n "user.invited.title"}} + {{i18n "user.invited.title"}}
  • {{/if}} @@ -46,7 +47,7 @@
  • {{d-icon "certificate"}} - {{i18n "badges.title"}} + {{i18n "badges.title"}}
  • {{/if}} @@ -60,7 +61,7 @@
  • {{d-icon "cog"}} - {{i18n "user.preferences"}} + {{i18n "user.preferences"}}
  • {{/if}} @@ -69,7 +70,7 @@
  • {{d-icon "wrench"}} - {{i18n "admin.user.manage_user"}} + {{i18n "admin.user.manage_user"}}
  • {{/if}} diff --git a/app/assets/javascripts/discourse/app/components/user-nav/messages-nav.hbs b/app/assets/javascripts/discourse/app/components/user-nav/messages-nav.hbs index b7aa2a8f313..d88d8089b23 100644 --- a/app/assets/javascripts/discourse/app/components/user-nav/messages-nav.hbs +++ b/app/assets/javascripts/discourse/app/components/user-nav/messages-nav.hbs @@ -9,35 +9,40 @@