gitlabhq/app/assets/stylesheets/themes/ui_modern.scss

141 lines
3.1 KiB
SCSS
Raw Normal View History

2012-02-26 23:41:53 +01:00
/**
* This file represent some UI that can be changed
* during web app restyle or theme select.
*
2012-02-26 23:41:53 +01:00
* Next items should be placed there
* - link colors
* - header styles
* - main menu styles
*
*/
.ui_modern {
/*
* Application Header
*
*/
header {
height:40px;
background-image: -moz-linear-gradient(top, #333, #222);
background-image: -ms-linear-gradient(top, #333, #222);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333), to(#222));
background-image: -webkit-linear-gradient(top, #333, #222);
background-image: -o-linear-gradient(top, #333, #222);
background-image: linear-gradient(top, #333, #222);
background-repeat: repeat-x;
background-repeat: repeat-x;
filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
.container .top_panel_content { padding: 5px 0; }
/**
*
* Logo holder
*
*/
.app_logo {
width:160px;
a {
h1 {
opacity: 0.7;
background: url('images.png') no-repeat -3px -6px;
width: 65px;
height: 26px;
margin: 6px 0;
padding: 0;
float: left;
text-indent: -1000em;
float:left;
&:hover {
opacity: 1.0;
}
}
}
.separator {
width: 1px;
height: 40px;
margin: 0 10px;
overflow: hidden;
background: #222;
border-left: 1px solid #333;
2012-06-12 13:58:44 +02:00
}
}
.fbtn {
.btn {
i {
@extend .icon-white;
position: relative;
top: 2px;
}
background:none;
margin-left:8px;
font-size: 13px;
font-weight:bold;
line-height: 19px;
color:#ccc;
&:hover {
color:#fff;
}
border: none;
box-shadow:none;
text-shadow: 0 -1px 0 #000000;
border-left: 1px solid #333;
}
2012-02-26 23:41:53 +01:00
}
/**
*
* Search box
*
*/
.search {
float: right;
2012-08-16 08:13:50 +02:00
margin-right: 45px;
.search-input {
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);
2012-02-26 23:41:53 +01:00
&:focus {
background-color: white;
}
}
.search-input::-webkit-input-placeholder {
color: #666;
}
}
2012-06-12 15:36:27 +02:00
/**
*
* Project / Area name
*
*/
.project_name {
line-height:34px;
font-size:22px;
color:#ccc;
text-shadow: 0 1px 1px #111;
}
2012-06-12 15:36:27 +02:00
/**
*
* Account box
*
*/
.account-box {
top:6px;
img {
2012-08-16 08:13:50 +02:00
top:1px;
right: 5px;
width: 26px;
height: 26px;
}
}
2012-06-12 15:36:27 +02:00
}
}