summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/page_bundles/branches.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/page_bundles/branches.scss')
-rw-r--r--app/assets/stylesheets/page_bundles/branches.scss41
1 files changed, 41 insertions, 0 deletions
diff --git a/app/assets/stylesheets/page_bundles/branches.scss b/app/assets/stylesheets/page_bundles/branches.scss
new file mode 100644
index 00000000000..2aa90529e22
--- /dev/null
+++ b/app/assets/stylesheets/page_bundles/branches.scss
@@ -0,0 +1,41 @@
+@import 'mixins_and_variables_and_functions';
+
+.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;
+}