summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarby <darbsies@gmail.com>2015-06-24 16:16:24 -0700
committerDarby <darbsies@gmail.com>2015-06-24 16:16:24 -0700
commit5571b7356342d2197dcae773775389991f95a193 (patch)
tree7a2712699aebd27be545f0fdfaae71e23cee1bd6
parentd2de219f6cf5d6ce371f529988f9337653878e58 (diff)
downloadgitlab-ce-5571b7356342d2197dcae773775389991f95a193.tar.gz
Changed the color of admin/application_settings buttons
-rw-r--r--app/assets/stylesheets/pages/admin.scss13
-rw-r--r--app/views/admin/application_settings/_form.html.haml2
2 files changed, 14 insertions, 1 deletions
diff --git a/app/assets/stylesheets/pages/admin.scss b/app/assets/stylesheets/pages/admin.scss
index 144852e7874..12372719a35 100644
--- a/app/assets/stylesheets/pages/admin.scss
+++ b/app/assets/stylesheets/pages/admin.scss
@@ -61,3 +61,16 @@
@extend .broadcast-message;
margin-bottom: 20px;
}
+
+.btn-visibility {
+ .btn-primary {
+ color: black;
+ background-color: white;
+ border-color: black;
+ }
+ .btn-primary.active {
+ color: black;
+ background-color: #d3d3d3;
+ border-color: black;
+ }
+}
diff --git a/app/views/admin/application_settings/_form.html.haml b/app/views/admin/application_settings/_form.html.haml
index 6bef33c6d7a..8ce0b3cd207 100644
--- a/app/views/admin/application_settings/_form.html.haml
+++ b/app/views/admin/application_settings/_form.html.haml
@@ -23,7 +23,7 @@
= f.label :restricted_visibility_levels, class: 'control-label col-sm-2'
.col-sm-10
- data_attrs = { toggle: 'buttons' }
- .btn-group{ data: data_attrs }
+ .btn-group.btn-visibility{ data: data_attrs }
- restricted_level_checkboxes('restricted-visibility-help').each do |level|
= level
%span.help-block#restricted-visibility-help Selected levels cannot be used by non-admin users for projects or snippets