Skip to content

Commit

Permalink
Fix checkbox styling (bigbluebutton#547)
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn-higgins1 authored and farhatahmad committed May 22, 2019
1 parent f7fef92 commit c3d1ce3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions app/assets/stylesheets/admins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,7 @@
#branding-image{
z-index: auto;
}

.authentication-required{
padding-top: 2px;
}
6 changes: 6 additions & 0 deletions app/assets/stylesheets/utilities/_primary_themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@
box-shadow: 0 0 0 2px $primary-color-lighten !important;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before{
background-color: $primary-color !important;
border-color: $primary-color !important;
color: white !important;
}

a {
color: $primary-color !important;
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/admin_settings/_site_settings.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<div class="row gutters-xs">
<label class="custom-control custom-checkbox ml-1">
<%= check_box_tag "room_authentication", '', room_authentication_required, class: 'custom-control-input', onchange: "changeRoomAuthentication(this.checked, '#{admin_room_authentication_path}')"%>
<span class="custom-control-label text-muted pt-1"><%= t("administrator.site_settings.authentication.info") %></span>
<span class="custom-control-label text-muted authentication-required"><%= t("administrator.site_settings.authentication.info") %></span>
</label>
</div>
</div>
Expand Down

0 comments on commit c3d1ce3

Please sign in to comment.