summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-11 21:29:11 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-11 21:29:11 -0700
commit158507d942137e947a0e78a66e85a475667dd765 (patch)
treea33aa5ca34d35ab9d5b0902e18e20c348d2d12b6 /app
parent85e3b25c04f33a73886d6294a54045b8e71c3545 (diff)
downloadgitlab-ce-158507d942137e947a0e78a66e85a475667dd765.tar.gz
Add blue theme to GitLab
Diffstat (limited to 'app')
-rw-r--r--app/assets/stylesheets/pages/profile.scss4
-rw-r--r--app/assets/stylesheets/themes/ui_blue.scss6
-rw-r--r--app/views/profiles/design.html.haml5
3 files changed, 15 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/profile.scss b/app/assets/stylesheets/pages/profile.scss
index 0ab62b7ae49..81afe05162f 100644
--- a/app/assets/stylesheets/pages/profile.scss
+++ b/app/assets/stylesheets/pages/profile.scss
@@ -80,6 +80,10 @@
&.violet {
background: #548;
}
+
+ &.blue {
+ background: #2980b9;
+ }
}
}
}
diff --git a/app/assets/stylesheets/themes/ui_blue.scss b/app/assets/stylesheets/themes/ui_blue.scss
new file mode 100644
index 00000000000..cb7980b5a07
--- /dev/null
+++ b/app/assets/stylesheets/themes/ui_blue.scss
@@ -0,0 +1,6 @@
+/**
+ * Modern GitLab UI theme
+ */
+.ui_blue {
+ @include dark-theme(#BECDE9, #2980b9, #1970a9, #096099);
+}
diff --git a/app/views/profiles/design.html.haml b/app/views/profiles/design.html.haml
index 8d09595fd4f..cc00d08d03b 100644
--- a/app/views/profiles/design.html.haml
+++ b/app/views/profiles/design.html.haml
@@ -33,6 +33,11 @@
.prev.violet
= f.radio_button :theme_id, 5
Violet
+
+ = label_tag do
+ .prev.blue
+ = f.radio_button :theme_id, 6
+ Blue
%br
.clearfix