debian-mirror-gitlab/app/assets/stylesheets/pages/branches.scss

82 lines
1.3 KiB
SCSS
Raw Normal View History

2018-05-09 12:01:36 +05:30
.content-list > .branch-item,
.branch-title {
display: flex;
align-items: center;
}
.branch-info {
flex: auto;
min-width: 0;
overflow: hidden;
}
2017-08-17 22:00:37 +05:30
.divergence-graph {
2019-05-18 00:54:41 +05:30
$graph-side-width: 80px;
$graph-separator-width: 1px;
2018-05-09 12:01:36 +05:30
padding: 0 6px;
2017-08-17 22:00:37 +05:30
.graph-side {
position: relative;
2019-05-18 00:54:41 +05:30
width: $graph-side-width;
2017-08-17 22:00:37 +05:30
height: 22px;
padding: 5px 0 13px;
float: left;
2019-05-18 00:54:41 +05:30
&.full {
width: $graph-side-width * 2 + $graph-separator-width;
display: flex;
justify-content: center;
}
2017-08-17 22:00:37 +05:30
.bar {
position: absolute;
height: 4px;
2018-12-05 23:21:45 +05:30
background-color: $gl-gray-200;
2017-08-17 22:00:37 +05:30
}
.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;
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;
2019-05-18 00:54:41 +05:30
width: $graph-separator-width;
2017-08-17 22:00:37 +05:30
height: 18px;
margin: 5px 0 0;
float: left;
2018-12-05 23:21:45 +05:30
background-color: $gl-gray-200;
2017-08-17 22:00:37 +05:30
}
}
2018-05-09 12:01:36 +05:30
.divergence-graph,
.branch-item .controls {
flex: 0 0 auto;
white-space: nowrap;
}