Commit f5e0b35d authored by Annabel Gray's avatar Annabel Gray

Merge branch '39584-nesting-depth-5-pages-pipelines' into 'master'

NestingDepth (level 5) in pages/pipelines.scss

See merge request gitlab-org/gitlab-ce!18830
parents 3a402fc7 abdaebc8
...@@ -66,14 +66,10 @@ ...@@ -66,14 +66,10 @@
} }
} }
.btn-group { .btn-group.open .btn-default {
&.open {
.btn-default {
background-color: $white-normal; background-color: $white-normal;
border-color: $border-white-normal; border-color: $border-white-normal;
} }
}
}
.btn .text-center { .btn .text-center {
display: inline; display: inline;
...@@ -361,8 +357,7 @@ ...@@ -361,8 +357,7 @@
&:not(:first-child) { &:not(:first-child) {
margin-left: 44px; margin-left: 44px;
.left-connector { .left-connector::before {
&::before {
content: ''; content: '';
position: absolute; position: absolute;
top: 48%; top: 48%;
...@@ -373,7 +368,6 @@ ...@@ -373,7 +368,6 @@
} }
} }
} }
}
&.no-margin { &.no-margin {
margin: 0; margin: 0;
...@@ -386,42 +380,32 @@ ...@@ -386,42 +380,32 @@
&:last-child { &:last-child {
.build { .build {
// Remove right connecting horizontal line from first build in last stage // Remove right connecting horizontal line from first build in last stage
&:first-child { &:first-child::after {
&::after {
border: 0; border: 0;
} }
}
// Remove right curved connectors from all builds in last stage // Remove right curved connectors from all builds in last stage
&:not(:first-child) { &:not(:first-child)::after {
&::after {
border: 0; border: 0;
} }
}
// Remove opposite curve // Remove opposite curve
.curve { .curve::before {
&::before {
display: none; display: none;
} }
} }
} }
}
&:first-child { &:first-child {
.build { .build {
// Remove left curved connectors from all builds in first stage // Remove left curved connectors from all builds in first stage
&:not(:first-child) { &:not(:first-child)::before {
&::before {
border: 0; border: 0;
} }
}
// Remove opposite curve // Remove opposite curve
.curve { .curve::after {
&::after {
display: none; display: none;
} }
} }
} }
}
// Curve first child connecting lines in opposite direction // Curve first child connecting lines in opposite direction
.curve { .curve {
......
---
title: Apply NestingDepth (level 5) (pages/pipelines.scss)
merge_request: 18830
author: Takuya Noguchi
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment