Skip to content

Commit

Permalink
#46
Browse files Browse the repository at this point in the history
  • Loading branch information
tihhanovski committed Jul 13, 2016
1 parent 878e593 commit 9ecb779
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
6 changes: 3 additions & 3 deletions ui/squared/classes/SquaredUserMenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ public function toHtml()
return '<div class="squaredUserMenu">
<div>
<!--a href="JavaScript:logout();"><?=t("Logout")?></a-->
<i class="userMenuItem fa fa-share-alt" aria-hidden="true"></i>
<i class="userMenuItem fa fa-user" aria-hidden="true"></i>
<i class="userMenuItem fa fa-cog" aria-hidden="true"></i>
<!--i class="userMenuItem fa fa-share-alt" aria-hidden="true"></i></a-->
<i onclick="Javascript:app.userMenu();" class="userMenuItem fa fa-user" aria-hidden="true"></i>
<!--i class="userMenuItem fa fa-cog" aria-hidden="true"></i-->
</div>
</div>';
}
Expand Down
7 changes: 4 additions & 3 deletions ui/squared/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -63,9 +63,10 @@ a.topMenuLink:hover
.frontpageCaption
{
float: left;
font-weight: bold;
color: white;
display: block;
font-size: 20pt;
xfont-weight: bold;
}

.frontpageBody
Expand All @@ -84,7 +85,7 @@ a.topMenuLink:hover
.frontpageMainMenu
{
position: absolute;
top: 40px;
top: 50px;
width: 300px;
overflow: auto;
background-color: #222222;
Expand Down
2 changes: 1 addition & 1 deletion ui/squared/html/frontpage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9ecb779

Please sign in to comment.