gitlabhq/app/assets/stylesheets/sections/merge_requests.scss

139 lines
2 KiB
SCSS
Raw Normal View History

/**
2012-06-13 19:02:30 +02:00
* MR form
*
*/
.mr_branch_box {
2012-06-13 19:02:30 +02:00
@extend .ui-box;
margin-bottom: 20px;
2012-06-13 19:02:30 +02:00
.body {
background: #f1f1f1;
2012-06-13 19:02:30 +02:00
}
}
/**
* MR -> show: Automerge widget
*
*/
.automerge_widget {
&.can_be_merged {
2012-06-13 19:02:30 +02:00
background: #DFF0D8;
}
form {
margin-bottom: 0;
.clearfix {
margin-bottom: 0;
2012-06-13 19:02:30 +02:00
}
}
.accept_group {
float: left;
2012-06-13 19:02:30 +02:00
border: 1px solid #ADA;
padding: 2px;
@include border-radius(5px);
background: #CEB;
.accept_merge_request {
font-size: 13px;
float: left;
2012-06-13 19:02:30 +02:00
}
.remove_branch_holder {
margin-left: 20px;
margin-right: 10px;
float: left;
2012-06-13 19:02:30 +02:00
}
label {
color: #444;
2012-06-13 19:02:30 +02:00
}
}
.how_to_merge_link {
2012-06-13 19:02:30 +02:00
@extend .primary;
}
}
.mr_nav_tabs {
li {
a {
font-weight: bold;
padding: 8px 20px;
text-align: center;
}
}
}
2012-07-17 07:17:16 +02:00
li.merge_request {
padding: 7px 10px;
img.avatar {
2012-07-17 07:17:16 +02:00
width: 32px;
2012-11-10 22:45:13 +01:00
margin-top: 1px;
2012-07-17 07:17:16 +02:00
}
p {
2012-07-17 07:17:16 +02:00
padding: 0px;
padding-bottom: 2px;
}
}
2012-08-18 23:45:46 +02:00
.merge_in_progress {
2012-08-18 23:45:46 +02:00
@extend .padded;
@extend .append-bottom-10;
}
.label_branch {
@include border-radius(4px);
padding: 2px 4px;
border: none;
font-size: 14px;
background: #474D57;
color: #fff;
font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
}
.mr_source_commit,
.mr_target_commit {
.commit {
margin: 0;
padding: 0;
padding: 5px;
margin-bottom: 5px;
.avatar { position:relative }
.row_title {
color: #444;
}
.commit-author-name,
.dash,
.committed_ago,
.browse_code_link_holder {
display: none;
}
list-style: none;
&:hover {
background: none;
}
}
}
.mr_direction_tip {
margin-top:40px
}
.merge_requests_form_box {
@extend .main_box;
.merge_requests_middle_box {
@extend .middle_box_content;
height: 30px;
.merge_requests_assignee {
@extend .span6;
float: left;
}
.merge_requests_milestone {
@extend .span4;
float: left;
}
}
}