From 5ce212de8327baa67e8bb4b46f93ce4ae0a5496e Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 29 Jan 2020 17:14:43 +0100 Subject: [PATCH] Styling for disabled edit button --- app/assets/stylesheets/common.scss | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 5fc4da8d8..947be58f5 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -190,6 +190,21 @@ nav.primary { .btn-outline-primary { @include button-outline-variant($green, $white); } + + .disabled { + .btn-outline-primary { + color: $grey; + cursor: default; + + .caret { + border-top-color: $grey; + } + + &:hover { + background-color: lighten($green, 30%); + } + } + } } nav.secondary { -- 2.39.5