diff --git a/ui/squared/classes/SquaredUserMenu.php b/ui/squared/classes/SquaredUserMenu.php index d49a516..99f28d6 100644 --- a/ui/squared/classes/SquaredUserMenu.php +++ b/ui/squared/classes/SquaredUserMenu.php @@ -13,9 +13,9 @@ public function toHtml() return '
- - - + + +
'; } diff --git a/ui/squared/css/styles.css b/ui/squared/css/styles.css index ef8cd5b..99de03e 100644 --- a/ui/squared/css/styles.css +++ b/ui/squared/css/styles.css @@ -46,7 +46,7 @@ a.topMenuLink:hover position: absolute; padding: 10px; padding-left: 20px; - height: 20px; + height: 30px; background-image: -webkit-linear-gradient(left, color-stop(#333333 10px), color-stop(#222222 10px)); background-image: linear-gradient(to right, #333333 10px, #222222 10px); background-repeat: repeat-x; @@ -63,9 +63,10 @@ a.topMenuLink:hover .frontpageCaption { float: left; - font-weight: bold; color: white; display: block; + font-size: 20pt; + xfont-weight: bold; } .frontpageBody @@ -84,7 +85,7 @@ a.topMenuLink:hover .frontpageMainMenu { position: absolute; - top: 40px; + top: 50px; width: 300px; overflow: auto; background-color: #222222; diff --git a/ui/squared/html/frontpage.php b/ui/squared/html/frontpage.php index a07ec62..984edc9 100644 --- a/ui/squared/html/frontpage.php +++ b/ui/squared/html/frontpage.php @@ -19,7 +19,7 @@ var w = $(window).width(); var h = $(window).height(); - var dh = 40; + var dh = $(".frontpageTopMenu").outerHeight(); var dw = 30; $("#dh").width(w - dw);