Adds Style changes to app-navigation in core/css/apps.css

This commit is contained in:
raghunayyar 2014-03-24 17:59:53 +05:30
parent 59d1ee565e
commit 3d8ce8104f
2 changed files with 13 additions and 4 deletions

View file

@ -29,10 +29,19 @@
-moz-box-sizing: border-box; box-sizing: border-box;
}
#app-navigation .active,
#app-navigation .active a,
#app-navigation li:hover > a {
#app-navigation .active a {
background-color: #eee;
}
#app-navigation li:hover > a {
background-color: #ddd;
}
#app-navigation .active {
font-weight:700;
}
#app-navigation .selected,
#app-navigation .selected a {
background-color:#ddd;
}
/* special rules for first-level entries and folders */
#app-navigation > ul > li {

View file

@ -82,9 +82,9 @@ OC.Settings.Apps = OC.Settings.Apps || {
page.find('p.appslink').hide();
page.find('span.score').hide();
}
if (typeof($('#app-navigation li[data-id="'+app.id+'"]').data('errormsg')) !== "undefined") {
if (typeof($('#app-navigation ul li[data-id="'+app.id+'"]').data('errormsg')) !== "undefined") {
page.find(".warning").show();
page.find(".warning").text($('#app-navigation li[data-id="'+app.id+'"]').data('errormsg'));
page.find(".warning").text($('#app-navigation ul li[data-id="'+app.id+'"]').data('errormsg'));
} else {
page.find(".warning").hide();
}