diff --git a/jh/app/assets/stylesheets/page_bundles/password_reset.scss b/jh/app/assets/stylesheets/page_bundles/password_reset.scss index d8ed7f2d3dd683b530f689096de40492458a5dcb..8091eb40ec9b40618e871adc8ac1328b970fff9c 100644 --- a/jh/app/assets/stylesheets/page_bundles/password_reset.scss +++ b/jh/app/assets/stylesheets/page_bundles/password_reset.scss @@ -24,23 +24,30 @@ } } -a { - color: #AB2325; -} -a::hover { - color: #AB2325; -} -.btn-confirm::hover { - background-color: #AB2325; -} -.btn-confirm { - background-color: #AB2325; -} -button.gl-button.btn-block.btn-confirm { - background-color: #AB2325; - box-shadow: none; -} -button.gl-button.btn-block.btn-confirm::hover { - background-color: #AB2325; - box-shadow: none; +body[data-page="passwords:new"] { + + a { + color: #AB2325; + } + a::hover { + color: #AB2325; + } + .btn-confirm::hover { + background-color: #AB2325; + } + .btn-confirm { + background-color: #AB2325; + } + button.gl-button.btn-block.btn-confirm { + background-color: #AB2325; + box-shadow: none; + &:hover { + background-color: #AB2325 !important; + box-shadow: none !important; + } + } + button.gl-button.btn-block.btn-confirm::hover { + background-color: #AB2325; + box-shadow: none; + } } diff --git a/jh/app/assets/stylesheets/page_bundles/signin.scss b/jh/app/assets/stylesheets/page_bundles/signin.scss index 3891e184cc728291f78859c20a915e9e3cd283f4..52ef9349300b98ab69b6b11efb76d23538eb2c94 100644 --- a/jh/app/assets/stylesheets/page_bundles/signin.scss +++ b/jh/app/assets/stylesheets/page_bundles/signin.scss @@ -33,6 +33,38 @@ button.gl-button.btn-block.btn-confirm { background-color: #AB2325; box-shadow: none; + &:hover { + background-color: #AB2325; + box-shadow: none; + } + } + button.gl-button.btn-block.btn-confirm::hover { + background-color: #AB2325; + box-shadow: none; + } +} + +body[data-page="passwords:new"] { + background-color: #AB2325; + a { + color: #AB2325; + } + a::hover { + color: #AB2325; + } + .btn-confirm::hover { + background-color: #AB2325; + } + .btn-confirm { + background-color: #AB2325; + } + button.gl-button.btn-block.btn-confirm { + background-color: #AB2325; + box-shadow: none; + &:hover { + background-color: #AB2325 !important; + box-shadow: none !important; + } } button.gl-button.btn-block.btn-confirm::hover { background-color: #AB2325; diff --git a/jh/app/views/devise/passwords/new.html.haml b/jh/app/views/devise/passwords/new.html.haml index d44dd02de2e64997a1b7c9bc23603f60cd65a915..66e1d359278603d3e7b1289f1cc75fa32ce95e7b 100644 --- a/jh/app/views/devise/passwords/new.html.haml +++ b/jh/app/views/devise/passwords/new.html.haml @@ -11,4 +11,5 @@ = recaptcha_tags nonce: content_security_policy_nonce - else + - add_page_specific_style 'page_bundles/password_reset' = render_ce 'devise/passwords/new'