debian-mirror-gitlab/app/assets/stylesheets/pages/branches.scss
2019-09-30 21:07:59 +05:30

45 lines
690 B
SCSS

.content-list > .branch-item,
.branch-title {
display: flex;
align-items: center;
}
.branch-info {
flex: auto;
min-width: 0;
overflow: hidden;
}
.divergence-graph {
$graph-side-width: 80px;
$graph-separator-width: 1px;
.graph-side {
width: $graph-side-width;
&.full {
width: $graph-side-width * 2 + $graph-separator-width;
}
.bar {
height: 4px;
background-color: $gl-gray-200;
}
.count {
font-size: 12px;
}
}
.graph-separator {
width: $graph-separator-width;
height: 18px;
background-color: $gl-gray-200;
}
}
.divergence-graph,
.branch-item .controls {
flex: 0 0 auto;
white-space: nowrap;
}