gitlab-org--gitlab-foss/app/assets/stylesheets/pages/commit.scss

133 lines
2 KiB
SCSS
Raw Normal View History

.commit-title {
2015-02-19 23:45:21 -05:00
display: block;
}
.commit-author,
.commit-committer {
2015-02-19 23:45:21 -05:00
display: block;
2016-11-30 08:25:25 -05:00
color: $commit-committer-color;
2015-02-19 23:45:21 -05:00
font-weight: normal;
font-style: italic;
}
.commit-author strong,
.commit-committer strong {
2015-02-19 23:45:21 -05:00
font-weight: bold;
font-style: normal;
}
.commit-description {
background: none;
border: none;
margin: 0;
padding: 0;
margin-top: 10px;
word-break: normal;
white-space: pre-wrap;
2015-02-19 23:45:21 -05:00
}
2016-10-18 20:41:29 -04:00
.js-details-expand {
&:hover {
text-decoration: none;
}
}
2016-07-21 10:37:31 -04:00
.ci-status-link {
svg {
overflow: visible;
2016-07-20 12:17:52 -04:00
}
2015-02-19 23:45:21 -05:00
}
.commit-box {
border-top: 1px solid $border-color;
2016-10-18 19:57:53 -04:00
padding: $gl-padding 0;
2015-02-19 23:45:21 -05:00
.commit-title {
margin: 0;
font-size: 23px;
2016-04-25 16:02:15 -04:00
color: $gl-gray-dark;
2015-02-19 23:45:21 -05:00
}
.commit-description {
margin-top: 15px;
}
}
.commit-hash-full {
@media (max-width: $screen-sm-max) {
width: 80px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
vertical-align: bottom;
}
}
2015-02-19 23:45:21 -05:00
.file-stats {
ul {
list-style: none;
margin: 0;
padding: 10px 0;
li {
padding: 3px 0;
line-height: 20px;
}
}
2015-02-19 23:45:21 -05:00
.new-file {
a {
color: $gl-text-green;
2015-02-19 23:45:21 -05:00
}
}
2015-02-19 23:45:21 -05:00
.renamed-file {
a {
color: $gl-text-orange;
2015-02-19 23:45:21 -05:00
}
}
2015-02-19 23:45:21 -05:00
.deleted-file {
a {
color: $gl-text-red;
2015-02-19 23:45:21 -05:00
}
}
.edit-file {
a {
color: $gl-text-color;
2015-02-19 23:45:21 -05:00
}
}
}
/*
* 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;
2016-03-10 14:31:21 -05:00
overflow: hidden; // See https://gitlab.com/gitlab-org/gitlab-ce/issues/13987
2015-02-19 23:45:21 -05:00
.max-width-marker {
width: 72ch;
2016-11-30 08:25:25 -05:00
color: $commit-max-width-marker-color;
2015-02-19 23:45:21 -05:00
font-family: inherit;
left: $left;
height: 100%;
2016-11-30 08:25:25 -05:00
border-right: 1px solid mix($input-border, $white-light);
2015-02-19 23:45:21 -05:00
position: absolute;
z-index: 1;
}
2015-02-19 23:45:21 -05:00
> textarea {
2016-11-30 08:25:25 -05:00
background-color: $commit-message-text-area-bg;
2015-02-19 23:45:21 -05:00
font-family: inherit;
padding-left: $left;
position: relative;
z-index: 2;
}
}