2016-12-08 15:53:29 +00:00
|
|
|
.commit-description {
|
|
|
|
background: none;
|
2017-11-02 23:59:51 +00:00
|
|
|
border: 0;
|
2016-12-08 15:53:29 +00:00
|
|
|
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;
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2016-12-08 15:53:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-16 00:44:31 +00: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 07:36:01 +00:00
|
|
|
|
|
|
|
.stage-cell .stage-container {
|
|
|
|
margin: 3px 3px 3px 0;
|
|
|
|
}
|
2017-03-16 00:44:31 +00:00
|
|
|
|
2017-10-09 10:08:36 +00:00
|
|
|
.stage-container:last-child {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
2017-03-16 00:44:31 +00:00
|
|
|
.dropdown-menu {
|
|
|
|
margin-top: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.branch-info .commit-icon {
|
2018-04-18 10:12:54 +00:00
|
|
|
margin-right: 8px;
|
2017-03-16 00:44:31 +00:00
|
|
|
|
|
|
|
svg {
|
|
|
|
top: 3px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-08 15:53:29 +00: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;
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2016-12-09 16:18:19 +00:00
|
|
|
textarea {
|
2016-12-08 15:53:29 +00:00
|
|
|
background-color: $commit-message-text-area-bg;
|
|
|
|
font-family: inherit;
|
|
|
|
padding-left: $left;
|
|
|
|
position: relative;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-03-30 20:30:06 +00:00
|
|
|
.commits-compare-switch {
|
2012-12-19 17:14:05 +00:00
|
|
|
float: left;
|
|
|
|
margin-right: 9px;
|
|
|
|
}
|
2013-03-21 20:22:21 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-header {
|
|
|
|
padding: 5px 10px;
|
2016-12-12 22:26:21 +00:00
|
|
|
background-color: $gray-light;
|
2016-11-30 13:25:25 +00:00
|
|
|
border-bottom: 1px solid $gray-darker;
|
2017-02-28 03:31:21 +00:00
|
|
|
border-top: 1px solid $gray-darker;
|
2016-05-24 07:28:18 +00:00
|
|
|
font-size: 14px;
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
border-top-width: 0;
|
|
|
|
}
|
2013-09-10 07:17:15 +00:00
|
|
|
}
|
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-row-title {
|
|
|
|
.notes_count {
|
|
|
|
float: right;
|
|
|
|
margin-right: 10px;
|
2013-09-10 07:17:15 +00:00
|
|
|
}
|
2013-09-10 10:15:49 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.str-truncated {
|
|
|
|
max-width: 70%;
|
2013-09-10 10:15:49 +00:00
|
|
|
}
|
2015-11-02 15:39:24 +00:00
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-row-message {
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2013-09-10 07:17:15 +00:00
|
|
|
}
|
2016-10-19 00:41:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-expander {
|
|
|
|
display: inline-block;
|
2017-04-16 09:42:08 +00:00
|
|
|
background: $white-light;
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color-secondary;
|
2017-09-04 14:47:19 +00:00
|
|
|
padding: 0 4px;
|
2016-10-19 00:41:29 +00:00
|
|
|
cursor: pointer;
|
|
|
|
border: 1px solid $border-gray-dark;
|
|
|
|
border-radius: $border-radius-default;
|
|
|
|
margin-left: 5px;
|
2017-09-04 14:47:19 +00:00
|
|
|
font-size: 12px;
|
2017-03-18 12:01:00 +00:00
|
|
|
line-height: $gl-font-size;
|
|
|
|
outline: none;
|
2016-10-19 00:41:29 +00:00
|
|
|
|
2017-04-16 09:42:08 +00:00
|
|
|
&.open {
|
2017-08-16 12:13:34 +00:00
|
|
|
background-color: darken($gray-light, 10%);
|
2017-04-16 09:42:08 +00:00
|
|
|
box-shadow: inset 0 0 2px rgba($black, 0.2);
|
|
|
|
}
|
|
|
|
|
2016-10-19 00:41:29 +00:00
|
|
|
&:hover {
|
|
|
|
background-color: darken($gray-light, 10%);
|
|
|
|
text-decoration: none;
|
2013-09-10 10:15:49 +00:00
|
|
|
}
|
2013-10-13 08:00:51 +00:00
|
|
|
}
|
2014-06-14 16:02:16 +00:00
|
|
|
|
2017-02-28 03:31:21 +00:00
|
|
|
.commit.flex-list {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.avatar-cell {
|
|
|
|
width: 46px;
|
|
|
|
|
|
|
|
img {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-detail {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2018-04-06 13:35:07 +00:00
|
|
|
align-items: center;
|
2017-02-28 03:31:21 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.commit-content {
|
|
|
|
padding-right: 10px;
|
2017-12-06 13:21:08 +00:00
|
|
|
white-space: normal;
|
2017-02-28 03:31:21 +00:00
|
|
|
}
|
|
|
|
|
2016-05-24 07:28:18 +00:00
|
|
|
.commit-actions {
|
2016-05-31 10:04:18 +00:00
|
|
|
@media (min-width: $screen-sm-min) {
|
2018-01-23 18:50:58 +00:00
|
|
|
.fa-spinner {
|
|
|
|
font-size: 12px;
|
|
|
|
}
|
2016-06-08 09:32:54 +00:00
|
|
|
}
|
2015-11-02 15:39:24 +00:00
|
|
|
|
2016-07-26 19:25:42 +00:00
|
|
|
.ci-status-link {
|
2018-04-06 13:35:07 +00:00
|
|
|
display: inline-flex;
|
2016-07-26 19:25:42 +00:00
|
|
|
}
|
|
|
|
|
2018-04-06 13:35:07 +00:00
|
|
|
> .ci-status-link,
|
|
|
|
> .btn,
|
|
|
|
> .commit-sha-group {
|
|
|
|
margin-left: $gl-padding-8;
|
2016-06-08 09:32:54 +00:00
|
|
|
}
|
2018-04-06 13:35:07 +00:00
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
|
2018-04-06 13:35:07 +00:00
|
|
|
.commit-sha-group {
|
|
|
|
display: inline-flex;
|
|
|
|
|
|
|
|
.label,
|
2016-06-08 09:32:54 +00:00
|
|
|
.btn {
|
2018-04-06 13:35:07 +00:00
|
|
|
padding: $gl-vert-padding $gl-btn-padding;
|
|
|
|
border: 1px $border-color solid;
|
|
|
|
font-size: $gl-font-size;
|
|
|
|
line-height: $line-height-base;
|
|
|
|
border-radius: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-monospace {
|
|
|
|
@extend .monospace;
|
|
|
|
user-select: text;
|
|
|
|
color: $gl-text-color;
|
|
|
|
background-color: $gray-light;
|
2016-05-24 07:28:18 +00:00
|
|
|
}
|
2016-01-18 20:58:15 +00:00
|
|
|
|
2018-04-06 13:35:07 +00:00
|
|
|
.btn svg {
|
|
|
|
top: auto;
|
|
|
|
fill: $gl-text-color-secondary;
|
2017-05-11 15:47:44 +00:00
|
|
|
}
|
2018-01-18 22:22:20 +00:00
|
|
|
|
2018-04-06 13:35:07 +00:00
|
|
|
.fa-clipboard {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
: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 22:22:20 +00:00
|
|
|
}
|
2016-05-24 07:28:18 +00:00
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
|
2016-11-09 18:20:32 +00:00
|
|
|
.commit,
|
|
|
|
.generic_commit_status {
|
2017-09-01 13:46:02 +00:00
|
|
|
a,
|
2016-05-24 13:00:49 +00:00
|
|
|
button {
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2016-05-31 10:04:18 +00:00
|
|
|
vertical-align: baseline;
|
2016-05-24 07:28:18 +00:00
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
|
2017-09-01 13:46:02 +00:00
|
|
|
a.autodevops-badge {
|
|
|
|
color: $white-light;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.autodevops-link {
|
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
|
2015-02-20 05:55:47 +00:00
|
|
|
.commit-row-description {
|
|
|
|
font-size: 14px;
|
|
|
|
padding: 10px 15px;
|
2016-05-24 13:00:49 +00:00
|
|
|
margin: 10px 0;
|
2016-08-19 15:39:18 +00:00
|
|
|
background: $gray-light;
|
2015-02-20 05:55:47 +00:00
|
|
|
display: none;
|
2017-06-06 23:27:50 +00:00
|
|
|
white-space: pre-wrap;
|
2016-08-19 15:40:21 +00:00
|
|
|
word-break: normal;
|
2015-02-20 05:55:47 +00:00
|
|
|
|
|
|
|
pre {
|
2017-11-02 23:59:51 +00:00
|
|
|
border: 0;
|
2015-02-20 05:55:47 +00:00
|
|
|
background: inherit;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
2016-06-14 01:09:26 +00:00
|
|
|
white-space: pre-wrap;
|
2015-02-20 05:55:47 +00:00
|
|
|
}
|
2016-03-29 11:43:33 +00:00
|
|
|
|
|
|
|
a {
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2016-03-29 11:43:33 +00:00
|
|
|
}
|
2015-02-20 05:55:47 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.inline-commit {
|
|
|
|
.commit-row-title {
|
|
|
|
font-size: 13px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.committed_ago {
|
|
|
|
@extend .cgray;
|
2017-07-12 04:59:39 +00:00
|
|
|
float: right;
|
2015-02-20 05:55:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-07-21 01:34:19 +00:00
|
|
|
|
2015-11-05 12:49:34 +00:00
|
|
|
.branch-commit {
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2016-10-14 20:39:08 +00:00
|
|
|
|
2016-11-01 10:15:47 +00:00
|
|
|
.commit-icon {
|
|
|
|
text-align: center;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
|
|
|
vertical-align: middle;
|
2016-12-30 20:18:27 +00:00
|
|
|
fill: $gl-text-color-secondary;
|
2016-11-01 10:15:47 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-05-11 15:47:44 +00:00
|
|
|
.commit-sha {
|
2016-11-01 10:15:47 +00:00
|
|
|
color: $gl-link-color;
|
|
|
|
}
|
|
|
|
|
2016-10-24 20:22:06 +00:00
|
|
|
.commit-row-message {
|
2016-12-30 20:18:27 +00:00
|
|
|
color: $gl-text-color;
|
2015-11-05 12:49:34 +00:00
|
|
|
}
|
|
|
|
}
|
2017-06-23 20:52:43 +00:00
|
|
|
|
2017-07-06 14:36:57 +00:00
|
|
|
.gpg-status-box {
|
2017-08-23 15:09:22 +00:00
|
|
|
padding: 2px 10px;
|
|
|
|
|
2017-08-15 08:20:35 +00:00
|
|
|
&:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2017-06-23 20:52:43 +00:00
|
|
|
&.valid {
|
2017-07-13 08:53:19 +00:00
|
|
|
@include green-status-color;
|
2017-06-23 20:52:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid {
|
2018-01-24 15:34:20 +00:00
|
|
|
@include status-color($gray-dark, $gray, $gray-darkest);
|
|
|
|
border-color: $gray-darkest;
|
2017-06-23 20:52:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-10 08:02:41 +00:00
|
|
|
.gpg-popover-status {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2017-08-24 14:13:24 +00:00
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-07-10 08:02:41 +00:00
|
|
|
line-height: 1.5;
|
2017-06-23 20:52:43 +00:00
|
|
|
}
|
|
|
|
|
2017-07-06 14:36:57 +00:00
|
|
|
.gpg-popover-icon {
|
2017-07-10 08:02:41 +00:00
|
|
|
// same margin as .s32.avatar
|
2017-06-23 20:52:43 +00:00
|
|
|
margin-right: $btn-side-margin;
|
|
|
|
|
|
|
|
&.valid {
|
2017-07-11 12:12:06 +00:00
|
|
|
svg {
|
|
|
|
border: 1px solid $brand-success;
|
|
|
|
fill: $brand-success;
|
|
|
|
}
|
2017-06-23 20:52:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&.invalid {
|
2017-07-11 12:12:06 +00:00
|
|
|
svg {
|
2018-01-24 15:34:20 +00:00
|
|
|
border: 1px solid $gray-darkest;
|
|
|
|
fill: $gray-darkest;
|
2017-07-11 12:12:06 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 50%;
|
|
|
|
vertical-align: middle;
|
2017-06-23 20:52:43 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-06 14:36:57 +00:00
|
|
|
.gpg-popover-user-link {
|
2017-07-10 08:02:41 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
margin-bottom: $gl-padding / 2;
|
2017-06-24 19:24:49 +00:00
|
|
|
text-decoration: none;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
2017-07-06 14:36:57 +00:00
|
|
|
.commit .gpg-popover-help-link {
|
2017-07-03 07:41:32 +00:00
|
|
|
display: block;
|
|
|
|
color: $link-color;
|
|
|
|
}
|