2012-04-15 18:10:09 -04:00
|
|
|
.commit-box {
|
2012-04-14 05:58:43 -04:00
|
|
|
@extend .main_box;
|
2012-04-13 18:46:11 -04:00
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
.commit-head {
|
2012-04-15 18:10:09 -04:00
|
|
|
@extend .top_box_content;
|
2012-04-13 18:46:11 -04:00
|
|
|
|
2012-04-15 18:10:09 -04:00
|
|
|
.commit-title {
|
|
|
|
line-height: 26px;
|
2012-11-23 11:33:43 -05:00
|
|
|
margin: 0;
|
2012-04-15 18:10:09 -04:00
|
|
|
}
|
2012-04-13 18:46:11 -04:00
|
|
|
|
2012-04-15 18:10:09 -04:00
|
|
|
.commit-description {
|
|
|
|
font-size: 14px;
|
|
|
|
border: none;
|
|
|
|
background-color: white;
|
2012-11-23 11:33:43 -05:00
|
|
|
padding-top: 10px;
|
2012-04-15 18:10:09 -04:00
|
|
|
}
|
2012-04-13 18:46:11 -04:00
|
|
|
|
2012-04-15 18:10:09 -04:00
|
|
|
.browse-button {
|
|
|
|
@extend .btn;
|
|
|
|
@extend .btn-small;
|
|
|
|
float: right;
|
|
|
|
}
|
2012-04-13 18:46:11 -04:00
|
|
|
}
|
|
|
|
|
2012-04-14 05:58:43 -04:00
|
|
|
.commit-info {
|
|
|
|
@extend .middle_box_content;
|
|
|
|
@extend .clearfix;
|
|
|
|
|
2012-04-15 18:10:09 -04:00
|
|
|
.sha-block {
|
2012-11-23 11:33:43 -05:00
|
|
|
text-align: right;
|
2012-09-24 05:32:51 -04:00
|
|
|
&:first-child {
|
2012-11-23 11:33:43 -05:00
|
|
|
padding-bottom: 6px;
|
2012-04-15 18:10:09 -04:00
|
|
|
}
|
2012-04-14 05:58:43 -04:00
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
a {
|
2012-04-15 18:10:09 -04:00
|
|
|
border-bottom: 1px solid #aaa;
|
|
|
|
margin-left: 9px;
|
|
|
|
}
|
2012-04-14 05:58:43 -04:00
|
|
|
}
|
|
|
|
|
2012-04-15 18:10:09 -04:00
|
|
|
&.merge-commit .sha-block {
|
|
|
|
clear: right;
|
|
|
|
}
|
2012-04-13 19:25:01 -04:00
|
|
|
|
2012-04-15 18:10:09 -04:00
|
|
|
.committer {
|
|
|
|
padding-left: 32px;
|
|
|
|
}
|
2012-04-13 18:46:11 -04:00
|
|
|
|
2012-10-17 18:49:20 -04:00
|
|
|
.author a,
|
|
|
|
.committer a {
|
2012-11-23 11:33:43 -05:00
|
|
|
font-size: 14px;
|
|
|
|
line-height: 22px;
|
2012-11-23 11:51:38 -05:00
|
|
|
text-shadow: 0 1px 1px #fff;
|
|
|
|
color: #777;
|
2012-10-17 18:49:20 -04:00
|
|
|
&:hover {
|
|
|
|
color: #999;
|
|
|
|
}
|
2012-09-28 09:05:54 -04:00
|
|
|
}
|
|
|
|
|
2012-04-15 18:10:09 -04:00
|
|
|
.avatar {
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
2012-04-13 18:46:11 -04:00
|
|
|
}
|
2012-04-15 18:10:09 -04:00
|
|
|
}
|
2012-05-30 14:02:30 -04:00
|
|
|
|
|
|
|
/**
|
2012-09-24 05:32:51 -04:00
|
|
|
*
|
2012-05-30 14:02:30 -04:00
|
|
|
* COMMIT SHOw
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
.diff_file {
|
2012-11-23 11:51:38 -05:00
|
|
|
border: 1px solid #CCC;
|
2012-11-23 11:33:43 -05:00
|
|
|
margin-bottom: 1em;
|
2012-05-30 14:02:30 -04:00
|
|
|
|
|
|
|
.diff_file_header {
|
2012-11-18 11:41:41 -05:00
|
|
|
@extend .clearfix;
|
|
|
|
padding: 5px 5px 5px 10px;
|
|
|
|
color: #555;
|
2012-11-23 11:51:38 -05:00
|
|
|
border-bottom: 1px solid #CCC;
|
2012-05-30 14:02:30 -04:00
|
|
|
background: #eee;
|
2012-11-23 11:51:38 -05:00
|
|
|
// TODO Replace with linear-gradient mixin
|
2012-05-30 14:02:30 -04:00
|
|
|
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);
|
|
|
|
|
2012-11-18 11:41:41 -05:00
|
|
|
> span {
|
|
|
|
font-family: $monospace;
|
2012-11-23 11:33:43 -05:00
|
|
|
font-size: 14px;
|
2012-11-18 11:41:41 -05:00
|
|
|
line-height: 30px;
|
|
|
|
}
|
2012-11-19 07:01:40 -05:00
|
|
|
|
2012-11-18 11:41:41 -05:00
|
|
|
a.view-commit{
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2012-11-19 07:01:40 -05:00
|
|
|
|
2012-11-18 11:41:41 -05:00
|
|
|
.commit-short-id{
|
|
|
|
font-family: $monospace;
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
2012-11-19 07:01:40 -05:00
|
|
|
|
2012-11-18 11:41:41 -05:00
|
|
|
.file-mode{
|
|
|
|
font-family: $monospace;
|
2012-05-30 14:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.diff_file_content {
|
2012-11-23 11:33:43 -05:00
|
|
|
overflow: auto;
|
|
|
|
overflow-y: hidden;
|
2012-11-23 11:51:38 -05:00
|
|
|
background: #fff;
|
|
|
|
color: #333;
|
2012-05-30 14:02:30 -04:00
|
|
|
font-size: 12px;
|
2012-11-18 11:41:41 -05:00
|
|
|
font-family: $monospace;
|
2012-07-02 16:08:07 -04:00
|
|
|
.old{
|
|
|
|
span.idiff{
|
2012-11-23 11:51:38 -05:00
|
|
|
background-color: #FAA;
|
2012-07-02 16:08:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.new{
|
|
|
|
span.idiff{
|
2012-11-23 11:51:38 -05:00
|
|
|
background-color: #AFA;
|
2012-07-02 16:08:07 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2012-10-22 16:49:21 -04:00
|
|
|
table {
|
|
|
|
td {
|
2012-11-23 11:33:43 -05:00
|
|
|
line-height: 18px;
|
2012-10-22 16:49:21 -04:00
|
|
|
}
|
|
|
|
}
|
2012-05-30 14:02:30 -04:00
|
|
|
}
|
|
|
|
.diff_file_content_image {
|
2012-11-23 11:51:38 -05:00
|
|
|
background: #eee;
|
2012-11-23 11:33:43 -05:00
|
|
|
text-align: center;
|
2012-11-18 11:41:41 -05:00
|
|
|
.image {
|
|
|
|
display: inline-block;
|
2012-11-23 11:33:43 -05:00
|
|
|
margin: 50px;
|
|
|
|
max-width: 400px;
|
2012-07-05 16:19:37 -04:00
|
|
|
|
2012-11-21 12:25:32 -05:00
|
|
|
img{
|
|
|
|
background: url('trans_bg.gif');
|
|
|
|
}
|
|
|
|
|
2012-11-18 11:41:41 -05:00
|
|
|
&.diff_removed {
|
|
|
|
img{
|
|
|
|
border: 1px solid #C00;
|
|
|
|
}
|
2012-05-30 14:02:30 -04:00
|
|
|
}
|
|
|
|
|
2012-11-18 11:41:41 -05:00
|
|
|
&.diff_added {
|
|
|
|
img{
|
|
|
|
border: 1px solid #0C0;
|
|
|
|
}
|
|
|
|
}
|
2012-11-19 07:01:40 -05:00
|
|
|
|
2012-11-18 11:41:41 -05:00
|
|
|
.image-info{
|
|
|
|
margin: 5px 0 0 0;
|
2012-05-30 14:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
2012-07-05 16:19:37 -04:00
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
&.img_compared {
|
2012-11-18 11:41:41 -05:00
|
|
|
.image {
|
2012-11-23 11:33:43 -05:00
|
|
|
max-width: 300px;
|
2012-07-05 16:19:37 -04:00
|
|
|
}
|
|
|
|
}
|
2012-05-30 14:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.diff_file_content{
|
2012-09-24 05:32:51 -04:00
|
|
|
table {
|
2012-11-23 11:33:43 -05:00
|
|
|
border: none;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
2012-05-30 14:02:30 -04:00
|
|
|
tr {
|
2012-09-24 05:32:51 -04:00
|
|
|
td {
|
2012-11-23 11:33:43 -05:00
|
|
|
font-size: 12px;
|
2012-05-30 14:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.old_line, .new_line {
|
2012-11-23 11:33:43 -05:00
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
border: none;
|
2012-11-23 11:51:38 -05:00
|
|
|
background: #EEE;
|
|
|
|
color: #666;
|
2012-05-30 14:02:30 -04:00
|
|
|
padding: 0px 5px;
|
|
|
|
border-right: 1px solid #ccc;
|
2012-11-23 11:33:43 -05:00
|
|
|
text-align: right;
|
|
|
|
min-width: 35px;
|
|
|
|
max-width: 35px;
|
|
|
|
width: 35px;
|
2012-05-30 14:02:30 -04:00
|
|
|
moz-user-select: none;
|
|
|
|
-khtml-user-select: none;
|
|
|
|
user-select: none;
|
2012-09-24 05:32:51 -04:00
|
|
|
a {
|
2012-11-23 11:33:43 -05:00
|
|
|
float: left;
|
|
|
|
width: 35px;
|
|
|
|
font-weight: normal;
|
2012-11-23 11:51:38 -05:00
|
|
|
color: #666;
|
2012-09-24 05:32:51 -04:00
|
|
|
&:hover {
|
2012-11-23 11:33:43 -05:00
|
|
|
text-decoration: underline;
|
2012-05-30 14:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-09-24 05:32:51 -04:00
|
|
|
.line_content {
|
2012-11-23 11:33:43 -05:00
|
|
|
white-space: pre;
|
|
|
|
height: 14px;
|
|
|
|
margin: 0px;
|
|
|
|
padding: 0px;
|
|
|
|
border: none;
|
2012-09-24 05:32:51 -04:00
|
|
|
&.new {
|
2012-05-30 14:02:30 -04:00
|
|
|
background: #CFD;
|
|
|
|
}
|
2012-09-24 05:32:51 -04:00
|
|
|
&.old {
|
2012-05-30 14:02:30 -04:00
|
|
|
background: #FDD;
|
|
|
|
}
|
2012-09-24 05:32:51 -04:00
|
|
|
&.matched {
|
2012-11-23 11:51:38 -05:00
|
|
|
color: #ccc;
|
|
|
|
background: #fafafa;
|
2012-05-30 14:02:30 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/** 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 13:02:30 -04:00
|
|
|
|
|
|
|
/** COMMIT ROW **/
|
2012-09-24 05:32:51 -04:00
|
|
|
.commit {
|
|
|
|
.browse_code_link_holder {
|
2012-06-13 13:02:30 -04:00
|
|
|
@extend .span2;
|
2012-11-23 11:33:43 -05:00
|
|
|
float: right;
|
2012-06-13 13:02:30 -04:00
|
|
|
}
|
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
.committed_ago {
|
2012-11-23 11:33:43 -05:00
|
|
|
float: right;
|
2012-06-13 13:02:30 -04:00
|
|
|
@extend .cgray;
|
|
|
|
}
|
2012-07-26 09:14:34 -04:00
|
|
|
|
2012-10-04 17:02:37 -04:00
|
|
|
.notes_count {
|
2012-11-23 11:33:43 -05:00
|
|
|
float: right;
|
2012-10-04 17:02:37 -04:00
|
|
|
margin: -6px 8px 6px;
|
|
|
|
}
|
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
code {
|
2012-11-23 11:51:38 -05:00
|
|
|
background: #FCEEC1;
|
2012-11-23 11:33:43 -05:00
|
|
|
color: $style_color;
|
2012-07-26 09:14:34 -04:00
|
|
|
}
|
2012-07-27 17:27:54 -04:00
|
|
|
|
2012-09-24 05:32:51 -04:00
|
|
|
.commit_short_id {
|
2012-11-23 11:33:43 -05:00
|
|
|
float: left;
|
2012-07-27 17:27:54 -04:00
|
|
|
@extend .lined;
|
2012-11-23 11:33:43 -05:00
|
|
|
min-width: 65px;
|
2012-11-18 11:41:41 -05:00
|
|
|
font-family: $monospace;
|
2012-07-27 17:27:54 -04:00
|
|
|
}
|
2012-09-24 05:32:51 -04:00
|
|
|
|
|
|
|
.commit-author-name {
|
2012-08-29 15:29:50 -04:00
|
|
|
color: #777;
|
2012-10-17 18:49:20 -04:00
|
|
|
&:hover {
|
|
|
|
color: #999;
|
|
|
|
}
|
2012-08-29 15:29:50 -04:00
|
|
|
}
|
2012-06-13 13:02:30 -04:00
|
|
|
}
|
2012-08-29 14:23:43 -04:00
|
|
|
|
|
|
|
.diff_file_header a,
|
2012-11-18 11:41:41 -05:00
|
|
|
.file-stats a {
|
|
|
|
color: $style_color;
|
2012-08-29 14:23:43 -04:00
|
|
|
}
|
2012-08-29 15:29:50 -04:00
|
|
|
|
2012-11-18 11:41:41 -05:00
|
|
|
.file-stats {
|
|
|
|
.new-file{
|
|
|
|
i{
|
|
|
|
color: #1BCF00;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.renamed-file{
|
|
|
|
i{
|
|
|
|
color: #FE9300;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.deleted-file{
|
|
|
|
i{
|
|
|
|
color: #FF0000;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.edit-file{
|
|
|
|
i{
|
|
|
|
color: #555;
|
2012-08-29 15:29:50 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2012-09-28 09:05:54 -04:00
|
|
|
|
|
|
|
.label_commit {
|
2012-11-25 12:30:18 -05:00
|
|
|
@include border-radius(4px);
|
2012-11-23 11:51:38 -05:00
|
|
|
padding: 2px 4px;
|
2012-11-23 11:33:43 -05:00
|
|
|
font-size: 13px;
|
2012-09-28 09:05:54 -04:00
|
|
|
background: #474D57;
|
2012-11-23 11:51:38 -05:00
|
|
|
color: #fff;
|
2012-11-18 11:41:41 -05:00
|
|
|
font-family: $monospace;
|
2012-09-28 09:05:54 -04:00
|
|
|
}
|
2012-12-20 08:39:39 -05:00
|
|
|
|
|
|
|
|
|
|
|
.commits-compare-switch{
|
|
|
|
background: url('switch_icon.png');
|
|
|
|
width: 16px;
|
|
|
|
height: 18px;
|
|
|
|
text-indent: -9999px;
|
|
|
|
display: inline-block;
|
|
|
|
}
|