2018-11-18 11:00:15 +05:30
|
|
|
%commit-description-base {
|
|
|
|
padding: $gl-padding-8 0 $gl-padding-8 $gl-padding-8;
|
|
|
|
margin-top: $gl-padding-8;
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 0;
|
2018-11-18 11:00:15 +05:30
|
|
|
border-radius: unset;
|
|
|
|
background: none;
|
2017-08-17 22:00:37 +05:30
|
|
|
word-break: normal;
|
2018-11-18 11:00:15 +05:30
|
|
|
overflow-x: auto;
|
|
|
|
border-left: 3px solid $white-dark;
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-description {
|
|
|
|
@extend %commit-description-base;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.commit-box {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
padding: $gl-padding 0;
|
|
|
|
|
|
|
|
.commit-title {
|
|
|
|
margin: 0;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.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
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.dropdown-menu {
|
|
|
|
margin-top: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.branch-info .commit-icon {
|
2018-10-15 14:42:47 +05:30
|
|
|
margin-right: 8px;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
svg {
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Commit message textarea for web editor and
|
|
|
|
* custom merge request message
|
|
|
|
*/
|
|
|
|
.commit-message-container {
|
|
|
|
background-color: $body-bg;
|
|
|
|
position: relative;
|
2018-11-18 11:00:15 +05:30
|
|
|
font-family: $monospace-font;
|
2017-08-17 22:00:37 +05:30
|
|
|
$left: 12px;
|
2019-12-04 20:38:33 +05:30
|
|
|
overflow: hidden; // See https://gitlab.com/gitlab-org/gitlab-foss/issues/13987
|
2017-08-17 22:00:37 +05:30
|
|
|
.max-width-marker {
|
|
|
|
width: 72ch;
|
|
|
|
color: $commit-max-width-marker-color;
|
|
|
|
font-family: inherit;
|
|
|
|
left: $left;
|
|
|
|
height: 100%;
|
2020-04-22 19:07:51 +05:30
|
|
|
border-right: 1px solid mix($input-border, $white);
|
2017-08-17 22:00:37 +05:30
|
|
|
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 {
|
|
|
|
.str-truncated {
|
|
|
|
max-width: 70%;
|
2015-04-26 12:48:37 +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 {
|
2018-11-08 19:23:39 +05:30
|
|
|
display: inline-flex;
|
2020-04-22 19:07:51 +05:30
|
|
|
background: $white;
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color-secondary;
|
2018-11-08 19:23:39 +05:30
|
|
|
padding: 1px $gl-padding-4;
|
2017-08-17 22:00:37 +05:30
|
|
|
cursor: pointer;
|
2020-04-22 19:07:51 +05:30
|
|
|
border: 1px solid $border-white-normal;
|
2017-08-17 22:00:37 +05:30
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin-left: 5px;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-size: 12px;
|
2017-08-17 22:00:37 +05:30
|
|
|
line-height: $gl-font-size;
|
|
|
|
outline: none;
|
|
|
|
|
|
|
|
&.open {
|
2018-03-17 18:26:18 +05:30
|
|
|
background-color: darken($gray-light, 10%);
|
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 {
|
|
|
|
img {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-detail {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-10-15 14:42:47 +05:30
|
|
|
align-items: start;
|
2017-08-17 22:00:37 +05:30
|
|
|
flex-grow: 1;
|
2018-11-18 11:00:15 +05:30
|
|
|
min-width: 0;
|
|
|
|
|
2019-07-31 22:56:46 +05:30
|
|
|
.project-namespace {
|
2019-09-30 21:07:59 +05:30
|
|
|
color: $gl-text-color-tertiary;
|
2018-11-18 11:00:15 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.commit-content {
|
|
|
|
padding-right: 10px;
|
2018-03-17 18:26:18 +05:30
|
|
|
white-space: normal;
|
2018-11-18 11:00:15 +05:30
|
|
|
overflow: hidden;
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
.commit-title {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2019-09-04 21:01:54 +05:30
|
|
|
|
|
|
|
.committer {
|
|
|
|
color: $gl-text-color-tertiary;
|
|
|
|
|
|
|
|
.commit-author-link {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
2016-06-22 15:30:34 +05:30
|
|
|
.commit-actions {
|
2018-11-08 19:23:39 +05:30
|
|
|
.ci-status-icon svg {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
> .ci-status-link,
|
|
|
|
> .btn,
|
|
|
|
> .commit-sha-group {
|
2018-11-18 11:00:15 +05:30
|
|
|
margin-left: $gl-padding;
|
2016-06-22 15:30:34 +05:30
|
|
|
}
|
2018-05-09 12:01:36 +05:30
|
|
|
}
|
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
.commit-nav-buttons {
|
|
|
|
a.btn,
|
|
|
|
button {
|
|
|
|
// See: https://gitlab.com/gitlab-org/gitlab-ui/-/issues/730
|
|
|
|
&:last-child > svg {
|
|
|
|
margin-left: 0.25rem;
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-12-05 23:21:45 +05:30
|
|
|
.clipboard-group,
|
2018-05-09 12:01:36 +05:30
|
|
|
.commit-sha-group {
|
|
|
|
display: inline-flex;
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
.label,
|
2021-01-29 00:20:46 +05:30
|
|
|
.btn:not(.gl-button) {
|
2018-05-09 12:01:36 +05:30
|
|
|
padding: $gl-vert-padding $gl-btn-padding;
|
2021-01-29 00:20:46 +05:30
|
|
|
border: 1px $gray-200 solid;
|
2018-05-09 12:01:36 +05:30
|
|
|
font-size: $gl-font-size;
|
|
|
|
line-height: $line-height-base;
|
|
|
|
border-radius: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-monospace {
|
|
|
|
user-select: text;
|
|
|
|
color: $gl-text-color;
|
|
|
|
background-color: $gray-light;
|
2016-06-22 15:30:34 +05:30
|
|
|
}
|
2016-01-29 22:53:50 +05:30
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
.btn svg {
|
|
|
|
top: auto;
|
|
|
|
fill: $gl-text-color-secondary;
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
|
|
|
|
2018-05-09 12:01:36 +05:30
|
|
|
:first-child {
|
|
|
|
border-bottom-left-radius: $border-radius-default;
|
|
|
|
border-top-left-radius: $border-radius-default;
|
|
|
|
}
|
|
|
|
|
|
|
|
:not(:first-child) {
|
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
:last-child {
|
|
|
|
border-bottom-right-radius: $border-radius-default;
|
|
|
|
border-top-right-radius: $border-radius-default;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
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,
|
2019-07-31 22:56:46 +05:30
|
|
|
.generic-commit-status {
|
2016-06-22 15:30:34 +05:30
|
|
|
a,
|
|
|
|
button {
|
|
|
|
vertical-align: baseline;
|
|
|
|
}
|
2015-04-26 12:48:37 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
a {
|
|
|
|
color: $gl-text-color;
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
&.autodevops-badge {
|
2020-04-22 19:07:51 +05:30
|
|
|
color: $white;
|
2018-11-08 19:23:39 +05:30
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
|
|
|
|
2015-04-26 12:48:37 +05:30
|
|
|
.commit-row-description {
|
2018-11-18 11:00:15 +05:30
|
|
|
@extend %commit-description-base;
|
2015-04-26 12:48:37 +05:30
|
|
|
display: none;
|
2018-11-18 11:00:15 +05:30
|
|
|
flex: 1;
|
2015-04-26 12:48:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&.inline-commit {
|
|
|
|
.commit-row-title {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-11-26 14:37:03 +05:30
|
|
|
|
|
|
|
.branch-commit {
|
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
|
|
|
}
|
2019-07-31 22:56:46 +05:30
|
|
|
}
|
2016-01-14 18:37:52 +05:30
|
|
|
|
2019-07-31 22:56:46 +05:30
|
|
|
.commit,
|
|
|
|
.generic-commit-status,
|
|
|
|
.branch-commit {
|
2017-09-10 17:25:29 +05:30
|
|
|
.commit-sha {
|
2018-11-20 20:47:30 +05:30
|
|
|
color: $blue-600;
|
2016-01-14 18:37:52 +05:30
|
|
|
}
|
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
|
|
|
|
.gpg-status-box {
|
|
|
|
padding: 2px 10px;
|
|
|
|
|
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.valid {
|
|
|
|
@include green-status-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid {
|
2019-07-07 11:18:12 +05:30
|
|
|
@include status-color($gray-dark, color('gray'), $gray-darkest);
|
2018-03-17 18:26:18 +05:30
|
|
|
border-color: $gray-darkest;
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
&:not(span):hover {
|
2019-07-07 11:18:12 +05:30
|
|
|
color: color('gray');
|
2018-11-08 19:23:39 +05:30
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-13 15:44:24 +05:30
|
|
|
.gpg-popover-certificate-details {
|
|
|
|
ul {
|
|
|
|
padding-left: $gl-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
li.unstyled {
|
|
|
|
list-style-type: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.gpg-popover-status {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-09-10 17:25:29 +05:30
|
|
|
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 {
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 1px solid $gray-darkest;
|
|
|
|
fill: $gray-darkest;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
2020-10-24 23:57:45 +05:30
|
|
|
|
|
|
|
.add-review-item {
|
|
|
|
.gl-tab-nav-item {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|