Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Bug 427503 - Orion New UI Improvements
- Made entire navigation menu tile clickable
- Centered navigation sub menu left arrow

--Signed-off-by: Elijah El-Haddad <elijahe@ca.ibm.com>
  • Loading branch information
elijahe committed Feb 7, 2014
1 parent 267f33e commit c3c2a94
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions bundles/org.eclipse.orion.client.ui/web/css/layout.css
Expand Up @@ -470,8 +470,8 @@ hard-coded numbers elsewhere.
border-bottom: 1px solid #444;
border-top: 1px solid transparent;
list-style-type: none;
padding: 12px 12px 15px 12px;
font-size:16px !important;
padding: 0;
}

.sideMenuItem:hover{
Expand All @@ -485,6 +485,7 @@ hard-coded numbers elsewhere.
text-decoration:none !important;
width: 100%;
display: inline-block;
padding: 9px 0px 12px 0px;
}
.sideMenuItem>a:hover{
text-decoration:none;
Expand All @@ -507,9 +508,10 @@ hard-coded numbers elsewhere.
list-style-type:none;
position:absolute;
font-family:sans-serif;
padding-left: 13px;
padding-left: 0;
z-index:100;
text-align: left;
left: 40px;
}

.sideMenuSubMenuItem{
Expand All @@ -525,9 +527,9 @@ hard-coded numbers elsewhere.
.sideMenuSubMenuItem:before {
width: 0;
height: 0;
top: 5px;
top: 13px;
content: "";
left: 7px;
left: -7px;
position: absolute;
z-index: 200;
border-top: 7px solid transparent;
Expand All @@ -548,7 +550,7 @@ hard-coded numbers elsewhere.
.sideMenuSubMenuItem a {
display: inline-block;
color: #333;
padding: 10px 30px 10px 10px;
padding: 12px 30px 12px 10px;
width: calc(100% - 30px - 10px + 8px); /* clamp to container's width, plus 5px fudge factor */
}

Expand Down

0 comments on commit c3c2a94

Please sign in to comment.