cable 0.1.0 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/admin/cable_settings_controller.rb +20 -0
- data/app/controllers/{cable/admin_controller.rb → admin_controller.rb} +1 -2
- data/app/controllers/attachable_assets_controller.rb +81 -0
- data/app/controllers/attachable_documents_controller.rb +22 -0
- data/app/controllers/attachable_images_controller.rb +22 -0
- data/app/controllers/cable/cable_admin_controller.rb +8 -0
- data/app/helpers/admin/menus_helper.rb +24 -0
- data/app/helpers/admin_helper.rb +2 -2
- data/app/models/attachable_asset.rb +11 -0
- data/app/models/attachable_document.rb +2 -0
- data/app/models/attachable_image.rb +5 -0
- data/app/views/admin/_admin_user_login.html.erb +5 -0
- data/app/views/admin/cable_settings/_cable_setting.html.erb +4 -0
- data/app/views/admin/cable_settings/edit.html.erb +1 -0
- data/app/views/admin/cable_settings/index.html.erb +47 -0
- data/app/views/admin/index.html.erb +10 -0
- data/app/views/attachable_assets/index.html.erb +4 -0
- data/app/views/attachable_assets/new.html.erb +7 -0
- data/app/views/attachable_assets/show.html.erb +2 -0
- data/app/views/{cable/layouts → layouts}/_messages.html.erb +0 -0
- data/app/views/layouts/admin.html.erb +56 -0
- data/config/admin_navigation.rb +18 -0
- data/config/navigation.rb +0 -0
- data/config/routes.rb +5 -1
- data/lib/cable.rb +88 -1
- data/lib/cable/acts_as_cable.rb +36 -0
- data/lib/cable/base.rb +19 -0
- data/lib/cable/block.rb +46 -0
- data/lib/cable/capistrano.rb +12 -0
- data/lib/cable/controllers/cable_controller_helpers.rb +27 -0
- data/lib/cable/engine.rb +6 -1
- data/lib/cable/errors/resource_association_error.rb +4 -0
- data/lib/cable/media/acts_as_attachable.rb +44 -0
- data/lib/cable/media/asset.rb +3 -0
- data/lib/cable/menu.rb +3 -0
- data/lib/cable/menu/acts_as_cable_menu.rb +46 -0
- data/lib/cable/menu/base.rb +166 -0
- data/lib/cable/menu/simple_navigation_methods.rb +24 -0
- data/lib/cable/menu/url_helper.rb +17 -0
- data/lib/cable/orm/active_record.rb +29 -0
- data/lib/cable/page.rb +3 -0
- data/lib/cable/rails/routes.rb +49 -0
- data/lib/cable/railtie.rb +32 -0
- data/lib/cable/schema.rb +52 -0
- data/lib/cable/setting.rb +3 -0
- data/lib/cable/special_action.rb +19 -0
- data/lib/generators/cable/install_generator.rb +61 -21
- data/lib/generators/cable/media/media_generator.rb +41 -0
- data/lib/generators/cable/media/templates/migration.rb +19 -0
- data/lib/generators/cable/media/templates/model.rb +3 -0
- data/lib/generators/cable/menu/menu_generator.rb +83 -0
- data/lib/generators/cable/menu/templates/controller.rb +118 -0
- data/lib/generators/cable/menu/templates/erb/menus/_menu.html.erb +31 -0
- data/lib/generators/cable/menu/templates/erb/menus/_menu_children_table.html.erb +60 -0
- data/lib/generators/cable/menu/templates/erb/menus/_menu_tree.html.erb +10 -0
- data/lib/generators/cable/menu/templates/erb/menus/_menu_vitals.html.erb +30 -0
- data/lib/generators/cable/menu/templates/erb/menus/_resource.html.erb +29 -0
- data/lib/generators/cable/menu/templates/erb/menus/_resource_fields.html.erb +10 -0
- data/lib/generators/cable/menu/templates/erb/menus/_tree.html.erb +16 -0
- data/lib/generators/cable/menu/templates/erb/menus/edit.html.erb +1 -0
- data/lib/generators/cable/menu/templates/erb/menus/index.html.erb +28 -0
- data/lib/generators/cable/menu/templates/erb/menus/move.html.erb +41 -0
- data/lib/generators/cable/menu/templates/erb/menus/new.html.erb +1 -0
- data/lib/generators/cable/menu/templates/erb/menus/show.html.erb +16 -0
- data/lib/generators/cable/menu/templates/erb/menus/table.html.erb +9 -0
- data/lib/generators/cable/menu/templates/erb/partials/_menu_fields.html.erb +12 -0
- data/lib/generators/cable/menu/templates/migration.rb +24 -0
- data/lib/generators/cable/menu/templates/model.rb +4 -0
- data/lib/generators/cable/orm_helpers.rb +18 -0
- data/lib/generators/cable/override_generator.rb +33 -0
- data/lib/generators/cable/resource/resource_generator.rb +70 -0
- data/lib/generators/cable/resource/templates/controller.rb +52 -0
- data/lib/generators/cable/resource/templates/erb/scaffold/_form.html.erb +30 -0
- data/lib/generators/cable/resource/templates/erb/scaffold/edit.html.erb +6 -0
- data/lib/generators/cable/resource/templates/erb/scaffold/index.html.erb +54 -0
- data/lib/generators/cable/resource/templates/erb/scaffold/new.html.erb +5 -0
- data/lib/generators/cable/resource/templates/erb/scaffold/show.html.erb +12 -0
- data/lib/generators/cable/resource/templates/migration.rb +14 -0
- data/lib/generators/cable/resource/templates/model.rb +3 -0
- data/lib/generators/templates/block.rb +3 -0
- data/lib/generators/templates/create_blocks.rb +27 -0
- data/lib/generators/templates/create_cable_settings.rb +25 -0
- data/lib/generators/templates/initializer.rb +18 -0
- data/lib/generators/templates/partials/_block.html.erb +10 -0
- data/lib/generators/templates/partials/_block_form.html.erb +24 -0
- data/lib/railties/tasks.rake +6 -1
- data/public/images/cable/background.png +0 -0
- data/public/images/cable/delete.png +0 -0
- data/public/images/cable/event-icon.png +0 -0
- data/public/images/cable/new-window.png +0 -0
- data/public/images/cable/nil-icon.png +0 -0
- data/public/images/cable/page-icon.png +0 -0
- data/public/images/cable/product-icon.jpg +0 -0
- data/public/images/cable/story-icon.jpg +0 -0
- data/public/images/iphone-style-checkboxes/off.png +0 -0
- data/public/images/iphone-style-checkboxes/on.png +0 -0
- data/public/images/iphone-style-checkboxes/slider.png +0 -0
- data/public/images/iphone-style-checkboxes/slider_center.png +0 -0
- data/public/images/iphone-style-checkboxes/slider_left.png +0 -0
- data/public/images/iphone-style-checkboxes/slider_right.png +0 -0
- data/public/javascripts/admin.js +35 -0
- data/public/javascripts/iphone-style-checkboxes.js +224 -0
- data/public/javascripts/jquery.columnview.js +84 -0
- data/public/javascripts/jquery.tablesorter.min.js +4 -0
- data/public/javascripts/jquery.tagsinput.js +195 -0
- data/public/javascripts/jstree/_lib/jquery.cookie.js +96 -0
- data/public/javascripts/jstree/_lib/jquery.hotkeys.js +99 -0
- data/public/javascripts/jstree/_lib/jquery.js +6240 -0
- data/public/javascripts/jstree/jquery.jstree.js +4526 -0
- data/public/javascripts/jstree/themes/apple/bg.jpg +0 -0
- data/public/javascripts/jstree/themes/apple/d.png +0 -0
- data/public/javascripts/jstree/themes/apple/dot_for_ie.gif +0 -0
- data/public/javascripts/jstree/themes/apple/style.css +61 -0
- data/public/javascripts/jstree/themes/apple/throbber.gif +0 -0
- data/public/javascripts/jstree/themes/classic/d.png +0 -0
- data/public/javascripts/jstree/themes/classic/dot_for_ie.gif +0 -0
- data/public/javascripts/jstree/themes/classic/style.css +59 -0
- data/public/javascripts/jstree/themes/classic/throbber.gif +0 -0
- data/public/javascripts/jstree/themes/default-rtl/d.gif +0 -0
- data/public/javascripts/jstree/themes/default-rtl/d.png +0 -0
- data/public/javascripts/jstree/themes/default-rtl/dots.gif +0 -0
- data/public/javascripts/jstree/themes/default-rtl/style.css +83 -0
- data/public/javascripts/jstree/themes/default-rtl/throbber.gif +0 -0
- data/public/javascripts/jstree/themes/default/d.gif +0 -0
- data/public/javascripts/jstree/themes/default/d.png +0 -0
- data/public/javascripts/jstree/themes/default/style.css +73 -0
- data/public/javascripts/jstree/themes/default/throbber.gif +0 -0
- data/public/javascripts/tinymce/jquery.tinymce.js +1 -0
- data/public/javascripts/tinymce/langs/en.js +170 -0
- data/public/javascripts/tinymce/license.txt +504 -0
- data/public/javascripts/tinymce/plugins/advhr/css/advhr.css +5 -0
- data/public/javascripts/tinymce/plugins/advhr/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/advhr/editor_plugin_src.js +57 -0
- data/public/javascripts/tinymce/plugins/advhr/js/rule.js +43 -0
- data/public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +5 -0
- data/public/javascripts/tinymce/plugins/advhr/rule.htm +57 -0
- data/public/javascripts/tinymce/plugins/advimage/css/advimage.css +13 -0
- data/public/javascripts/tinymce/plugins/advimage/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/advimage/editor_plugin_src.js +50 -0
- data/public/javascripts/tinymce/plugins/advimage/image.htm +232 -0
- data/public/javascripts/tinymce/plugins/advimage/img/sample.gif +0 -0
- data/public/javascripts/tinymce/plugins/advimage/js/image.js +443 -0
- data/public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +43 -0
- data/public/javascripts/tinymce/plugins/advlink/css/advlink.css +8 -0
- data/public/javascripts/tinymce/plugins/advlink/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/advlink/editor_plugin_src.js +61 -0
- data/public/javascripts/tinymce/plugins/advlink/js/advlink.js +528 -0
- data/public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +52 -0
- data/public/javascripts/tinymce/plugins/advlink/link.htm +333 -0
- data/public/javascripts/tinymce/plugins/advlist/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +154 -0
- data/public/javascripts/tinymce/plugins/autoresize/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/autoresize/editor_plugin_src.js +119 -0
- data/public/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +422 -0
- data/public/javascripts/tinymce/plugins/autosave/langs/en.js +4 -0
- data/public/javascripts/tinymce/plugins/bbcode/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +120 -0
- data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +147 -0
- data/public/javascripts/tinymce/plugins/directionality/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/directionality/editor_plugin_src.js +82 -0
- data/public/javascripts/tinymce/plugins/emotions/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/emotions/editor_plugin_src.js +43 -0
- data/public/javascripts/tinymce/plugins/emotions/emotions.htm +40 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/public/javascripts/tinymce/plugins/emotions/js/emotions.js +22 -0
- data/public/javascripts/tinymce/plugins/emotions/langs/en_dlg.js +20 -0
- data/public/javascripts/tinymce/plugins/example/dialog.htm +22 -0
- data/public/javascripts/tinymce/plugins/example/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/example/editor_plugin_src.js +84 -0
- data/public/javascripts/tinymce/plugins/example/img/example.gif +0 -0
- data/public/javascripts/tinymce/plugins/example/js/dialog.js +19 -0
- data/public/javascripts/tinymce/plugins/example/langs/en.js +3 -0
- data/public/javascripts/tinymce/plugins/example/langs/en_dlg.js +3 -0
- data/public/javascripts/tinymce/plugins/fullpage/css/fullpage.css +182 -0
- data/public/javascripts/tinymce/plugins/fullpage/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +153 -0
- data/public/javascripts/tinymce/plugins/fullpage/fullpage.htm +571 -0
- data/public/javascripts/tinymce/plugins/fullpage/js/fullpage.js +471 -0
- data/public/javascripts/tinymce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +151 -0
- data/public/javascripts/tinymce/plugins/fullscreen/fullscreen.htm +109 -0
- data/public/javascripts/tinymce/plugins/iespell/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/iespell/editor_plugin_src.js +54 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +635 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +100 -0
- data/public/javascripts/tinymce/plugins/inlinepopups/template.htm +387 -0
- data/public/javascripts/tinymce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/insertdatetime/editor_plugin_src.js +83 -0
- data/public/javascripts/tinymce/plugins/layer/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/layer/editor_plugin_src.js +212 -0
- data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +136 -0
- data/public/javascripts/tinymce/plugins/media/css/content.css +6 -0
- data/public/javascripts/tinymce/plugins/media/css/media.css +16 -0
- data/public/javascripts/tinymce/plugins/media/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/media/editor_plugin_src.js +414 -0
- data/public/javascripts/tinymce/plugins/media/img/flash.gif +0 -0
- data/public/javascripts/tinymce/plugins/media/img/flv_player.swf +0 -0
- data/public/javascripts/tinymce/plugins/media/img/quicktime.gif +0 -0
- data/public/javascripts/tinymce/plugins/media/img/realmedia.gif +0 -0
- data/public/javascripts/tinymce/plugins/media/img/shockwave.gif +0 -0
- data/public/javascripts/tinymce/plugins/media/img/trans.gif +0 -0
- data/public/javascripts/tinymce/plugins/media/img/windowsmedia.gif +0 -0
- data/public/javascripts/tinymce/plugins/media/js/embed.js +73 -0
- data/public/javascripts/tinymce/plugins/media/js/media.js +630 -0
- data/public/javascripts/tinymce/plugins/media/langs/en_dlg.js +103 -0
- data/public/javascripts/tinymce/plugins/media/media.htm +817 -0
- data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +53 -0
- data/public/javascripts/tinymce/plugins/noneditable/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/noneditable/editor_plugin_src.js +90 -0
- data/public/javascripts/tinymce/plugins/pagebreak/css/content.css +1 -0
- data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +77 -0
- data/public/javascripts/tinymce/plugins/pagebreak/img/pagebreak.gif +0 -0
- data/public/javascripts/tinymce/plugins/pagebreak/img/trans.gif +0 -0
- data/public/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/paste/editor_plugin_src.js +952 -0
- data/public/javascripts/tinymce/plugins/paste/js/pastetext.js +36 -0
- data/public/javascripts/tinymce/plugins/paste/js/pasteword.js +51 -0
- data/public/javascripts/tinymce/plugins/paste/langs/en_dlg.js +5 -0
- data/public/javascripts/tinymce/plugins/paste/pastetext.htm +27 -0
- data/public/javascripts/tinymce/plugins/paste/pasteword.htm +21 -0
- data/public/javascripts/tinymce/plugins/pdw/editor_plugin.js +4 -0
- data/public/javascripts/tinymce/plugins/pdw/editor_plugin_src.js +158 -0
- data/public/javascripts/tinymce/plugins/pdw/img/toolbars.gif +0 -0
- data/public/javascripts/tinymce/plugins/pdw/langs/en.js +3 -0
- data/public/javascripts/tinymce/plugins/pdw/langs/nl.js +3 -0
- data/public/javascripts/tinymce/plugins/preview/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/preview/editor_plugin_src.js +53 -0
- data/public/javascripts/tinymce/plugins/preview/example.html +28 -0
- data/public/javascripts/tinymce/plugins/preview/jscripts/embed.js +73 -0
- data/public/javascripts/tinymce/plugins/preview/preview.html +17 -0
- data/public/javascripts/tinymce/plugins/print/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/print/editor_plugin_src.js +34 -0
- data/public/javascripts/tinymce/plugins/save/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/save/editor_plugin_src.js +101 -0
- data/public/javascripts/tinymce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +57 -0
- data/public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +138 -0
- data/public/javascripts/tinymce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +99 -0
- data/public/javascripts/tinymce/plugins/spellchecker/css/content.css +1 -0
- data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +417 -0
- data/public/javascripts/tinymce/plugins/spellchecker/img/wline.gif +0 -0
- data/public/javascripts/tinymce/plugins/style/css/props.css +13 -0
- data/public/javascripts/tinymce/plugins/style/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/style/editor_plugin_src.js +55 -0
- data/public/javascripts/tinymce/plugins/style/js/props.js +641 -0
- data/public/javascripts/tinymce/plugins/style/langs/en_dlg.js +63 -0
- data/public/javascripts/tinymce/plugins/style/props.htm +723 -0
- data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +112 -0
- data/public/javascripts/tinymce/plugins/table/cell.htm +178 -0
- data/public/javascripts/tinymce/plugins/table/css/cell.css +17 -0
- data/public/javascripts/tinymce/plugins/table/css/row.css +25 -0
- data/public/javascripts/tinymce/plugins/table/css/table.css +13 -0
- data/public/javascripts/tinymce/plugins/table/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/table/editor_plugin_src.js +1139 -0
- data/public/javascripts/tinymce/plugins/table/js/cell.js +286 -0
- data/public/javascripts/tinymce/plugins/table/js/merge_cells.js +27 -0
- data/public/javascripts/tinymce/plugins/table/js/row.js +237 -0
- data/public/javascripts/tinymce/plugins/table/js/table.js +454 -0
- data/public/javascripts/tinymce/plugins/table/langs/en_dlg.js +74 -0
- data/public/javascripts/tinymce/plugins/table/merge_cells.htm +32 -0
- data/public/javascripts/tinymce/plugins/table/row.htm +155 -0
- data/public/javascripts/tinymce/plugins/table/table.htm +187 -0
- data/public/javascripts/tinymce/plugins/template/blank.htm +12 -0
- data/public/javascripts/tinymce/plugins/template/css/template.css +23 -0
- data/public/javascripts/tinymce/plugins/template/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/template/editor_plugin_src.js +159 -0
- data/public/javascripts/tinymce/plugins/template/js/template.js +106 -0
- data/public/javascripts/tinymce/plugins/template/langs/en_dlg.js +15 -0
- data/public/javascripts/tinymce/plugins/template/template.htm +31 -0
- data/public/javascripts/tinymce/plugins/visualchars/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +83 -0
- data/public/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +98 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +141 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +141 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +148 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +141 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/del.htm +161 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/editor_plugin_src.js +132 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +161 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +126 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +53 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +231 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +52 -0
- data/public/javascripts/tinymce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/public/javascripts/tinymce/themes/advanced/about.htm +54 -0
- data/public/javascripts/tinymce/themes/advanced/anchor.htm +26 -0
- data/public/javascripts/tinymce/themes/advanced/charmap.htm +52 -0
- data/public/javascripts/tinymce/themes/advanced/color_picker.htm +73 -0
- data/public/javascripts/tinymce/themes/advanced/editor_template.js +1 -0
- data/public/javascripts/tinymce/themes/advanced/editor_template_src.js +1229 -0
- data/public/javascripts/tinymce/themes/advanced/image.htm +80 -0
- data/public/javascripts/tinymce/themes/advanced/img/colorpicker.jpg +0 -0
- data/public/javascripts/tinymce/themes/advanced/img/icons.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/js/about.js +72 -0
- data/public/javascripts/tinymce/themes/advanced/js/anchor.js +37 -0
- data/public/javascripts/tinymce/themes/advanced/js/charmap.js +335 -0
- data/public/javascripts/tinymce/themes/advanced/js/color_picker.js +253 -0
- data/public/javascripts/tinymce/themes/advanced/js/image.js +245 -0
- data/public/javascripts/tinymce/themes/advanced/js/link.js +156 -0
- data/public/javascripts/tinymce/themes/advanced/js/source_editor.js +56 -0
- data/public/javascripts/tinymce/themes/advanced/langs/en.js +62 -0
- data/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +51 -0
- data/public/javascripts/tinymce/themes/advanced/link.htm +58 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/content.css +36 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/dialog.css +117 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/items.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/default/ui.css +213 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +36 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +116 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +215 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/public/javascripts/tinymce/themes/advanced/source_editor.htm +25 -0
- data/public/javascripts/tinymce/themes/simple/editor_template.js +1 -0
- data/public/javascripts/tinymce/themes/simple/editor_template_src.js +85 -0
- data/public/javascripts/tinymce/themes/simple/img/icons.gif +0 -0
- data/public/javascripts/tinymce/themes/simple/langs/en.js +11 -0
- data/public/javascripts/tinymce/themes/simple/skins/default/content.css +25 -0
- data/public/javascripts/tinymce/themes/simple/skins/default/ui.css +32 -0
- data/public/javascripts/tinymce/themes/simple/skins/o2k7/content.css +17 -0
- data/public/javascripts/tinymce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tinymce/themes/simple/skins/o2k7/ui.css +35 -0
- data/public/javascripts/tinymce/tiny_mce.js +1 -0
- data/public/javascripts/tinymce/tiny_mce_popup.js +5 -0
- data/public/javascripts/tinymce/tiny_mce_src.js +13394 -0
- data/public/javascripts/tinymce/utils/editable_selects.js +70 -0
- data/public/javascripts/tinymce/utils/form_utils.js +200 -0
- data/public/javascripts/tinymce/utils/mctabs.js +77 -0
- data/public/javascripts/tinymce/utils/validate.js +220 -0
- data/public/stylesheets/cable.css +862 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/ie.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/icons/key.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/readme.txt +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/buttons/screen.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/fancy-type/readme.txt +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/fancy-type/screen.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/readme.txt +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/link-icons/screen.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/rtl/readme.txt +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/plugins/rtl/screen.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/print.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/screen.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/forms.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/grid.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/grid.png +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/ie.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/print.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/reset.css +0 -0
- data/{lib/generators/cable/templates/stylesheets/admin → public/stylesheets/cable}/blueprint/src/typography.css +0 -0
- data/public/stylesheets/columnview.css +61 -0
- data/public/stylesheets/formtastic.css +148 -0
- data/public/stylesheets/formtastic_changes.css +66 -0
- data/public/stylesheets/iphone_checkboxes.css +76 -0
- data/public/stylesheets/ui/aristo/aristo.css +524 -0
- data/public/stylesheets/ui/aristo/icons.psd +0 -0
- data/public/stylesheets/ui/aristo/images/button_bg.png +0 -0
- data/public/stylesheets/ui/aristo/images/datepicker.gif +0 -0
- data/public/stylesheets/ui/aristo/images/icon_sprite.png +0 -0
- data/public/stylesheets/ui/aristo/images/progress_bar.gif +0 -0
- data/public/stylesheets/ui/aristo/images/right-arrow.png +0 -0
- data/public/stylesheets/ui/aristo/images/slider_h_bg.gif +0 -0
- data/public/stylesheets/ui/aristo/images/slider_handles.png +0 -0
- data/public/stylesheets/ui/aristo/images/slider_v_bg.gif +0 -0
- data/public/stylesheets/ui/aristo/images/tab_bg.gif +0 -0
- data/public/stylesheets/ui/aristo/images/the_gradient.gif +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-icons_222222_256x240.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-icons_228ef1_256x240.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-icons_ef8c08_256x240.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-icons_ffd27a_256x240.png +0 -0
- data/public/stylesheets/ui/aristo/images/ui-icons_ffffff_256x240.png +0 -0
- data/public/stylesheets/ui/images/sprite-aristo.png +0 -0
- data/public/stylesheets/ui/images/uniform/sprite.png +0 -0
- data/public/stylesheets/ui/uniform/uniform.aristo.css +470 -0
- data/public/stylesheets/ui/uniform/uniform.default.css +477 -0
- metadata +473 -131
- data/app/models/cable/global_setting.rb +0 -3
- data/app/views/cable/admin/index.html.erb +0 -2
- data/app/views/cable/layouts/admin.html.erb +0 -49
- data/lib/generators/cable/controllers_generator.rb +0 -21
- data/lib/generators/cable/templates/admin_navigation.rb +0 -5
- data/lib/generators/cable/templates/javascripts/admin.js +0 -24
- data/lib/generators/cable/templates/javascripts/wymeditor/GPL-license.txt +0 -278
- data/lib/generators/cable/templates/javascripts/wymeditor/MIT-license.txt +0 -20
- data/lib/generators/cable/templates/javascripts/wymeditor/README +0 -33
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-blockquote.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h1.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h2.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h3.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h4.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h5.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-h6.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-p.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/lbl-pre.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/wymiframe.css +0 -93
- data/lib/generators/cable/templates/javascripts/wymeditor/iframe/default/wymiframe.html +0 -26
- data/lib/generators/cable/templates/javascripts/wymeditor/jquery.wymeditor.js +0 -4724
- data/lib/generators/cable/templates/javascripts/wymeditor/jquery.wymeditor.min.js +0 -1
- data/lib/generators/cable/templates/javascripts/wymeditor/jquery.wymeditor.pack.js +0 -1
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/bg.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/ca.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/cs.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/cy.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/de.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/en.js +0 -46
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/es.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/fa.js +0 -46
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/fi.js +0 -44
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/fr.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/gl.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/he.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/hr.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/hu.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/it.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/ja.js +0 -44
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/nb.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/nl.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/nn.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/pl.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/pt-br.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/pt.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/ru.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/sv.js +0 -46
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/tr.js +0 -45
- data/lib/generators/cable/templates/javascripts/wymeditor/lang/zh_cn.js +0 -47
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/embed/jquery.wymeditor.embed.js +0 -52
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/fullscreen/icon_fullscreen.gif +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/fullscreen/jquery.wymeditor.fullscreen.js +0 -127
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js +0 -57
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/mediabrowser/browser.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/mediabrowser/jquery.wymeditor.mediabrowser.js +0 -115
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/resizable/jquery.wymeditor.resizable.js +0 -91
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/resizable/readme.txt +0 -124
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/tidy/README +0 -19
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js +0 -82
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/tidy/tidy.php +0 -36
- data/lib/generators/cable/templates/javascripts/wymeditor/plugins/tidy/wand.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/compact/icons.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/compact/skin.css +0 -134
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/compact/skin.js +0 -35
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/default/icons.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/default/skin.css +0 -158
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/default/skin.js +0 -40
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/bg.header.gif +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/bg.selector.silver.gif +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/bg.wymeditor.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/icons.silver.gif +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/skin.css +0 -131
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/skin.js +0 -30
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/COPYING +0 -674
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/README +0 -27
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/images/bg.header.gif +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/images/bg.selector.silver.gif +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/images/bg.wymeditor.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/images/icons.silver.gif +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/skin.css +0 -297
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/silver/skin.js +0 -61
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/twopanels/icons.png +0 -0
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/twopanels/skin.css +0 -134
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/twopanels/skin.js +0 -39
- data/lib/generators/cable/templates/javascripts/wymeditor/skins/wymeditor_icon.png +0 -0
- data/lib/generators/cable/templates/stylesheets/admin.css +0 -417
@@ -1,36 +0,0 @@
|
|
1
|
-
<?php
|
2
|
-
|
3
|
-
if (get_magic_quotes_gpc()) $html = stripslashes($_REQUEST['html']);
|
4
|
-
else $html = $_REQUEST['html'];
|
5
|
-
|
6
|
-
if(strlen($html) > 0) {
|
7
|
-
|
8
|
-
// Specify configuration
|
9
|
-
$config = array(
|
10
|
-
'bare' => true,
|
11
|
-
'clean' => true,
|
12
|
-
'doctype' => 'strict',
|
13
|
-
'drop-empty-paras' => true,
|
14
|
-
'drop-font-tags' => true,
|
15
|
-
'drop-proprietary-attributes' => true,
|
16
|
-
'enclose-block-text' => true,
|
17
|
-
'indent' => false,
|
18
|
-
'join-classes' => true,
|
19
|
-
'join-styles' => true,
|
20
|
-
'logical-emphasis' => true,
|
21
|
-
'output-xhtml' => true,
|
22
|
-
'show-body-only' => true,
|
23
|
-
'wrap' => 0);
|
24
|
-
|
25
|
-
// Tidy
|
26
|
-
$tidy = new tidy;
|
27
|
-
$tidy->parseString($html, $config, 'utf8');
|
28
|
-
$tidy->cleanRepair();
|
29
|
-
|
30
|
-
// Output
|
31
|
-
echo $tidy;
|
32
|
-
} else {
|
33
|
-
|
34
|
-
echo ('0');
|
35
|
-
}
|
36
|
-
?>
|
Binary file
|
Binary file
|
@@ -1,134 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* WYMeditor : what you see is What You Mean web-based editor
|
3
|
-
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
|
4
|
-
* Dual licensed under the MIT (MIT-license.txt)
|
5
|
-
* and GPL (GPL-license.txt) licenses.
|
6
|
-
*
|
7
|
-
* For further information visit:
|
8
|
-
* http://www.wymeditor.org/
|
9
|
-
*
|
10
|
-
* File Name:
|
11
|
-
* screen.css
|
12
|
-
* main stylesheet for the WYMeditor skin
|
13
|
-
* See the documentation for more info.
|
14
|
-
*
|
15
|
-
* File Authors:
|
16
|
-
* Daniel Reszka (d.reszka a-t wymeditor dotorg)
|
17
|
-
* Jean-Francois Hovinne (jf.hovinne a-t wymeditor dotorg)
|
18
|
-
*/
|
19
|
-
|
20
|
-
/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/
|
21
|
-
.wym_skin_compact p, .wym_skin_compact h2, .wym_skin_compact h3,
|
22
|
-
.wym_skin_compact ul, .wym_skin_compact li { background: transparent url(); margin: 0; padding: 0; border-width:0; list-style: none; }
|
23
|
-
|
24
|
-
|
25
|
-
/*HIDDEN BY DEFAULT*/
|
26
|
-
.wym_skin_compact .wym_area_left { display: none; }
|
27
|
-
.wym_skin_compact .wym_area_right { display: none; }
|
28
|
-
|
29
|
-
|
30
|
-
/*TYPO*/
|
31
|
-
.wym_skin_compact { font-size: 10px; font-family: Verdana, Arial, sans-serif; }
|
32
|
-
.wym_skin_compact h2 { font-size: 110%; /* = 11px */}
|
33
|
-
.wym_skin_compact h3 { font-size: 100%; /* = 10px */}
|
34
|
-
.wym_skin_compact li { font-size: 100%; /* = 10px */}
|
35
|
-
|
36
|
-
|
37
|
-
/*WYM_BOX*/
|
38
|
-
.wym_skin_compact { border: 1px solid gray; padding: 5px}
|
39
|
-
|
40
|
-
/*auto-clear the wym_box*/
|
41
|
-
.wym_skin_compact:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
42
|
-
* html .wym_skin_compact { height: 1%;}
|
43
|
-
|
44
|
-
|
45
|
-
/*WYM_HTML*/
|
46
|
-
.wym_skin_compact .wym_html { width: 98%;}
|
47
|
-
.wym_skin_compact .wym_html textarea { font-size: 120%; width: 100%; height: 200px; border: 1px solid gray; background: white; }
|
48
|
-
|
49
|
-
|
50
|
-
/*WYM_IFRAME*/
|
51
|
-
.wym_skin_compact .wym_iframe { width: 98%;}
|
52
|
-
.wym_skin_compact .wym_iframe iframe { width: 100%; height: 200px; border: 1px solid gray; background: white }
|
53
|
-
|
54
|
-
|
55
|
-
/*AREAS*/
|
56
|
-
.wym_skin_compact .wym_area_left { width: 100px; float: left;}
|
57
|
-
.wym_skin_compact .wym_area_right { width: 150px; float: right;}
|
58
|
-
.wym_skin_compact .wym_area_bottom { height: 1%; clear: both;}
|
59
|
-
* html .wym_skin_compact .wym_area_main { height: 1%;}
|
60
|
-
* html .wym_skin_compact .wym_area_top { height: 1%;}
|
61
|
-
*+html .wym_skin_compact .wym_area_top { height: 1%;}
|
62
|
-
|
63
|
-
/*SECTIONS SYSTEM*/
|
64
|
-
|
65
|
-
/*common defaults for all sections*/
|
66
|
-
.wym_skin_compact .wym_section { margin-bottom: 5px; }
|
67
|
-
.wym_skin_compact .wym_section h2,
|
68
|
-
.wym_skin_compact .wym_section h3 { padding: 1px 3px; margin: 0; }
|
69
|
-
.wym_skin_compact .wym_section a { padding: 0 3px; display: block; text-decoration: none; color: black; }
|
70
|
-
.wym_skin_compact .wym_section a:hover { background-color: yellow; }
|
71
|
-
/*hide section titles by default*/
|
72
|
-
.wym_skin_compact .wym_section h2 { display: none; }
|
73
|
-
/*disable any margin-collapse*/
|
74
|
-
.wym_skin_compact .wym_section { padding-top: 1px; padding-bottom: 1px; }
|
75
|
-
/*auto-clear sections*/
|
76
|
-
.wym_skin_compact .wym_section ul:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
77
|
-
* html .wym_skin_compact .wym_section ul { height: 1%;}
|
78
|
-
|
79
|
-
/*option: add this class to a section to make it render as a panel*/
|
80
|
-
.wym_skin_compact .wym_panel { }
|
81
|
-
.wym_skin_compact .wym_panel h2 { display: block; }
|
82
|
-
|
83
|
-
/*option: add this class to a section to make it render as a dropdown menu*/
|
84
|
-
.wym_skin_compact .wym_dropdown h2 { display: block; }
|
85
|
-
.wym_skin_compact .wym_dropdown ul { display: none; position: absolute; background: white; }
|
86
|
-
.wym_skin_compact .wym_dropdown:hover ul,
|
87
|
-
.wym_skin_compact .wym_dropdown.hover ul { display: block; }
|
88
|
-
|
89
|
-
/*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/
|
90
|
-
.wym_skin_compact .wym_buttons li { float:left;}
|
91
|
-
.wym_skin_compact .wym_buttons a { width: 20px; height: 20px; overflow: hidden; padding: 2px }
|
92
|
-
/*image replacements*/
|
93
|
-
.wym_skin_compact .wym_buttons li a { background: url(icons.png) no-repeat; text-indent: -9999px;}
|
94
|
-
.wym_skin_compact .wym_buttons li.wym_tools_strong a { background-position: 0 -382px;}
|
95
|
-
.wym_skin_compact .wym_buttons li.wym_tools_emphasis a { background-position: 0 -22px;}
|
96
|
-
.wym_skin_compact .wym_buttons li.wym_tools_superscript a { background-position: 0 -430px;}
|
97
|
-
.wym_skin_compact .wym_buttons li.wym_tools_subscript a { background-position: 0 -454px;}
|
98
|
-
.wym_skin_compact .wym_buttons li.wym_tools_ordered_list a { background-position: 0 -48px;}
|
99
|
-
.wym_skin_compact .wym_buttons li.wym_tools_unordered_list a{ background-position: 0 -72px;}
|
100
|
-
.wym_skin_compact .wym_buttons li.wym_tools_indent a { background-position: 0 -574px;}
|
101
|
-
.wym_skin_compact .wym_buttons li.wym_tools_outdent a { background-position: 0 -598px;}
|
102
|
-
.wym_skin_compact .wym_buttons li.wym_tools_undo a { background-position: 0 -502px;}
|
103
|
-
.wym_skin_compact .wym_buttons li.wym_tools_redo a { background-position: 0 -526px;}
|
104
|
-
.wym_skin_compact .wym_buttons li.wym_tools_link a { background-position: 0 -96px;}
|
105
|
-
.wym_skin_compact .wym_buttons li.wym_tools_unlink a { background-position: 0 -168px;}
|
106
|
-
.wym_skin_compact .wym_buttons li.wym_tools_image a { background-position: 0 -121px;}
|
107
|
-
.wym_skin_compact .wym_buttons li.wym_tools_table a { background-position: 0 -144px;}
|
108
|
-
.wym_skin_compact .wym_buttons li.wym_tools_paste a { background-position: 0 -552px;}
|
109
|
-
.wym_skin_compact .wym_buttons li.wym_tools_html a { background-position: 0 -193px;}
|
110
|
-
.wym_skin_compact .wym_buttons li.wym_tools_preview a { background-position: 0 -408px;}
|
111
|
-
|
112
|
-
/*DECORATION*/
|
113
|
-
.wym_skin_compact .wym_section h2 { background: #f0f0f0; border: solid gray; border-width: 0 0 1px;}
|
114
|
-
.wym_skin_compact .wym_section h2 span { color: gray;}
|
115
|
-
.wym_skin_compact .wym_panel { padding: 0; border: solid gray; border-width: 1px; background: white;}
|
116
|
-
.wym_skin_compact .wym_panel ul { margin: 2px 0 5px; }
|
117
|
-
.wym_skin_compact .wym_dropdown { padding: 0; border: solid gray; border-width: 1px 1px 0 1px; }
|
118
|
-
.wym_skin_compact .wym_dropdown ul { border: solid gray; border-width: 0 1px 1px 1px; margin-left: -1px; padding: 5px 10px 5px 3px;}
|
119
|
-
|
120
|
-
/*DIALOGS*/
|
121
|
-
.wym_dialog div.row { margin-bottom: 5px;}
|
122
|
-
.wym_dialog div.row input { margin-right: 5px;}
|
123
|
-
.wym_dialog div.row label { float: left; width: 150px; display: block; text-align: right; margin-right: 10px; }
|
124
|
-
.wym_dialog div.row-indent { padding-left: 160px; }
|
125
|
-
/*autoclearing*/
|
126
|
-
.wym_dialog div.row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
127
|
-
.wym_dialog div.row { display: inline-block; }
|
128
|
-
/* Hides from IE-mac \*/
|
129
|
-
* html .wym_dialog div.row { height: 1%; }
|
130
|
-
.wym_dialog div.row { display: block; }
|
131
|
-
/* End hide from IE-mac */
|
132
|
-
|
133
|
-
/*WYMEDITOR_LINK*/
|
134
|
-
a.wym_wymeditor_link { text-indent: -9999px; float: right; display: block; width: 50px; height: 15px; background: url(../wymeditor_icon.png); overflow: hidden; text-decoration: none; }
|
@@ -1,35 +0,0 @@
|
|
1
|
-
WYMeditor.SKINS['compact'] = {
|
2
|
-
|
3
|
-
init: function(wym) {
|
4
|
-
|
5
|
-
//move the containers panel to the top area
|
6
|
-
jQuery(wym._options.containersSelector + ', '
|
7
|
-
+ wym._options.classesSelector, wym._box)
|
8
|
-
.appendTo( jQuery("div.wym_area_top", wym._box) )
|
9
|
-
.addClass("wym_dropdown")
|
10
|
-
.css({"margin-right": "10px", "width": "120px", "float": "left"});
|
11
|
-
|
12
|
-
//render following sections as buttons
|
13
|
-
jQuery(wym._options.toolsSelector, wym._box)
|
14
|
-
.addClass("wym_buttons")
|
15
|
-
.css({"margin-right": "10px", "float": "left"});
|
16
|
-
|
17
|
-
//make hover work under IE < 7
|
18
|
-
jQuery(".wym_section", wym._box).hover(function(){
|
19
|
-
jQuery(this).addClass("hover");
|
20
|
-
},function(){
|
21
|
-
jQuery(this).removeClass("hover");
|
22
|
-
});
|
23
|
-
|
24
|
-
var postInit = wym._options.postInit;
|
25
|
-
wym._options.postInit = function(wym) {
|
26
|
-
|
27
|
-
if(postInit) postInit.call(wym, wym);
|
28
|
-
var rule = {
|
29
|
-
name: 'body',
|
30
|
-
css: 'background-color: #f0f0f0;'
|
31
|
-
};
|
32
|
-
wym.addCssRule( wym._doc.styleSheets[0], rule);
|
33
|
-
};
|
34
|
-
}
|
35
|
-
};
|
Binary file
|
@@ -1,158 +0,0 @@
|
|
1
|
-
/* @override http://localhost:3000/javascripts/wymeditor/skins/default/skin.css */
|
2
|
-
|
3
|
-
/*
|
4
|
-
* WYMeditor : what you see is What You Mean web-based editor
|
5
|
-
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
|
6
|
-
* Dual licensed under the MIT (MIT-license.txt)
|
7
|
-
* and GPL (GPL-license.txt) licenses.
|
8
|
-
*
|
9
|
-
* For further information visit:
|
10
|
-
* http://www.wymeditor.org/
|
11
|
-
*
|
12
|
-
* File Name:
|
13
|
-
* skin.css
|
14
|
-
* main stylesheet for the default WYMeditor skin
|
15
|
-
* See the documentation for more info.
|
16
|
-
*
|
17
|
-
* File Authors:
|
18
|
-
* Daniel Reszka (d.reszka a-t wymeditor dotorg)
|
19
|
-
*/
|
20
|
-
|
21
|
-
/*TRYING TO RESET STYLES THAT MAY INTERFERE WITH WYMEDITOR*/
|
22
|
-
.wym_skin_default p, .wym_skin_default h2, .wym_skin_default h3,
|
23
|
-
.wym_skin_default ul, .wym_skin_default li { background: transparent url(); margin: 0; padding: 0; border-width:0; list-style: none; }
|
24
|
-
|
25
|
-
|
26
|
-
/*HIDDEN BY DEFAULT*/
|
27
|
-
.wym_skin_default .wym_area_left { display: none; }
|
28
|
-
.wym_skin_default .wym_area_right { display: block; }
|
29
|
-
|
30
|
-
|
31
|
-
/*TYPO*/
|
32
|
-
.wym_skin_default { font-size: 62.5%; font-family: Verdana, Arial, sans-serif; }
|
33
|
-
.wym_skin_default h2 { font-size: 110%; /* = 11px */}
|
34
|
-
.wym_skin_default h3 { font-size: 100%; /* = 10px */}
|
35
|
-
.wym_skin_default li { font-size: 100%; /* = 10px */}
|
36
|
-
|
37
|
-
|
38
|
-
/*WYM_BOX*/
|
39
|
-
.wym_skin_default { border: 1px none gray;
|
40
|
-
background-image: none;
|
41
|
-
}
|
42
|
-
|
43
|
-
/*auto-clear the wym_box*/
|
44
|
-
.wym_skin_default:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
45
|
-
* html .wym_skin_default { height: 1%;}
|
46
|
-
|
47
|
-
|
48
|
-
/*WYM_HTML*/
|
49
|
-
.wym_skin_default .wym_html { width: 98%;}
|
50
|
-
.wym_skin_default .wym_html textarea { width: 100%; height: 200px; border: 1px solid gray; background: white; }
|
51
|
-
|
52
|
-
|
53
|
-
/*WYM_IFRAME*/
|
54
|
-
.wym_skin_default .wym_iframe { width: 98%;}
|
55
|
-
.wym_skin_default .wym_iframe iframe { width: 100%; height: 200px; border: 1px solid #424242; background: white }
|
56
|
-
|
57
|
-
|
58
|
-
/*AREAS*/
|
59
|
-
.wym_skin_default .wym_area_left { width: 150px; float: left;}
|
60
|
-
.wym_skin_default .wym_area_right { width: 150px; float: right;}
|
61
|
-
.wym_skin_default .wym_area_bottom { height: 1%; clear: both;}
|
62
|
-
* html .wym_skin_default .wym_area_main { height: 1%;}
|
63
|
-
* html .wym_skin_default .wym_area_top { height: 1%;}
|
64
|
-
*+html .wym_skin_default .wym_area_top { height: 1%;}
|
65
|
-
|
66
|
-
/*SECTIONS SYSTEM*/
|
67
|
-
|
68
|
-
/*common defaults for all sections*/
|
69
|
-
.wym_skin_default .wym_section { margin-bottom: 5px; }
|
70
|
-
.wym_skin_default .wym_section h2,
|
71
|
-
.wym_skin_default .wym_section h3 { padding: 1px 3px; margin: 0; }
|
72
|
-
.wym_skin_default .wym_section a { padding: 0 3px; display: block; text-decoration: none; color: black; }
|
73
|
-
.wym_skin_default .wym_section a:hover { background-color: yellow; }
|
74
|
-
/*hide section titles by default*/
|
75
|
-
.wym_skin_default .wym_section h2 { display: none; }
|
76
|
-
/*disable any margin-collapse*/
|
77
|
-
.wym_skin_default .wym_section { padding-top: 1px; padding-bottom: 1px; }
|
78
|
-
/*auto-clear sections*/
|
79
|
-
.wym_skin_default .wym_section ul:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
80
|
-
* html .wym_skin_default .wym_section ul { height: 1%;}
|
81
|
-
|
82
|
-
/*option: add this class to a section to make it render as a panel*/
|
83
|
-
.wym_skin_default .wym_panel { }
|
84
|
-
.wym_skin_default .wym_panel h2 { display: block; }
|
85
|
-
|
86
|
-
/*option: add this class to a section to make it render as a dropdown menu*/
|
87
|
-
.wym_skin_default .wym_dropdown h2 { display: block; }
|
88
|
-
.wym_skin_default .wym_dropdown ul { display: none; position: absolute; background: white; }
|
89
|
-
.wym_skin_default .wym_dropdown:hover ul,
|
90
|
-
.wym_skin_default .wym_dropdown.hover ul { display: block; }
|
91
|
-
|
92
|
-
/*option: add this class to a section to make its elements render buttons (icons are only available for the wym_tools section for now)*/
|
93
|
-
.wym_skin_default .wym_buttons li { float:left;}
|
94
|
-
.wym_skin_default .wym_buttons a { width: 20px; height: 20px; overflow: hidden; padding: 2px }
|
95
|
-
/*image replacements*/
|
96
|
-
.wym_skin_default .wym_buttons li a { background: url(icons.png) no-repeat; text-indent: -9999px;}
|
97
|
-
.wym_skin_default .wym_buttons li.wym_tools_strong a { background-position: 0 -382px;}
|
98
|
-
.wym_skin_default .wym_buttons li.wym_tools_emphasis a { background-position: 0 -22px;}
|
99
|
-
.wym_skin_default .wym_buttons li.wym_tools_superscript a { background-position: 0 -430px;}
|
100
|
-
.wym_skin_default .wym_buttons li.wym_tools_subscript a { background-position: 0 -454px;}
|
101
|
-
.wym_skin_default .wym_buttons li.wym_tools_ordered_list a { background-position: 0 -48px;}
|
102
|
-
.wym_skin_default .wym_buttons li.wym_tools_unordered_list a{ background-position: 0 -72px;}
|
103
|
-
.wym_skin_default .wym_buttons li.wym_tools_indent a { background-position: 0 -574px;}
|
104
|
-
.wym_skin_default .wym_buttons li.wym_tools_outdent a { background-position: 0 -598px;}
|
105
|
-
.wym_skin_default .wym_buttons li.wym_tools_undo a { background-position: 0 -502px;}
|
106
|
-
.wym_skin_default .wym_buttons li.wym_tools_redo a { background-position: 0 -526px;}
|
107
|
-
.wym_skin_default .wym_buttons li.wym_tools_link a { background-position: 0 -96px;}
|
108
|
-
.wym_skin_default .wym_buttons li.wym_tools_unlink a { background-position: 0 -168px;}
|
109
|
-
.wym_skin_default .wym_buttons li.wym_tools_image a { background-position: 0 -121px;}
|
110
|
-
.wym_skin_default .wym_buttons li.wym_tools_table a { background-position: 0 -144px;}
|
111
|
-
.wym_skin_default .wym_buttons li.wym_tools_paste a { background-position: 0 -552px;}
|
112
|
-
.wym_skin_default .wym_buttons li.wym_tools_html a { background-position: 0 -193px;}
|
113
|
-
.wym_skin_default .wym_buttons li.wym_tools_preview a { background-position: 0 -408px;}
|
114
|
-
|
115
|
-
/*DECORATION*/
|
116
|
-
.wym_skin_default .wym_section h2 { background: #ddd url(/stylesheets/ui/aristo/images/button_bg.png); border: solid gray; border-width: 0 0 1px;}
|
117
|
-
.wym_skin_default .wym_section h2 span { color: gray;}
|
118
|
-
.wym_skin_default .wym_panel { padding: 0; border: solid gray; border-width: 1px; background: white;}
|
119
|
-
.wym_skin_default .wym_panel ul { margin: 2px 0 5px; }
|
120
|
-
.wym_skin_default .wym_dropdown { padding: 0; border: solid gray; border-width: 1px 1px 0 1px; }
|
121
|
-
.wym_skin_default .wym_dropdown ul { border: solid gray; border-width: 0 1px 1px 1px; margin-left: -1px; padding: 5px 10px 5px 3px;}
|
122
|
-
|
123
|
-
/*DIALOGS*/
|
124
|
-
.wym_dialog div.row { margin-bottom: 5px;}
|
125
|
-
.wym_dialog div.row input { margin-right: 5px;}
|
126
|
-
.wym_dialog div.row label { float: left; width: 150px; display: block; text-align: right; margin-right: 10px; }
|
127
|
-
.wym_dialog div.row-indent { padding-left: 160px; }
|
128
|
-
/*autoclearing*/
|
129
|
-
.wym_dialog div.row:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
130
|
-
.wym_dialog div.row { display: inline-block; }
|
131
|
-
/* Hides from IE-mac \*/
|
132
|
-
* html .wym_dialog div.row { height: 1%; }
|
133
|
-
.wym_dialog div.row { display: block; }
|
134
|
-
/* End hide from IE-mac */
|
135
|
-
|
136
|
-
/*WYMEDITOR_LINK*/
|
137
|
-
a.wym_wymeditor_link { display: none;}
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
* {font-family: "Lucida Grande", Lucida, Verdana, sans-serif;}
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
@@ -1,40 +0,0 @@
|
|
1
|
-
WYMeditor.SKINS['default'] = {
|
2
|
-
|
3
|
-
init: function(wym) {
|
4
|
-
|
5
|
-
//render following sections as panels
|
6
|
-
jQuery(wym._box).find(wym._options.classesSelector)
|
7
|
-
.addClass("wym_panel");
|
8
|
-
|
9
|
-
//render following sections as buttons
|
10
|
-
jQuery(wym._box).find(wym._options.toolsSelector)
|
11
|
-
.addClass("wym_buttons");
|
12
|
-
|
13
|
-
//render following sections as dropdown menus
|
14
|
-
jQuery(wym._box).find(wym._options.containersSelector)
|
15
|
-
.addClass("wym_dropdown")
|
16
|
-
.find(WYMeditor.H2)
|
17
|
-
.append("<span> ></span>");
|
18
|
-
|
19
|
-
// auto add some margin to the main area sides if left area
|
20
|
-
// or right area are not empty (if they contain sections)
|
21
|
-
jQuery(wym._box).find("div.wym_area_right ul")
|
22
|
-
.parents("div.wym_area_right").show()
|
23
|
-
.parents(wym._options.boxSelector)
|
24
|
-
.find("div.wym_area_main")
|
25
|
-
.css({"margin-right": "155px"});
|
26
|
-
|
27
|
-
jQuery(wym._box).find("div.wym_area_left ul")
|
28
|
-
.parents("div.wym_area_left").show()
|
29
|
-
.parents(wym._options.boxSelector)
|
30
|
-
.find("div.wym_area_main")
|
31
|
-
.css({"margin-left": "155px"});
|
32
|
-
|
33
|
-
//make hover work under IE < 7
|
34
|
-
jQuery(wym._box).find(".wym_section").hover(function(){
|
35
|
-
jQuery(this).addClass("hover");
|
36
|
-
},function(){
|
37
|
-
jQuery(this).removeClass("hover");
|
38
|
-
});
|
39
|
-
}
|
40
|
-
};
|
data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/bg.header.gif
DELETED
Binary file
|
Binary file
|
data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/bg.wymeditor.png
DELETED
Binary file
|
data/lib/generators/cable/templates/javascripts/wymeditor/skins/minimal/images/icons.silver.gif
DELETED
Binary file
|
@@ -1,131 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* WYMeditor : what you see is What You Mean web-based editor
|
3
|
-
* Copyright (c) 2005 - 2009 Jean-Francois Hovinne, http://www.wymeditor.org/
|
4
|
-
* Dual licensed under the MIT (MIT-license.txt)
|
5
|
-
* and GPL (GPL-license.txt) licenses.
|
6
|
-
*
|
7
|
-
* For further information visit:
|
8
|
-
* http://www.wymeditor.org/
|
9
|
-
*
|
10
|
-
* File Name:
|
11
|
-
* skin.css
|
12
|
-
* main stylesheet for the minimal WYMeditor skin
|
13
|
-
* See the documentation for more info.
|
14
|
-
*
|
15
|
-
* File Authors:
|
16
|
-
* Jean-Francois Hovinne
|
17
|
-
* Scott Lewis (see Silver skin)
|
18
|
-
*/
|
19
|
-
|
20
|
-
/* Set iframe */
|
21
|
-
.wym_skin_minimal div.wym_iframe iframe {
|
22
|
-
width: 90%;
|
23
|
-
height: 200px;
|
24
|
-
}
|
25
|
-
|
26
|
-
/* Hide h2 by default */
|
27
|
-
.wym_skin_minimal h2 {
|
28
|
-
display: none;
|
29
|
-
}
|
30
|
-
|
31
|
-
/* Show specific h2 */
|
32
|
-
.wym_skin_minimal div.wym_tools h2,
|
33
|
-
.wym_skin_minimal div.wym_containers h2,
|
34
|
-
.wym_skin_minimal div.wym_classes h2 {
|
35
|
-
display: block;
|
36
|
-
}
|
37
|
-
|
38
|
-
.wym_skin_minimal div.wym_section ul {
|
39
|
-
margin: 0;
|
40
|
-
}
|
41
|
-
|
42
|
-
.wym_skin_minimal div.wym_section ul li {
|
43
|
-
float: left;
|
44
|
-
list-style-type: none;
|
45
|
-
margin-right: 5px;
|
46
|
-
}
|
47
|
-
|
48
|
-
.wym_skin_minimal div.wym_area_top,
|
49
|
-
.wym_skin_minimal div.wym_area_right,
|
50
|
-
.wym_skin_minimal div.wym_containers,
|
51
|
-
.wym_skin_minimal div.wym_classes {
|
52
|
-
float: left;
|
53
|
-
}
|
54
|
-
|
55
|
-
.wym_skin_minimal div.wym_area_main {
|
56
|
-
clear: both;
|
57
|
-
}
|
58
|
-
|
59
|
-
.wym_skin_minimal div.wym_html {
|
60
|
-
width: 90%;
|
61
|
-
}
|
62
|
-
|
63
|
-
.wym_skin_minimal textarea.wym_html_val {
|
64
|
-
width: 100%;
|
65
|
-
height: 100px;
|
66
|
-
}
|
67
|
-
|
68
|
-
/* DROPDOWNS (see Silver skin) */
|
69
|
-
.wym_skin_minimal div.wym_dropdown {
|
70
|
-
cursor: pointer;
|
71
|
-
margin: 0px 4px 10px 0px;
|
72
|
-
padding: 0px;
|
73
|
-
z-index: 1001;
|
74
|
-
display: block;
|
75
|
-
}
|
76
|
-
|
77
|
-
.wym_skin_minimal div.wym_dropdown ul {
|
78
|
-
display: none;
|
79
|
-
width: 124px;
|
80
|
-
padding: 0px;
|
81
|
-
margin: 0px;
|
82
|
-
list-style-type: none;
|
83
|
-
list-style-image: none;
|
84
|
-
z-index: 1002;
|
85
|
-
position: absolute;
|
86
|
-
border-top: 1px solid #AAA;
|
87
|
-
}
|
88
|
-
|
89
|
-
.wym_skin_minimal div.wym_dropdown ul li {
|
90
|
-
width: 146px;
|
91
|
-
height: 20px;
|
92
|
-
padding: 0px;
|
93
|
-
margin: 0px;
|
94
|
-
border: 1px solid #777;
|
95
|
-
border-top: none;
|
96
|
-
background: #EEE;
|
97
|
-
list-style-image: none;
|
98
|
-
}
|
99
|
-
|
100
|
-
.wym_skin_minimal div.wym_dropdown h2 {
|
101
|
-
width: 138px;
|
102
|
-
height: 16px;
|
103
|
-
color: #000;
|
104
|
-
background-image: url(images/bg.selector.silver.gif);
|
105
|
-
background-position: 0px -18px;
|
106
|
-
background-repeat: no-repeat;
|
107
|
-
border: none;
|
108
|
-
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif;
|
109
|
-
font-size: 12px;
|
110
|
-
font-weight: bold;
|
111
|
-
padding: 2px 0px 0px 10px;
|
112
|
-
margin: 0px;
|
113
|
-
}
|
114
|
-
|
115
|
-
.wym_skin_minimal div.wym_dropdown a {
|
116
|
-
text-decoration: none;
|
117
|
-
font-family: "Trebuchet MS", Verdana, Arial, Helvetica, Sanserif;
|
118
|
-
font-size: 12px;
|
119
|
-
padding: 5px 0px 0px 10px;
|
120
|
-
display: block;
|
121
|
-
width: 136px;
|
122
|
-
height: 15px;
|
123
|
-
color: #000;
|
124
|
-
text-align: left;
|
125
|
-
margin-left: 0px;
|
126
|
-
}
|
127
|
-
|
128
|
-
.wym_skin_minimal div.wym_dropdown a:hover {
|
129
|
-
background: #BBB;
|
130
|
-
border-bottom: none;
|
131
|
-
}
|