Mercurial > defr > drupal > scald > mee
changeset 8:c3b22723b82f
Start to style the library filter form, and add a .js file.
| author | Franck Deroche <franck@defr.org> |
|---|---|
| date | Wed, 03 Jun 2009 14:39:24 +0200 |
| parents | b1e3bfc2f5e8 |
| children | 57e611f691eb |
| files | css/mee.css mee.js mee.module |
| diffstat | 3 files changed, 17 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/css/mee.css Tue Jun 02 20:56:33 2009 +0200 +++ b/css/mee.css Wed Jun 03 14:39:24 2009 +0200 @@ -6,6 +6,17 @@ float: left; width: 73%; } +#scald-dnd-library-form .form-item { + float: none; + width: auto; +} +#scald-dnd-library-form .form-checkboxes { + margin-top: 0; +} +#scald-dnd-library-form .form-checkboxes .form-item { + display: inline; + white-space: normal; +} .mee-wrap-editor-library .dnd-library-wrapper { float: right; width: 25%; @@ -27,6 +38,9 @@ font-size: 12px; font-weight: bold; } +.dnd-library-wrapper .header form { + font-size: 10px; +} .dnd-library-wrapper .footer { border-left: 1px solid #aaa; border-right: 1px solid #aaa;
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mee.js Wed Jun 03 14:39:24 2009 +0200 @@ -0,0 +1,2 @@ +Drupal.behaviors.mee = function(context) { +}
--- a/mee.module Tue Jun 02 20:56:33 2009 +0200 +++ b/mee.module Wed Jun 03 14:39:24 2009 +0200 @@ -339,6 +339,7 @@ */ function mee_textarea_process($element, $edit, $form_state, $form) { drupal_add_css(drupal_get_path('module', 'mee') .'/css/mee.css'); + drupal_add_js(drupal_get_path('module', 'mee') .'/mee.js'); $field = $form['#field_info'][$element['#field_name']]; $field_key = $element['#columns'][0];
