summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorraghunayyar <me@iraghu.com>2014-03-24 17:59:53 +0530
committerraghunayyar <me@iraghu.com>2014-03-24 17:59:53 +0530
commit3d8ce8104f134d8c53bedc62ef9e0fcbb9e03465 (patch)
treec25ca5c64d945d3930d16b1c31c2dac479245c50
parent59d1ee565e66a0394e2cf1d59bde125cb2e70a48 (diff)
downloadnextcloud-server-3d8ce8104f134d8c53bedc62ef9e0fcbb9e03465.tar.gz
nextcloud-server-3d8ce8104f134d8c53bedc62ef9e0fcbb9e03465.zip
Adds Style changes to app-navigation in core/css/apps.css
-rw-r--r--core/css/apps.css13
-rw-r--r--settings/js/apps.js4
2 files changed, 13 insertions, 4 deletions
diff --git a/core/css/apps.css b/core/css/apps.css
index 0e6a080c9cd..5bfc2d4a08e 100644
--- a/core/css/apps.css
+++ b/core/css/apps.css
@@ -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 {
diff --git a/settings/js/apps.js b/settings/js/apps.js
index f151a034a85..05db4c9a048 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -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();
}