2012-04-16 00:10:09 +02:00
|
|
|
.commit-box {
|
2012-04-14 11:58:43 +02:00
|
|
|
@extend .main_box;
|
2012-04-14 00:46:11 +02:00
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
.commit-head {
|
|
|
|
@extend .top_box_content;
|
2012-04-14 00:46:11 +02:00
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
.commit-title {
|
|
|
|
line-height: 26px;
|
|
|
|
margin:0;
|
|
|
|
}
|
2012-04-14 00:46:11 +02:00
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
.commit-description {
|
|
|
|
font-size: 14px;
|
|
|
|
border: none;
|
|
|
|
background-color: white;
|
|
|
|
padding-top:10px;
|
|
|
|
}
|
2012-04-14 00:46:11 +02:00
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
.browse-button {
|
|
|
|
@extend .btn;
|
|
|
|
@extend .btn-small;
|
|
|
|
float: right;
|
|
|
|
}
|
2012-04-14 00:46:11 +02:00
|
|
|
}
|
|
|
|
|
2012-04-14 11:58:43 +02:00
|
|
|
.commit-info {
|
|
|
|
@extend .middle_box_content;
|
|
|
|
@extend .clearfix;
|
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
.sha-block {
|
|
|
|
text-align:right;
|
|
|
|
&:first-child {
|
|
|
|
padding-bottom:6px;
|
|
|
|
}
|
2012-04-14 11:58:43 +02:00
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
a {
|
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
margin-left: 9px;
|
|
|
|
}
|
2012-04-14 11:58:43 +02:00
|
|
|
}
|
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
&.merge-commit .sha-block {
|
|
|
|
clear: right;
|
|
|
|
}
|
2012-04-14 01:25:01 +02:00
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
.committer {
|
|
|
|
padding-left: 32px;
|
|
|
|
}
|
2012-04-14 00:46:11 +02:00
|
|
|
|
2012-04-16 00:10:09 +02:00
|
|
|
.avatar {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2012-04-14 00:46:11 +02:00
|
|
|
}
|
2012-04-16 00:10:09 +02:00
|
|
|
}
|
2012-05-30 20:02:30 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* COMMIT SHOw
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.diff_file {
|
|
|
|
border:1px solid #CCC;
|
|
|
|
margin-bottom:1em;
|
|
|
|
|
|
|
|
.diff_file_header {
|
|
|
|
padding:7px 5px;
|
|
|
|
border-bottom:1px solid #CCC;
|
|
|
|
background: #eee;
|
|
|
|
background-image: -webkit-gradient(linear, 0 0, 0 30, color-stop(0.066, #eee), to(#dfdfdf));
|
|
|
|
background-image: -webkit-linear-gradient(#eee 6.6%, #dfdfdf);
|
|
|
|
background-image: -moz-linear-gradient(#eee 6.6%, #dfdfdf);
|
|
|
|
background-image: -o-linear-gradient(#eee 6.6%, #dfdfdf);
|
|
|
|
|
|
|
|
span {
|
|
|
|
font-size:14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.diff_file_content {
|
|
|
|
overflow:auto;
|
|
|
|
overflow-y:hidden;
|
|
|
|
background:#fff;
|
|
|
|
color:#333;
|
|
|
|
font-size: 12px;
|
2012-06-19 12:56:09 +02:00
|
|
|
font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
|
2012-07-02 22:08:07 +02:00
|
|
|
.old{
|
|
|
|
span.idiff{
|
|
|
|
background-color:#FAA;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.new{
|
|
|
|
span.idiff{
|
|
|
|
background-color:#AFA;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-05-30 20:02:30 +02:00
|
|
|
}
|
|
|
|
.diff_file_content_image {
|
|
|
|
background:#eee;
|
|
|
|
text-align:center;
|
|
|
|
img {
|
|
|
|
margin:50px;
|
|
|
|
padding:1px;
|
|
|
|
max-width:400px;
|
2012-07-05 22:19:37 +02:00
|
|
|
|
|
|
|
&.diff_image_removed {
|
2012-05-30 20:02:30 +02:00
|
|
|
border: 1px solid #C00;
|
|
|
|
}
|
|
|
|
|
2012-07-05 22:19:37 +02:00
|
|
|
&.diff_image_added {
|
2012-05-30 20:02:30 +02:00
|
|
|
border: 1px solid #0C0;;
|
|
|
|
}
|
|
|
|
}
|
2012-07-05 22:19:37 +02:00
|
|
|
|
|
|
|
&.img_compared {
|
|
|
|
img {
|
|
|
|
max-width:300px;
|
|
|
|
}
|
|
|
|
}
|
2012-05-30 20:02:30 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff_file_content{
|
|
|
|
table {
|
|
|
|
border:none;
|
|
|
|
margin:0px;
|
|
|
|
padding:0px;
|
|
|
|
tr {
|
|
|
|
td {
|
|
|
|
font-size:12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.old_line, .new_line {
|
|
|
|
margin:0px;
|
|
|
|
padding:0px;
|
|
|
|
border:none;
|
|
|
|
background:#EEE;
|
|
|
|
color:#666;
|
|
|
|
padding: 0px 5px;
|
|
|
|
border-right: 1px solid #ccc;
|
|
|
|
text-align:right;
|
|
|
|
min-width:35px;
|
|
|
|
max-width:35px;
|
|
|
|
width:35px;
|
|
|
|
moz-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
user-select: none;
|
|
|
|
a {
|
|
|
|
float:left;
|
|
|
|
width:35px;
|
|
|
|
font-weight:normal;
|
|
|
|
color:#666;
|
|
|
|
&:hover {
|
|
|
|
text-decoration:underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.line_content {
|
|
|
|
white-space:pre;
|
|
|
|
height:14px;
|
|
|
|
margin:0px;
|
|
|
|
padding:0px;
|
|
|
|
border:none;
|
|
|
|
&.new {
|
|
|
|
background: #CFD;
|
|
|
|
}
|
|
|
|
&.old {
|
|
|
|
background: #FDD;
|
|
|
|
}
|
|
|
|
&.matched {
|
|
|
|
color:#ccc;
|
|
|
|
background:#fafafa;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** COMMIT BLOCK **/
|
|
|
|
.commit-title{display: block;}
|
|
|
|
.commit-title{margin-bottom: 10px}
|
|
|
|
.commit-author, .commit-committer{display: block;color: #999; font-weight: normal; font-style: italic;}
|
|
|
|
.commit-author strong, .commit-committer strong{font-weight: bold; font-style: normal;}
|
|
|
|
|
2012-06-13 19:02:30 +02:00
|
|
|
|
|
|
|
/** COMMIT ROW **/
|
|
|
|
.commit {
|
|
|
|
@extend .wll;
|
|
|
|
|
|
|
|
.browse_code_link_holder {
|
|
|
|
@extend .span2;
|
|
|
|
float:right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.committed_ago {
|
|
|
|
float:right;
|
|
|
|
@extend .cgray;
|
|
|
|
}
|
|
|
|
}
|