diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index 4b659972..ce0b0924 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -95,6 +95,16 @@ $sizes: ( box-shadow: 0 0 0 0.2rem $cyan; } } + + @include form-validation-state("valid", $cyan, url("data:image/svg+xml,")); + + .custom-checkbox { + .custom-control-input:checked ~ .custom-control-label { + &::after { + background-image: url("data:image/svg+xml,"); + } + } + } } // TODO: Encontrar la forma de generar esto desde los locales de Rails