gitlab-org--gitlab-foss/app/assets/stylesheets/sections/commits.scss

196 lines
2.6 KiB
SCSS
Raw Normal View History

/**
* Commit file
*/
2013-01-04 16:35:31 -05:00
.commit-committer-link,
.commit-author-link {
font-size: 13px;
color: #555;
&:hover {
color: #999;
}
}
/** 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
.file-stats a {
color: $style_color;
}
.file-stats {
.new-file {
a {
color: #090;
}
i {
color: #1BCF00;
}
}
.renamed-file {
i {
color: #FE9300;
}
}
.deleted-file {
a {
color: #B00;
}
i {
color: #EE0000;
}
}
.edit-file{
i{
color: #555;
}
}
}
2012-09-28 09:05:54 -04:00
.label_commit {
@include border-radius(4px);
padding: 2px 4px;
font-size: 13px;
2012-09-28 09:05:54 -04:00
background: #474D57;
color: #fff;
font-family: $monospace_font;
2012-09-28 09:05:54 -04:00
}
.commits-compare-switch{
2012-12-19 12:14:05 -05:00
background: url("switch_icon.png") no-repeat center center;
width: 32px;
height: 32px;
text-indent: -9999px;
2012-12-19 12:14:05 -05:00
float: left;
margin-right: 9px;
border: 1px solid #DDD;
@include border-radius(4px);
padding: 4px;
background-color: #EEE;
}
.commit-description {
background: none;
border: none;
margin: 0;
2013-08-12 13:59:06 -04:00
padding: 0;
margin-top: 10px;
}
2013-08-12 15:22:31 -04:00
.commit-box {
margin: 10px 0;
border-top: 1px solid #ddd;
border-bottom: 1px solid #ddd;
padding: 20px 0;
.commit-title {
margin: 0;
font-size: 20px;
}
.commit-description {
margin-top: 15px;
}
}
2013-07-18 04:49:40 -04:00
2013-08-12 15:22:31 -04:00
2013-07-18 04:49:40 -04:00
.commit-stat-summary {
color: #666;
line-height: 2;
}
2013-08-01 08:59:57 -04:00
.commit-breadcrumb {
padding: 0;
}
2013-08-12 15:22:31 -04:00
.commit-info-row {
margin-bottom: 10px;
.avatar {
@extend .avatar-inline;
}
.commit-committer-link,
.commit-author-link {
color: #444;
font-weight: bold;
}
}
2013-09-09 09:20:43 -04:00
2013-09-10 03:17:15 -04:00
.lists-separator {
margin: 10px 0;
border-top: 1px dashed #CCC;
}
/**
* COMMIT ROW
*/
li.commit {
padding: 8px;
.commit-row-title {
font-size: 14px;
margin-bottom: 2px;
.notes_count {
float: right;
margin-right: 10px;
}
.commit_short_id {
min-width: 65px;
font-family: $monospace_font;
}
.str-truncated {
max-width: 70%;
}
2013-09-10 03:17:15 -04:00
.commit-row-message {
color: #333;
font-weight: 500;
2013-09-10 03:17:15 -04:00
&:hover {
color: #444;
text-decoration: underline;
}
}
}
.commit-row-info {
color: #777;
2013-09-10 03:17:15 -04:00
a {
color: #777;
}
.committed_ago {
float: right;
}
}
2013-09-10 06:15:49 -04:00
&.inline-commit {
.commit-row-title {
font-size: 13px;
}
.committed_ago {
float: right;
@extend .cgray;
}
}
}