From dbecf73df1b21c9995c869c74cc4e651547cc01e Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Wed, 20 Apr 2016 18:03:22 +0200 Subject: [PATCH] visual notice when user is remote user or visitor --- css/style.css | 18 ++++++++++++++++-- templates/nav.tpl | 14 +++++++++++--- theme.php | 5 +++-- 3 files changed, 30 insertions(+), 7 deletions(-) diff --git a/css/style.css b/css/style.css index 74186dbe28..5cd96686e0 100644 --- a/css/style.css +++ b/css/style.css @@ -464,11 +464,12 @@ nav.navbar a { width: 32px; border-radius: 3px; } +/* The Top Nav Bar user menu */ #topbar-first .account .user-title { text-align: right } #topbar-first .account .user-title span { - color: #d7d7d7 + color: $nav_icon_color; } #topbar-first .account #main-menu .nav-notify { position: absolute; @@ -481,11 +482,24 @@ nav.navbar a { background-color: $nav_bg; color: $nav_icon_color; } +#myNavmenu li.nav-sitename { + font-weight: bold; +} #topbar-first .dropdown.account>a, #topbar-first .dropdown.account.open>a, #topbar-first .dropdown.account>a:hover, #topbar-first .dropdown.account.open>a:hover { - background-color: $nav_bg + background-color: $nav_bg; +} +#topbar-first .dropdown.account li#nav-sitename { + padding-left: 15px; + padding-right: 15px; + font-weight: bold; + word-break: break-word; +} +#topbar-first .dropdown.account li#nav-sitename:hover { + border: none; + background-color: $nav_bg; } /* Nav Search */ #topbar-first #search-box .navbar-form { diff --git a/templates/nav.tpl b/templates/nav.tpl index 46f08809ad..0278852715 100644 --- a/templates/nav.tpl +++ b/templates/nav.tpl @@ -117,7 +117,8 @@