From 5ce3709d3ba42358ffde844fd230d44660930e8c Mon Sep 17 00:00:00 2001 From: John O'Nolan Date: Sun, 15 Sep 2013 19:28:06 +0100 Subject: [PATCH] Introduce button active state Fixes #740 --- ghost/admin/assets/sass/modules/forms.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghost/admin/assets/sass/modules/forms.scss b/ghost/admin/assets/sass/modules/forms.scss index 043f1f9e64..1c8019b540 100644 --- a/ghost/admin/assets/sass/modules/forms.scss +++ b/ghost/admin/assets/sass/modules/forms.scss @@ -168,7 +168,7 @@ form { %button { @include box-sizing(border-box); min-height: 35px; - width:auto; + width: auto; display: inline-block; padding: 0.9em 1.37em; cursor: pointer; @@ -191,6 +191,10 @@ form { text-decoration: none; } + &:active { + box-shadow: rgba(0,0,0,0.3) 0 1px 3px inset; + } + &.large { padding: 1em 1.8em; font-size: 14px;