summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2012-10-28 16:47:25 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2012-10-28 16:47:25 +0100
commit71435ac1ccdceb75342202c86a763b4f3f7c8b0e (patch)
treeba43ea892685655b00af86f82c77a5afbc882b13
parentcf2a504d42d35a200cb611b11c8cfa394895fca9 (diff)
downloadnextcloud-server-71435ac1ccdceb75342202c86a763b4f3f7c8b0e.tar.gz
nextcloud-server-71435ac1ccdceb75342202c86a763b4f3f7c8b0e.zip
improve user menu
-rw-r--r--core/css/styles.css7
-rw-r--r--core/js/js.js4
2 files changed, 5 insertions, 6 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 677d44658e8..bacb6367e86 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -106,9 +106,10 @@ label.infield { cursor: text !important; }
#expand:hover, #expand:focus, #expand:active { color:#fff; }
#expand img { opacity:.5; margin-bottom:-2px; }
#expand:hover img, #expand:focus img, #expand:active img { opacity:1; }
-#expanddiv { position:absolute; right:0; background-color:rgb(29, 45, 68); }
-#expanddiv a { color:#ccc; padding:5px 8px; }
-#expanddiv a:hover, #expanddiv a:focus, #expanddiv a:active { color:#fff; }
+#expanddiv { position:absolute; right:0; top:45px; background-color:#eee; border-bottom-left-radius:7px; box-shadow: 0 0 20px #888888; z-index:76; }
+#expanddiv a { display:block; color:#222; text-shadow:0 1px 0 #fff; padding:0 8px; }
+#expanddiv a img { margin-bottom:-3px; }
+#expanddiv a:hover, #expanddiv a:focus, #expanddiv a:active { color:#555; background-color:#ddd; }
/* VARIOUS REUSABLE SELECTORS */
.hidden { display:none; }
diff --git a/core/js/js.js b/core/js/js.js
index 6ed50b42bd5..d0399063cfc 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -590,9 +590,7 @@ $(document).ready(function(){
event.stopPropagation();
});
$(window).click(function(){//hide the settings menu when clicking outside it
- if($('body').attr("id")==="body-user"){
- $('#settings #expanddiv').slideUp();
- }
+ $('#settings #expanddiv').slideUp();
});
// all the tipsy stuff needs to be here (in reverse order) to work