locomotive_cms 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +45 -0
- data/README.textile +23 -0
- data/app/controllers/admin/accounts_controller.rb +24 -0
- data/app/controllers/admin/asset_collections_controller.rb +66 -0
- data/app/controllers/admin/assets_controller.rb +48 -0
- data/app/controllers/admin/base_controller.rb +55 -0
- data/app/controllers/admin/content_types_controller.rb +52 -0
- data/app/controllers/admin/contents_controller.rb +72 -0
- data/app/controllers/admin/current_sites_controller.rb +33 -0
- data/app/controllers/admin/layouts_controller.rb +56 -0
- data/app/controllers/admin/memberships_controller.rb +39 -0
- data/app/controllers/admin/my_accounts_controller.rb +21 -0
- data/app/controllers/admin/page_parts_controller.rb +12 -0
- data/app/controllers/admin/pages_controller.rb +70 -0
- data/app/controllers/admin/passwords_controller.rb +11 -0
- data/app/controllers/admin/rendering_controller.rb +15 -0
- data/app/controllers/admin/sessions_controller.rb +17 -0
- data/app/controllers/admin/sites_controller.rb +48 -0
- data/app/controllers/admin/snippets_controller.rb +56 -0
- data/app/controllers/admin/theme_assets_controller.rb +79 -0
- data/app/controllers/application_controller.rb +3 -0
- data/app/controllers/home_controller.rb +7 -0
- data/app/helpers/admin/accounts_helper.rb +8 -0
- data/app/helpers/admin/assets_helper.rb +15 -0
- data/app/helpers/admin/base_helper.rb +54 -0
- data/app/helpers/admin/custom_fields_helper.rb +24 -0
- data/app/helpers/admin/login_helper.rb +17 -0
- data/app/helpers/admin/pages_helper.rb +23 -0
- data/app/helpers/admin/sites_helper.rb +24 -0
- data/app/models/account.rb +46 -0
- data/app/models/asset.rb +38 -0
- data/app/models/asset_collection.rb +60 -0
- data/app/models/content_instance.rb +29 -0
- data/app/models/content_type.rb +63 -0
- data/app/models/extensions/asset/vignette.rb +40 -0
- data/app/models/extensions/page/parts.rb +54 -0
- data/app/models/extensions/page/render.rb +19 -0
- data/app/models/extensions/page/tree.rb +97 -0
- data/app/models/layout.rb +49 -0
- data/app/models/liquid_template.rb +32 -0
- data/app/models/membership.rb +36 -0
- data/app/models/page.rb +87 -0
- data/app/models/page_part.rb +38 -0
- data/app/models/site.rb +93 -0
- data/app/models/snippet.rb +3 -0
- data/app/models/theme_asset.rb +101 -0
- data/app/uploaders/asset_uploader.rb +68 -0
- data/app/uploaders/theme_asset_uploader.rb +42 -0
- data/app/views/admin/accounts/new.html.haml +22 -0
- data/app/views/admin/asset_collections/_asset.html.haml +7 -0
- data/app/views/admin/asset_collections/edit.html.haml +30 -0
- data/app/views/admin/asset_collections/index.html.haml +8 -0
- data/app/views/admin/asset_collections/new.html.haml +17 -0
- data/app/views/admin/assets/_form.html.haml +18 -0
- data/app/views/admin/assets/edit.html.haml +15 -0
- data/app/views/admin/assets/new.html.haml +12 -0
- data/app/views/admin/content_types/_form.html.haml +13 -0
- data/app/views/admin/content_types/edit.html.haml +16 -0
- data/app/views/admin/content_types/new.html.haml +15 -0
- data/app/views/admin/contents/_form.html.haml +10 -0
- data/app/views/admin/contents/edit.html.haml +16 -0
- data/app/views/admin/contents/index.html.haml +35 -0
- data/app/views/admin/contents/new.html.haml +15 -0
- data/app/views/admin/current_sites/_form.html.haml +45 -0
- data/app/views/admin/current_sites/edit.html.haml +15 -0
- data/app/views/admin/layouts/_form.html.haml +10 -0
- data/app/views/admin/layouts/_layout.html.haml +7 -0
- data/app/views/admin/layouts/edit.html.haml +18 -0
- data/app/views/admin/layouts/index.html.haml +15 -0
- data/app/views/admin/layouts/new.html.haml +15 -0
- data/app/views/admin/memberships/new.html.haml +15 -0
- data/app/views/admin/my_accounts/edit.html.haml +42 -0
- data/app/views/admin/pages/_form.html.haml +37 -0
- data/app/views/admin/pages/_page.html.haml +16 -0
- data/app/views/admin/pages/edit.html.haml +15 -0
- data/app/views/admin/pages/index.html.haml +18 -0
- data/app/views/admin/pages/new.html.haml +12 -0
- data/app/views/admin/passwords/edit.html.haml +18 -0
- data/app/views/admin/passwords/new.html.haml +17 -0
- data/app/views/admin/sessions/new.html.haml +15 -0
- data/app/views/admin/shared/_custom_fields.html.haml +47 -0
- data/app/views/admin/shared/_footer.html.haml +5 -0
- data/app/views/admin/shared/_form_actions.html.haml +15 -0
- data/app/views/admin/shared/_head.html.haml +18 -0
- data/app/views/admin/shared/_header.html.haml +8 -0
- data/app/views/admin/shared/_menu.html.haml +5 -0
- data/app/views/admin/shared/menu/_assets.html.haml +7 -0
- data/app/views/admin/shared/menu/_contents.html.haml +27 -0
- data/app/views/admin/shared/menu/_settings.html.haml +6 -0
- data/app/views/admin/sites/_form.html.haml +35 -0
- data/app/views/admin/sites/new.html.haml +12 -0
- data/app/views/admin/snippets/_form.html.haml +11 -0
- data/app/views/admin/snippets/_snippet.html.haml +7 -0
- data/app/views/admin/snippets/edit.html.haml +15 -0
- data/app/views/admin/snippets/index.html.haml +15 -0
- data/app/views/admin/snippets/new.html.haml +12 -0
- data/app/views/admin/theme_assets/_asset.html.haml +12 -0
- data/app/views/admin/theme_assets/_form.html.haml +39 -0
- data/app/views/admin/theme_assets/edit.html.haml +15 -0
- data/app/views/admin/theme_assets/images.html.haml +15 -0
- data/app/views/admin/theme_assets/index.html.haml +27 -0
- data/app/views/admin/theme_assets/new.html.haml +12 -0
- data/app/views/devise/confirmations/new.html.haml +12 -0
- data/app/views/devise/mailer/confirmation_instructions.html.haml +8 -0
- data/app/views/devise/mailer/reset_password_instructions.html.haml +12 -0
- data/app/views/devise/mailer/unlock_instructions.html.haml +10 -0
- data/app/views/devise/registrations/edit.html.haml +35 -0
- data/app/views/devise/registrations/new.html.haml +20 -0
- data/app/views/devise/sessions/new.html.haml +22 -0
- data/app/views/devise/shared/_links.haml +20 -0
- data/app/views/devise/unlocks/new.html.haml +12 -0
- data/app/views/home/show.html.haml +4 -0
- data/app/views/layouts/admin/application.html.haml +26 -0
- data/app/views/layouts/admin/login.html.haml +17 -0
- data/app/views/layouts/application.html.haml +7 -0
- data/config/application.rb +48 -0
- data/config/boot.rb +17 -0
- data/config/cucumber.yml +8 -0
- data/config/database.yml +20 -0
- data/config/environment.rb +5 -0
- data/config/environments/development.rb +35 -0
- data/config/environments/production.rb +33 -0
- data/config/environments/test.rb +33 -0
- data/config/initializers/backtrace_silencers.rb +7 -0
- data/config/initializers/carrierwave.rb +57 -0
- data/config/initializers/devise.rb +119 -0
- data/config/initializers/formtastic.rb +5 -0
- data/config/initializers/inflections.rb +10 -0
- data/config/initializers/locomotive.rb +7 -0
- data/config/initializers/mime_types.rb +5 -0
- data/config/initializers/mongoid.rb +61 -0
- data/config/initializers/rspec_generator.rb +8 -0
- data/config/locales/admin_ui_en.yml +211 -0
- data/config/locales/admin_ui_fr.yml +21 -0
- data/config/locales/carrierwave_en.yml +4 -0
- data/config/locales/carrierwave_fr.yml +4 -0
- data/config/locales/default_en.yml +29 -0
- data/config/locales/default_fr.yml +30 -0
- data/config/locales/devise.en.yml +36 -0
- data/config/routes.rb +57 -0
- data/lib/core_ext.rb +32 -0
- data/lib/generators/locomotive_generator.rb +14 -0
- data/lib/locomotive.rb +35 -0
- data/lib/locomotive/configuration.rb +67 -0
- data/lib/locomotive/devise/sessions_controller.rb +2 -0
- data/lib/locomotive/engine.rb +21 -0
- data/lib/locomotive/liquid.rb +5 -0
- data/lib/locomotive/liquid/db_file_system.rb +18 -0
- data/lib/locomotive/liquid/drops/asset_collections.rb +19 -0
- data/lib/locomotive/liquid/drops/base.rb +50 -0
- data/lib/locomotive/liquid/drops/content.rb +19 -0
- data/lib/locomotive/liquid/drops/contents.rb +63 -0
- data/lib/locomotive/liquid/drops/javascripts.rb +18 -0
- data/lib/locomotive/liquid/drops/stylesheets.rb +19 -0
- data/lib/locomotive/liquid/filters/date.rb +30 -0
- data/lib/locomotive/liquid/filters/html.rb +114 -0
- data/lib/locomotive/liquid/filters/misc.rb +30 -0
- data/lib/locomotive/liquid/liquify_template.rb +57 -0
- data/lib/locomotive/liquid/tags/blueprint.rb +21 -0
- data/lib/locomotive/liquid/tags/jquery.rb +17 -0
- data/lib/locomotive/liquid/tags/paginate.rb +100 -0
- data/lib/locomotive/liquid/tags/snippet.rb +42 -0
- data/lib/locomotive/liquid/tags/with_scope.rb +39 -0
- data/lib/locomotive/mongoid.rb +2 -0
- data/lib/locomotive/mongoid/document.rb +20 -0
- data/lib/locomotive/mongoid/model_extensions.rb +1 -0
- data/lib/locomotive/patches.rb +2 -0
- data/lib/locomotive/regexps.rb +13 -0
- data/lib/locomotive/render.rb +59 -0
- data/lib/locomotive/routing/default_constraint.rb +45 -0
- data/lib/locomotive/routing/site_dispatcher.rb +48 -0
- data/lib/misc_form_builder.rb +35 -0
- data/lib/tasks/cucumber.rake +53 -0
- data/lib/tasks/rspec.rake +69 -0
- data/public/images/admin/background/body.png +0 -0
- data/public/images/admin/background/footer.png +0 -0
- data/public/images/admin/background/light.png +0 -0
- data/public/images/admin/buttons/action-left.png +0 -0
- data/public/images/admin/buttons/action-right.png +0 -0
- data/public/images/admin/buttons/add-left.png +0 -0
- data/public/images/admin/buttons/add-right.png +0 -0
- data/public/images/admin/buttons/dark-gray-left.png +0 -0
- data/public/images/admin/buttons/dark-gray-right.png +0 -0
- data/public/images/admin/buttons/emboss-left.png +0 -0
- data/public/images/admin/buttons/emboss-right.png +0 -0
- data/public/images/admin/buttons/gray-left.png +0 -0
- data/public/images/admin/buttons/gray-right.png +0 -0
- data/public/images/admin/buttons/light-gray-left.png +0 -0
- data/public/images/admin/buttons/light-gray-right.png +0 -0
- data/public/images/admin/buttons/search.png +0 -0
- data/public/images/admin/buttons/transparent-left.png +0 -0
- data/public/images/admin/buttons/transparent-right.png +0 -0
- data/public/images/admin/form/big_item.png +0 -0
- data/public/images/admin/form/error-arrow.png +0 -0
- data/public/images/admin/form/field.png +0 -0
- data/public/images/admin/form/folded-arrow-off.png +0 -0
- data/public/images/admin/form/folded-arrow-on.png +0 -0
- data/public/images/admin/form/folded.png +0 -0
- data/public/images/admin/form/footer.png +0 -0
- data/public/images/admin/form/growl-error.png +0 -0
- data/public/images/admin/form/growl-notice.png +0 -0
- data/public/images/admin/form/header-first-on.png +0 -0
- data/public/images/admin/form/header-left-on.png +0 -0
- data/public/images/admin/form/header-on.png +0 -0
- data/public/images/admin/form/header-right-on.png +0 -0
- data/public/images/admin/form/header.png +0 -0
- data/public/images/admin/form/icons/drag.png +0 -0
- data/public/images/admin/form/icons/spinner.gif +0 -0
- data/public/images/admin/form/icons/trash.png +0 -0
- data/public/images/admin/form/item.png +0 -0
- data/public/images/admin/form/pen.png +0 -0
- data/public/images/admin/icons/filetype/medium/AC3.png +0 -0
- data/public/images/admin/icons/filetype/medium/ACE.png +0 -0
- data/public/images/admin/icons/filetype/medium/ADE.png +0 -0
- data/public/images/admin/icons/filetype/medium/ADP.png +0 -0
- data/public/images/admin/icons/filetype/medium/AI.png +0 -0
- data/public/images/admin/icons/filetype/medium/AIFF.png +0 -0
- data/public/images/admin/icons/filetype/medium/AU.png +0 -0
- data/public/images/admin/icons/filetype/medium/AVI.png +0 -0
- data/public/images/admin/icons/filetype/medium/BAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/BIN.png +0 -0
- data/public/images/admin/icons/filetype/medium/BMP.png +0 -0
- data/public/images/admin/icons/filetype/medium/BUP.png +0 -0
- data/public/images/admin/icons/filetype/medium/CAB.png +0 -0
- data/public/images/admin/icons/filetype/medium/CAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/CHM.png +0 -0
- data/public/images/admin/icons/filetype/medium/CSS.png +0 -0
- data/public/images/admin/icons/filetype/medium/CUE.png +0 -0
- data/public/images/admin/icons/filetype/medium/DAT.png +0 -0
- data/public/images/admin/icons/filetype/medium/DCR.png +0 -0
- data/public/images/admin/icons/filetype/medium/DER.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIC.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIVX.png +0 -0
- data/public/images/admin/icons/filetype/medium/DIZ.png +0 -0
- data/public/images/admin/icons/filetype/medium/DLL.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOC.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOCX.png +0 -0
- data/public/images/admin/icons/filetype/medium/DOS.png +0 -0
- data/public/images/admin/icons/filetype/medium/DVD.png +0 -0
- data/public/images/admin/icons/filetype/medium/DWG.png +0 -0
- data/public/images/admin/icons/filetype/medium/DWT.png +0 -0
- data/public/images/admin/icons/filetype/medium/EMF.png +0 -0
- data/public/images/admin/icons/filetype/medium/EXC.png +0 -0
- data/public/images/admin/icons/filetype/medium/FON.png +0 -0
- data/public/images/admin/icons/filetype/medium/GIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/HLP.png +0 -0
- data/public/images/admin/icons/filetype/medium/HTML.png +0 -0
- data/public/images/admin/icons/filetype/medium/IFO.png +0 -0
- data/public/images/admin/icons/filetype/medium/INF.png +0 -0
- data/public/images/admin/icons/filetype/medium/INI.png +0 -0
- data/public/images/admin/icons/filetype/medium/INS.png +0 -0
- data/public/images/admin/icons/filetype/medium/IP.png +0 -0
- data/public/images/admin/icons/filetype/medium/ISO.png +0 -0
- data/public/images/admin/icons/filetype/medium/ISP.png +0 -0
- data/public/images/admin/icons/filetype/medium/JAVA.png +0 -0
- data/public/images/admin/icons/filetype/medium/JFIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/JPEG.png +0 -0
- data/public/images/admin/icons/filetype/medium/JPG.png +0 -0
- data/public/images/admin/icons/filetype/medium/LOG.png +0 -0
- data/public/images/admin/icons/filetype/medium/M4A.png +0 -0
- data/public/images/admin/icons/filetype/medium/MID.png +0 -0
- data/public/images/admin/icons/filetype/medium/MMF.png +0 -0
- data/public/images/admin/icons/filetype/medium/MMM.png +0 -0
- data/public/images/admin/icons/filetype/medium/MOV.png +0 -0
- data/public/images/admin/icons/filetype/medium/MOVIE.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP2.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP2V.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP3.png +0 -0
- data/public/images/admin/icons/filetype/medium/MP4.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPE.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPEG.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPG.png +0 -0
- data/public/images/admin/icons/filetype/medium/MPV2.png +0 -0
- data/public/images/admin/icons/filetype/medium/NFO.png +0 -0
- data/public/images/admin/icons/filetype/medium/PDD.png +0 -0
- data/public/images/admin/icons/filetype/medium/PDF.png +0 -0
- data/public/images/admin/icons/filetype/medium/PHP.png +0 -0
- data/public/images/admin/icons/filetype/medium/PNG.png +0 -0
- data/public/images/admin/icons/filetype/medium/PPT.png +0 -0
- data/public/images/admin/icons/filetype/medium/PPTX.png +0 -0
- data/public/images/admin/icons/filetype/medium/PSD.png +0 -0
- data/public/images/admin/icons/filetype/medium/RAR.png +0 -0
- data/public/images/admin/icons/filetype/medium/REG.png +0 -0
- data/public/images/admin/icons/filetype/medium/RTF.png +0 -0
- data/public/images/admin/icons/filetype/medium/SCP.png +0 -0
- data/public/images/admin/icons/filetype/medium/THEME.png +0 -0
- data/public/images/admin/icons/filetype/medium/TIF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TIFF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TLB.png +0 -0
- data/public/images/admin/icons/filetype/medium/TTF.png +0 -0
- data/public/images/admin/icons/filetype/medium/TXT.png +0 -0
- data/public/images/admin/icons/filetype/medium/Thumbs.db +0 -0
- data/public/images/admin/icons/filetype/medium/UIS.png +0 -0
- data/public/images/admin/icons/filetype/medium/URL.png +0 -0
- data/public/images/admin/icons/filetype/medium/VBS.png +0 -0
- data/public/images/admin/icons/filetype/medium/VCR.png +0 -0
- data/public/images/admin/icons/filetype/medium/VOB.png +0 -0
- data/public/images/admin/icons/filetype/medium/WAV.png +0 -0
- data/public/images/admin/icons/filetype/medium/WBA.png +0 -0
- data/public/images/admin/icons/filetype/medium/WMA.png +0 -0
- data/public/images/admin/icons/filetype/medium/WMV.png +0 -0
- data/public/images/admin/icons/filetype/medium/WPL.png +0 -0
- data/public/images/admin/icons/filetype/medium/WRI.png +0 -0
- data/public/images/admin/icons/filetype/medium/WTX.png +0 -0
- data/public/images/admin/icons/filetype/medium/XLS.png +0 -0
- data/public/images/admin/icons/filetype/medium/XLSX.png +0 -0
- data/public/images/admin/icons/filetype/medium/XML.png +0 -0
- data/public/images/admin/icons/filetype/medium/XSL.png +0 -0
- data/public/images/admin/icons/filetype/medium/ZAP.png +0 -0
- data/public/images/admin/icons/filetype/medium/ZIP.png +0 -0
- data/public/images/admin/icons/filetype/medium/unknown.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AC3.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ACE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ADE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ADP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AIFF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AU.png +0 -0
- data/public/images/admin/icons/filetype/thumb/AVI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BIN.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BMP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/BUP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CAB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CHM.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CSS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/CUE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DAT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DCR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DER.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIVX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DIZ.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DLL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOCX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DOS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DVD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DWG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/DWT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/EMF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/EXC.png +0 -0
- data/public/images/admin/icons/filetype/thumb/FON.png +0 -0
- data/public/images/admin/icons/filetype/thumb/GIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/HLP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/HTML.png +0 -0
- data/public/images/admin/icons/filetype/thumb/IFO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/INS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/IP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ISO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ISP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JAVA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JFIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JPEG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/JPG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/LOG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/M4A.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MID.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MMF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MMM.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MOV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MOVIE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP2.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP2V.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP3.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MP4.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPE.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPEG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/MPV2.png +0 -0
- data/public/images/admin/icons/filetype/thumb/NFO.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PDD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PDF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PHP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PNG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PPT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PPTX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/PSD.png +0 -0
- data/public/images/admin/icons/filetype/thumb/RAR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/REG.png +0 -0
- data/public/images/admin/icons/filetype/thumb/RTF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/SCP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/THEME.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TIF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TIFF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TLB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TTF.png +0 -0
- data/public/images/admin/icons/filetype/thumb/TXT.png +0 -0
- data/public/images/admin/icons/filetype/thumb/UIS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/URL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VBS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VCR.png +0 -0
- data/public/images/admin/icons/filetype/thumb/VOB.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WAV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WBA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WMA.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WMV.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WPL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WRI.png +0 -0
- data/public/images/admin/icons/filetype/thumb/WTX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XLS.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XLSX.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XML.png +0 -0
- data/public/images/admin/icons/filetype/thumb/XSL.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ZAP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/ZIP.png +0 -0
- data/public/images/admin/icons/filetype/thumb/unknown.png +0 -0
- data/public/images/admin/icons/flags/en.png +0 -0
- data/public/images/admin/icons/flags/fr.png +0 -0
- data/public/images/admin/list/empty.png +0 -0
- data/public/images/admin/list/icons/cross.png +0 -0
- data/public/images/admin/list/icons/drag.png +0 -0
- data/public/images/admin/list/icons/node_closed.png +0 -0
- data/public/images/admin/list/icons/node_open.png +0 -0
- data/public/images/admin/list/icons/trash.png +0 -0
- data/public/images/admin/list/item-left.png +0 -0
- data/public/images/admin/list/item-right.png +0 -0
- data/public/images/admin/list/item.png +0 -0
- data/public/images/admin/list/none.png +0 -0
- data/public/images/admin/list/thumb.png +0 -0
- data/public/images/admin/login/bottom_panel_bg.png +0 -0
- data/public/images/admin/login/buttons/left_bg.png +0 -0
- data/public/images/admin/login/buttons/right_bg.png +0 -0
- data/public/images/admin/login/content_panel_bg.png +0 -0
- data/public/images/admin/login/input_bg.png +0 -0
- data/public/images/admin/login/light_bg.png +0 -0
- data/public/images/admin/login/top_panel_bg.png +0 -0
- data/public/images/admin/login/wrapper_bg.png +0 -0
- data/public/images/admin/menu/arrow.png +0 -0
- data/public/images/admin/menu/blue-bg.png +0 -0
- data/public/images/admin/menu/blue-border.png +0 -0
- data/public/images/admin/menu/gray-bg.png +0 -0
- data/public/images/admin/menu/gray-border.png +0 -0
- data/public/images/admin/menu/green-bg.png +0 -0
- data/public/images/admin/menu/green-border.png +0 -0
- data/public/images/admin/menu/icons/add.png +0 -0
- data/public/images/admin/menu/icons/bullet.png +0 -0
- data/public/images/admin/menu/icons/folder.png +0 -0
- data/public/images/admin/menu/icons/settings.png +0 -0
- data/public/images/admin/menu/left.png +0 -0
- data/public/images/admin/menu/popup-body.png +0 -0
- data/public/images/admin/menu/popup-footer.png +0 -0
- data/public/images/admin/menu/popup-header.png +0 -0
- data/public/images/admin/menu/right.png +0 -0
- data/public/images/admin/menu/shadow.png +0 -0
- data/public/images/admin/menu/top-left.png +0 -0
- data/public/images/admin/menu/top.png +0 -0
- data/public/images/admin/nocoffee.gif +0 -0
- data/public/images/admin/plugins/fancybox/blank.gif +0 -0
- data/public/images/admin/plugins/fancybox/fancy_close.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_loading.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_nav_left.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_nav_right.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_e.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_n.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_ne.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_nw.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_s.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_se.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_sw.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_shadow_w.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_left.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_main.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_over.png +0 -0
- data/public/images/admin/plugins/fancybox/fancy_title_right.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox-x.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox-y.png +0 -0
- data/public/images/admin/plugins/fancybox/fancybox.png +0 -0
- data/public/images/admin/plugins/toggle_handle-bg.png +0 -0
- data/public/images/admin/plugins/toggle_handle_left-bg.png +0 -0
- data/public/images/admin/plugins/toggle_handle_right-bg.png +0 -0
- data/public/images/admin/plugins/toggle_shadow-bg.png +0 -0
- data/public/images/admin/rails.png +0 -0
- data/public/javascripts/admin/application.js +105 -0
- data/public/javascripts/admin/asset_collections.js +50 -0
- data/public/javascripts/admin/content_types.js +16 -0
- data/public/javascripts/admin/contents.js +17 -0
- data/public/javascripts/admin/custom_fields.js +113 -0
- data/public/javascripts/admin/jquery.js +154 -0
- data/public/javascripts/admin/jquery.ui.js +404 -0
- data/public/javascripts/admin/page_parts.js +83 -0
- data/public/javascripts/admin/pages.js +67 -0
- data/public/javascripts/admin/plugins/codemirror/codemirror.js +469 -0
- data/public/javascripts/admin/plugins/codemirror/editor.js +1465 -0
- data/public/javascripts/admin/plugins/codemirror/highlight.js +68 -0
- data/public/javascripts/admin/plugins/codemirror/mirrorframe.js +81 -0
- data/public/javascripts/admin/plugins/codemirror/parsecss.js +155 -0
- data/public/javascripts/admin/plugins/codemirror/parsedummy.js +32 -0
- data/public/javascripts/admin/plugins/codemirror/parsehtmlmixed.js +74 -0
- data/public/javascripts/admin/plugins/codemirror/parsejavascript.js +352 -0
- data/public/javascripts/admin/plugins/codemirror/parseliquid.js +409 -0
- data/public/javascripts/admin/plugins/codemirror/parsesparql.js +162 -0
- data/public/javascripts/admin/plugins/codemirror/parsexml.js +286 -0
- data/public/javascripts/admin/plugins/codemirror/select.js +619 -0
- data/public/javascripts/admin/plugins/codemirror/stringstream.js +140 -0
- data/public/javascripts/admin/plugins/codemirror/tokenize.js +57 -0
- data/public/javascripts/admin/plugins/codemirror/tokenizejavascript.js +174 -0
- data/public/javascripts/admin/plugins/codemirror/undo.js +410 -0
- data/public/javascripts/admin/plugins/codemirror/util.js +130 -0
- data/public/javascripts/admin/plugins/cookie.js +96 -0
- data/public/javascripts/admin/plugins/fancybox.js +1077 -0
- data/public/javascripts/admin/plugins/growl.js +143 -0
- data/public/javascripts/admin/plugins/json2.js +478 -0
- data/public/javascripts/admin/plugins/plupload/gears_init.js +86 -0
- data/public/javascripts/admin/plugins/plupload/jquery.plupload.queue.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.browserplus.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.flash.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.flash.swf +0 -0
- data/public/javascripts/admin/plugins/plupload/plupload.full.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.gears.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.html4.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.html5.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.silverlight.min.js +1 -0
- data/public/javascripts/admin/plugins/plupload/plupload.silverlight.xap +0 -0
- data/public/javascripts/admin/plugins/scrollTo.js +11 -0
- data/public/javascripts/admin/plugins/toggle.js +109 -0
- data/public/javascripts/admin/plugins/wslide.js +125 -0
- data/public/javascripts/admin/rails.js +127 -0
- data/public/javascripts/admin/site.js +36 -0
- data/public/javascripts/admin/snippets.js +16 -0
- data/public/javascripts/admin/theme_assets.js +103 -0
- data/public/stylesheets/admin/application.css +257 -0
- data/public/stylesheets/admin/blueprint/ie.css +26 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/cross.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/key.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/icons/tick.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/readme.txt +32 -0
- data/public/stylesheets/admin/blueprint/plugins/buttons/screen.css +97 -0
- data/public/stylesheets/admin/blueprint/plugins/fancy-type/readme.txt +14 -0
- data/public/stylesheets/admin/blueprint/plugins/fancy-type/screen.css +71 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/doc.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/email.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/external.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/feed.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/im.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/pdf.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/visited.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/icons/xls.png +0 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/readme.txt +18 -0
- data/public/stylesheets/admin/blueprint/plugins/link-icons/screen.css +40 -0
- data/public/stylesheets/admin/blueprint/plugins/rtl/readme.txt +10 -0
- data/public/stylesheets/admin/blueprint/plugins/rtl/screen.css +109 -0
- data/public/stylesheets/admin/blueprint/print.css +30 -0
- data/public/stylesheets/admin/blueprint/screen.css +253 -0
- data/public/stylesheets/admin/blueprint/src/forms.css +49 -0
- data/public/stylesheets/admin/blueprint/src/grid.css +213 -0
- data/public/stylesheets/admin/blueprint/src/grid.png +0 -0
- data/public/stylesheets/admin/blueprint/src/ie.css +59 -0
- data/public/stylesheets/admin/blueprint/src/print.css +85 -0
- data/public/stylesheets/admin/blueprint/src/reset.css +38 -0
- data/public/stylesheets/admin/blueprint/src/typography.css +105 -0
- data/public/stylesheets/admin/box.css +14 -0
- data/public/stylesheets/admin/buttons.css +67 -0
- data/public/stylesheets/admin/formtastic.css +137 -0
- data/public/stylesheets/admin/formtastic_changes.css +461 -0
- data/public/stylesheets/admin/layout.css +175 -0
- data/public/stylesheets/admin/login.css +141 -0
- data/public/stylesheets/admin/menu.css +241 -0
- data/public/stylesheets/admin/page_parts.css +60 -0
- data/public/stylesheets/admin/plugins/codemirror/csscolors.css +51 -0
- data/public/stylesheets/admin/plugins/codemirror/docs.css +50 -0
- data/public/stylesheets/admin/plugins/codemirror/javascriptcolors.css +56 -0
- data/public/stylesheets/admin/plugins/codemirror/jscolors.css +59 -0
- data/public/stylesheets/admin/plugins/codemirror/liquidcolors.css +35 -0
- data/public/stylesheets/admin/plugins/codemirror/people.jpg +0 -0
- data/public/stylesheets/admin/plugins/codemirror/sparqlcolors.css +43 -0
- data/public/stylesheets/admin/plugins/codemirror/xmlcolors.css +55 -0
- data/public/stylesheets/admin/plugins/fancybox.css +363 -0
- data/public/stylesheets/admin/plugins/toggle.css +42 -0
- data/spec/factories.rb +77 -0
- data/spec/lib/locomotive/liquid/filters/html_spec.rb +82 -0
- data/spec/lib/locomotive/liquid/filters/misc_spec.rb +36 -0
- data/spec/lib/locomotive/liquid/tags/paginate_spec.rb +99 -0
- data/spec/lib/locomotive/liquid/tags/snippet_spec.rb +20 -0
- data/spec/lib/locomotive/liquid/tags/with_scope_spec.rb +20 -0
- data/spec/lib/locomotive/render_spec.rb +85 -0
- data/spec/models/account_spec.rb +65 -0
- data/spec/models/asset_collections_spec.rb +174 -0
- data/spec/models/content_instance_spec.rb +33 -0
- data/spec/models/content_type_spec.rb +49 -0
- data/spec/models/layout_spec.rb +64 -0
- data/spec/models/liquid_template_spec.rb +19 -0
- data/spec/models/membership_spec.rb +55 -0
- data/spec/models/page_spec.rb +329 -0
- data/spec/models/site_spec.rb +143 -0
- data/spec/models/snippet_spec.rb +9 -0
- data/spec/models/theme_asset_spec.rb +89 -0
- data/spec/spec_helper.rb +17 -0
- data/spec/support/be_valid.rb +31 -0
- data/spec/support/carrierwave.rb +32 -0
- data/spec/support/locomotive.rb +41 -0
- data/vendor/plugins/custom_fields/MIT-LICENSE +20 -0
- data/vendor/plugins/custom_fields/README +13 -0
- data/vendor/plugins/custom_fields/Rakefile +23 -0
- data/vendor/plugins/custom_fields/init.rb +2 -0
- data/vendor/plugins/custom_fields/install.rb +1 -0
- data/vendor/plugins/custom_fields/lib/custom_fields.rb +14 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/custom_field.rb +84 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/custom_fields_for.rb +49 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/associations/embeds_many.rb +24 -0
- data/vendor/plugins/custom_fields/lib/custom_fields/extensions/mongoid/document.rb +35 -0
- data/vendor/plugins/custom_fields/uninstall.rb +1 -0
- metadata +848 -0
@@ -0,0 +1,253 @@
|
|
1
|
+
/* -----------------------------------------------------------------------
|
2
|
+
|
3
|
+
|
4
|
+
Blueprint CSS Framework 0.8
|
5
|
+
http://blueprintcss.org
|
6
|
+
|
7
|
+
* Copyright (c) 2007-Present. See LICENSE for more info.
|
8
|
+
* See README for instructions on how to use Blueprint.
|
9
|
+
* For credits and origins, see AUTHORS.
|
10
|
+
* This is a compressed file. See the sources in the 'src' directory.
|
11
|
+
|
12
|
+
----------------------------------------------------------------------- */
|
13
|
+
|
14
|
+
/* reset.css */
|
15
|
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
|
16
|
+
body {line-height:1.5;}
|
17
|
+
table {border-collapse:separate;border-spacing:0;}
|
18
|
+
caption, th, td {text-align:left;font-weight:normal;}
|
19
|
+
table, td, th {vertical-align:middle;}
|
20
|
+
blockquote:before, blockquote:after, q:before, q:after {content:"";}
|
21
|
+
blockquote, q {quotes:"" "";}
|
22
|
+
a img {border:none;}
|
23
|
+
|
24
|
+
/* typography.css */
|
25
|
+
body {font-size:75%;color:#222;background:#fff;font-family:"Helvetica Neue", Arial, Helvetica, sans-serif;}
|
26
|
+
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
|
27
|
+
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
|
28
|
+
h2 {font-size:2em;margin-bottom:0.75em;}
|
29
|
+
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
|
30
|
+
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
|
31
|
+
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
|
32
|
+
h6 {font-size:1em;font-weight:bold;}
|
33
|
+
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
|
34
|
+
p {margin:0 0 1.5em;}
|
35
|
+
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
|
36
|
+
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
|
37
|
+
a:focus, a:hover {color:#000;}
|
38
|
+
a {color:#009;text-decoration:underline;}
|
39
|
+
blockquote {margin:1.5em;color:#666;font-style:italic;}
|
40
|
+
strong {font-weight:bold;}
|
41
|
+
em, dfn {font-style:italic;}
|
42
|
+
dfn {font-weight:bold;}
|
43
|
+
sup, sub {line-height:0;}
|
44
|
+
abbr, acronym {border-bottom:1px dotted #666;}
|
45
|
+
address {margin:0 0 1.5em;font-style:italic;}
|
46
|
+
del {color:#666;}
|
47
|
+
pre {margin:1.5em 0;white-space:pre;}
|
48
|
+
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
|
49
|
+
li ul, li ol {margin:0 1.5em;}
|
50
|
+
ul, ol {margin:0 1.5em 1.5em 1.5em;}
|
51
|
+
ul {list-style-type:disc;}
|
52
|
+
ol {list-style-type:decimal;}
|
53
|
+
dl {margin:0 0 1.5em 0;}
|
54
|
+
dl dt {font-weight:bold;}
|
55
|
+
dd {margin-left:1.5em;}
|
56
|
+
table {margin-bottom:1.4em;width:100%;}
|
57
|
+
th {font-weight:bold;}
|
58
|
+
thead th {background:#c3d9ff;}
|
59
|
+
th, td, caption {padding:4px 10px 4px 5px;}
|
60
|
+
tr.even td {background:#e5ecf9;}
|
61
|
+
tfoot {font-style:italic;}
|
62
|
+
caption {background:#eee;}
|
63
|
+
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
|
64
|
+
.large {font-size:1.2em;line-height:2.5em;margin-bottom:1.25em;}
|
65
|
+
.hide {display:none;}
|
66
|
+
.quiet {color:#666;}
|
67
|
+
.loud {color:#000;}
|
68
|
+
.highlight {background:#ff0;}
|
69
|
+
.added {background:#060;color:#fff;}
|
70
|
+
.removed {background:#900;color:#fff;}
|
71
|
+
.first {margin-left:0;padding-left:0;}
|
72
|
+
.last {margin-right:0;padding-right:0;}
|
73
|
+
.top {margin-top:0;padding-top:0;}
|
74
|
+
.bottom {margin-bottom:0;padding-bottom:0;}
|
75
|
+
|
76
|
+
/* grid.css */
|
77
|
+
.container {width:950px;margin:0 auto;}
|
78
|
+
.showgrid {background:url(src/grid.png);}
|
79
|
+
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5, div.span-6, div.span-7, div.span-8, div.span-9, div.span-10, div.span-11, div.span-12, div.span-13, div.span-14, div.span-15, div.span-16, div.span-17, div.span-18, div.span-19, div.span-20, div.span-21, div.span-22, div.span-23, div.span-24 {float:left;margin-right:10px;}
|
80
|
+
.last, div.last {margin-right:0;}
|
81
|
+
.span-1 {width:30px;}
|
82
|
+
.span-2 {width:70px;}
|
83
|
+
.span-3 {width:110px;}
|
84
|
+
.span-4 {width:150px;}
|
85
|
+
.span-5 {width:190px;}
|
86
|
+
.span-6 {width:230px;}
|
87
|
+
.span-7 {width:270px;}
|
88
|
+
.span-8 {width:310px;}
|
89
|
+
.span-9 {width:350px;}
|
90
|
+
.span-10 {width:390px;}
|
91
|
+
.span-11 {width:430px;}
|
92
|
+
.span-12 {width:470px;}
|
93
|
+
.span-13 {width:510px;}
|
94
|
+
.span-14 {width:550px;}
|
95
|
+
.span-15 {width:590px;}
|
96
|
+
.span-16 {width:630px;}
|
97
|
+
.span-17 {width:670px;}
|
98
|
+
.span-18 {width:710px;}
|
99
|
+
.span-19 {width:750px;}
|
100
|
+
.span-20 {width:790px;}
|
101
|
+
.span-21 {width:830px;}
|
102
|
+
.span-22 {width:870px;}
|
103
|
+
.span-23 {width:910px;}
|
104
|
+
.span-24 {width:950px;margin:0;}
|
105
|
+
div.span-24 {width:950px;margin:0;}
|
106
|
+
input.span-1, textarea.span-1, select.span-1 {width:30px!important;}
|
107
|
+
input.span-2, textarea.span-2, select.span-2 {width:50px!important;}
|
108
|
+
input.span-3, textarea.span-3, select.span-3 {width:90px!important;}
|
109
|
+
input.span-4, textarea.span-4, select.span-4 {width:130px!important;}
|
110
|
+
input.span-5, textarea.span-5, select.span-5 {width:170px!important;}
|
111
|
+
input.span-6, textarea.span-6, select.span-6 {width:210px!important;}
|
112
|
+
input.span-7, textarea.span-7, select.span-7 {width:250px!important;}
|
113
|
+
input.span-8, textarea.span-8, select.span-8 {width:290px!important;}
|
114
|
+
input.span-9, textarea.span-9, select.span-9 {width:330px!important;}
|
115
|
+
input.span-10, textarea.span-10, select.span-10 {width:370px!important;}
|
116
|
+
input.span-11, textarea.span-11, select.span-11 {width:410px!important;}
|
117
|
+
input.span-12, textarea.span-12, select.span-12 {width:450px!important;}
|
118
|
+
input.span-13, textarea.span-13, select.span-13 {width:490px!important;}
|
119
|
+
input.span-14, textarea.span-14, select.span-14 {width:530px!important;}
|
120
|
+
input.span-15, textarea.span-15, select.span-15 {width:570px!important;}
|
121
|
+
input.span-16, textarea.span-16, select.span-16 {width:610px!important;}
|
122
|
+
input.span-17, textarea.span-17, select.span-17 {width:650px!important;}
|
123
|
+
input.span-18, textarea.span-18, select.span-18 {width:690px!important;}
|
124
|
+
input.span-19, textarea.span-19, select.span-19 {width:730px!important;}
|
125
|
+
input.span-20, textarea.span-20, select.span-20 {width:770px!important;}
|
126
|
+
input.span-21, textarea.span-21, select.span-21 {width:810px!important;}
|
127
|
+
input.span-22, textarea.span-22, select.span-22 {width:850px!important;}
|
128
|
+
input.span-23, textarea.span-23, select.span-23 {width:890px!important;}
|
129
|
+
input.span-24, textarea.span-24, select.span-24 {width:940px!important;}
|
130
|
+
.append-1 {padding-right:40px;}
|
131
|
+
.append-2 {padding-right:80px;}
|
132
|
+
.append-3 {padding-right:120px;}
|
133
|
+
.append-4 {padding-right:160px;}
|
134
|
+
.append-5 {padding-right:200px;}
|
135
|
+
.append-6 {padding-right:240px;}
|
136
|
+
.append-7 {padding-right:280px;}
|
137
|
+
.append-8 {padding-right:320px;}
|
138
|
+
.append-9 {padding-right:360px;}
|
139
|
+
.append-10 {padding-right:400px;}
|
140
|
+
.append-11 {padding-right:440px;}
|
141
|
+
.append-12 {padding-right:480px;}
|
142
|
+
.append-13 {padding-right:520px;}
|
143
|
+
.append-14 {padding-right:560px;}
|
144
|
+
.append-15 {padding-right:600px;}
|
145
|
+
.append-16 {padding-right:640px;}
|
146
|
+
.append-17 {padding-right:680px;}
|
147
|
+
.append-18 {padding-right:720px;}
|
148
|
+
.append-19 {padding-right:760px;}
|
149
|
+
.append-20 {padding-right:800px;}
|
150
|
+
.append-21 {padding-right:840px;}
|
151
|
+
.append-22 {padding-right:880px;}
|
152
|
+
.append-23 {padding-right:920px;}
|
153
|
+
.prepend-1 {padding-left:40px;}
|
154
|
+
.prepend-2 {padding-left:80px;}
|
155
|
+
.prepend-3 {padding-left:120px;}
|
156
|
+
.prepend-4 {padding-left:160px;}
|
157
|
+
.prepend-5 {padding-left:200px;}
|
158
|
+
.prepend-6 {padding-left:240px;}
|
159
|
+
.prepend-7 {padding-left:280px;}
|
160
|
+
.prepend-8 {padding-left:320px;}
|
161
|
+
.prepend-9 {padding-left:360px;}
|
162
|
+
.prepend-10 {padding-left:400px;}
|
163
|
+
.prepend-11 {padding-left:440px;}
|
164
|
+
.prepend-12 {padding-left:480px;}
|
165
|
+
.prepend-13 {padding-left:520px;}
|
166
|
+
.prepend-14 {padding-left:560px;}
|
167
|
+
.prepend-15 {padding-left:600px;}
|
168
|
+
.prepend-16 {padding-left:640px;}
|
169
|
+
.prepend-17 {padding-left:680px;}
|
170
|
+
.prepend-18 {padding-left:720px;}
|
171
|
+
.prepend-19 {padding-left:760px;}
|
172
|
+
.prepend-20 {padding-left:800px;}
|
173
|
+
.prepend-21 {padding-left:840px;}
|
174
|
+
.prepend-22 {padding-left:880px;}
|
175
|
+
.prepend-23 {padding-left:920px;}
|
176
|
+
div.border {padding-right:4px;margin-right:5px;border-right:1px solid #eee;}
|
177
|
+
div.colborder {padding-right:24px;margin-right:25px;border-right:1px solid #eee;}
|
178
|
+
.pull-1 {margin-left:-40px;}
|
179
|
+
.pull-2 {margin-left:-80px;}
|
180
|
+
.pull-3 {margin-left:-120px;}
|
181
|
+
.pull-4 {margin-left:-160px;}
|
182
|
+
.pull-5 {margin-left:-200px;}
|
183
|
+
.pull-6 {margin-left:-240px;}
|
184
|
+
.pull-7 {margin-left:-280px;}
|
185
|
+
.pull-8 {margin-left:-320px;}
|
186
|
+
.pull-9 {margin-left:-360px;}
|
187
|
+
.pull-10 {margin-left:-400px;}
|
188
|
+
.pull-11 {margin-left:-440px;}
|
189
|
+
.pull-12 {margin-left:-480px;}
|
190
|
+
.pull-13 {margin-left:-520px;}
|
191
|
+
.pull-14 {margin-left:-560px;}
|
192
|
+
.pull-15 {margin-left:-600px;}
|
193
|
+
.pull-16 {margin-left:-640px;}
|
194
|
+
.pull-17 {margin-left:-680px;}
|
195
|
+
.pull-18 {margin-left:-720px;}
|
196
|
+
.pull-19 {margin-left:-760px;}
|
197
|
+
.pull-20 {margin-left:-800px;}
|
198
|
+
.pull-21 {margin-left:-840px;}
|
199
|
+
.pull-22 {margin-left:-880px;}
|
200
|
+
.pull-23 {margin-left:-920px;}
|
201
|
+
.pull-24 {margin-left:-960px;}
|
202
|
+
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5, .pull-6, .pull-7, .pull-8, .pull-9, .pull-10, .pull-11, .pull-12, .pull-13, .pull-14, .pull-15, .pull-16, .pull-17, .pull-18, .pull-19, .pull-20, .pull-21, .pull-22, .pull-23, .pull-24 {float:left;position:relative;}
|
203
|
+
.push-1 {margin:0 -40px 1.5em 40px;}
|
204
|
+
.push-2 {margin:0 -80px 1.5em 80px;}
|
205
|
+
.push-3 {margin:0 -120px 1.5em 120px;}
|
206
|
+
.push-4 {margin:0 -160px 1.5em 160px;}
|
207
|
+
.push-5 {margin:0 -200px 1.5em 200px;}
|
208
|
+
.push-6 {margin:0 -240px 1.5em 240px;}
|
209
|
+
.push-7 {margin:0 -280px 1.5em 280px;}
|
210
|
+
.push-8 {margin:0 -320px 1.5em 320px;}
|
211
|
+
.push-9 {margin:0 -360px 1.5em 360px;}
|
212
|
+
.push-10 {margin:0 -400px 1.5em 400px;}
|
213
|
+
.push-11 {margin:0 -440px 1.5em 440px;}
|
214
|
+
.push-12 {margin:0 -480px 1.5em 480px;}
|
215
|
+
.push-13 {margin:0 -520px 1.5em 520px;}
|
216
|
+
.push-14 {margin:0 -560px 1.5em 560px;}
|
217
|
+
.push-15 {margin:0 -600px 1.5em 600px;}
|
218
|
+
.push-16 {margin:0 -640px 1.5em 640px;}
|
219
|
+
.push-17 {margin:0 -680px 1.5em 680px;}
|
220
|
+
.push-18 {margin:0 -720px 1.5em 720px;}
|
221
|
+
.push-19 {margin:0 -760px 1.5em 760px;}
|
222
|
+
.push-20 {margin:0 -800px 1.5em 800px;}
|
223
|
+
.push-21 {margin:0 -840px 1.5em 840px;}
|
224
|
+
.push-22 {margin:0 -880px 1.5em 880px;}
|
225
|
+
.push-23 {margin:0 -920px 1.5em 920px;}
|
226
|
+
.push-24 {margin:0 -960px 1.5em 960px;}
|
227
|
+
.push-1, .push-2, .push-3, .push-4, .push-5, .push-6, .push-7, .push-8, .push-9, .push-10, .push-11, .push-12, .push-13, .push-14, .push-15, .push-16, .push-17, .push-18, .push-19, .push-20, .push-21, .push-22, .push-23, .push-24 {float:right;position:relative;}
|
228
|
+
.prepend-top {margin-top:1.5em;}
|
229
|
+
.append-bottom {margin-bottom:1.5em;}
|
230
|
+
.box {padding:1.5em;margin-bottom:1.5em;background:#E5ECF9;}
|
231
|
+
hr {background:#ddd;color:#ddd;clear:both;float:none;width:100%;height:.1em;margin:0 0 1.45em;border:none;}
|
232
|
+
hr.space {background:#fff;color:#fff;}
|
233
|
+
.clearfix:after, .container:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
|
234
|
+
.clearfix, .container {display:block;}
|
235
|
+
.clear {clear:both;}
|
236
|
+
|
237
|
+
/* forms.css */
|
238
|
+
label {font-weight:bold;}
|
239
|
+
fieldset {padding:1.4em;margin:0 0 1.5em 0;border:1px solid #ccc;}
|
240
|
+
legend {font-weight:bold;font-size:1.2em;}
|
241
|
+
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
|
242
|
+
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
|
243
|
+
input.text, input.title {width:300px;padding:5px;}
|
244
|
+
input.title {font-size:1.5em;}
|
245
|
+
textarea {width:390px;height:250px;padding:5px;}
|
246
|
+
|
247
|
+
/*.error, .notice, .success {padding:.8em;margin-bottom:1em;border:2px solid #ddd;}
|
248
|
+
.error {background:#FBE3E4;color:#8a1f11;border-color:#FBC2C4;}
|
249
|
+
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
|
250
|
+
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
|
251
|
+
.error a {color:#8a1f11;}
|
252
|
+
.notice a {color:#514721;}
|
253
|
+
.success a {color:#264409;}*/
|
@@ -0,0 +1,49 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
forms.css
|
4
|
+
* Sets up some default styling for forms
|
5
|
+
* Gives you classes to enhance your forms
|
6
|
+
|
7
|
+
Usage:
|
8
|
+
* For text fields, use class .title or .text
|
9
|
+
|
10
|
+
-------------------------------------------------------------- */
|
11
|
+
|
12
|
+
label { font-weight: bold; }
|
13
|
+
fieldset { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
|
14
|
+
legend { font-weight: bold; font-size:1.2em; }
|
15
|
+
|
16
|
+
|
17
|
+
/* Form fields
|
18
|
+
-------------------------------------------------------------- */
|
19
|
+
|
20
|
+
input.text, input.title,
|
21
|
+
textarea, select {
|
22
|
+
margin:0.5em 0;
|
23
|
+
border:1px solid #bbb;
|
24
|
+
}
|
25
|
+
|
26
|
+
input.text:focus, input.title:focus,
|
27
|
+
textarea:focus, select:focus {
|
28
|
+
border:1px solid #666;
|
29
|
+
}
|
30
|
+
|
31
|
+
input.text,
|
32
|
+
input.title { width: 300px; padding:5px; }
|
33
|
+
input.title { font-size:1.5em; }
|
34
|
+
textarea { width: 390px; height: 250px; padding:5px; }
|
35
|
+
|
36
|
+
|
37
|
+
/* Success, notice and error boxes
|
38
|
+
-------------------------------------------------------------- */
|
39
|
+
|
40
|
+
.error,
|
41
|
+
.notice,
|
42
|
+
.success { padding: .8em; margin-bottom: 1em; border: 2px solid #ddd; }
|
43
|
+
|
44
|
+
.error { background: #FBE3E4; color: #8a1f11; border-color: #FBC2C4; }
|
45
|
+
.notice { background: #FFF6BF; color: #514721; border-color: #FFD324; }
|
46
|
+
.success { background: #E6EFC2; color: #264409; border-color: #C6D880; }
|
47
|
+
.error a { color: #8a1f11; }
|
48
|
+
.notice a { color: #514721; }
|
49
|
+
.success a { color: #264409; }
|
@@ -0,0 +1,213 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
grid.css
|
4
|
+
* Sets up an easy-to-use grid of 24 columns.
|
5
|
+
|
6
|
+
By default, the grid is 950px wide, with 24 columns
|
7
|
+
spanning 30px, and a 10px margin between columns.
|
8
|
+
|
9
|
+
If you need fewer or more columns, namespaces or semantic
|
10
|
+
element names, use the compressor script (lib/compress.rb)
|
11
|
+
|
12
|
+
Note: Changes made in this file will not be applied when
|
13
|
+
using the compressor: make changes in lib/blueprint/grid.css.rb
|
14
|
+
|
15
|
+
-------------------------------------------------------------- */
|
16
|
+
|
17
|
+
/* A container should group all your columns. */
|
18
|
+
.container {
|
19
|
+
width: 950px;
|
20
|
+
margin: 0 auto;
|
21
|
+
}
|
22
|
+
|
23
|
+
/* Use this class on any .span / container to see the grid. */
|
24
|
+
.showgrid { background: url(src/grid.png); }
|
25
|
+
|
26
|
+
|
27
|
+
/* Columns
|
28
|
+
-------------------------------------------------------------- */
|
29
|
+
|
30
|
+
/* Sets up basic grid floating and margin. */
|
31
|
+
.column, div.span-1, div.span-2, div.span-3, div.span-4, div.span-5,
|
32
|
+
div.span-6, div.span-7, div.span-8, div.span-9, div.span-10,
|
33
|
+
div.span-11, div.span-12, div.span-13, div.span-14, div.span-15,
|
34
|
+
div.span-16, div.span-17, div.span-18, div.span-19, div.span-20,
|
35
|
+
div.span-21, div.span-22, div.span-23, div.span-24 {
|
36
|
+
float: left;
|
37
|
+
margin-right: 10px;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* The last column in a row needs this class. */
|
41
|
+
.last, div.last { margin-right: 0; }
|
42
|
+
|
43
|
+
/* Use these classes to set the width of a column. */
|
44
|
+
.span-1 { width: 30px; }
|
45
|
+
.span-2 { width: 70px; }
|
46
|
+
.span-3 { width: 110px; }
|
47
|
+
.span-4 { width: 150px; }
|
48
|
+
.span-5 { width: 190px; }
|
49
|
+
.span-6 { width: 230px; }
|
50
|
+
.span-7 { width: 270px; }
|
51
|
+
.span-8 { width: 310px; }
|
52
|
+
.span-9 { width: 350px; }
|
53
|
+
.span-10 { width: 390px; }
|
54
|
+
.span-11 { width: 430px; }
|
55
|
+
.span-12 { width: 470px; }
|
56
|
+
.span-13 { width: 510px; }
|
57
|
+
.span-14 { width: 550px; }
|
58
|
+
.span-15 { width: 590px; }
|
59
|
+
.span-16 { width: 630px; }
|
60
|
+
.span-17 { width: 670px; }
|
61
|
+
.span-18 { width: 710px; }
|
62
|
+
.span-19 { width: 750px; }
|
63
|
+
.span-20 { width: 790px; }
|
64
|
+
.span-21 { width: 830px; }
|
65
|
+
.span-22 { width: 870px; }
|
66
|
+
.span-23 { width: 910px; }
|
67
|
+
.span-24 { width: 950px; margin: 0; }
|
68
|
+
|
69
|
+
/* Add these to a column to append empty cols. */
|
70
|
+
.append-1 { padding-right: 40px; }
|
71
|
+
.append-2 { padding-right: 80px; }
|
72
|
+
.append-3 { padding-right: 120px; }
|
73
|
+
.append-4 { padding-right: 160px; }
|
74
|
+
.append-5 { padding-right: 200px; }
|
75
|
+
.append-6 { padding-right: 240px; }
|
76
|
+
.append-7 { padding-right: 280px; }
|
77
|
+
.append-8 { padding-right: 320px; }
|
78
|
+
.append-9 { padding-right: 360px; }
|
79
|
+
.append-10 { padding-right: 400px; }
|
80
|
+
.append-11 { padding-right: 440px; }
|
81
|
+
.append-12 { padding-right: 480px; }
|
82
|
+
.append-13 { padding-right: 520px; }
|
83
|
+
.append-14 { padding-right: 560px; }
|
84
|
+
.append-15 { padding-right: 600px; }
|
85
|
+
.append-16 { padding-right: 640px; }
|
86
|
+
.append-17 { padding-right: 680px; }
|
87
|
+
.append-18 { padding-right: 720px; }
|
88
|
+
.append-19 { padding-right: 760px; }
|
89
|
+
.append-20 { padding-right: 800px; }
|
90
|
+
.append-21 { padding-right: 840px; }
|
91
|
+
.append-22 { padding-right: 880px; }
|
92
|
+
.append-23 { padding-right: 920px; }
|
93
|
+
|
94
|
+
/* Add these to a column to prepend empty cols. */
|
95
|
+
.prepend-1 { padding-left: 40px; }
|
96
|
+
.prepend-2 { padding-left: 80px; }
|
97
|
+
.prepend-3 { padding-left: 120px; }
|
98
|
+
.prepend-4 { padding-left: 160px; }
|
99
|
+
.prepend-5 { padding-left: 200px; }
|
100
|
+
.prepend-6 { padding-left: 240px; }
|
101
|
+
.prepend-7 { padding-left: 280px; }
|
102
|
+
.prepend-8 { padding-left: 320px; }
|
103
|
+
.prepend-9 { padding-left: 360px; }
|
104
|
+
.prepend-10 { padding-left: 400px; }
|
105
|
+
.prepend-11 { padding-left: 440px; }
|
106
|
+
.prepend-12 { padding-left: 480px; }
|
107
|
+
.prepend-13 { padding-left: 520px; }
|
108
|
+
.prepend-14 { padding-left: 560px; }
|
109
|
+
.prepend-15 { padding-left: 600px; }
|
110
|
+
.prepend-16 { padding-left: 640px; }
|
111
|
+
.prepend-17 { padding-left: 680px; }
|
112
|
+
.prepend-18 { padding-left: 720px; }
|
113
|
+
.prepend-19 { padding-left: 760px; }
|
114
|
+
.prepend-20 { padding-left: 800px; }
|
115
|
+
.prepend-21 { padding-left: 840px; }
|
116
|
+
.prepend-22 { padding-left: 880px; }
|
117
|
+
.prepend-23 { padding-left: 920px; }
|
118
|
+
|
119
|
+
|
120
|
+
/* Border on right hand side of a column. */
|
121
|
+
div.border {
|
122
|
+
padding-right: 4px;
|
123
|
+
margin-right: 5px;
|
124
|
+
border-right: 1px solid #eee;
|
125
|
+
}
|
126
|
+
|
127
|
+
/* Border with more whitespace, spans one column. */
|
128
|
+
div.colborder {
|
129
|
+
padding-right: 24px;
|
130
|
+
margin-right: 25px;
|
131
|
+
border-right: 1px solid #eee;
|
132
|
+
}
|
133
|
+
|
134
|
+
|
135
|
+
/* Use these classes on an element to push it into the
|
136
|
+
next column, or to pull it into the previous column. */
|
137
|
+
|
138
|
+
.pull-1 { margin-left: -40px; }
|
139
|
+
.pull-2 { margin-left: -80px; }
|
140
|
+
.pull-3 { margin-left: -120px; }
|
141
|
+
.pull-4 { margin-left: -160px; }
|
142
|
+
.pull-5 { margin-left: -200px; }
|
143
|
+
|
144
|
+
.pull-1, .pull-2, .pull-3, .pull-4, .pull-5 {
|
145
|
+
float:left;
|
146
|
+
position:relative;
|
147
|
+
}
|
148
|
+
|
149
|
+
.push-1 { margin: 0 -40px 1.5em 40px; }
|
150
|
+
.push-2 { margin: 0 -80px 1.5em 80px; }
|
151
|
+
.push-3 { margin: 0 -120px 1.5em 120px; }
|
152
|
+
.push-4 { margin: 0 -160px 1.5em 160px; }
|
153
|
+
.push-5 { margin: 0 -200px 1.5em 200px; }
|
154
|
+
|
155
|
+
.push-1, .push-2, .push-3, .push-4, .push-5 {
|
156
|
+
float: right;
|
157
|
+
position:relative;
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
/* Misc classes and elements
|
162
|
+
-------------------------------------------------------------- */
|
163
|
+
|
164
|
+
/* In case you need to add a gutter above/below an element */
|
165
|
+
.prepend-top {
|
166
|
+
margin-top:1.5em;
|
167
|
+
}
|
168
|
+
.append-bottom {
|
169
|
+
margin-bottom:1.5em;
|
170
|
+
}
|
171
|
+
|
172
|
+
/* Use a .box to create a padded box inside a column. */
|
173
|
+
.box {
|
174
|
+
padding: 1.5em;
|
175
|
+
margin-bottom: 1.5em;
|
176
|
+
background: #E5ECF9;
|
177
|
+
}
|
178
|
+
|
179
|
+
/* Use this to create a horizontal ruler across a column. */
|
180
|
+
hr {
|
181
|
+
background: #ddd;
|
182
|
+
color: #ddd;
|
183
|
+
clear: both;
|
184
|
+
float: none;
|
185
|
+
width: 100%;
|
186
|
+
height: .1em;
|
187
|
+
margin: 0 0 1.45em;
|
188
|
+
border: none;
|
189
|
+
}
|
190
|
+
hr.space {
|
191
|
+
background: #fff;
|
192
|
+
color: #fff;
|
193
|
+
}
|
194
|
+
|
195
|
+
|
196
|
+
/* Clearing floats without extra markup
|
197
|
+
Based on How To Clear Floats Without Structural Markup by PiE
|
198
|
+
[http://www.positioniseverything.net/easyclearing.html] */
|
199
|
+
|
200
|
+
.clearfix:after, .container:after {
|
201
|
+
content: "\0020";
|
202
|
+
display: block;
|
203
|
+
height: 0;
|
204
|
+
clear: both;
|
205
|
+
visibility: hidden;
|
206
|
+
overflow:hidden;
|
207
|
+
}
|
208
|
+
.clearfix, .container {display: block;}
|
209
|
+
|
210
|
+
/* Regular clearing
|
211
|
+
apply to column that should drop below previous ones. */
|
212
|
+
|
213
|
+
.clear { clear:both; }
|