From: Andy Allan Date: Wed, 29 Jan 2020 16:14:43 +0000 (+0100) Subject: Styling for disabled edit button X-Git-Tag: live~2844^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/5ce212de8327baa67e8bb4b46f93ce4ae0a5496e Styling for disabled edit button --- 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 {