aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Migeot <olivier+github@migeot.org>2013-09-18 12:11:46 +0200
committerOlivier Migeot <olivier+github@migeot.org>2013-09-18 12:11:46 +0200
commit98e87b2149cec4179bf8d6677a600e8f7564402e (patch)
treec4df5c0c626bd4df016942342e38c41e7020d3eb
parentb0a4f1b30ab9bf5de2182b475ab5639f63a8e53f (diff)
downloadvolse-hubzilla-98e87b2149cec4179bf8d6677a600e8f7564402e.tar.gz
volse-hubzilla-98e87b2149cec4179bf8d6677a600e8f7564402e.tar.bz2
volse-hubzilla-98e87b2149cec4179bf8d6677a600e8f7564402e.zip
Changed CSS class "selected" to "active" in navbar, according to https://abcentric.net/display/f17b319c6d4b616a0d0a639e177969c6ae084248f1ee2bec9d8147c9291bf495@abcentric.net
-rw-r--r--include/nav.php2
-rw-r--r--view/theme/redbasic/css/style.css14
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 {