From d4ab469a3355cd73c832781f780555a60ea8c5be Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 16 Dec 2016 10:27:13 +0000 Subject: [PATCH] Fix button shadow colour on product page The button was inheriting a green box shadow from the default GOV.UK button style, which is typically used on a white background. On the blue background, a darker blue shadow looks better I think. The 15% darkening is the same as used by the default green button: https://github.com/alphagov/govuk_frontend_toolkit/blob/a3fe44e00ef3e364376a138fbffa8495af9906df/stylesheets/design-patterns/_buttons.scss#L36 --- app/assets/stylesheets/views/product-page.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/views/product-page.scss b/app/assets/stylesheets/views/product-page.scss index cb3d9096e..086779a94 100644 --- a/app/assets/stylesheets/views/product-page.scss +++ b/app/assets/stylesheets/views/product-page.scss @@ -36,6 +36,7 @@ .button { + @include box-shadow(0 2px 0 darken($govuk-blue, 15%)); background: $white; margin-right: 15px;