From 98e87b2149cec4179bf8d6677a600e8f7564402e Mon Sep 17 00:00:00 2001 From: Olivier Migeot Date: Wed, 18 Sep 2013 12:11:46 +0200 Subject: Changed CSS class "selected" to "active" in navbar, according to https://abcentric.net/display/f17b319c6d4b616a0d0a639e177969c6ae084248f1ee2bec9d8147c9291bf495@abcentric.net --- include/nav.php | 2 +- view/theme/redbasic/css/style.css | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/include/nav.php b/include/nav.php index dd11f10d5..812c90537 100644 --- a/include/nav.php +++ b/include/nav.php @@ -235,5 +235,5 @@ function nav_set_selected($item){ 'manage' => null, 'register' => null, ); - $a->nav_sel[$item] = 'selected'; + $a->nav_sel[$item] = 'active'; } diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index c1e5b76d1..d57fac71b 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -204,7 +204,7 @@ nav .nav-link { background-color: transparent !important; } -.nav-commlink.selected { +.nav-commlink.active { background-color: #ffffff; border-bottom: 1px solid #ffffff; color: #000000 !important; @@ -350,7 +350,7 @@ footer { margin-bottom: 10px; } -.group-selected, .nets-selected, .fileas-selected, .categories-selected, .settings-widget .selected { +.group-selected, .nets-selected, .fileas-selected, .categories-selected, .settings-widget .active { color: #444444 !important; } @@ -2925,7 +2925,7 @@ nav .nav-menu-icon { -webkit-border-radius: $radiuspx; border-radius: $radiuspx; } -nav .nav-menu-icon.selected { +nav .nav-menu-icon.active { background-color: #FF0000; } nav .nav-menu-icon img { @@ -2948,7 +2948,7 @@ nav:hover .nav-menu { /* border-bottom: 3px solid #f00; */ } -nav .nav-menu.selected a { +nav .nav-menu.active a { color: #444444; } @@ -2962,7 +2962,7 @@ nav .nav-notify { filter:alpha(opacity=60); } -.nav-notify:hover, nav .nav-notify.selected span { +.nav-notify:hover, nav .nav-notify.active span { color: #ffffff; } @@ -2985,10 +2985,10 @@ nav #nav-site-linkmenu .menu-popup { left: auto; } nav #nav-notifications-linkmenu.on .icon.s22.notify, -nav #nav-notifications-linkmenu.selected .icon.s22.notify { +nav #nav-notifications-linkmenu.active .icon.s22.notify { background-image: url("../../../../images/icons/22/notify_on.png"); } -nav #nav-apps-link.selected { +nav #nav-apps-link.active { background-color: #364e59; } ul.menu-popup { -- cgit v1.2.3