7d750cbf79
Display both author and committer in commits list
192 lines
4.4 KiB
SCSS
192 lines
4.4 KiB
SCSS
/* Commit Page */
|
|
body.project-page.commits-page .commit-info{float: right;}
|
|
body.project-page.commits-page .commit-info data{
|
|
padding: 4px 10px;
|
|
font-size: 11px;
|
|
}
|
|
body.project-page.commits-page .commit-info data.commit-button{
|
|
background-image: -webkit-gradient(linear, 0 0, 0 26, color-stop(0.192, #fff), to(#f4f4f4));
|
|
background-image: -webkit-linear-gradient(#fff 19.2%, #f4f4f4);
|
|
background-image: -moz-linear-gradient(#fff 19.2%, #f4f4f4);
|
|
background-image: -o-linear-gradient(#fff 19.2%, #f4f4f4);
|
|
box-shadow: 0 -1px 0 white inset;
|
|
display: block;
|
|
border: 1px solid #eee;
|
|
border-radius: 5px;
|
|
margin-bottom: 2px;
|
|
position: relative;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
body.project-page.commits-page .commit-button i{
|
|
background: url('images.png') no-repeat -138px -27px;
|
|
width: 6px;
|
|
height: 9px;
|
|
float: right;
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 5px;
|
|
}
|
|
body.project-page.commits-page .commits-date {display: block; width: 100%; margin-bottom: 20px}
|
|
body.project-page.commits-page .commits-date .data {padding: 0}
|
|
body.project-page.commits-page a.commit{padding: 10px; border-bottom: 1px solid #eee; overflow: hidden; display: block;}
|
|
body.project-page.commits-page .commits-date a.commit {padding: 10px; border-bottom: none; overflow: hidden; display: block;}
|
|
body.project-page.commits-page .commits-date a.commit:last-child{border-bottom: 0}
|
|
body.project-page.commits-page .commits-date a.commit img{float: left; margin-right: 10px;}
|
|
body.project-page.commits-page .commits-date a.commit span.commit-title{display: block;}
|
|
body.project-page.commits-page .commits-date a.commit span.commit-title{margin-bottom: 10px}
|
|
body.project-page.commits-page .commits-date a.commit span.commit-author{color: #999; font-weight: normal; font-style: italic;}
|
|
body.project-page.commits-page .commits-date a.commit span.commit-author strong{font-weight: bold; font-style: normal;}
|
|
|
|
/* eo Commit Page */
|
|
/** Commit diff view **/
|
|
.diff_file {
|
|
border:1px solid #CCC;
|
|
margin-bottom:1em;
|
|
|
|
.diff_file_header {
|
|
padding:5px 5px;
|
|
border-bottom:1px solid #CCC;
|
|
background: #eee;
|
|
}
|
|
.diff_file_content {
|
|
overflow:auto;
|
|
overflow-y:hidden;
|
|
background:#fff;
|
|
color:#333;
|
|
font-size: 12px;
|
|
font-family: 'Courier New', 'andale mono','lucida console',monospace;
|
|
}
|
|
.diff_file_content_image {
|
|
background:#eee;
|
|
text-align:center;
|
|
img {
|
|
padding:100px;
|
|
max-width:300px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.diff_file_content{
|
|
table {
|
|
border:none;
|
|
margin:0px;
|
|
padding:0px;
|
|
}
|
|
.old_line, .new_line {
|
|
margin:0px;
|
|
padding:0px;
|
|
border:none;
|
|
background:#F7F7F7;
|
|
color:#aaa;
|
|
padding: 0px 5px;
|
|
border-right: 1px solid #ccc;
|
|
text-align:right;
|
|
min-width:35px;
|
|
max-width:35px;
|
|
width:35px;
|
|
a {
|
|
float:left;
|
|
width:35px;
|
|
font-weight:normal;
|
|
color:#aaa;
|
|
&:hover {
|
|
text-decoration:underline;
|
|
}
|
|
}
|
|
}
|
|
.line_content {
|
|
white-space:pre;
|
|
height:14px;
|
|
margin:0px;
|
|
padding:0px;
|
|
border:none;
|
|
&.new {
|
|
background: #DFD;
|
|
}
|
|
&.old {
|
|
background: #FDD;
|
|
}
|
|
}
|
|
}
|
|
|
|
pre.commit_message {
|
|
white-space: pre-wrap;
|
|
font-family: "Helvetica", sans-serif;
|
|
color: #555;
|
|
font-weight:bold;
|
|
font-size:15px;
|
|
}
|
|
|
|
/** 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;}
|
|
|
|
/** bordered list **/
|
|
ul.bordered-list {
|
|
margin:5px 0px;
|
|
padding:0px;
|
|
li {
|
|
padding: 5px 0;
|
|
border-bottom: 1px solid #EEE;
|
|
overflow: hidden;
|
|
display: block;
|
|
margin:0px;
|
|
}
|
|
}
|
|
|
|
ul.bordered-list li:last-child { border:none }
|
|
|
|
.line_holder {
|
|
&:hover {
|
|
td {
|
|
background: #FFFFCF !important;
|
|
}
|
|
}
|
|
}
|
|
|
|
.per_line_form {
|
|
font-family: "Helvetica", sans-serif;
|
|
background: #2FA0BB;
|
|
|
|
td {
|
|
padding:0;
|
|
}
|
|
|
|
form {
|
|
margin:5px;
|
|
width: 756px;
|
|
border: 1px solid #CCC;
|
|
padding: 20px;
|
|
background: white;
|
|
}
|
|
}
|
|
|
|
|
|
tr.line_notes_row {
|
|
font-family: "Helvetica", sans-serif;
|
|
&:hover {
|
|
background:none;
|
|
}
|
|
td {
|
|
margin:0px;
|
|
padding:0px;
|
|
border-bottom:1px solid #DEE2E3;
|
|
|
|
|
|
ul {
|
|
display:block;
|
|
list-style:none;
|
|
margin:0px;
|
|
padding:0px;
|
|
|
|
li {
|
|
border-top:1px solid #DEE2E3;
|
|
padding:10px;
|
|
}
|
|
}
|
|
}
|
|
}
|