2018-11-08 19:23:39 +05:30
|
|
|
@mixin flat-connector-before($length: 44px) {
|
|
|
|
&::before {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
|
|
|
top: 48%;
|
|
|
|
left: -$length;
|
|
|
|
border-top: 2px solid $border-color;
|
|
|
|
width: $length;
|
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin build-content($border-radius: 30px) {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 8px 10px 9px;
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: $border-radius;
|
|
|
|
background-color: $white-light;
|
|
|
|
|
|
|
|
&:hover {
|
2018-11-20 20:47:30 +05:30
|
|
|
background-color: $gray-darker;
|
2018-11-08 19:23:39 +05:30
|
|
|
border: 1px solid $dropdown-toggle-active-border-color;
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
.pipelines {
|
|
|
|
.stage {
|
2016-08-24 12:49:21 +05:30
|
|
|
max-width: 90px;
|
|
|
|
width: 90px;
|
2016-09-29 09:46:39 +05:30
|
|
|
text-align: center;
|
2016-06-16 23:09:34 +05:30
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.table-holder {
|
2018-11-08 19:23:39 +05:30
|
|
|
overflow: unset;
|
2017-08-17 22:00:37 +05:30
|
|
|
width: 100%;
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.commit-title {
|
|
|
|
margin: 0;
|
2018-10-15 14:42:47 +05:30
|
|
|
white-space: normal;
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(sm) {
|
2018-10-15 14:42:47 +05:30
|
|
|
justify-content: flex-end;
|
|
|
|
}
|
2016-06-16 23:09:34 +05:30
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.ci-table {
|
2018-11-08 19:23:39 +05:30
|
|
|
.badge {
|
2017-08-17 22:00:37 +05:30
|
|
|
margin-bottom: 3px;
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
|
|
|
.pipeline-id {
|
|
|
|
color: $black;
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.pipelines-time-ago {
|
|
|
|
text-align: right;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.pipeline-actions {
|
|
|
|
min-width: 170px; //Guarantees buttons don't break in several lines.
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.btn-default {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn.btn-retry:hover,
|
|
|
|
.btn.btn-retry:focus {
|
2018-03-17 18:26:18 +05:30
|
|
|
border-color: $dropdown-toggle-active-border-color;
|
2017-08-17 22:00:37 +05:30
|
|
|
background-color: $white-normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg path {
|
|
|
|
fill: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
2018-03-17 18:26:18 +05:30
|
|
|
max-height: $dropdown-max-height;
|
2017-08-17 22:00:37 +05:30
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-toggle,
|
|
|
|
.dropdown-menu {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
|
|
|
|
.fa {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
font-size: 14px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.btn-group.open .btn-default {
|
|
|
|
background-color: $white-normal;
|
|
|
|
border-color: $border-white-normal;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.btn .text-center {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tooltip {
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(md) {
|
2017-08-17 22:00:37 +05:30
|
|
|
.content-list {
|
|
|
|
&.builds-content-list {
|
|
|
|
width: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.ci-table {
|
2016-11-03 12:29:30 +05:30
|
|
|
.build.retried {
|
|
|
|
background-color: $gray-lightest;
|
|
|
|
}
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
.commit-link {
|
2017-08-17 22:00:37 +05:30
|
|
|
a {
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
.avatar {
|
|
|
|
margin-left: 0;
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.api {
|
|
|
|
@extend .monospace;
|
|
|
|
}
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
.branch-commit {
|
2017-09-10 17:25:29 +05:30
|
|
|
.ref-name {
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
max-width: 100px;
|
2016-08-24 12:49:21 +05:30
|
|
|
overflow: hidden;
|
|
|
|
display: inline-block;
|
|
|
|
white-space: nowrap;
|
2017-09-10 17:25:29 +05:30
|
|
|
vertical-align: middle;
|
2016-08-24 12:49:21 +05:30
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
height: 14px;
|
|
|
|
width: 14px;
|
|
|
|
vertical-align: middle;
|
2017-08-17 22:00:37 +05:30
|
|
|
fill: $gl-text-color-secondary;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.sprite {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
fill: $gl-text-color;
|
|
|
|
}
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
.fa {
|
|
|
|
font-size: 12px;
|
2016-11-03 12:29:30 +05:30
|
|
|
color: $gl-text-color;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.commit-sha {
|
2018-11-20 20:47:30 +05:30
|
|
|
color: $blue-600;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.badge {
|
2016-08-24 12:49:21 +05:30
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.label-container {
|
|
|
|
font-size: 0;
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
.badge {
|
2016-08-24 12:49:21 +05:30
|
|
|
margin-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-container {
|
|
|
|
display: inline-block;
|
2016-11-03 12:29:30 +05:30
|
|
|
width: 10px;
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2016-11-03 12:29:30 +05:30
|
|
|
&.commit-icon {
|
|
|
|
width: 15px;
|
|
|
|
text-align: center;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
/**
|
|
|
|
* Play button with icon in dropdowns
|
|
|
|
*/
|
|
|
|
.no-btn {
|
|
|
|
border: 0;
|
|
|
|
background: none;
|
|
|
|
outline: none;
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
|
|
|
|
.icon-play {
|
|
|
|
position: relative;
|
|
|
|
top: 2px;
|
|
|
|
margin-right: 5px;
|
|
|
|
height: 13px;
|
|
|
|
width: 12px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-24 12:49:21 +05:30
|
|
|
.duration,
|
|
|
|
.finished-at {
|
2017-08-17 22:00:37 +05:30
|
|
|
color: $gl-text-color-secondary;
|
2017-09-10 17:25:29 +05:30
|
|
|
margin: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
white-space: nowrap;
|
2016-08-24 12:49:21 +05:30
|
|
|
|
|
|
|
.fa {
|
|
|
|
font-size: 12px;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
width: 12px;
|
|
|
|
height: 12px;
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-right: 4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.build-link a {
|
|
|
|
color: $gl-text-color;
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.btn-group.open .dropdown-toggle {
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
.pipeline-tags .label-container {
|
|
|
|
white-space: normal;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.stage-cell {
|
2018-03-17 18:26:18 +05:30
|
|
|
&.table-section {
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-up(md) {
|
2018-03-17 18:26:18 +05:30
|
|
|
min-width: 160px; /* Hack alert: Without this the mini graph pipeline won't work properly*/
|
|
|
|
margin-right: -4px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.mini-pipeline-graph-dropdown-toggle svg {
|
2018-03-17 18:26:18 +05:30
|
|
|
height: $ci-action-icon-size;
|
|
|
|
width: $ci-action-icon-size;
|
2017-08-17 22:00:37 +05:30
|
|
|
position: absolute;
|
|
|
|
top: -1px;
|
|
|
|
left: -1px;
|
|
|
|
z-index: 2;
|
|
|
|
overflow: visible;
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.stage-container {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
vertical-align: middle;
|
2018-03-17 18:26:18 +05:30
|
|
|
height: $ci-action-icon-size;
|
2017-09-10 17:25:29 +05:30
|
|
|
margin: 3px 0;
|
|
|
|
|
|
|
|
+ .stage-container {
|
|
|
|
margin-left: 6px;
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
// Hack to show a button tooltip inline
|
|
|
|
button.has-tooltip + .tooltip {
|
|
|
|
min-width: 105px;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
// Bootstrap way of showing the content inline for anchors.
|
|
|
|
a.has-tooltip {
|
|
|
|
white-space: nowrap;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&:not(:last-child) {
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
width: 7px;
|
|
|
|
position: absolute;
|
|
|
|
right: -7px;
|
|
|
|
top: 10px;
|
|
|
|
border-bottom: 2px solid $border-color;
|
2016-09-29 09:46:39 +05:30
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
//delete when all pipelines are updated to new size
|
|
|
|
&.mr-widget-pipeline-stages {
|
|
|
|
+ .stage-container {
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(:last-child) {
|
|
|
|
&::after {
|
|
|
|
width: 4px;
|
|
|
|
right: -4px;
|
|
|
|
top: 11px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.admin-builds-table {
|
|
|
|
.ci-table td:last-child {
|
|
|
|
min-width: 120px;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-08-24 12:49:21 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
// Pipeline visualization
|
|
|
|
.pipeline-actions {
|
2018-03-17 18:26:18 +05:30
|
|
|
border-bottom: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.tab-pane {
|
|
|
|
&.builds .ci-table tr {
|
|
|
|
height: 71px;
|
2016-08-24 12:49:21 +05:30
|
|
|
}
|
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.build-failures {
|
2018-11-08 19:23:39 +05:30
|
|
|
th {
|
|
|
|
border-top: 0;
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.build-state {
|
|
|
|
padding: 20px 2px;
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.build-name {
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.stage {
|
|
|
|
color: $gl-text-color-secondary;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-08-17 22:00:37 +05:30
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-log {
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
line-height: initial;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
.build-trace-row td {
|
|
|
|
border-top: 0;
|
|
|
|
border-bottom-width: 1px;
|
|
|
|
border-bottom-style: solid;
|
|
|
|
padding-top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-trace {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
margin-top: $gl-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-name {
|
|
|
|
width: 196px;
|
|
|
|
|
|
|
|
a {
|
|
|
|
font-weight: $gl-font-weight-bold;
|
|
|
|
color: $gl-text-color;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-actions {
|
|
|
|
width: 70px;
|
|
|
|
text-align: right;
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-stage {
|
|
|
|
width: 140px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ci-status-icon-failed {
|
|
|
|
padding: 10px 0 10px 12px;
|
|
|
|
width: 12px + 24px; // padding-left + svg width
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-icon svg {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-state,
|
|
|
|
.build-trace-row {
|
|
|
|
> td:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@include media-breakpoint-down(sm) {
|
|
|
|
td:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ci-table {
|
|
|
|
margin-top: 2 * $gl-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-trace-container {
|
|
|
|
padding-top: $gl-padding;
|
|
|
|
padding-bottom: $gl-padding;
|
|
|
|
}
|
|
|
|
|
|
|
|
.build-trace {
|
|
|
|
margin-bottom: 0;
|
|
|
|
margin-top: 0;
|
|
|
|
}
|
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
.pipeline-tab-content {
|
2016-09-13 17:45:13 +05:30
|
|
|
width: 100%;
|
2017-08-17 22:00:37 +05:30
|
|
|
background-color: $gray-light;
|
|
|
|
padding: $gl-padding;
|
2018-03-27 19:54:05 +05:30
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Pipeline graph
|
|
|
|
.pipeline-graph {
|
2016-09-13 17:45:13 +05:30
|
|
|
white-space: nowrap;
|
|
|
|
transition: max-height 0.3s, padding 0.3s;
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.stage-column-list,
|
|
|
|
.builds-container > ul {
|
|
|
|
padding: 0;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
a {
|
|
|
|
text-decoration: none;
|
2018-03-17 18:26:18 +05:30
|
|
|
color: $gl-text-color;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
svg {
|
|
|
|
vertical-align: middle;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.stage-column {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&:not(:last-child) {
|
|
|
|
margin-right: 44px;
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&.left-margin {
|
|
|
|
&:not(:first-child) {
|
|
|
|
margin-left: 44px;
|
|
|
|
|
|
|
|
.left-connector {
|
2018-11-08 19:23:39 +05:30
|
|
|
@include flat-connector-before;
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&.no-margin {
|
|
|
|
margin: 0;
|
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
li {
|
|
|
|
list-style: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
.build {
|
|
|
|
// Remove right connecting horizontal line from first build in last stage
|
2018-11-08 19:23:39 +05:30
|
|
|
&:first-child::after {
|
|
|
|
border: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
// Remove right curved connectors from all builds in last stage
|
2018-11-08 19:23:39 +05:30
|
|
|
&:not(:first-child)::after {
|
|
|
|
border: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
// Remove opposite curve
|
2018-11-08 19:23:39 +05:30
|
|
|
.curve::before {
|
|
|
|
display: none;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
.build {
|
|
|
|
// Remove left curved connectors from all builds in first stage
|
2018-11-08 19:23:39 +05:30
|
|
|
&:not(:first-child)::before {
|
|
|
|
border: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
// Remove opposite curve
|
2018-11-08 19:23:39 +05:30
|
|
|
.curve::after {
|
|
|
|
display: none;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Curve first child connecting lines in opposite direction
|
|
|
|
.curve {
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
width: 21px;
|
|
|
|
height: 25px;
|
|
|
|
position: absolute;
|
|
|
|
top: -31px;
|
|
|
|
border-top: 2px solid $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
left: -44px;
|
|
|
|
border-right: 2px solid $border-color;
|
|
|
|
border-radius: 0 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
right: -44px;
|
|
|
|
border-left: 2px solid $border-color;
|
|
|
|
border-radius: 20px 0 0;
|
|
|
|
}
|
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.stage-name {
|
2016-11-03 12:29:30 +05:30
|
|
|
margin: 0 0 15px 10px;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-bold;
|
2016-11-03 12:29:30 +05:30
|
|
|
width: 176px;
|
2016-09-13 17:45:13 +05:30
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.build {
|
|
|
|
position: relative;
|
2016-11-03 12:29:30 +05:30
|
|
|
width: 186px;
|
2016-09-13 17:45:13 +05:30
|
|
|
margin-bottom: 10px;
|
2017-08-17 22:00:37 +05:30
|
|
|
white-space: normal;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
.ci-job-dropdown-container {
|
|
|
|
// override dropdown.scss
|
|
|
|
.dropdown-menu li button {
|
|
|
|
padding: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
// ensure .build-content has hover style when action-icon is hovered
|
|
|
|
.ci-job-dropdown-container:hover .build-content {
|
|
|
|
@extend .build-content:hover;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.ci-status-icon svg {
|
|
|
|
height: 20px;
|
|
|
|
width: 20px;
|
|
|
|
}
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.dropdown-menu-toggle {
|
|
|
|
background-color: transparent;
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
padding: 0;
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&:focus {
|
|
|
|
outline: none;
|
2016-09-29 09:46:39 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.build-content {
|
2018-11-08 19:23:39 +05:30
|
|
|
@include build-content();
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
a.build-content:hover,
|
|
|
|
button.build-content:hover {
|
2018-11-20 20:47:30 +05:30
|
|
|
background-color: $gray-darker;
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 1px solid $dropdown-toggle-active-border-color;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
// Connect first build in each stage with right horizontal line
|
|
|
|
&:first-child {
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
position: absolute;
|
2016-11-03 12:29:30 +05:30
|
|
|
top: 48%;
|
|
|
|
right: -48px;
|
2016-09-13 17:45:13 +05:30
|
|
|
border-top: 2px solid $border-color;
|
2016-11-03 12:29:30 +05:30
|
|
|
width: 48px;
|
2016-09-13 17:45:13 +05:30
|
|
|
height: 1px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Connect each build (except for first) with curved lines
|
|
|
|
&:not(:first-child) {
|
2017-08-17 22:00:37 +05:30
|
|
|
&::after,
|
|
|
|
&::before {
|
2016-09-13 17:45:13 +05:30
|
|
|
content: '';
|
2016-11-03 12:29:30 +05:30
|
|
|
top: -49px;
|
2016-09-13 17:45:13 +05:30
|
|
|
position: absolute;
|
|
|
|
border-bottom: 2px solid $border-color;
|
2016-11-03 12:29:30 +05:30
|
|
|
width: 25px;
|
|
|
|
height: 69px;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
// Right connecting curves
|
|
|
|
&::after {
|
2016-11-03 12:29:30 +05:30
|
|
|
right: -25px;
|
2016-09-13 17:45:13 +05:30
|
|
|
border-right: 2px solid $border-color;
|
2016-11-03 12:29:30 +05:30
|
|
|
border-radius: 0 0 20px;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
// Left connecting curves
|
|
|
|
&::before {
|
2016-11-03 12:29:30 +05:30
|
|
|
left: -25px;
|
2016-09-13 17:45:13 +05:30
|
|
|
border-left: 2px solid $border-color;
|
2016-11-03 12:29:30 +05:30
|
|
|
border-radius: 0 0 0 20px;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Connect second build to first build with smaller curved line
|
|
|
|
&:nth-child(2) {
|
2017-08-17 22:00:37 +05:30
|
|
|
&::after,
|
|
|
|
&::before {
|
2016-09-29 09:46:39 +05:30
|
|
|
height: 29px;
|
2016-11-03 12:29:30 +05:30
|
|
|
top: -9px;
|
2016-09-29 09:46:39 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2016-09-29 09:46:39 +05:30
|
|
|
.curve {
|
|
|
|
display: block;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-10-15 14:42:47 +05:30
|
|
|
|
|
|
|
.ci-action-icon-container {
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 5px;
|
|
|
|
|
|
|
|
// Action Icons in big pipeline-graph nodes
|
|
|
|
&.ci-action-icon-wrapper {
|
|
|
|
height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
background: $white-light;
|
|
|
|
border: 1px solid $border-color;
|
|
|
|
border-radius: 100%;
|
|
|
|
display: block;
|
|
|
|
|
|
|
|
&:hover {
|
2018-11-20 20:47:30 +05:30
|
|
|
background-color: $gray-darker;
|
2018-10-15 14:42:47 +05:30
|
|
|
border: 1px solid $dropdown-toggle-active-border-color;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $gl-text-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $gl-text-color-secondary;
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.play {
|
|
|
|
svg {
|
|
|
|
left: 2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
// Triggers the dropdown in the big pipeline graph
|
|
|
|
.dropdown-counter-badge {
|
|
|
|
font-weight: 100;
|
|
|
|
font-size: 15px;
|
|
|
|
position: absolute;
|
|
|
|
right: 13px;
|
|
|
|
top: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ci-status-text {
|
|
|
|
max-width: 110px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
vertical-align: bottom;
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
2018-03-17 18:26:18 +05:30
|
|
|
font-weight: $gl-font-weight-normal;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
@mixin mini-pipeline-graph-color($color-light, $color-main, $color-dark) {
|
|
|
|
border-color: $color-main;
|
|
|
|
color: $color-main;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background-color: $color-light;
|
|
|
|
border-color: $color-dark;
|
|
|
|
color: $color-dark;
|
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $color-dark;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@mixin mini-pipeline-item() {
|
2017-08-17 22:00:37 +05:30
|
|
|
border-radius: 100px;
|
|
|
|
background-color: $white-light;
|
|
|
|
border-width: 1px;
|
|
|
|
border-style: solid;
|
2018-03-17 18:26:18 +05:30
|
|
|
width: $ci-action-icon-size;
|
|
|
|
height: $ci-action-icon-size;
|
2017-08-17 22:00:37 +05:30
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
transition: all 0.2s linear;
|
|
|
|
position: relative;
|
2017-09-10 17:25:29 +05:30
|
|
|
vertical-align: middle;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
// Dropdown button animation in mini pipeline graph
|
|
|
|
&.ci-status-icon-success {
|
2018-03-17 18:26:18 +05:30
|
|
|
@include mini-pipeline-graph-color($green-100, $green-500, $green-600);
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&.ci-status-icon-failed {
|
2018-03-17 18:26:18 +05:30
|
|
|
@include mini-pipeline-graph-color($red-100, $red-500, $red-600);
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&.ci-status-icon-pending,
|
|
|
|
&.ci-status-icon-success_with_warnings {
|
2018-03-17 18:26:18 +05:30
|
|
|
@include mini-pipeline-graph-color($orange-100, $orange-500, $orange-600);
|
2016-09-29 09:46:39 +05:30
|
|
|
}
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
&.ci-status-icon-running {
|
2018-03-17 18:26:18 +05:30
|
|
|
@include mini-pipeline-graph-color($blue-100, $blue-400, $blue-600);
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&.ci-status-icon-canceled,
|
2018-12-05 23:21:45 +05:30
|
|
|
&.ci-status-icon-scheduled,
|
2017-08-17 22:00:37 +05:30
|
|
|
&.ci-status-icon-disabled,
|
|
|
|
&.ci-status-icon-not-found,
|
|
|
|
&.ci-status-icon-manual {
|
2017-09-10 17:25:29 +05:30
|
|
|
@include mini-pipeline-graph-color(rgba($gl-text-color, 0.1), $gl-text-color, $gl-text-color);
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&.ci-status-icon-created,
|
|
|
|
&.ci-status-icon-skipped {
|
2017-09-10 17:25:29 +05:30
|
|
|
@include mini-pipeline-graph-color(rgba($gray-darkest, 0.1), $gray-darkest, $gray-darkest);
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
// Dropdown button in mini pipeline graph
|
|
|
|
button.mini-pipeline-graph-dropdown-toggle {
|
|
|
|
@include mini-pipeline-item();
|
|
|
|
|
|
|
|
> .fa.fa-caret-down {
|
|
|
|
position: absolute;
|
|
|
|
left: 20px;
|
|
|
|
top: 5px;
|
|
|
|
display: inline-block;
|
|
|
|
visibility: hidden;
|
|
|
|
opacity: 0;
|
|
|
|
color: inherit;
|
|
|
|
font-size: 12px;
|
|
|
|
transition: visibility 0.1s, opacity 0.1s linear;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
outline: none;
|
|
|
|
width: 35px;
|
|
|
|
|
|
|
|
.fa.fa-caret-down {
|
|
|
|
visibility: visible;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
/**
|
|
|
|
Action icons inside dropdowns:
|
|
|
|
- mini graph in pipelines table
|
|
|
|
- dropdown in big graph
|
|
|
|
- mini graph in MR widget pipeline
|
|
|
|
- mini graph in Commit widget pipeline
|
|
|
|
*/
|
2017-08-17 22:00:37 +05:30
|
|
|
.big-pipeline-graph-dropdown-menu,
|
|
|
|
.mini-pipeline-graph-dropdown-menu {
|
2018-05-09 12:01:36 +05:30
|
|
|
width: 240px;
|
|
|
|
max-width: 240px;
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
// override dropdown.scss
|
|
|
|
&.dropdown-menu li button,
|
|
|
|
&.dropdown-menu li a.ci-action-icon-container {
|
2017-08-17 22:00:37 +05:30
|
|
|
padding: 0;
|
2018-10-15 14:42:47 +05:30
|
|
|
text-align: center;
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
.ci-action-icon-container {
|
|
|
|
position: absolute;
|
|
|
|
right: 8px;
|
|
|
|
top: 8px;
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
&.ci-action-icon-wrapper {
|
|
|
|
height: $ci-action-dropdown-button-size;
|
|
|
|
width: $ci-action-dropdown-button-size;
|
2016-09-13 17:45:13 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
background: $white-light;
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 1px solid $border-color;
|
2018-10-15 14:42:47 +05:30
|
|
|
border-radius: 50%;
|
|
|
|
display: block;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
&:hover {
|
2018-11-20 20:47:30 +05:30
|
|
|
background-color: $gray-darker;
|
2018-03-17 18:26:18 +05:30
|
|
|
border: 1px solid $dropdown-toggle-active-border-color;
|
2018-10-15 14:42:47 +05:30
|
|
|
|
|
|
|
svg {
|
|
|
|
fill: $gl-text-color;
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
svg {
|
2018-10-15 14:42:47 +05:30
|
|
|
width: $ci-action-dropdown-svg-size;
|
|
|
|
height: $ci-action-dropdown-svg-size;
|
2018-03-17 18:26:18 +05:30
|
|
|
fill: $gl-text-color-secondary;
|
|
|
|
position: relative;
|
2018-10-15 14:42:47 +05:30
|
|
|
top: 0;
|
|
|
|
vertical-align: initial;
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
2018-10-15 14:42:47 +05:30
|
|
|
}
|
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
// SVGs in the commit widget and mr widget
|
2018-10-15 14:42:47 +05:30
|
|
|
a.ci-action-icon-container.ci-action-icon-wrapper svg {
|
|
|
|
top: 2px;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
.scrollable-menu {
|
|
|
|
padding: 0;
|
|
|
|
max-height: 245px;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
li {
|
|
|
|
position: relative;
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
// ensure .mini-pipeline-graph-dropdown-item has hover style when action-icon is hovered
|
|
|
|
&:hover > .mini-pipeline-graph-dropdown-item,
|
|
|
|
&:hover > .ci-job-component > .mini-pipeline-graph-dropdown-item {
|
|
|
|
@extend .mini-pipeline-graph-dropdown-item:hover;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
// link to the build
|
|
|
|
.mini-pipeline-graph-dropdown-item {
|
|
|
|
align-items: center;
|
|
|
|
clear: both;
|
|
|
|
display: flex;
|
|
|
|
font-weight: normal;
|
|
|
|
line-height: $line-height-base;
|
|
|
|
white-space: nowrap;
|
|
|
|
|
2018-10-15 14:42:47 +05:30
|
|
|
// Match dropdown.scss for all `a` tags
|
|
|
|
&.non-details-job-component {
|
|
|
|
padding: 8px 16px;
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.ci-job-name-component {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
// build name
|
|
|
|
.ci-build-text,
|
|
|
|
.ci-status-text {
|
|
|
|
font-weight: 200;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 70%;
|
|
|
|
margin-left: 2px;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(xs) {
|
2018-03-17 18:26:18 +05:30
|
|
|
max-width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.ci-status-icon {
|
|
|
|
@extend .append-right-8;
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
> svg {
|
|
|
|
width: $pipeline-dropdown-status-icon-size;
|
|
|
|
height: $pipeline-dropdown-status-icon-size;
|
|
|
|
margin: 3px 0;
|
|
|
|
position: relative;
|
|
|
|
overflow: visible;
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
text-decoration: none;
|
2018-11-20 20:47:30 +05:30
|
|
|
background-color: $gray-darker;
|
2018-03-17 18:26:18 +05:30
|
|
|
}
|
2016-11-03 12:29:30 +05:30
|
|
|
}
|
2016-09-29 09:46:39 +05:30
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
2016-09-29 09:46:39 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
// Dropdown in the big pipeline graph
|
|
|
|
.big-pipeline-graph-dropdown-menu {
|
|
|
|
width: 195px;
|
|
|
|
min-width: 195px;
|
2018-03-17 18:26:18 +05:30
|
|
|
left: 100%;
|
|
|
|
top: -10px;
|
2017-08-17 22:00:37 +05:30
|
|
|
box-shadow: 0 1px 5px $black-transparent;
|
2016-11-03 12:29:30 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
/**
|
|
|
|
* Top arrow in the dropdown in the big pipeline graph
|
|
|
|
*/
|
2017-08-17 22:00:37 +05:30
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
top: 18px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
2018-03-17 18:26:18 +05:30
|
|
|
left: -6px;
|
|
|
|
margin-top: 3px;
|
2017-08-17 22:00:37 +05:30
|
|
|
border-width: 7px 5px 7px 0;
|
|
|
|
border-right-color: $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
2018-03-17 18:26:18 +05:30
|
|
|
left: -5px;
|
2017-08-17 22:00:37 +05:30
|
|
|
border-width: 10px 7px 10px 0;
|
|
|
|
border-right-color: $white-light;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Top arrow in the dropdown in the mini pipeline graph
|
|
|
|
*/
|
|
|
|
.mini-pipeline-graph-dropdown-menu {
|
2017-09-10 17:25:29 +05:30
|
|
|
z-index: 200;
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
&::before,
|
|
|
|
&::after {
|
|
|
|
content: '';
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
top: -6px;
|
2017-09-10 17:25:29 +05:30
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, 0);
|
2017-08-17 22:00:37 +05:30
|
|
|
border-width: 0 5px 6px;
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@include media-breakpoint-down(sm) {
|
2017-09-10 17:25:29 +05:30
|
|
|
left: 100%;
|
|
|
|
margin-left: -12px;
|
|
|
|
}
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
&::before {
|
|
|
|
border-width: 0 5px 5px;
|
|
|
|
border-bottom-color: $border-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
margin-top: 1px;
|
|
|
|
border-bottom-color: $white-light;
|
|
|
|
}
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
/**
|
|
|
|
* Center dropdown menu in mini graph
|
|
|
|
*/
|
2018-11-08 19:23:39 +05:30
|
|
|
.dropdown &.dropdown-menu {
|
2018-03-17 18:26:18 +05:30
|
|
|
transform: translate(-80%, 0);
|
2017-09-10 17:25:29 +05:30
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
@media (min-width: map-get($grid-breakpoints, md)) {
|
2018-03-17 18:26:18 +05:30
|
|
|
transform: translate(-50%, 0);
|
|
|
|
right: auto;
|
|
|
|
left: 50%;
|
|
|
|
}
|
2017-09-10 17:25:29 +05:30
|
|
|
}
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
/**
|
|
|
|
* Terminal
|
|
|
|
*/
|
|
|
|
.terminal-icon {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.terminal-container {
|
|
|
|
.content-block {
|
2018-03-17 18:26:18 +05:30
|
|
|
border-bottom: 0;
|
2017-08-17 22:00:37 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
#terminal {
|
|
|
|
margin-top: 10px;
|
|
|
|
min-height: 450px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
min-height: 450px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
.ci-header-container {
|
|
|
|
min-height: 55px;
|
|
|
|
|
|
|
|
.text-center {
|
|
|
|
padding-top: 12px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header-action-buttons {
|
|
|
|
.btn,
|
|
|
|
a {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2018-03-17 18:26:18 +05:30
|
|
|
|
|
|
|
.pipelines-container .top-area .nav-controls > .btn:last-child {
|
|
|
|
float: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.autodevops-title {
|
|
|
|
font-weight: $gl-font-weight-normal;
|
|
|
|
line-height: 1.5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.legend-all {
|
|
|
|
color: $gl-text-color-secondary;
|
|
|
|
}
|
|
|
|
|
|
|
|
.legend-success {
|
|
|
|
color: $green-500;
|
|
|
|
}
|