gitlab-org--gitlab-foss/app/assets/stylesheets/pages/branches.scss

73 lines
1.1 KiB
SCSS
Raw Normal View History

2018-03-18 08:34:35 -04:00
.content-list > .branch-item,
.branch-title {
display: flex;
align-items: center;
}
.branch-info {
flex: auto;
min-width: 0;
overflow: hidden;
}
.divergence-graph {
2018-03-18 08:34:35 -04:00
padding: 0 6px;
.graph-side {
position: relative;
width: 80px;
height: 22px;
padding: 5px 0 13px;
float: left;
.bar {
position: absolute;
height: 4px;
background-color: $divergence-graph-bar-bg;
}
.bar-behind {
right: 0;
border-radius: 3px 0 0 3px;
}
.bar-ahead {
left: 0;
border-radius: 0 3px 3px 0;
}
.count {
padding-top: 6px;
padding-bottom: 0;
font-size: 12px;
2016-12-30 15:18:27 -05:00
color: $gl-text-color;
display: block;
}
.count-behind {
padding-right: 4px;
text-align: right;
}
.count-ahead {
padding-left: 4px;
text-align: left;
}
}
.graph-separator {
position: relative;
width: 1px;
height: 18px;
margin: 5px 0 0;
float: left;
background-color: $divergence-graph-separator-bg;
}
}
2018-03-18 08:34:35 -04:00
.divergence-graph,
.branch-item .controls {
flex: 0 0 auto;
white-space: nowrap;
}