summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/pages/branches.scss
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-12-09 10:18:19 -0600
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2016-12-29 12:44:15 -0600
commitc298cd9c40d0bf3fdc06368ad4376f5b2fbdda3c (patch)
tree9084f1028ef763de9ab4d0c781811215c0c94a56 /app/assets/stylesheets/pages/branches.scss
parentf2bf9443ca0a5b55713dab259edd3c20f42e7099 (diff)
downloadgitlab-ce-c298cd9c40d0bf3fdc06368ad4376f5b2fbdda3c.tar.gz
Update file hader styles; remove and relocate more commits css
Diffstat (limited to 'app/assets/stylesheets/pages/branches.scss')
-rw-r--r--app/assets/stylesheets/pages/branches.scss55
1 files changed, 55 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/branches.scss b/app/assets/stylesheets/pages/branches.scss
new file mode 100644
index 00000000000..8d671585b7a
--- /dev/null
+++ b/app/assets/stylesheets/pages/branches.scss
@@ -0,0 +1,55 @@
+.divergence-graph {
+ padding: 12px 12px 0 0;
+ float: right;
+
+ .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;
+ color: $gl-title-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;
+ }
+}