gitlabhq/app/assets/stylesheets/common.scss

207 lines
3 KiB
SCSS
Raw Normal View History

2012-02-11 22:22:33 +01:00
a {
color: $link_color;
&:hover {
text-decoration:none;
color: $style_color;
}
}
.pills .active a {
background-color: #474D57;
}
.label {
background-color: #474D57;
}
.tabs > li > a, .pills > li > a {
color:$style_color;
}
.diff_file_header a,
.file_stats a {
color:$style_color;
}
2012-01-16 20:07:57 +01:00
/** COLORS **/
.cgray { color:gray; }
.cred { color:#D12F19; }
.cgreen { color:#44aa22; }
/** COMMON STYLES **/
.left {
float:left;
}
.right {
float:right;
}
.width-50p{
width:50%;
}
.width-49p{
width:49%;
}
.width-30p{
width:30%;
}
.width-65p{
width:65%;
}
.width-100p{
width:100%;
}
.append-bottom-10 {
margin-bottom:10px;
}
.append-bottom-20 {
margin-bottom:20px;
}
.prepend-top-10 {
margin-top:10px;
}
.no-borders {
border:none;
}
.no-padding {
padding:0 !important;
}
2012-01-27 07:57:55 +01:00
.underlined {
border-bottom: 1px solid $border_color;
}
2012-01-16 20:07:57 +01:00
2012-01-26 18:25:35 +01:00
/** LAYOUT **/
2012-01-16 20:07:57 +01:00
2012-01-26 18:25:35 +01:00
.container-fluid {
2012-01-26 23:13:19 +01:00
min-width:$min_app_width;
max-width:$max_app_width;
2012-01-26 18:25:35 +01:00
margin:auto;
margin-top:62px;
2012-01-26 18:25:35 +01:00
}
.container-fluid > .sidebar {
2012-01-26 23:13:19 +01:00
width: 140px;
2012-01-26 18:25:35 +01:00
border-right: 1px solid $border_color;
2012-01-26 23:13:19 +01:00
height:100%;
2012-01-27 00:46:32 +01:00
min-height:450px;
2012-01-27 23:51:02 +01:00
.fixed {
position:fixed;
}
aside a {
display:block;
position:relative;
padding:12px 10px;
2012-01-27 23:51:02 +01:00
margin:10px 0 0 0;
font-size:13px;
font-weight:bold;
2012-02-11 22:22:33 +01:00
color:$style_color;
2012-01-27 23:51:02 +01:00
}
2012-01-16 20:07:57 +01:00
}
2012-01-26 18:25:35 +01:00
.container-fluid > .content {
2012-01-26 23:13:19 +01:00
margin-left: 160px;
2012-01-27 07:57:55 +01:00
margin-top:20px;
}
2012-01-16 20:07:57 +01:00
2012-01-28 00:49:14 +01:00
aside.projects,
aside.project-side
{
2012-01-27 23:51:02 +01:00
margin-left: 0;
padding-left: 20px;
}
img.avatar {
float:left;
2012-01-28 15:47:55 +01:00
margin-right:15px;
width:40px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
2012-01-27 23:51:02 +01:00
}
img.lil_av {
padding-left: 5px;
position: relative;
top: 3px;
}
2012-01-28 10:54:11 +01:00
.media-grid {
h3, h2 , h4 {
&.media_h {
padding-left:10px;
float:left;
}
}
}
2012-01-28 15:47:55 +01:00
.wll {
background-color: #FFF;
2012-02-11 22:22:33 +01:00
padding: 10px 5px;
2012-01-28 15:47:55 +01:00
min-height: 20px;
border-bottom: 1px solid #eee;
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
2012-02-11 22:22:33 +01:00
cursor:pointer;
&:hover {
background:$hover;
}
2012-01-28 15:47:55 +01:00
&:last-child { border:none }
2012-02-11 22:22:33 +01:00
p { padding-top:5px; margin:0; color:$style_color;}
.author { color: #999; }
p {
color:$style_color;
margin-bottom: 0;
img {
position:relative;
top:3px;
}
}
2012-01-28 15:47:55 +01:00
}
.visible_link,
2012-01-29 11:04:09 +01:00
.author_link {
2012-02-11 22:22:33 +01:00
color: $link_color;
2012-01-29 11:04:09 +01:00
}
2012-02-11 18:56:18 +01:00
.entry {
position: relative;
padding: 7px 15px;
margin-bottom: 18px;
color: #404040;
filter:none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
2012-01-29 11:04:09 +01:00
2012-02-11 18:56:18 +01:00
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
2012-01-26 18:25:35 +01:00
2012-02-11 18:56:18 +01:00
background:#F1F1F1;
border: 1px solid #ccc;
2012-02-11 22:22:33 +01:00
2012-02-11 18:56:18 +01:00
p {
2012-02-11 22:22:33 +01:00
color:$style_color;
2012-02-11 18:56:18 +01:00
margin-bottom: 0;
img {
position:relative;
top:3px;
}
}
}
2012-02-11 22:22:33 +01:00
.well {
a h3 {
color:$link_color;
}
}
2012-02-11 18:56:18 +01:00
.widget {
padding:20px;
margin-bottom:20px;
}
2012-01-26 18:25:35 +01:00