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

169 lines
2.6 KiB
SCSS
Raw Normal View History

2016-06-02 11:05:42 +05:30
.commit-title {
2015-04-26 12:48:37 +05:30
display: block;
}
2016-06-02 11:05:42 +05:30
.commit-author, .commit-committer {
2015-04-26 12:48:37 +05:30
display: block;
color: #999;
font-weight: normal;
font-style: italic;
}
2016-06-02 11:05:42 +05:30
.commit-author strong, .commit-committer strong {
2015-04-26 12:48:37 +05:30
font-weight: bold;
font-style: normal;
}
.commit-description {
background: none;
border: none;
margin: 0;
padding: 0;
margin-top: 10px;
2016-06-02 11:05:42 +05:30
word-break: normal;
white-space: pre-wrap;
2015-04-26 12:48:37 +05:30
}
.commit-info-row {
margin-bottom: 10px;
2016-08-24 12:49:21 +05:30
line-height: 24px;
padding-top: 6px;
&.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-04-26 12:48:37 +05:30
.avatar {
@extend .avatar-inline;
margin-left: 0;
@media (min-width: $screen-sm-min) {
margin-left: 4px;
}
2015-04-26 12:48:37 +05:30
}
.commit-committer-link,
.commit-author-link {
2016-06-02 11:05:42 +05:30
color: $gl-gray;
2015-04-26 12:48:37 +05:30
font-weight: bold;
}
2016-06-02 11:05:42 +05:30
.fa-clipboard {
color: $dropdown-title-btn-color;
}
.commit-info {
&.branches {
margin-left: 8px;
}
}
2016-09-13 17:45:13 +05:30
.ci-status-link {
svg {
position: relative;
top: 2px;
margin: 0 2px 0 3px;
}
}
2015-04-26 12:48:37 +05:30
}
2016-08-24 12:49:21 +05:30
.ci-status-link {
svg {
overflow: visible;
}
}
2015-04-26 12:48:37 +05:30
.commit-box {
border-top: 1px solid $border-color;
2015-04-26 12:48:37 +05:30
.commit-title {
margin: 0;
2015-12-23 02:04:40 +05:30
font-size: 23px;
2016-06-02 11:05:42 +05:30
color: $gl-gray-dark;
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 {
2016-06-02 11:05:42 +05:30
padding: 3px 0;
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
}
}
2016-06-02 11:05:42 +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
}
}
}
2016-06-02 11:05:42 +05:30
.commit-action-buttons {
i {
color: $gl-icon-color;
font-size: 13px;
margin-right: 3px;
}
}
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;
2016-06-02 11:05:42 +05:30
overflow: hidden; // See https://gitlab.com/gitlab-org/gitlab-ce/issues/13987
2015-04-26 12:48:37 +05:30
.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;
}
}