OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/assets/stylesheets/layout/header.css.scss

180 lines
4.1 KiB

/*-- copyright
* OpenProject is a project management system.
* Copyright (C) 2012-2013 the OpenProject Foundation (OPF)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License version 3.
*
* OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
* Copyright (C) 2006-2013 Jean-Philippe Lang
* Copyright (C) 2010-2013 the ChiliProject Team
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; either version 2
* of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
* See doc/COPYRIGHT.rdoc for more details. ++*/
.account-nav {
display: block;
}
#logo {
float: left;
width: 270px;
height: 55px;
background-color: #06799F;
.home-link {
margin-top: 13px;
display: block;
padding-left: 20px;
}
}
#header {
height: 55px;
min-width: 1000px;
}
#header li.drop-down select {
width: 100%;
}
#header li.drop-down > a {
background-image: url(image-path('top_menu_arrow_grey_white_sprite.png'));
background-position: right -40px;
background-repeat: no-repeat;
padding-right: 35px;
}
#header li.drop-down > a:hover {
background-image: url(image-path('top_menu_arrow_grey_white_sprite.png'));
background-position: right -2px;
background-repeat: no-repeat;
background-color: #700407;
padding-right: 35px;
}
#header li li a:hover {
background-color: #FFFFFF;
color: #222222;
}
#header li.drop-down li > a:hover, #main-menu ul.menu_root li a.selected, #main-menu ul.menu_root li a:hover {
color: #FFFFFF;
}
#header li.drop-down.open > a {
background: #FFFFFF url(image-path('arrow-down-grey.png')) no-repeat right center;
padding-right: 35px;
color: #000000;
}
.account-nav li a {
display: block;
padding: 0px 9px 0px;
}
.account-nav li > ul > li {
max-width: 350px;
}
#header li.open > a {
position: relative;
top: 0px;
z-index: 21;
}
#header li.last-child > ul {
left: auto;
right: -1px;
}
#header li li {
float: none;
white-space: nowrap;
border-style: solid;
border-width: 1px 0;
}
#header li.drop-down li > a {
padding: 6px;
background: #FFFFFF;
position: static;
color: #222222;
font-size: 13px;
font-style: normal;
font-weight: normal;
margin-top: 3px;
margin-bottom: 3px;
margin-left: 6px;
margin-right: 6px;
height: 15px;
line-height: 15px;
}
.account-nav > li {
margin-left: 3px;
margin-right: 3px;
border-right: 0px solid;
zoom: 1;
}
li a.home {
background-image: url(image-path('home_black_white_sprite.png'));
background-position: center -43px;
width: 20px;
}
li a.home:hover {
background-position: center -11px;
}
#header li.drop-down > a {
padding-right: 35px;
}
#header li > a:hover {
background-color: transparent;
color: white;
}
#header li.drop-down.open {
color: white;
}
#header li.drop-down > a:hover, #header li.drop-down > a {
background-image: url(image-path('top_menu_arrow_black_white_sprite.png'));
background-position: right -48px;
background-color: transparent;
}
#header li.drop-down.open > a {
color: white;
background-image: url(image-path('top_menu_arrow_black_white_sprite.png'));
background-color: transparent;
background-position: right -48px;
}
#header li.drop-down li > a:hover, #main-menu ul.menu-root li a.selected, #main-menu ul.menu-root li a:hover, #header .chzn-container .chzn-results .highlighted {
background-color: #24b3e7;
}
#header li.drop-down > ul {
-moz-box-shadow: 1px 1px 2px #aaa;
-webkit-box-shadow: 1px 1px 2px #aaa;
}
li a.help {
width: 20px;
height: 43px;
padding-right: 6px;
}