diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-02 07:28:22 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-12-02 07:28:22 +0000 |
commit | c912008307dd49b5e3e85c78069153f2f9f70411 (patch) | |
tree | 6e219858505bd38130a7d679488d3a41e689ce1d /modules/dashboard | |
parent | cfc96df9a7181526cb1c71cf4e39886026c668fe (diff) | |
download | brdo-c912008307dd49b5e3e85c78069153f2f9f70411.tar.gz brdo-c912008307dd49b5e3e85c78069153f2f9f70411.tar.bz2 |
#610234 by Gábor Hojtsy, ksenzee, cwgordon7, David_Rothstein, seutje, marcvangend, sun, JoshuaRogers, markus_petrux, Bojhan, Rob Loach, Everett Zufelt, drifter, markboulton, leisareichelt, et al: Added Overlay module to core, which shows administrative pages in a JS overlay, retaining context on the front-end site.
Diffstat (limited to 'modules/dashboard')
-rw-r--r-- | modules/dashboard/dashboard.css | 4 | ||||
-rw-r--r-- | modules/dashboard/dashboard.js | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/modules/dashboard/dashboard.css b/modules/dashboard/dashboard.css index d6bd6cd70..840d38ce3 100644 --- a/modules/dashboard/dashboard.css +++ b/modules/dashboard/dashboard.css @@ -64,9 +64,11 @@ border: 0; } -#dashboard .canvas-content input { +#dashboard .canvas-content a.button { float: right; margin: 0 0 0 10px; + color: #5a5a5a; + text-decoration: none; } #dashboard .region { diff --git a/modules/dashboard/dashboard.js b/modules/dashboard/dashboard.js index 2b2c6cc45..219905317 100644 --- a/modules/dashboard/dashboard.js +++ b/modules/dashboard/dashboard.js @@ -65,7 +65,7 @@ Drupal.behaviors.dashboard = { * Helper for enterCustomizeMode; sets up drag-and-drop and close button. */ setupDrawer: function () { - $('div.customize .canvas-content').prepend('<input type="button" class="form-submit" value="' + Drupal.t('Done') + '"></input>'); + $('div.customize .canvas-content').prepend('<a class="button" href="">' + Drupal.t('Done') + '</a>'); $('div.customize .canvas-content input').click(Drupal.behaviors.dashboard.exitCustomizeMode); // Initialize drag-and-drop. |