From c3d1ce3a04288e276d09c1666c34d6a9280adfd6 Mon Sep 17 00:00:00 2001 From: shawn-higgins1 <23224097+shawn-higgins1@users.noreply.github.com> Date: Wed, 22 May 2019 15:23:31 -0400 Subject: [PATCH] Fix checkbox styling (#547) --- app/assets/stylesheets/admins.scss | 4 ++++ app/assets/stylesheets/utilities/_primary_themes.scss | 6 ++++++ app/views/shared/admin_settings/_site_settings.html.erb | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/admins.scss b/app/assets/stylesheets/admins.scss index b84cb410..56dbb86f 100644 --- a/app/assets/stylesheets/admins.scss +++ b/app/assets/stylesheets/admins.scss @@ -38,3 +38,7 @@ #branding-image{ z-index: auto; } + +.authentication-required{ + padding-top: 2px; +} \ No newline at end of file diff --git a/app/assets/stylesheets/utilities/_primary_themes.scss b/app/assets/stylesheets/utilities/_primary_themes.scss index 2a6cabc4..33d48d31 100644 --- a/app/assets/stylesheets/utilities/_primary_themes.scss +++ b/app/assets/stylesheets/utilities/_primary_themes.scss @@ -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; } diff --git a/app/views/shared/admin_settings/_site_settings.html.erb b/app/views/shared/admin_settings/_site_settings.html.erb index 0079861c..59f5d6b7 100644 --- a/app/views/shared/admin_settings/_site_settings.html.erb +++ b/app/views/shared/admin_settings/_site_settings.html.erb @@ -35,7 +35,7 @@