summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/branches.scss
blob: 18158fab75f8617ac93f9687c729cd287008d1fb (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
.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: $gray-100;
    }

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

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

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