gitlabhq/app/assets/stylesheets/ui_mars.scss
2012-03-13 22:17:13 +02:00

152 lines
2.8 KiB
SCSS

/**
* This file represent some UI that can be changed
* during web app restyle or theme select.
*
* Next items should be placed there
* - link colors
* - header styles
* - main menu styles
*
*/
.ui_mars {
background:#eee;
.container {
border: 1px solid rgba(0,0,0,.22);
box-shadow: 0 0 0px 4px rgba(0,0,0,.04);
background:white;
margin-top:20px;
min-height:500px;
nav.main_menu {
margin:0;
margin-bottom: 20px;
border:none;
border-bottom: 1px solid #bbb;
border-radius:0;
a {
border-radius:0;
}
}
}
/*
* Common styles
*
*/
a {
color: $link_color;
&:hover {
text-decoration:none;
color: $style_color;
}
}
/*
* Application Header
*
*/
header {
width:100%;
padding:0;
margin:0;
top:1px;
left:0;
background: #474D57 url('bg-header.png') repeat-x bottom;
z-index:10;
height:60px;
.search {
float: right;
margin-right: 55px;
.search-input {
background-image:url("icon-search.png");
float: right;
text-shadow: none;
width: 130px;
background-image: url("icon-search.png");
background-repeat: no-repeat;
background-position: 10px;
border-radius: 100px;
border: 1px solid rgba(0, 0, 0, 0.7);
box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 2px 2px rgba(0, 0, 0, 0.4) inset;
background-color: #D2D5DA;
background-color: rgba(255, 255, 255, 0.5);
padding: 5px;
padding-left: 26px;
&:focus {
background-color: white;
}
}
}
.search-input::-webkit-input-placeholder {
color: #666;
}
.app_logo {
width:230px;
float:left;
position:relative;
top:-5px;
a {
float:left;
h1 {
background: url('logo_wh.png') no-repeat -3px -4px;
float:left;
margin-left:5px;
font-size:20px;
line-height:36px;
font-weight:bold;
color:#ccc;
text-shadow: 0 1px 1px #111;
padding-left:50px;
padding-top:5px;
}
}
}
.wrapper {
margin:auto;
min-width:$min_app_width;
max-width:$max_app_width;
position:relative;
padding:15px 0;
.account-box img {
right:0;
}
}
.project_name {
float:left;
width:360px;
margin:0;
margin-right:30px;
font-size:20px;
line-height:38px;
font-weight:bold;
color:#fff;
text-shadow: 0 1px 1px #111;
}
.admin_link {
width: 16px;
height: 16px;
padding: 5px;
margin-right: 15px;
float:right;
}
}
/*
* End of Application Header
*
*/
}