summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/branches.scss
blob: 3c49cc54ac40dca91b432339eab6c77db63a4b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.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-100;
    }

    .count {
      font-size: 12px;
    }
  }

  .graph-separator {
    width: $graph-separator-width;
    height: 18px;
    background-color: $gl-gray-100;
  }
}

.divergence-graph,
.branch-item .controls {
  flex: 0 0 auto;
  white-space: nowrap;
}