debian-mirror-gitlab/app/assets/stylesheets/pages/commit.scss

109 lines
1.6 KiB
SCSS
Raw Normal View History

2015-04-26 12:48:37 +05:30
.commit-title{
display: block;
}
.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;
}
.commit-description {
background: none;
border: none;
margin: 0;
padding: 0;
margin-top: 10px;
}
.commit-info-row {
margin-bottom: 10px;
.avatar {
@extend .avatar-inline;
}
.commit-committer-link,
.commit-author-link {
color: #444;
font-weight: bold;
}
}
.commit-box {
.commit-title {
margin: 0;
2015-12-23 02:04:40 +05:30
font-size: 23px;
color: #313236;
2015-04-26 12:48:37 +05:30
}
.commit-description {
margin-top: 15px;
}
}
.file-stats {
2015-10-24 18:46:33 +05:30
ul {
list-style: none;
margin: 0;
padding: 10px 0;
li {
padding: 3px 0px;
2015-11-26 14:37:03 +05:30
line-height: 20px;
2015-10-24 18:46:33 +05:30
}
}
2015-04-26 12:48:37 +05:30
.new-file {
a {
2015-10-24 18:46:33 +05:30
color: $gl-text-green;
2015-04-26 12:48:37 +05:30
}
}
.renamed-file {
2015-10-24 18:46:33 +05:30
a {
color: $gl-text-orange;
2015-04-26 12:48:37 +05:30
}
}
.deleted-file {
a {
2015-10-24 18:46:33 +05:30
color: $gl-text-red;
2015-04-26 12:48:37 +05:30
}
}
.edit-file{
2015-10-24 18:46:33 +05:30
a {
color: $gl-text-color;
2015-04-26 12:48:37 +05:30
}
}
}
/*
* Commit message textarea for web editor and
* custom merge request message
*/
.commit-message-container {
background-color: $body-bg;
position: relative;
font-family: $monospace_font;
$left: 12px;
.max-width-marker {
width: 72ch;
color: rgba(0, 0, 0, 0.0);
font-family: inherit;
left: $left;
height: 100%;
border-right: 1px solid mix($input-border, white);
position: absolute;
z-index: 1;
}
> textarea {
background-color: rgba(0, 0, 0, 0.0);
font-family: inherit;
padding-left: $left;
position: relative;
z-index: 2;
}
}