2017-08-17 22:00:37 +05:30
|
|
|
.commit-description {
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
margin-top: 10px;
|
|
|
|
word-break: normal;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.js-details-expand {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-box {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
padding: $gl-padding 0;
|
|
|
|
|
|
|
|
.commit-title {
|
|
|
|
margin: 0;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.pipeline-info {
|
|
|
|
.status-icon-container {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 3px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
display: block;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.mr-widget-pipeline-graph {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2017-09-10 17:25:29 +05:30
|
|
|
margin-right: 4px;
|
|
|
|
|
|
|
|
.stage-cell .stage-container {
|
|
|
|
margin: 3px 3px 3px 0;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
.dropdown-menu {
|
|
|
|
margin-top: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.branch-info .commit-icon {
|
|
|
|
margin-right: 3px;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* 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;
|
|
|
|
overflow: hidden; // See https://gitlab.com/gitlab-org/gitlab-ce/issues/13987
|
|
|
|
.max-width-marker {
|
|
|
|
width: 72ch;
|
|
|
|
color: $commit-max-width-marker-color;
|
|
|
|
font-family: inherit;
|
|
|
|
left: $left;
|
|
|
|
height: 100%;
|
|
|
|
border-right: 1px solid mix($input-border, $white-light);
|
|
|
|
position: absolute;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
background-color: $commit-message-text-area-bg;
|
|
|
|
font-family: inherit;
|
|
|
|
padding-left: $left;
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-06-02 11:05:42 +05:30
|
|
|
.commits-compare-switch {
|
2015-04-26 12:48:37 +05:30
|
|
|
float: left;
|
|
|
|
margin-right: 9px;
|
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-header {
|
|
|
|
padding: 5px 10px;
|
2017-08-17 22:00:37 +05:30
|
|
|
background-color: $gray-light;
|
|
|
|
border-bottom: 1px solid $gray-darker;
|
|
|
|
border-top: 1px solid $gray-darker;
|
2016-06-22 15:30:34 +05:30
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-row-title {
|
|
|
|
.notes_count {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.str-truncated {
|
|
|
|
max-width: 70%;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-row-message {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color;
|
2016-06-22 15:30:34 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-06-22 15:30:34 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.text-expander {
|
|
|
|
display: inline-block;
|
|
|
|
background: $white-light;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
padding: 0 5px;
|
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid $border-gray-dark;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin-left: 5px;
|
|
|
|
font-size: $gl-font-size;
|
|
|
|
line-height: $gl-font-size;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&.open {
|
2016-06-22 15:30:34 +05:30
|
|
|
background: $gray-light;
|
2017-08-17 22:00:37 +05:30
|
|
|
box-shadow: inset 0 0 2px rgba($black, 0.2);
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: darken($gray-light, 10%);
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit.flex-list {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-cell {
|
|
|
|
width: 46px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-detail {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: flex-start;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
.merge-request-branches & {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-content {
|
|
|
|
padding-right: 10px;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-actions {
|
|
|
|
@media (min-width: $screen-sm-min) {
|
|
|
|
font-size: 0;
|
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
2016-09-13 17:45:13 +05:30
|
|
|
.ci-status-link {
|
|
|
|
display: inline-block;
|
2017-08-17 22:00:37 +05:30
|
|
|
position: relative;
|
|
|
|
top: 1px;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.btn-clipboard,
|
|
|
|
.btn-transparent {
|
2016-06-22 15:30:34 +05:30
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.btn {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: $gl-padding;
|
2016-01-29 22:53:50 +05:30
|
|
|
}
|
2016-06-22 15:30:34 +05:30
|
|
|
}
|
2016-01-29 22:53:50 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.commit-sha {
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
2016-06-22 15:30:34 +05:30
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.commit,
|
|
|
|
.generic_commit_status {
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
a,
|
|
|
|
button {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color;
|
2016-06-22 15:30:34 +05:30
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
.commit-row-description {
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 10px 15px;
|
2016-06-22 15:30:34 +05:30
|
|
|
margin: 10px 0;
|
2016-09-29 09:46:39 +05:30
|
|
|
background: $gray-light;
|
2015-04-26 12:48:37 +05:30
|
|
|
display: none;
|
2017-09-10 17:25:29 +05:30
|
|
|
white-space: pre-wrap;
|
2016-09-29 09:46:39 +05:30
|
|
|
word-break: normal;
|
2015-04-26 12:48:37 +05:30
|
|
|
|
|
|
|
pre {
|
|
|
|
border: none;
|
|
|
|
background: inherit;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2016-06-22 15:30:34 +05:30
|
|
|
white-space: pre-wrap;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
a {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color;
|
2016-06-02 11:05:42 +05:30
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&.inline-commit {
|
|
|
|
.commit-row-title {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.committed_ago {
|
|
|
|
@extend .cgray;
|
2017-09-10 17:25:29 +05:30
|
|
|
float: right;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
|
|
|
.branch-commit {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.commit-icon {
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
2016-01-14 18:37:52 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
svg {
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
|
|
|
vertical-align: middle;
|
|
|
|
fill: $gl-text-color-secondary;
|
2016-01-14 18:37:52 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-01-14 18:37:52 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.commit-sha {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-link-color;
|
2016-01-14 18:37:52 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.commit-row-message {
|
|
|
|
color: $gl-text-color;
|
2016-01-14 18:37:52 +05:30
|
|
|
}
|
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
|
|
|
|
.gpg-status-box {
|
|
|
|
padding: 2px 10px;
|
|
|
|
margin-right: $gl-padding;
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.valid {
|
|
|
|
@include green-status-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid {
|
|
|
|
@include status-color($gray-dark, $gray, $common-gray-dark);
|
|
|
|
border-color: $common-gray-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gpg-popover-status {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.gpg-popover-icon {
|
|
|
|
// same margin as .s32.avatar
|
|
|
|
margin-right: $btn-side-margin;
|
|
|
|
|
|
|
|
&.valid {
|
|
|
|
svg {
|
|
|
|
border: 1px solid $brand-success;
|
|
|
|
fill: $brand-success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid {
|
|
|
|
svg {
|
|
|
|
border: 1px solid $common-gray-light;
|
|
|
|
fill: $common-gray-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 50%;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.gpg-popover-user-link {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: $gl-padding / 2;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit .gpg-popover-help-link {
|
|
|
|
display: block;
|
|
|
|
color: $link-color;
|
|
|
|
}
|