Commit 5571b735 authored by Darby's avatar Darby

Changed the color of admin/application_settings buttons

parent d2de219f
...@@ -61,3 +61,16 @@ ...@@ -61,3 +61,16 @@
@extend .broadcast-message; @extend .broadcast-message;
margin-bottom: 20px; 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;
}
}
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
= f.label :restricted_visibility_levels, class: 'control-label col-sm-2' = f.label :restricted_visibility_levels, class: 'control-label col-sm-2'
.col-sm-10 .col-sm-10
- data_attrs = { toggle: 'buttons' } - 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| - restricted_level_checkboxes('restricted-visibility-help').each do |level|
= level = level
%span.help-block#restricted-visibility-help Selected levels cannot be used by non-admin users for projects or snippets %span.help-block#restricted-visibility-help Selected levels cannot be used by non-admin users for projects or snippets
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment