2018-08-02 12:20:49 -04:00
|
|
|
%commit-description-base {
|
2018-08-03 10:29:18 -04:00
|
|
|
padding: $gl-padding-8 0 $gl-padding-8 $gl-padding-8;
|
2018-08-02 12:20:49 -04:00
|
|
|
margin-top: $gl-padding-8;
|
2017-11-02 19:59:51 -04:00
|
|
|
border: 0;
|
2018-08-02 12:20:49 -04:00
|
|
|
border-radius: unset;
|
|
|
|
background: none;
|
2016-12-08 10:53:29 -05:00
|
|
|
word-break: normal;
|
2018-08-02 12:20:49 -04:00
|
|
|
overflow-x: auto;
|
2018-08-03 10:29:18 -04:00
|
|
|
border-left: 3px solid $white-dark;
|
2018-08-02 12:20:49 -04:00
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-description {
|
|
|
|
@extend %commit-description-base;
|
2016-12-08 10:53:29 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.js-details-expand {
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-box {
|
|
|
|
border-top: 1px solid $border-color;
|
|
|
|
padding: $gl-padding 0;
|
|
|
|
|
|
|
|
.commit-title {
|
|
|
|
margin: 0;
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color;
|
2016-12-08 10:53:29 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-hash-full {
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-down(sm) {
|
2016-12-08 10:53:29 -05:00
|
|
|
width: 80px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: bottom;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-15 20:44:31 -04:00
|
|
|
.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-07-24 03:36:01 -04:00
|
|
|
|
2017-03-15 20:44:31 -04:00
|
|
|
.dropdown-menu {
|
|
|
|
margin-top: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.branch-info .commit-icon {
|
2018-04-18 06:12:54 -04:00
|
|
|
margin-right: 8px;
|
2017-03-15 20:44:31 -04:00
|
|
|
|
|
|
|
svg {
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-08 10:53:29 -05:00
|
|
|
/*
|
|
|
|
* Commit message textarea for web editor and
|
|
|
|
* custom merge request message
|
|
|
|
*/
|
|
|
|
.commit-message-container {
|
|
|
|
background-color: $body-bg;
|
|
|
|
position: relative;
|
2018-07-24 17:17:49 -04:00
|
|
|
font-family: $monospace-font;
|
2016-12-08 10:53:29 -05:00
|
|
|
$left: 12px;
|
2019-09-18 10:02:45 -04:00
|
|
|
overflow: hidden; // See https://gitlab.com/gitlab-org/gitlab-foss/issues/13987
|
2016-12-08 10:53:29 -05:00
|
|
|
.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;
|
|
|
|
}
|
|
|
|
|
2016-12-09 11:18:19 -05:00
|
|
|
textarea {
|
2016-12-08 10:53:29 -05:00
|
|
|
background-color: $commit-message-text-area-bg;
|
|
|
|
font-family: inherit;
|
|
|
|
padding-left: $left;
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-30 16:30:06 -04:00
|
|
|
.commits-compare-switch {
|
2012-12-19 12:14:05 -05:00
|
|
|
float: left;
|
|
|
|
margin-right: 9px;
|
|
|
|
}
|
2013-03-21 16:22:21 -04:00
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.commit-header {
|
|
|
|
padding: 5px 10px;
|
2016-12-12 17:26:21 -05:00
|
|
|
background-color: $gray-light;
|
2016-11-30 08:25:25 -05:00
|
|
|
border-bottom: 1px solid $gray-darker;
|
2017-02-27 22:31:21 -05:00
|
|
|
border-top: 1px solid $gray-darker;
|
2016-05-24 03:28:18 -04:00
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
2013-09-10 03:17:15 -04:00
|
|
|
}
|
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.commit-row-title {
|
|
|
|
.str-truncated {
|
|
|
|
max-width: 70%;
|
2013-09-10 06:15:49 -04:00
|
|
|
}
|
2016-10-18 20:41:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-expander {
|
2018-06-20 03:36:50 -04:00
|
|
|
display: inline-flex;
|
2017-04-16 05:42:08 -04:00
|
|
|
background: $white-light;
|
2016-12-30 15:18:27 -05:00
|
|
|
color: $gl-text-color-secondary;
|
2018-06-20 03:36:50 -04:00
|
|
|
padding: 1px $gl-padding-4;
|
2016-10-18 20:41:29 -04:00
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid $border-gray-dark;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin-left: 5px;
|
2017-09-04 10:47:19 -04:00
|
|
|
font-size: 12px;
|
2017-03-18 08:01:00 -04:00
|
|
|
line-height: $gl-font-size;
|
|
|
|
outline: none;
|
2016-10-18 20:41:29 -04:00
|
|
|
|
2017-04-16 05:42:08 -04:00
|
|
|
&.open {
|
2017-08-16 08:13:34 -04:00
|
|
|
background-color: darken($gray-light, 10%);
|
2017-04-16 05:42:08 -04:00
|
|
|
box-shadow: inset 0 0 2px rgba($black, 0.2);
|
|
|
|
}
|
|
|
|
|
2016-10-18 20:41:29 -04:00
|
|
|
&:hover {
|
|
|
|
background-color: darken($gray-light, 10%);
|
|
|
|
text-decoration: none;
|
2013-09-10 06:15:49 -04:00
|
|
|
}
|
2013-10-13 04:00:51 -04:00
|
|
|
}
|
2014-06-14 12:02:16 -04:00
|
|
|
|
2017-02-27 22:31:21 -05:00
|
|
|
.commit.flex-list {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-cell {
|
|
|
|
img {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-detail {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-05-07 13:08:57 -04:00
|
|
|
align-items: start;
|
2017-02-27 22:31:21 -05:00
|
|
|
flex-grow: 1;
|
2018-08-02 12:20:49 -04:00
|
|
|
min-width: 0;
|
2018-08-03 13:29:30 -04:00
|
|
|
|
2019-04-25 14:49:13 -04:00
|
|
|
.project-namespace {
|
2019-07-16 05:06:20 -04:00
|
|
|
color: $gl-text-color-tertiary;
|
2018-08-03 13:29:30 -04:00
|
|
|
}
|
2017-02-27 22:31:21 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.commit-content {
|
|
|
|
padding-right: 10px;
|
2017-12-06 08:21:08 -05:00
|
|
|
white-space: normal;
|
2018-08-02 12:20:49 -04:00
|
|
|
overflow: hidden;
|
2018-06-20 03:36:50 -04:00
|
|
|
|
|
|
|
.commit-title {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
2019-06-10 13:43:41 -04:00
|
|
|
|
|
|
|
.committer {
|
|
|
|
color: $gl-text-color-tertiary;
|
|
|
|
|
|
|
|
.commit-author-link {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
2017-02-27 22:31:21 -05:00
|
|
|
}
|
|
|
|
|
2016-05-24 03:28:18 -04:00
|
|
|
.commit-actions {
|
2018-04-09 11:26:28 -04:00
|
|
|
@include media-breakpoint-up(sm) {
|
2018-01-23 13:50:58 -05:00
|
|
|
.fa-spinner {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2016-06-08 05:32:54 -04:00
|
|
|
}
|
2015-11-02 10:39:24 -05:00
|
|
|
|
2018-06-15 16:38:26 -04:00
|
|
|
.ci-status-icon svg {
|
|
|
|
vertical-align: text-bottom;
|
|
|
|
}
|
|
|
|
|
2018-04-06 09:35:07 -04:00
|
|
|
> .ci-status-link,
|
|
|
|
> .btn,
|
|
|
|
> .commit-sha-group {
|
2018-07-23 10:58:21 -04:00
|
|
|
margin-left: $gl-padding;
|
2016-06-08 05:32:54 -04:00
|
|
|
}
|
2018-04-06 09:35:07 -04:00
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
|
2018-10-03 04:31:03 -04:00
|
|
|
.clipboard-group,
|
2018-04-06 09:35:07 -04:00
|
|
|
.commit-sha-group {
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
.label,
|
2016-06-08 05:32:54 -04:00
|
|
|
.btn {
|
2019-07-16 12:03:29 -04:00
|
|
|
padding: $gl-vert-padding $gl-btn-padding;
|
2018-04-06 09:35:07 -04:00
|
|
|
border: 1px $border-color solid;
|
|
|
|
font-size: $gl-font-size;
|
2019-07-16 12:03:29 -04:00
|
|
|
line-height: $line-height-base;
|
2018-04-06 09:35:07 -04:00
|
|
|
border-radius: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-monospace {
|
|
|
|
user-select: text;
|
|
|
|
color: $gl-text-color;
|
|
|
|
background-color: $gray-light;
|
2016-05-24 03:28:18 -04:00
|
|
|
}
|
2016-01-18 15:58:15 -05:00
|
|
|
|
2018-04-06 09:35:07 -04:00
|
|
|
.btn svg {
|
|
|
|
top: auto;
|
|
|
|
fill: $gl-text-color-secondary;
|
2017-05-11 11:47:44 -04:00
|
|
|
}
|
2018-01-18 17:22:20 -05:00
|
|
|
|
2018-04-06 09:35:07 -04:00
|
|
|
: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;
|
2018-01-18 17:22:20 -05:00
|
|
|
}
|
2016-05-24 03:28:18 -04:00
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
|
2016-11-09 13:20:32 -05:00
|
|
|
.commit,
|
2019-04-25 14:49:13 -04:00
|
|
|
.generic-commit-status {
|
2017-09-01 09:46:02 -04:00
|
|
|
a,
|
2016-05-24 09:00:49 -04:00
|
|
|
button {
|
2016-05-31 06:04:18 -04:00
|
|
|
vertical-align: baseline;
|
2016-05-24 03:28:18 -04:00
|
|
|
}
|
2015-02-20 00:55:47 -05:00
|
|
|
|
2018-07-02 13:25:52 -04:00
|
|
|
a {
|
|
|
|
color: $gl-text-color;
|
2017-09-01 09:46:02 -04:00
|
|
|
|
2018-07-02 13:25:52 -04:00
|
|
|
&.autodevops-badge {
|
|
|
|
color: $white-light;
|
|
|
|
}
|
2017-09-01 09:46:02 -04:00
|
|
|
}
|
|
|
|
|
2015-02-20 00:55:47 -05:00
|
|
|
.commit-row-description {
|
2018-08-02 12:20:49 -04:00
|
|
|
@extend %commit-description-base;
|
2015-02-20 00:55:47 -05:00
|
|
|
display: none;
|
2018-08-02 12:20:49 -04:00
|
|
|
flex: 1;
|
2015-02-20 00:55:47 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
&.inline-commit {
|
|
|
|
.commit-row-title {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-07-20 21:34:19 -04:00
|
|
|
|
2015-11-05 07:49:34 -05:00
|
|
|
.branch-commit {
|
2016-11-01 06:15:47 -04:00
|
|
|
.commit-icon {
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
|
|
|
vertical-align: middle;
|
2016-12-30 15:18:27 -05:00
|
|
|
fill: $gl-text-color-secondary;
|
2016-11-01 06:15:47 -04:00
|
|
|
}
|
|
|
|
}
|
2019-04-25 14:49:13 -04:00
|
|
|
}
|
2016-11-01 06:15:47 -04:00
|
|
|
|
2019-04-25 14:49:13 -04:00
|
|
|
.commit,
|
|
|
|
.generic-commit-status,
|
|
|
|
.branch-commit {
|
|
|
|
.autodevops-link,
|
2017-05-11 11:47:44 -04:00
|
|
|
.commit-sha {
|
2018-08-14 12:44:08 -04:00
|
|
|
color: $blue-600;
|
2016-11-01 06:15:47 -04:00
|
|
|
}
|
2015-11-05 07:49:34 -05:00
|
|
|
}
|
2017-06-23 16:52:43 -04:00
|
|
|
|
2017-07-06 10:36:57 -04:00
|
|
|
.gpg-status-box {
|
2017-08-23 11:09:22 -04:00
|
|
|
padding: 2px 10px;
|
|
|
|
|
2017-08-15 04:20:35 -04:00
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-06-23 16:52:43 -04:00
|
|
|
&.valid {
|
2017-07-13 04:53:19 -04:00
|
|
|
@include green-status-color;
|
2017-06-23 16:52:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid {
|
2019-02-25 14:03:21 -05:00
|
|
|
@include status-color($gray-dark, color('gray'), $gray-darkest);
|
2018-01-24 10:34:20 -05:00
|
|
|
border-color: $gray-darkest;
|
2018-05-22 12:32:53 -04:00
|
|
|
|
|
|
|
&:not(span):hover {
|
2019-02-25 14:03:21 -05:00
|
|
|
color: color('gray');
|
2018-05-22 12:32:53 -04:00
|
|
|
}
|
2017-06-23 16:52:43 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-10 04:02:41 -04:00
|
|
|
.gpg-popover-status {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-08-24 10:13:24 -04:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-07-10 04:02:41 -04:00
|
|
|
line-height: 1.5;
|
2017-06-23 16:52:43 -04:00
|
|
|
}
|
|
|
|
|
2017-07-06 10:36:57 -04:00
|
|
|
.gpg-popover-icon {
|
2017-07-10 04:02:41 -04:00
|
|
|
// same margin as .s32.avatar
|
2017-06-23 16:52:43 -04:00
|
|
|
margin-right: $btn-side-margin;
|
|
|
|
|
|
|
|
&.valid {
|
2017-07-11 08:12:06 -04:00
|
|
|
svg {
|
|
|
|
border: 1px solid $brand-success;
|
|
|
|
fill: $brand-success;
|
|
|
|
}
|
2017-06-23 16:52:43 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid {
|
2017-07-11 08:12:06 -04:00
|
|
|
svg {
|
2018-01-24 10:34:20 -05:00
|
|
|
border: 1px solid $gray-darkest;
|
|
|
|
fill: $gray-darkest;
|
2017-07-11 08:12:06 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 50%;
|
|
|
|
vertical-align: middle;
|
2017-06-23 16:52:43 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-06 10:36:57 -04:00
|
|
|
.gpg-popover-user-link {
|
2017-07-10 04:02:41 -04:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: $gl-padding / 2;
|
2017-06-24 15:24:49 -04:00
|
|
|
text-decoration: none;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
2017-07-06 10:36:57 -04:00
|
|
|
.commit .gpg-popover-help-link {
|
2017-07-03 03:41:32 -04:00
|
|
|
display: block;
|
|
|
|
color: $link-color;
|
|
|
|
}
|