From f39343ef09061f28ba738c0fddf2d97a8a2075aa Mon Sep 17 00:00:00 2001 From: Timo Schilling Date: Thu, 11 Sep 2014 11:30:02 +0200 Subject: [PATCH] some styling for button as for input[type=submit] --- app/assets/stylesheets/active_admin/_forms.css.scss | 4 ++-- app/assets/stylesheets/active_admin/components/_buttons.scss | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/active_admin/_forms.css.scss b/app/assets/stylesheets/active_admin/_forms.css.scss index 6b5ffd2d6cc..f6e321875f3 100644 --- a/app/assets/stylesheets/active_admin/_forms.css.scss +++ b/app/assets/stylesheets/active_admin/_forms.css.scss @@ -221,7 +221,7 @@ form { /* Buttons */ - input[type=submit], input[type=button] { + input[type=submit], input[type=button], button { @include dark-button; cursor: pointer; @@ -229,7 +229,7 @@ form { .buttons, .actions { margin-top: 15px; - input[type=submit], input[type=button] { margin-right: 10px; } + input[type=submit], input[type=button], button { margin-right: 10px; } } fieldset.buttons li, fieldset.actions li { diff --git a/app/assets/stylesheets/active_admin/components/_buttons.scss b/app/assets/stylesheets/active_admin/components/_buttons.scss index 574d6afd3f3..263960275c8 100644 --- a/app/assets/stylesheets/active_admin/components/_buttons.scss +++ b/app/assets/stylesheets/active_admin/components/_buttons.scss @@ -8,4 +8,4 @@ a.member_link { white-space: nowrap; } -a.button, a:link.button, a:visited.button, input[type=submit], input[type=button] { @include dark-button; } +a.button, a:link.button, a:visited.button, input[type=submit], input[type=button], button { @include dark-button; }