From 5571b7356342d2197dcae773775389991f95a193 Mon Sep 17 00:00:00 2001 From: Darby Date: Wed, 24 Jun 2015 16:16:24 -0700 Subject: Changed the color of admin/application_settings buttons --- app/assets/stylesheets/pages/admin.scss | 13 +++++++++++++ app/views/admin/application_settings/_form.html.haml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) 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 -- cgit v1.2.1