From 6d47049d72562d74f0c6838fc2d9d3d89c016a47 Mon Sep 17 00:00:00 2001 From: cash Date: Thu, 28 Apr 2011 20:08:16 +0000 Subject: Refs #3236 updated the button css so that disable plugin button looks like a button git-svn-id: http://code.elgg.org/elgg/trunk@9047 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/css/admin.php | 17 +++++++++++++++-- views/default/forms/profile/fields/reset.php | 2 +- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'views/default') diff --git a/views/default/css/admin.php b/views/default/css/admin.php index ae3002dcb..68720b89a 100644 --- a/views/default/css/admin.php +++ b/views/default/css/admin.php @@ -429,7 +429,7 @@ input { textarea { height: 100px; } -input[type="submit"], .elgg-button-submit, .elgg-button-action { +input[type="submit"], .elgg-button-submit, .elgg-button-action, .elgg-button-cancel { font-size: 14px; font-weight: bold; color: white; @@ -453,9 +453,22 @@ input[type="submit"]:hover, .elgg-button-submit:hover, .elgg-button-action:hover background-color: #000; text-decoration: none; } -.elgg-button-submit, .elgg-button-action { +.elgg-button-submit, .elgg-button-action, .elgg-button-cancel { padding: 4px 8px; } +.elgg-button-cancel { + color: #333; + background-color: #999; +} +.elgg-button-cancel:hover { + color: #222; + background-color: #666; + text-decoration: none; +} +.elgg-button-action.elgg-state-disabled { + background-color: #aaa; +} + /* *************************************** PAGINATION *************************************** */ diff --git a/views/default/forms/profile/fields/reset.php b/views/default/forms/profile/fields/reset.php index 57dc00e85..4e0f51dc6 100644 --- a/views/default/forms/profile/fields/reset.php +++ b/views/default/forms/profile/fields/reset.php @@ -5,6 +5,6 @@ $params = array( 'value' => elgg_echo('profile:resetdefault'), - 'class' => 'elgg-button elgg-button-action elgg-state-disabled', + 'class' => 'elgg-button-cancel', ); echo elgg_view('input/submit', $params); -- cgit v1.2.3