Index: trunk/phase3/skins/Chick.php |
— | — | @@ -23,10 +23,12 @@ |
24 | 24 | |
25 | 25 | function setupSkinUserCss( OutputPage $out ){ |
26 | 26 | parent::setupSkinUserCss( $out ); |
27 | | - // Append to the default screen common & print styles... |
28 | | - $out->addStyle( 'chick/main.css', 'screen,handheld' ); |
29 | | - $out->addStyle( 'chick/IE50Fixes.css', 'screen,handheld', 'lt IE 5.5000' ); |
30 | | - $out->addStyle( 'chick/IE55Fixes.css', 'screen,handheld', 'IE 5.5000' ); |
31 | | - $out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' ); |
| 27 | + |
| 28 | + $out->addModuleStyles( 'skins.chick' ); |
| 29 | + |
| 30 | + // TODO: Migrate all of these |
| 31 | + //$out->addStyle( 'chick/IE50Fixes.css', 'screen,handheld', 'lt IE 5.5000' ); |
| 32 | + //$out->addStyle( 'chick/IE55Fixes.css', 'screen,handheld', 'IE 5.5000' ); |
| 33 | + //$out->addStyle( 'chick/IE60Fixes.css', 'screen,handheld', 'IE 6' ); |
32 | 34 | } |
33 | 35 | } |
Index: trunk/phase3/resources/jquery/jquery.placeholder.js |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | } ) |
40 | 40 | |
41 | 41 | // Hide on focus |
42 | | - .focus( function() { |
| 42 | + .bind( 'onfocus ondrop ondragdrop', function() { |
43 | 43 | if ($input.hasClass('placeholder')) { |
44 | 44 | this.value = ''; |
45 | 45 | $input.removeClass( 'placeholder' ); |
— | — | @@ -58,4 +58,4 @@ |
59 | 59 | }); |
60 | 60 | |
61 | 61 | }); |
62 | | -}; |
\ No newline at end of file |
| 62 | +}; |
Index: trunk/phase3/resources/Resources.php |
— | — | @@ -24,6 +24,9 @@ |
25 | 25 | 'skins.simple' => array( |
26 | 26 | 'styles' => array( 'skins/simple/main.css' => array( 'media' => 'screen' ) ), |
27 | 27 | ), |
| 28 | + 'skins.chick' => array( |
| 29 | + 'styles' => array( 'skins/chick/main.css' => array( 'media' => 'screen,handheld' ) ), |
| 30 | + ), |
28 | 31 | |
29 | 32 | /* jQuery */ |
30 | 33 | |