Commit 07a317ff authored by Rajat Jain's avatar Rajat Jain Committed by Annabel Dunstone Gray

Display Ancestors in Issuable Sidebar

parent 278fb457
......@@ -157,3 +157,55 @@
.sidebar-collapsed-icon .sidebar-collapsed-value {
font-size: 12px;
}
.ancestor-tree {
.vertical-timeline {
position: relative;
list-style: none;
margin: 0;
padding: 0;
&::before {
content: '';
border-left: 1px solid $gray-500;
position: absolute;
top: $gl-padding;
bottom: $gl-padding;
left: map-get($spacers, 2) - 1px;
}
&-row {
margin-top: map-get($spacers, 3);
&:nth-child(1) {
margin-top: 0;
}
}
&-icon {
/**
* 2px extra is to give a little more height than needed
* to hide timeline line before/after the element starts/ends
*/
height: map-get($spacers, 4) + 2px;
z-index: 1;
position: relative;
top: -3px;
padding: $gl-padding-4 0;
background-color: $gray-light;
&.opened {
color: $green-500;
}
&.closed {
color: $blue-500;
}
}
&-content {
line-height: initial;
margin-left: $gl-padding-8;
}
}
}
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