aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/css/admin.php17
-rw-r--r--views/default/forms/profile/fields/reset.php2
2 files changed, 16 insertions, 3 deletions
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);