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

160 lines
2.5 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;
color: #999;
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
}
.commit-info-row {
margin-bottom: 10px;
2016-05-18 11:18:16 -04:00
line-height: 24px;
padding-top: 6px;
2016-05-26 12:15:22 -04:00
&.commit-info-row-header {
line-height: 34px;
@media (min-width: $screen-sm-min) {
margin-bottom: 0;
}
.commit-options-dropdown-caret {
@media (max-width: $screen-sm) {
margin-left: 0;
}
}
}
2015-02-19 23:45:21 -05:00
.avatar {
@extend .avatar-inline;
2016-05-26 12:15:22 -04:00
margin-left: 0;
@media (min-width: $screen-sm-min) {
margin-left: 4px;
}
2015-02-19 23:45:21 -05:00
}
.commit-committer-link,
.commit-author-link {
2016-04-25 16:02:15 -04:00
color: $gl-gray;
2015-02-19 23:45:21 -05:00
font-weight: bold;
}
2016-04-25 16:02:15 -04:00
.fa-clipboard {
color: $dropdown-title-btn-color;
}
2016-04-26 14:20:58 -04:00
.commit-info {
&.branches {
margin-left: 8px;
}
}
2016-07-21 10:37:31 -04:00
}
2016-07-20 12:17:52 -04:00
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;
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;
}
}
.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
}
}
.renamed-file {
a {
color: $gl-text-orange;
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
}
}
}
2016-04-26 14:20:58 -04:00
.commit-action-buttons {
i {
color: $gl-icon-color;
font-size: 13px;
margin-right: 3px;
}
}
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;
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;
}
}