summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-02-26 11:07:43 +0100
committerVincent Petry <pvince81@owncloud.com>2014-02-26 11:07:43 +0100
commita1600a289cda418565b42c6d3f667dd585d9947b (patch)
treeeb6a88291f8337fee653a645cf6e6e3d04434910 /settings
parent5c98e0c7c7f1063a3ed38c0a19742cb3194bfee7 (diff)
parent1a561fced066e0d9103eb5dc72946e452beb2b83 (diff)
downloadnextcloud-server-a1600a289cda418565b42c6d3f667dd585d9947b.tar.gz
nextcloud-server-a1600a289cda418565b42c6d3f667dd585d9947b.zip
Merge pull request #7401 from owncloud/highlight_selected_app_settings
Highlight the selected app in app-settings
Diffstat (limited to 'settings')
-rw-r--r--settings/css/settings.css7
-rw-r--r--settings/js/apps.js2
2 files changed, 8 insertions, 1 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index 8a96885b789..60abbc10862 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -61,7 +61,12 @@ td.remove { width:1em; padding-right:1em; }
tr:hover>td.password>span, tr:hover>td.displayName>span { margin:0; cursor:pointer; }
tr:hover>td.remove>a, tr:hover>td.password>img,tr:hover>td.displayName>img, tr:hover>td.quota>img { visibility:visible; cursor:pointer; }
tr:hover>td.remove>a { float:right; }
-li.selected { background-color:#ddd; }
+
+li.selected,
+#leftcontent li.selected {
+ background-color: #ddd;
+}
+
table.grid { width:100%; }
#rightcontent { padding-left: 10px; }
div.quota {
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 2c6f77d9314..7c71453e105 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -249,6 +249,8 @@ $(document).ready(function(){
var app = item.data('app');
OC.Settings.Apps.loadApp(app);
}
+ $('#leftcontent .selected').removeClass('selected');
+ item.addClass('selected');
return false;
});
$('#rightcontent input.enable').click(function(){