gitlabhq/app/assets/stylesheets/ui_mars.scss

152 lines
2.8 KiB
SCSS
Raw Normal View History

2012-02-28 23:45:38 +01:00
/**
* 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;
}
}
}
2012-02-28 23:45:38 +01:00
/*
* 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;
2012-03-07 22:55:46 +01:00
.search {
float: right;
2012-03-07 22:55:46 +01:00
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;
2012-02-28 23:45:38 +01:00
}
.app_logo {
width:230px;
float:left;
position:relative;
top:-5px;
2012-02-28 23:45:38 +01:00
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;
2012-02-28 23:45:38 +01:00
}
}
}
.wrapper {
margin:auto;
min-width:$min_app_width;
max-width:$max_app_width;
position:relative;
padding:15px 0;
.account-box img {
right:0;
2012-02-28 23:45:38 +01:00
}
}
.project_name {
float:left;
2012-03-07 22:55:46 +01:00
width:360px;
2012-02-28 23:45:38 +01:00
margin:0;
margin-right:30px;
font-size:20px;
2012-03-10 10:32:43 +01:00
line-height:38px;
2012-02-28 23:45:38 +01:00
font-weight:bold;
color:#fff;
text-shadow: 0 1px 1px #111;
}
2012-03-07 22:55:46 +01:00
.admin_link {
width: 16px;
height: 16px;
padding: 5px;
margin-right: 15px;
float:right;
2012-02-28 23:45:38 +01:00
}
}
/*
* End of Application Header
*
*/
}