forked from External/greenlight
Fix checkbox styling (#547)
This commit is contained in:
parent
f7fef926f8
commit
c3d1ce3a04
|
@ -38,3 +38,7 @@
|
||||||
#branding-image{
|
#branding-image{
|
||||||
z-index: auto;
|
z-index: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.authentication-required{
|
||||||
|
padding-top: 2px;
|
||||||
|
}
|
|
@ -29,6 +29,12 @@
|
||||||
box-shadow: 0 0 0 2px $primary-color-lighten !important;
|
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 {
|
a {
|
||||||
color: $primary-color !important;
|
color: $primary-color !important;
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<div class="row gutters-xs">
|
<div class="row gutters-xs">
|
||||||
<label class="custom-control custom-checkbox ml-1">
|
<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}')"%>
|
<%= 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>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue