diff options
author | Vincent Petry <pvince81@owncloud.com> | 2014-02-26 11:07:43 +0100 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2014-02-26 11:07:43 +0100 |
commit | a1600a289cda418565b42c6d3f667dd585d9947b (patch) | |
tree | eb6a88291f8337fee653a645cf6e6e3d04434910 /settings | |
parent | 5c98e0c7c7f1063a3ed38c0a19742cb3194bfee7 (diff) | |
parent | 1a561fced066e0d9103eb5dc72946e452beb2b83 (diff) | |
download | nextcloud-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.css | 7 | ||||
-rw-r--r-- | settings/js/apps.js | 2 |
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(){ |