]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Refs #3236 updated the button css so that disable plugin button looks like a button
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 28 Apr 2011 20:08:16 +0000 (20:08 +0000)
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>
Thu, 28 Apr 2011 20:08:16 +0000 (20:08 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@9047 36083f99-b078-4883-b0ff-0f9b5a30f544

languages/en.php
views/default/css/admin.php
views/default/forms/profile/fields/reset.php

index 5fbf5014253ad3777cccb45f972caac232868f8c..42712cadf95a6b718aeff467575a54d135303c20 100644 (file)
@@ -650,7 +650,7 @@ $english = array(
        'admin:plugins:warning:elgg_version_unknown' => 'This plugin uses a legacy manifest file and does not specify a compatible Elgg version. It probably will not work!',
        'admin:plugins:warning:unmet_dependencies' => 'This plugin has unmet dependencies and cannot be activated. Check dependencies under more info.',
        'admin:plugins:warning:invalid' => '%s is not a valid Elgg plugin.  Check <a href="http://docs.elgg.org/Invalid_Plugin">the Elgg documentation</a> for troubleshooting tips.',
-       'admin:plugins:cannot_activate' => 'Cannot Activate',
+       'admin:plugins:cannot_activate' => 'cannot activate',
 
        'admin:plugins:set_priority:yes' => "Reordered %s.",
        'admin:plugins:set_priority:no' => "Could not reorder %s.",
index ae3002dcbb48e0a849abc4b74015d35313ba9d75..68720b89a86a4b942eaa4043f33ca195e5df8bd6 100644 (file)
@@ -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
 *************************************** */
index 57dc00e8546405b5eff5d81befab26109aa235cf..4e0f51dc6b8b7dd3540aa4bcade9e6358d482298 100644 (file)
@@ -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);