Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Change top menu bar to light gray theme
  • Loading branch information
Alex Eng committed Aug 6, 2012
1 parent 475b636 commit b029500
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 24 deletions.
2 changes: 1 addition & 1 deletion zanata-war/src/main/webapp/WEB-INF/layout/template.xhtml
Expand Up @@ -27,7 +27,7 @@
<ul>
<li id="logoCol">
<s:link view="/home.xhtml" propagation="none">
<img src="#{requestContextPath}/images/logo2.png" alt="#{messages['jsf.ZanataMainDescription']}" class="logo" />
<img src="#{requestContextPath}/images/logo.png" alt="#{messages['jsf.ZanataMainDescription']}" class="logo" />
</s:link>
</li>
<li id="translationCol">
Expand Down
2 changes: 0 additions & 2 deletions zanata-war/src/main/webapp/stylesheet/base.css
Expand Up @@ -116,11 +116,9 @@ input.with_icon {
background-position: 5px 50%;
background-repeat: no-repeat;
padding: 3px 3px 3px 25px;
border-radius: 5px;
height:22px;
width:280px;
font-size:16px;
outline:none;
}

button:hover,input[type="reset"]:hover,input[type="submit"]:hover,input[type="button"]:hover
Expand Down
52 changes: 31 additions & 21 deletions zanata-war/src/main/webapp/stylesheet/zanata.css
Expand Up @@ -26,8 +26,6 @@

#search_panel {
float: right;
padding-bottom: 5px;
color: #999999;
}

#bd {
Expand All @@ -49,7 +47,7 @@
#submenu {
width:100%;
border:1px dotted #D9D9D9;
height:30px;
height:32px;
border-radius:3px;
padding:2px;
}
Expand Down Expand Up @@ -191,11 +189,12 @@ input[type="submit"].projectSearchButton
font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
font-weight: bold;
font-size: 13px;
padding: 4px;
padding: 6px 5px 5px;
text-align: center;
text-decoration: none;
color: white;
text-shadow: 0 1px 2px #114A1E, 0 1px 0 #114A1E;
margin-top:2px;
}

input[type="submit"].projectSearchButton:hover
Expand Down Expand Up @@ -376,7 +375,6 @@ a.readonly_link,a.readonly_link:visited,a.readonly_link:link {
-moz-box-shadow:0 0 2px #aaa;
border: 1px solid #CCC;
border-radius: 5px;
-moz-border-radius: 5px;
margin-top: 5px;
float: right;
padding: 10px 20px;
Expand All @@ -387,7 +385,6 @@ a.readonly_link,a.readonly_link:visited,a.readonly_link:link {
-moz-box-shadow:0 0 2px #aaa;
border: 1px solid #CCC;
border-radius: 5px;
-moz-border-radius: 5px;
margin-top: 5px;
margin-right: 5px;
float: right;
Expand Down Expand Up @@ -559,32 +556,39 @@ a.readonly_link,a.readonly_link:visited,a.readonly_link:link {
/* ----------------------- Top menu CSS -------------------------*/
.header {
width: 100%;
height: 34px;
height: 35px;
margin: 0;
background: -webkit-linear-gradient(top, #354F71 0%, #1A2D45 100%);
background: -moz-linear-gradient(top, #354F71 0%, #1A2D45 100%);
background: -o-linear-gradient(top, #354F71 0%, #1A2D45 100%);
background: -ms-linear-gradient(top, #354F71 0%, #1A2D45 100%);
/* background: -webkit-linear-gradient(top, #354F71 0%, #1A2D45 100%); */
/* background: -moz-linear-gradient(top, #354F71 0%, #1A2D45 100%); */
/* background: -o-linear-gradient(top, #354F71 0%, #1A2D45 100%); */
/* background: -ms-linear-gradient(top, #354F71 0%, #1A2D45 100%); */

background: -webkit-linear-gradient(top, #F1F1F1 0%, #DDDDDD 100%);
background: -moz-linear-gradient(top, #F1F1F1 0%, #DDDDDD 100%);
background: -o-linear-gradient(top, #F1F1F1 0%, #DDDDDD 100%);
background: -ms-linear-gradient(top, #F1F1F1 0%, #DDDDDD 100%);

top:0px;
}

.logo {
width: 145px;
width: 200px;
}

.navBar {
width: 1024px;
height: 100%;
margin: 0 auto;
background: -webkit-linear-gradient(top, #354F71 0%, #1A2D45 100%);
background: -moz-linear-gradient(top, #354F71 0%, #1A2D45 100%);
background: -o-linear-gradient(top, #354F71 0%, #1A2D45 100%);
background: -ms-linear-gradient(top, #354F71 0%, #1A2D45 100%);
/* background: -webkit-linear-gradient(top, #354F71 0%, #1A2D45 100%); */
/* background: -moz-linear-gradient(top, #354F71 0%, #1A2D45 100%); */
/* background: -o-linear-gradient(top, #354F71 0%, #1A2D45 100%); */
/* background: -ms-linear-gradient(top, #354F71 0%, #1A2D45 100%); */
}

.navBar ul {
display: table;
width: 100%;
height:100%;
float: none;
vertical-align: middle;
margin: 0;
Expand All @@ -599,20 +603,21 @@ a.readonly_link,a.readonly_link:visited,a.readonly_link:link {
padding: 0;
text-align: center;
vertical-align: middle;
border-right: 1px solid #000000;
box-shadow: inset 1px 0 0 #6A7D95;
border-right: 1px solid #EFEFEF;
box-shadow: inset 1px 0 0 #959595;
}

.navBar ul li:hover {
background: #1A2D45;
background: #7E91A9;
border-right: 1px solid #7E91A9;
}

.navBar ul li a {
display: block;
height: 33px;
line-height: 33px;
font-size: 13px;
color: white;
color: #595959;
font-family: helvetica;
font-weight: bold;
text-decoration: none;
Expand All @@ -624,6 +629,7 @@ a.readonly_link,a.readonly_link:visited,a.readonly_link:link {
.navBar ul li:hover a {
border-right: none;
box-shadow: none;
color:#FFFFFF;
}

.navBar ul li img {
Expand Down Expand Up @@ -700,7 +706,6 @@ div.submenu {
-o-transition: ease-in-out .1s;
-ms-transition: ease-in-out .1s;
transition: ease-in-out .1s;
border-top: 1px solid #1A2D45;
-webkit-box-shadow: 0px 3px 4px rgba(0, 0, 0, .3);
-moz-box-shadow: 0px 3px 4px rgba(0, 0, 0, .3);
box-shadow: 0px 3px 4px rgba(0, 0, 0, .3);
Expand Down Expand Up @@ -733,6 +738,11 @@ div.submenu ul li:hover {
background: #BACDE5;
}

.navBar ul li:hover div.submenu ul li a
{
color: #454545;
}

div.submenu ul li a {
color: #454545;
font-size: 12px;
Expand Down

0 comments on commit b029500

Please sign in to comment.