raffle_v1 0.0.5 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +1 -1
- data/Rakefile +3 -9
- data/app/assets/javascripts/raffle_v1/application.js +6 -5
- data/app/assets/stylesheets/raffle_v1/application.css.scss +4 -31
- data/app/assets/stylesheets/raffle_v1/framework_and_overrides.css.scss +422 -0
- data/app/controllers/raffle_v1/admin/base_controller.rb +11 -0
- data/app/controllers/raffle_v1/admin/users_controller.rb +69 -0
- data/app/controllers/raffle_v1/application_controller.rb +51 -78
- data/app/controllers/raffle_v1/pages_controller.rb +11 -178
- data/app/helpers/raffle_v1/application_helper.rb +5 -0
- data/app/models/raffle_v1/user.rb +61 -107
- data/app/views/layouts/raffle_v1/application.html.erb +28 -5
- data/app/views/raffle_v1/admin/base/index.html.erb +39 -0
- data/app/views/raffle_v1/admin/users/edit.html.erb +65 -0
- data/app/views/raffle_v1/admin/users/index.html.erb +55 -0
- data/app/views/raffle_v1/devise/confirmations/new.html.erb +31 -0
- data/app/views/raffle_v1/devise/mailer/confirmation_instructions.html.erb +12 -0
- data/app/views/raffle_v1/devise/mailer/reset_password_instructions.html.erb +15 -0
- data/app/views/raffle_v1/devise/passwords/edit.html.erb +43 -0
- data/app/views/raffle_v1/devise/passwords/new.html.erb +31 -0
- data/app/views/raffle_v1/devise/registrations/edit.html.erb +63 -0
- data/app/views/raffle_v1/devise/registrations/new.html.erb +58 -0
- data/app/views/raffle_v1/devise/sessions/new.html.erb +45 -0
- data/app/views/raffle_v1/devise/shared/_links.erb +29 -0
- data/app/views/raffle_v1/layouts/_footer.html.erb +17 -0
- data/app/views/raffle_v1/layouts/_messages.html.erb +9 -0
- data/app/views/raffle_v1/layouts/_navigation.html.erb +18 -0
- data/app/views/raffle_v1/layouts/_navigation_links.html.erb +13 -0
- data/app/views/raffle_v1/layouts/application.html.erb +37 -0
- data/app/views/raffle_v1/pages/home.html.erb +3 -0
- data/app/views/raffle_v1/pages/inside.html.erb +3 -0
- data/config/add_files/date_format.rb +27 -0
- data/config/add_files/devise.rb +267 -0
- data/config/add_files/filter_parameter_logging.rb +4 -0
- data/config/add_files/friendly_id.rb +88 -0
- data/config/add_files/kaminari_config.rb +10 -0
- data/config/add_files/rafflev1.rb +4 -0
- data/config/initializers/rafflev1.rb +1 -6
- data/config/locales/devise.en.yml +59 -0
- data/config/routes.rb +30 -5
- data/db/migrate/20130123214645_devise_create_raffle_v1_users.rb +56 -0
- data/db/migrate/{20130123214645_devise_create_users.rb → 20130124004626_devise_create_raffle_v1_admins.rb} +7 -7
- data/db/migrate/{20130124231541_create_versions.rb → 20130124231541_create_raffle_v1_versions.rb} +5 -5
- data/db/migrate/20140719165853_create_raffle_v1_friendly_id_slugs.rb +15 -0
- data/db/seeds.rb +24 -77
- data/lib/generators/raffle_v1/install/install_generator.rb +142 -54
- data/lib/generators/raffle_v1/install/templates/assets/images/raffle_v1/game.png +0 -0
- data/lib/generators/raffle_v1/install/templates/assets/images/raffle_v1/gift.png +0 -0
- data/lib/generators/raffle_v1/install/templates/assets/images/raffle_v1/lifesaver.png +0 -0
- data/lib/generators/raffle_v1/install/templates/assets/images/raffle_v1/person01.jpg +0 -0
- data/lib/generators/raffle_v1/install/templates/assets/javascripts/raffle_v1/application.js +17 -0
- data/lib/generators/raffle_v1/install/templates/assets/stylesheets/raffle_v1/application.css.scss +7 -0
- data/lib/generators/raffle_v1/install/templates/assets/stylesheets/raffle_v1/framework_and_overrides.css.scss +422 -0
- data/lib/generators/raffle_v1/install/templates/config/initializers/date_format.rb +27 -0
- data/lib/generators/raffle_v1/install/templates/config/initializers/devise.rb +269 -0
- data/lib/generators/raffle_v1/install/templates/config/initializers/filter_parameter_logging.rb +4 -0
- data/lib/generators/raffle_v1/install/templates/config/initializers/friendly_id.rb +89 -0
- data/lib/generators/raffle_v1/install/templates/config/initializers/kaminari_config.rb +11 -0
- data/lib/generators/raffle_v1/install/templates/config/initializers/rafflev1.rb +4 -0
- data/lib/generators/raffle_v1/install/templates/db/seeds.rb +28 -0
- data/lib/raffle_v1/version.rb +2 -2
- data/test/controllers/raffle_v1/locales_controller_test.rb +51 -0
- data/test/controllers/raffle_v1/page_layouts_controller_test.rb +51 -0
- data/test/controllers/raffle_v1/pages_controller_test.rb +51 -0
- data/test/controllers/raffle_v1/program_locales_controller_test.rb +51 -0
- data/test/controllers/raffle_v1/program_settings_controller_test.rb +51 -0
- data/test/controllers/raffle_v1/programs_controller_test.rb +51 -0
- data/test/controllers/raffle_v1/role_users_controller_test.rb +51 -0
- data/test/controllers/raffle_v1/roles_controller_test.rb +51 -0
- data/test/controllers/raffle_v1/style_sheets_controller_test.rb +51 -0
- data/test/dummy/Guardfile +24 -0
- data/test/dummy/README.rdoc +15 -248
- data/test/dummy/Rakefile +1 -2
- data/test/dummy/app/assets/javascripts/application.js +3 -5
- data/test/dummy/app/assets/stylesheets/application.css +5 -3
- data/test/dummy/app/controllers/application_controller.rb +3 -1
- data/test/dummy/app/models/user.rb +4 -0
- data/test/dummy/app/views/layouts/application.html.erb +2 -2
- data/test/dummy/assets/javascripts/application.js +17 -0
- data/test/dummy/assets/stylesheets/application.css.scss +7 -0
- data/test/dummy/assets/stylesheets/framework_and_overrides.css.scss +422 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config.ru +1 -1
- data/test/dummy/config/application.rb +29 -47
- data/test/dummy/config/boot.rb +4 -9
- data/test/dummy/config/database.yml +48 -13
- data/test/dummy/config/environment.rb +3 -3
- data/test/dummy/config/environments/development.rb +19 -19
- data/test/dummy/config/environments/production.rb +44 -28
- data/test/dummy/config/environments/test.rb +17 -15
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/date_format.rb +27 -0
- data/test/dummy/config/initializers/devise.rb +269 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/friendly_id.rb +89 -0
- data/test/dummy/config/initializers/inflections.rb +6 -5
- data/test/dummy/config/initializers/kaminari_config.rb +11 -0
- data/test/dummy/config/initializers/mime_types.rb +0 -1
- data/test/dummy/config/initializers/rafflev1.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +1 -6
- data/test/dummy/config/initializers/wrap_parameters.rb +6 -6
- data/test/dummy/config/locales/en.yml +20 -2
- data/{lib/database_cleaner-0.7.2/examples/db/sqlite_databases_go_here → test/dummy/config/rafflev1.yml} +0 -0
- data/test/dummy/config/routes.rb +3 -1
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/migrate/20140719173448_devise_create_raffle_v1_users.raffle_v1.rb +57 -0
- data/{db/migrate/20130124004626_devise_create_admins.rb → test/dummy/db/migrate/20140719173449_devise_create_raffle_v1_admins.raffle_v1.rb} +8 -7
- data/test/dummy/db/migrate/20140719173450_create_raffle_v1_versions.raffle_v1.rb +19 -0
- data/test/dummy/db/migrate/20140719173451_create_raffle_v1_friendly_id_slugs.raffle_v1.rb +16 -0
- data/test/dummy/db/schema.rb +72 -12
- data/test/dummy/db/seeds.rb +30 -0
- data/test/dummy/public/404.html +54 -13
- data/test/dummy/public/422.html +54 -13
- data/test/dummy/public/500.html +53 -12
- data/test/dummy/spec/factories.rb +5 -0
- data/test/dummy/spec/models/user_spec.rb +5 -0
- data/test/dummy/spec/rails_helper.rb +66 -0
- data/test/dummy/spec/spec_helper.rb +78 -0
- data/test/dummy/test/factories/users.rb +6 -0
- data/test/dummy/vendor/assets/javascripts/all_file.js +0 -0
- data/test/dummy/vendor/assets/javascripts/all_raffle_v1.js +7 -0
- data/test/dummy/vendor/assets/stylesheets/all_file.css +0 -0
- data/test/dummy/vendor/assets/stylesheets/all_raffle_v1.css +9 -0
- data/test/fixtures/raffle_v1/abilities.yml +11 -0
- data/test/fixtures/raffle_v1/add_name_to_users.yml +11 -0
- data/test/fixtures/raffle_v1/admin_abilities.yml +11 -0
- data/test/fixtures/raffle_v1/admins.yml +11 -0
- data/test/fixtures/raffle_v1/locales.yml +9 -0
- data/test/fixtures/raffle_v1/page_layouts.yml +11 -0
- data/test/fixtures/raffle_v1/pages.yml +41 -0
- data/test/fixtures/raffle_v1/program_locales.yml +9 -0
- data/test/fixtures/raffle_v1/program_settings.yml +7 -0
- data/test/fixtures/raffle_v1/programs.yml +23 -0
- data/test/fixtures/raffle_v1/role_users.yml +9 -0
- data/test/fixtures/raffle_v1/roles.yml +7 -0
- data/test/fixtures/raffle_v1/style_sheets.yml +17 -0
- data/test/fixtures/raffle_v1/stylesheets.yml +11 -0
- data/test/fixtures/raffle_v1/terms_and_conditions.yml +11 -0
- data/test/fixtures/raffle_v1/testers.yml +11 -0
- data/test/fixtures/raffle_v1/translation_keys.yml +11 -0
- data/test/fixtures/raffle_v1/translation_objects.yml +11 -0
- data/test/fixtures/raffle_v1/translations.yml +11 -0
- data/test/fixtures/raffle_v1/users.yml +11 -0
- data/test/helpers/raffle_v1/locales_helper_test.rb +6 -0
- data/test/helpers/raffle_v1/page_layouts_helper_test.rb +6 -0
- data/test/{unit/helpers/raffle_v1/posts_helper_test.rb → helpers/raffle_v1/pages_helper_test.rb} +1 -1
- data/test/helpers/raffle_v1/program_locales_helper_test.rb +6 -0
- data/test/helpers/raffle_v1/program_settings_helper_test.rb +6 -0
- data/test/helpers/raffle_v1/programs_helper_test.rb +6 -0
- data/test/helpers/raffle_v1/role_users_helper_test.rb +6 -0
- data/test/helpers/raffle_v1/roles_helper_test.rb +6 -0
- data/test/helpers/raffle_v1/style_sheets_helper_test.rb +6 -0
- data/test/{unit/raffle_v1/comment_test.rb → models/raffle_v1/ability_test.rb} +1 -1
- data/test/{functional/raffle_v1/comments_controller_test.rb → models/raffle_v1/add_name_to_user_test.rb} +1 -1
- data/test/models/raffle_v1/admin_ability_test.rb +9 -0
- data/test/models/raffle_v1/admin_test.rb +9 -0
- data/test/models/raffle_v1/locale_test.rb +9 -0
- data/test/models/raffle_v1/page_layout_test.rb +9 -0
- data/test/{unit/raffle_v1/post_test.rb → models/raffle_v1/page_test.rb} +1 -1
- data/test/models/raffle_v1/program_locale_test.rb +9 -0
- data/test/models/raffle_v1/program_setting_test.rb +9 -0
- data/test/models/raffle_v1/program_test.rb +9 -0
- data/test/models/raffle_v1/role_test.rb +9 -0
- data/test/models/raffle_v1/role_user_test.rb +9 -0
- data/test/models/raffle_v1/style_sheet_test.rb +9 -0
- data/test/models/raffle_v1/stylesheet_test.rb +9 -0
- data/test/models/raffle_v1/terms_and_condition_test.rb +9 -0
- data/test/models/raffle_v1/tester_test.rb +9 -0
- data/test/models/raffle_v1/translation_key_test.rb +9 -0
- data/test/models/raffle_v1/translation_object_test.rb +9 -0
- data/test/models/raffle_v1/translation_test.rb +9 -0
- data/test/models/raffle_v1/user_test.rb +9 -0
- metadata +409 -278
- data/README.md +0 -53
- data/app/assets/javascripts/raffle_v1/comments.js +0 -2
- data/app/assets/javascripts/raffle_v1/home.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/locales.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/page_layouts.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/pages.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/posts.js +0 -2
- data/app/assets/javascripts/raffle_v1/programs.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/roles.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/stylesheets.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/terms_and_conditions.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/terms_of_conditions.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/translation_keys.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/translation_objects.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/user.js.coffee +0 -3
- data/app/assets/javascripts/raffle_v1/versions.js.coffee +0 -3
- data/app/assets/stylesheets/raffle_v1/TableTools.css +0 -264
- data/app/assets/stylesheets/raffle_v1/TableTools.css.scss +0 -264
- data/app/assets/stylesheets/raffle_v1/TableTools_JUI.css +0 -182
- data/app/assets/stylesheets/raffle_v1/TableTools_JUI.css.scss +0 -183
- data/app/assets/stylesheets/raffle_v1/_custom.css.scss +0 -3310
- data/app/assets/stylesheets/raffle_v1/_variable.scss +0 -122
- data/app/assets/stylesheets/raffle_v1/_variable_defaults.scss +0 -83
- data/app/assets/stylesheets/raffle_v1/application.css +0 -13
- data/app/assets/stylesheets/raffle_v1/application.css.scss.erb +0 -32
- data/app/assets/stylesheets/raffle_v1/bootstrap-responsive.css +0 -570
- data/app/assets/stylesheets/raffle_v1/bootstrap-responsive.css.scss +0 -570
- data/app/assets/stylesheets/raffle_v1/bootstrap.css +0 -4226
- data/app/assets/stylesheets/raffle_v1/bootstrap.css.scss +0 -4226
- data/app/assets/stylesheets/raffle_v1/colorbox.css +0 -88
- data/app/assets/stylesheets/raffle_v1/colorbox.css.scss +0 -88
- data/app/assets/stylesheets/raffle_v1/comments.css +0 -4
- data/app/assets/stylesheets/raffle_v1/grid.css.scss +0 -258
- data/app/assets/stylesheets/raffle_v1/hierarchy.css.scss +0 -16
- data/app/assets/stylesheets/raffle_v1/home.css.scss +0 -18
- data/app/assets/stylesheets/raffle_v1/jquery.dataTables.css +0 -83
- data/app/assets/stylesheets/raffle_v1/jquery.dataTables.css.scss +0 -83
- data/app/assets/stylesheets/raffle_v1/jquery.jcarousel.css +0 -206
- data/app/assets/stylesheets/raffle_v1/jquery.wysiwyg.css +0 -57
- data/app/assets/stylesheets/raffle_v1/jquery.wysiwyg.css.scss +0 -57
- data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.core.css +0 -38
- data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.core.css.scss +0 -38
- data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.dialog.css +0 -21
- data/app/assets/stylesheets/raffle_v1/jqueryui/jquery.ui.dialog.css.scss +0 -21
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_228ef1_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ef8c08_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ffd27a_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/images/ui-icons_ffffff_256x240.png +0 -0
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/jquery-ui-1.8.18.custom.css +0 -563
- data/app/assets/stylesheets/raffle_v1/jqueryui/ui-lightness/jquery-ui-1.8.18.custom.css.scss +0 -563
- data/app/assets/stylesheets/raffle_v1/locales.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/page_layouts.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/pages.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/posts.css +0 -4
- data/app/assets/stylesheets/raffle_v1/programs.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/reset.css.scss +0 -96
- data/app/assets/stylesheets/raffle_v1/roles.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/scaffolds.css.scss +0 -42
- data/app/assets/stylesheets/raffle_v1/stylesheets.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/terms_and_conditions.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/terms_of_conditions.css.scss +0 -4
- data/app/assets/stylesheets/raffle_v1/translation_keys.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/translation_objects.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/ui.multiselect.css +0 -33
- data/app/assets/stylesheets/raffle_v1/ui.multiselect.css.scss +0 -33
- data/app/assets/stylesheets/raffle_v1/user.css.scss +0 -3
- data/app/assets/stylesheets/raffle_v1/versions.css.scss +0 -3
- data/app/assets/stylesheets/scaffold.css +0 -56
- data/app/controllers/raffle_v1/comments_controller.rb +0 -30
- data/app/controllers/raffle_v1/home_controller.rb +0 -15
- data/app/controllers/raffle_v1/locales_controller.rb +0 -87
- data/app/controllers/raffle_v1/page_layouts_controller.rb +0 -87
- data/app/controllers/raffle_v1/posts_controller.rb +0 -87
- data/app/controllers/raffle_v1/programs_controller.rb +0 -140
- data/app/controllers/raffle_v1/roles_controller.rb +0 -87
- data/app/controllers/raffle_v1/stylesheets_controller.rb +0 -19
- data/app/controllers/raffle_v1/terms_and_conditions_controller.rb +0 -118
- data/app/controllers/raffle_v1/translation_keys_controller.rb +0 -119
- data/app/controllers/raffle_v1/translation_objects_controller.rb +0 -87
- data/app/controllers/raffle_v1/user_controller.rb +0 -138
- data/app/controllers/raffle_v1/versions_controller.rb +0 -15
- data/app/helpers/raffle_v1/comments_helper.rb +0 -4
- data/app/helpers/raffle_v1/posts_helper.rb +0 -4
- data/app/models/raffle_v1/ability.rb +0 -30
- data/app/models/raffle_v1/admin.rb +0 -35
- data/app/models/raffle_v1/admin_ability.rb +0 -28
- data/app/models/raffle_v1/comment.rb +0 -7
- data/app/models/raffle_v1/locale.rb +0 -29
- data/app/models/raffle_v1/page.rb +0 -26
- data/app/models/raffle_v1/page_layout.rb +0 -6
- data/app/models/raffle_v1/post.rb +0 -7
- data/app/models/raffle_v1/program.rb +0 -84
- data/app/models/raffle_v1/program_locale.rb +0 -11
- data/app/models/raffle_v1/program_setting.rb +0 -5
- data/app/models/raffle_v1/role.rb +0 -5
- data/app/models/raffle_v1/roles_users.rb +0 -5
- data/app/models/raffle_v1/stylesheet.rb +0 -9
- data/app/models/raffle_v1/terms_and_condition.rb +0 -17
- data/app/models/raffle_v1/translation.rb +0 -29
- data/app/models/raffle_v1/translation_key.rb +0 -35
- data/app/models/raffle_v1/translation_object.rb +0 -11
- data/app/views/raffle_v1/comments/_comment.html.erb +0 -1
- data/app/views/raffle_v1/comments/_form.html.erb +0 -8
- data/app/views/raffle_v1/comments/index.html.erb +0 -13
- data/app/views/raffle_v1/posts/_form.html.erb +0 -25
- data/app/views/raffle_v1/posts/edit.html.erb +0 -6
- data/app/views/raffle_v1/posts/index.html.erb +0 -25
- data/app/views/raffle_v1/posts/new.html.erb +0 -5
- data/app/views/raffle_v1/posts/show.html.erb +0 -19
- data/config/rafflev1.rb +0 -6
- data/db/migrate/20130127235347_create_programs.rb +0 -9
- data/db/migrate/20130129155515_add_domain_fields_to_programs.rb +0 -6
- data/db/migrate/20130129160949_create_terms_and_conditions.rb +0 -18
- data/db/migrate/20130129183112_add_program_to_users.rb +0 -5
- data/db/migrate/20130129204204_add_username_to_users.rb +0 -6
- data/db/migrate/20130129211205_create_roles.rb +0 -9
- data/db/migrate/20130129212302_create_roles_users.rb +0 -12
- data/db/migrate/20130130013315_create_locales.rb +0 -11
- data/db/migrate/20130130154500_create_program_locales.rb +0 -8
- data/db/migrate/20130130223342_add_settings_to_users.rb +0 -5
- data/db/migrate/20130130223609_add_locale_available_to_program.rb +0 -5
- data/db/migrate/20130130223810_add_locales_to_versions.rb +0 -5
- data/db/migrate/20130130224141_add_locale_name_to_program.rb +0 -5
- data/db/migrate/20130130224327_add_admin_type_to_admins.rb +0 -5
- data/db/migrate/20130130225223_add_deleted_at_to_models.rb +0 -9
- data/db/migrate/20130130230516_create_translations.rb +0 -13
- data/db/migrate/20130131005653_add_timeout_field_to_program.rb +0 -7
- data/db/migrate/20130131144951_create_stylesheets.rb +0 -14
- data/db/migrate/20130202132442_add_tos_to_program.rb +0 -5
- data/db/migrate/20130202133149_add_programid_to_terms.rb +0 -23
- data/db/migrate/20130202193646_add_akm_to_terms_and_conditions.rb +0 -5
- data/db/migrate/20130203035054_create_translation_keys.rb +0 -10
- data/db/migrate/20130203214314_create_program_settings.rb +0 -9
- data/db/migrate/20130204025824_add_translationkey_to_translation.rb +0 -5
- data/db/migrate/20130204030555_create_translation_objects.rb +0 -39
- data/db/migrate/20130205203152_create_pages.rb +0 -25
- data/db/migrate/20130208042652_add_fields_to_page.rb +0 -6
- data/db/migrate/20130208043123_create_page_layouts.rb +0 -12
- data/db/migrate/20130208051925_add_statusitem_to_page.rb +0 -5
- data/db/migrate/20130306012135_add_fields_to_user.rb +0 -40
- data/db/migrate/20130306162357_change_bad_fields_on_user.rb +0 -11
- data/db/migrate/20130306163554_add_password_created_at_to_user.rb +0 -6
- data/db/migrate/20130306165455_add_confirmable_to_user.rb +0 -14
- data/db/migrate/20130306211253_add_username_index_to_user.rb +0 -41
- data/db/migrate/20130313011833_add_field_to_user.rb +0 -5
- data/db/migrate/20130326135125_create_raffle_v1_posts.rb +0 -10
- data/db/migrate/20130326174121_create_raffle_v1_comments.rb +0 -10
- data/lib/database_cleaner-0.7.2/Gemfile.lock +0 -163
- data/lib/database_cleaner-0.7.2/History.txt +0 -209
- data/lib/database_cleaner-0.7.2/LICENSE +0 -20
- data/lib/database_cleaner-0.7.2/README.textile +0 -223
- data/lib/database_cleaner-0.7.2/Rakefile +0 -65
- data/lib/database_cleaner-0.7.2/TODO +0 -3
- data/lib/database_cleaner-0.7.2/VERSION.yml +0 -5
- data/lib/database_cleaner-0.7.2/cucumber.yml +0 -1
- data/lib/database_cleaner-0.7.2/examples/Gemfile +0 -49
- data/lib/database_cleaner-0.7.2/examples/Gemfile.lock +0 -163
- data/lib/database_cleaner-0.7.2/examples/config/database.yml.example +0 -8
- data/lib/database_cleaner-0.7.2/examples/features/example.feature +0 -11
- data/lib/database_cleaner-0.7.2/examples/features/example_multiple_db.feature +0 -23
- data/lib/database_cleaner-0.7.2/examples/features/example_multiple_orm.feature +0 -22
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/activerecord_steps.rb +0 -31
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/couchpotato_steps.rb +0 -31
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/datamapper_steps.rb +0 -37
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/mongoid_steps.rb +0 -23
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/mongomapper_steps.rb +0 -31
- data/lib/database_cleaner-0.7.2/examples/features/step_definitions/translation_steps.rb +0 -55
- data/lib/database_cleaner-0.7.2/examples/features/support/env.rb +0 -62
- data/lib/database_cleaner-0.7.2/examples/lib/activerecord_models.rb +0 -41
- data/lib/database_cleaner-0.7.2/examples/lib/couchpotato_models.rb +0 -61
- data/lib/database_cleaner-0.7.2/examples/lib/datamapper_models.rb +0 -50
- data/lib/database_cleaner-0.7.2/examples/lib/mongoid_models.rb +0 -49
- data/lib/database_cleaner-0.7.2/examples/lib/mongomapper_models.rb +0 -51
- data/lib/database_cleaner-0.7.2/features/cleaning.feature +0 -22
- data/lib/database_cleaner-0.7.2/features/cleaning_default_strategy.feature +0 -19
- data/lib/database_cleaner-0.7.2/features/cleaning_multiple_dbs.feature +0 -21
- data/lib/database_cleaner-0.7.2/features/cleaning_multiple_orms.feature +0 -29
- data/lib/database_cleaner-0.7.2/features/step_definitions/database_cleaner_steps.rb +0 -32
- data/lib/database_cleaner-0.7.2/features/support/env.rb +0 -7
- data/lib/database_cleaner-0.7.2/features/support/feature_runner.rb +0 -39
- data/lib/database_cleaner-0.7.2/lib/database_cleaner.rb +0 -3
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/base.rb +0 -53
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/deletion.rb +0 -69
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/transaction.rb +0 -28
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/active_record/truncation.rb +0 -151
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/base.rb +0 -138
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/configuration.rb +0 -94
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/couch_potato/base.rb +0 -7
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/couch_potato/truncation.rb +0 -28
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/cucumber.rb +0 -11
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/base.rb +0 -21
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/transaction.rb +0 -26
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/data_mapper/truncation.rb +0 -175
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/generic/base.rb +0 -20
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/generic/truncation.rb +0 -37
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo/truncation.rb +0 -22
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo_mapper/base.rb +0 -20
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongo_mapper/truncation.rb +0 -19
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongoid/base.rb +0 -20
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/mongoid/truncation.rb +0 -20
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/null_strategy.rb +0 -15
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/base.rb +0 -22
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/transaction.rb +0 -25
- data/lib/database_cleaner-0.7.2/lib/database_cleaner/sequel/truncation.rb +0 -50
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/base_spec.rb +0 -144
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/transaction_spec.rb +0 -77
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/active_record/truncation_spec.rb +0 -76
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/base_spec.rb +0 -493
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/configuration_spec.rb +0 -294
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/couch_potato/truncation_spec.rb +0 -41
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/base_spec.rb +0 -30
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/transaction_spec.rb +0 -23
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/data_mapper/truncation_spec.rb +0 -11
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/generic/base_spec.rb +0 -22
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/generic/truncation_spec.rb +0 -78
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/base_spec.rb +0 -33
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/mongo_examples.rb +0 -8
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/mongo_mapper/truncation_spec.rb +0 -74
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/base_spec.rb +0 -32
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/transaction_spec.rb +0 -21
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/sequel/truncation_spec.rb +0 -13
- data/lib/database_cleaner-0.7.2/spec/database_cleaner/shared_strategy_spec.rb +0 -13
- data/lib/database_cleaner-0.7.2/spec/rcov.opts +0 -1
- data/lib/database_cleaner-0.7.2/spec/spec.opts +0 -7
- data/lib/database_cleaner-0.7.2/spec/spec_helper.rb +0 -19
- data/lib/generators/raffle_v1/install/USAGE +0 -8
- data/test/dummy/config/initializers/secret_token.rb +0 -7
- data/test/dummy/script/rails +0 -6
- data/test/fixtures/raffle_v1/comments.yml +0 -9
- data/test/fixtures/raffle_v1/posts.yml +0 -9
- data/test/functional/raffle_v1/posts_controller_test.rb +0 -51
- data/test/unit/helpers/raffle_v1/comments_helper_test.rb +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9feaac14e384ef4795b7841402c1e902811675e5
|
4
|
+
data.tar.gz: ac80a12eafa147e22ab1e407da0f2c900cbe3a19
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b5c9ae3392bc83a3a135a82c22103c91e5e3bea787e92e472ccf98bebc4fc4688dc6bd1a4bc9135757e22c79ede1f5f48525d601d6474e5f77c2396a6fd916bb
|
7
|
+
data.tar.gz: db0169c48f5e5cc6953a7b680a9475bf63612c7ad79566615423d411d963ec23133dc5979418d37f6a8f6b73de8c486b29397056d3f853de45b68fa5ef9d7467
|
data/MIT-LICENSE
CHANGED
data/Rakefile
CHANGED
@@ -1,16 +1,10 @@
|
|
1
|
-
#!/usr/bin/env rake
|
2
1
|
begin
|
3
2
|
require 'bundler/setup'
|
4
3
|
rescue LoadError
|
5
4
|
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
|
6
5
|
end
|
7
|
-
|
8
|
-
|
9
|
-
rescue LoadError
|
10
|
-
require 'rdoc/rdoc'
|
11
|
-
require 'rake/rdoctask'
|
12
|
-
RDoc::Task = Rake::RDocTask
|
13
|
-
end
|
6
|
+
|
7
|
+
require 'rdoc/task'
|
14
8
|
|
15
9
|
RDoc::Task.new(:rdoc) do |rdoc|
|
16
10
|
rdoc.rdoc_dir = 'rdoc'
|
@@ -37,4 +31,4 @@ Rake::TestTask.new(:test) do |t|
|
|
37
31
|
end
|
38
32
|
|
39
33
|
|
40
|
-
task :
|
34
|
+
task default: :test
|
@@ -5,12 +5,13 @@
|
|
5
5
|
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
6
|
//
|
7
7
|
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
-
//
|
8
|
+
// compiled file.
|
9
9
|
//
|
10
|
-
//
|
11
|
-
//
|
10
|
+
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
|
11
|
+
// about supported directives.
|
12
12
|
//
|
13
13
|
//= require jquery
|
14
14
|
//= require jquery_ujs
|
15
|
-
//=
|
16
|
-
//= require
|
15
|
+
//= require turbolinks
|
16
|
+
//= require bootstrap
|
17
|
+
//= require_tree .
|
@@ -1,34 +1,7 @@
|
|
1
1
|
/*
|
2
|
-
*
|
3
|
-
* listed below.
|
2
|
+
* Overwritten by RailsBricks
|
4
3
|
*
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
-
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
-
*
|
11
|
-
*= require reset
|
12
|
-
*= require colorbox
|
13
|
-
*= require ui.multiselect
|
14
|
-
*= require bootstrap
|
15
|
-
*= require bootstrap-responsive
|
16
|
-
*= require jquery.dataTables
|
17
|
-
*= require jquery.wysiwyg
|
18
|
-
*= require TableTools
|
19
|
-
*= require TableTools_JUI
|
20
|
-
*= require jqueryui/jquery.ui.core
|
21
|
-
*= require jqueryui/jquery.ui.dialog
|
22
|
-
*= require jqueryui/ui-lightness/jquery-ui-1.8.18.custom
|
23
|
-
*= require jquery.jcarousel
|
24
|
-
*= require grid
|
25
|
-
*= require_self
|
26
|
-
*/
|
4
|
+
*= require_self
|
5
|
+
*/
|
6
|
+
@import "framework_and_overrides";
|
27
7
|
|
28
|
-
@import "variable";
|
29
|
-
@import "hierarchy";
|
30
|
-
@import "home";
|
31
|
-
@import "scaffolds";
|
32
|
-
@import "terms_of_conditions";
|
33
|
-
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);
|
34
|
-
@import "custom";
|
@@ -0,0 +1,422 @@
|
|
1
|
+
//***********************************************************
|
2
|
+
// BOOTSTRAP VARIABLES OVERRIDES
|
3
|
+
|
4
|
+
// Color system
|
5
|
+
$brand-primary: #428bca;
|
6
|
+
$brand-success: #5cb85c;
|
7
|
+
$brand-warning: #f0ad4e;
|
8
|
+
$brand-danger: #d9534f;
|
9
|
+
$brand-info: #5bc0de;
|
10
|
+
|
11
|
+
// Body scaffolding
|
12
|
+
$body-bg: #ffffff;
|
13
|
+
$text-color: #373737;
|
14
|
+
$link-color: $brand-primary;
|
15
|
+
$link-hover-color: darken($link-color, 15%);
|
16
|
+
|
17
|
+
// Typography
|
18
|
+
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700);
|
19
|
+
$font-family-sans-serif: 'Open Sans', arial, sans-serif;
|
20
|
+
$font-family-serif: Georgia, 'Times New Roman', Times, serif;
|
21
|
+
$font-family-monospace: 'Menlo','Monaco','Consolas','Courier New', monospace;
|
22
|
+
$font-family-base: $font-family-sans-serif;
|
23
|
+
$font-size-base: 14px;
|
24
|
+
|
25
|
+
// Headings
|
26
|
+
$headings-font-family: $font-family-base;
|
27
|
+
$headings-font-weight: 700;
|
28
|
+
$headings-color: inherit;
|
29
|
+
|
30
|
+
// Code blocks
|
31
|
+
$code-color: #c7254e;
|
32
|
+
$code-bg: #f9f2f4;
|
33
|
+
$pre-color: #373737;
|
34
|
+
$pre-bg: #f5f5f5;
|
35
|
+
$pre-border-color: #cccccc;
|
36
|
+
|
37
|
+
// Components: Padding
|
38
|
+
$padding-base-vertical: 6px;
|
39
|
+
$padding-large-vertical: 10px;
|
40
|
+
$padding-small-vertical: 5px;
|
41
|
+
$padding-base-horizontal: 12px;
|
42
|
+
$padding-large-horizontal: 16px;
|
43
|
+
$padding-small-horizontal: 10px;
|
44
|
+
|
45
|
+
// Components: Rounded corners
|
46
|
+
$border-radius-base: 4px;
|
47
|
+
$border-radius-large: 6px;
|
48
|
+
$border-radius-small: 3px;
|
49
|
+
|
50
|
+
// Components: Active state
|
51
|
+
$component-active-color: #ffffff;
|
52
|
+
$component-active-bg: $brand-primary;
|
53
|
+
|
54
|
+
// Components: Carets
|
55
|
+
$caret-width-base: 4px;
|
56
|
+
$caret-width-large: 5px;
|
57
|
+
|
58
|
+
// Buttons: Global
|
59
|
+
$btn-font-weight: normal;
|
60
|
+
$btn-link-disabled-color: #cccccc;
|
61
|
+
|
62
|
+
// Buttons: Default
|
63
|
+
$btn-default-color: #ffffff;
|
64
|
+
$btn-default-bg: #bbbbbb;
|
65
|
+
$btn-default-border: #cccccc;
|
66
|
+
|
67
|
+
// Buttons: Primary
|
68
|
+
$btn-primary-color: $btn-default-color;
|
69
|
+
$btn-primary-bg: $brand-primary;
|
70
|
+
$btn-primary-border: darken($btn-primary-bg, 5%);
|
71
|
+
|
72
|
+
// Buttons: Info
|
73
|
+
$btn-info-color: $btn-default-color;
|
74
|
+
$btn-info-bg: $brand-info;
|
75
|
+
$btn-info-border: darken($btn-info-bg, 5%);
|
76
|
+
|
77
|
+
// Buttons: Warning
|
78
|
+
$btn-warning-color: $btn-default-color;
|
79
|
+
$btn-warning-bg: $brand-warning;
|
80
|
+
$btn-warning-border: darken($btn-warning-bg, 5%);
|
81
|
+
|
82
|
+
// Buttons: Danger
|
83
|
+
$btn-danger-color: $btn-default-color;
|
84
|
+
$btn-danger-bg: $brand-danger;
|
85
|
+
$btn-danger-border: darken($btn-danger-bg, 5%);
|
86
|
+
|
87
|
+
// Form states and alerts
|
88
|
+
$state-success-text: #468847;
|
89
|
+
$state-success-bg: #dff0d8;
|
90
|
+
$state-success-border: darken($state-success-bg, 5%);
|
91
|
+
|
92
|
+
$state-warning-text: #c09853;
|
93
|
+
$state-warning-bg: #fcf8e3;
|
94
|
+
$state-warning-border: darken($state-warning-bg, 3%);
|
95
|
+
|
96
|
+
$state-danger-text: #b94a48;
|
97
|
+
$state-danger-bg: #f2dede;
|
98
|
+
$state-danger-border: darken($state-danger-bg, 3%);
|
99
|
+
|
100
|
+
$state-info-text: #3a87ad;
|
101
|
+
$state-info-bg: #d9edf7;
|
102
|
+
$state-info-border: darken($state-info-bg, 7%);
|
103
|
+
|
104
|
+
// Alerts: Base styles
|
105
|
+
$alert-padding: 15px;
|
106
|
+
$alert-border-radius: $border-radius-base;
|
107
|
+
$alert-link-font-weight: bold;
|
108
|
+
|
109
|
+
// Alerts: Warning
|
110
|
+
$alert-warning-text: $state-warning-text;
|
111
|
+
$alert-warning-bg: $state-warning-bg;
|
112
|
+
$alert-warning-border: $state-warning-border;
|
113
|
+
|
114
|
+
// Alerts: Success
|
115
|
+
$alert-success-text: $state-success-text;
|
116
|
+
$alert-success-bg: $state-success-bg;
|
117
|
+
$alert-success-border: $state-success-border;
|
118
|
+
|
119
|
+
// Alerts: Danger
|
120
|
+
$alert-danger-text: $state-danger-text;
|
121
|
+
$alert-danger-bg: $state-danger-bg;
|
122
|
+
$alert-danger-border: $state-danger-border;
|
123
|
+
|
124
|
+
//Alerts: Info
|
125
|
+
$alert-info-text: $state-info-text;
|
126
|
+
$alert-info-bg: $state-info-bg;
|
127
|
+
$alert-info-border: $state-info-border;
|
128
|
+
|
129
|
+
// Navbar: Base styles
|
130
|
+
$navbar-height: 50px;
|
131
|
+
$navbar-margin-bottom: 4px;
|
132
|
+
$navbar-padding-horizontal: 15px;
|
133
|
+
$navbar-padding-vertical: 13px;
|
134
|
+
$navbar-border-radius: 0px;
|
135
|
+
|
136
|
+
// Navbar: Default navbar
|
137
|
+
// -> Basics
|
138
|
+
$navbar-default-color: #777777;
|
139
|
+
$navbar-default-bg: #f8f8f8;
|
140
|
+
$navbar-default-border: darken($navbar-default-bg, 7%);
|
141
|
+
// -> Links
|
142
|
+
$navbar-default-link-color: #777777;
|
143
|
+
$navbar-default-link-hover-color: #333333;
|
144
|
+
$navbar-default-link-hover-bg: $navbar-default-bg;
|
145
|
+
$navbar-default-link-active-color: #555555;
|
146
|
+
$navbar-default-link-active-bg: darken($navbar-default-bg, 7%);
|
147
|
+
$navbar-default-link-disabled-color: #cccccc;
|
148
|
+
$navbar-default-link-disabled-bg:$navbar-default-bg;
|
149
|
+
// -> Brand
|
150
|
+
$navbar-default-brand-color: $navbar-default-link-color;
|
151
|
+
$navbar-default-brand-hover-color: darken($navbar-default-brand-color, 10%);
|
152
|
+
$navbar-default-brand-hover-bg: $navbar-default-bg;
|
153
|
+
// -> Toggle
|
154
|
+
$navbar-default-toggle-hover-bg: #dddddd;
|
155
|
+
$navbar-default-toggle-icon-bar-bg: #cccccc;
|
156
|
+
$navbar-default-toggle-border-color: #dddddd;
|
157
|
+
|
158
|
+
// Navbar: Inverted navbar
|
159
|
+
// -> Basics
|
160
|
+
$navbar-inverse-color: #eeeeee;
|
161
|
+
$navbar-inverse-bg: #222222;
|
162
|
+
$navbar-inverse-border: darken($navbar-inverse-bg, 7%);
|
163
|
+
// -> Links
|
164
|
+
$navbar-inverse-link-color: #eeeeee;
|
165
|
+
$navbar-inverse-link-hover-color: #ffffff;
|
166
|
+
$navbar-inverse-link-hover-bg: $navbar-inverse-bg;
|
167
|
+
$navbar-inverse-link-active-color: #ffffff;
|
168
|
+
$navbar-inverse-link-active-bg: darken($navbar-inverse-bg, 7%);
|
169
|
+
$navbar-inverse-link-disabled-color: #444444;
|
170
|
+
$navbar-inverse-link-disabled-bg:$navbar-inverse-bg;
|
171
|
+
// -> Brand
|
172
|
+
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
173
|
+
$navbar-inverse-brand-hover-color: #ffffff;
|
174
|
+
$navbar-inverse-brand-hover-bg: $navbar-inverse-bg;
|
175
|
+
// -> Toggle
|
176
|
+
$navbar-inverse-toggle-hover-bg: #333333;
|
177
|
+
$navbar-inverse-toggle-icon-bar-bg: #ffffff;
|
178
|
+
$navbar-inverse-toggle-border-color: #333333;
|
179
|
+
|
180
|
+
// Nav: Default nav
|
181
|
+
// -> Common values
|
182
|
+
$nav-link-padding: 10px 15px;
|
183
|
+
$nav-link-hover-bg: #eeeeee;
|
184
|
+
$nav-disabled-link-color: #cccccc;
|
185
|
+
$nav-disabled-link-hover-color: #cccccc;
|
186
|
+
$nav-open-link-hover-color: #ffffff;
|
187
|
+
$nav-open-caret-border-color: #ffffff;
|
188
|
+
// -> Pills
|
189
|
+
$nav-pills-active-link-hover-color: #ffffff;
|
190
|
+
$nav-pills-active-link-hover-bg: $component-active-bg;
|
191
|
+
// -> Tabs
|
192
|
+
$nav-tabs-border-color: #dddddd;
|
193
|
+
$nav-tabs-link-hover-border-color: #eeeeee;
|
194
|
+
$nav-tabs-active-link-hover-color: #bbbbbb;
|
195
|
+
$nav-tabs-active-link-hover-bg: $body-bg;
|
196
|
+
$nav-tabs-active-link-hover-border-color: #dddddd;
|
197
|
+
$nav-tabs-justified-link-border-color: #dddddd;
|
198
|
+
$nav-tabs-justified-active-link-border-color: $body-bg;
|
199
|
+
|
200
|
+
// Tables
|
201
|
+
// -> Default padding for <th>s and <td>s
|
202
|
+
$table-cell-padding: 8px;
|
203
|
+
// -> Default padding cells in .table-condensed
|
204
|
+
$table-condensed-cell-padding: 5px;
|
205
|
+
// -> Default background color used for all tables.
|
206
|
+
$table-bg: $body-bg;
|
207
|
+
// -> Background color used for .table-striped.
|
208
|
+
$table-bg-accent: #f9f9f9;
|
209
|
+
// -> Background color used for .table-hover.
|
210
|
+
$table-bg-hover: #f5f5f5;
|
211
|
+
// -> Border color for table and cell borders.
|
212
|
+
$table-border-color: #dddddd;
|
213
|
+
|
214
|
+
// Forms
|
215
|
+
// -> Inputs
|
216
|
+
$input-color: $text-color; // Text color for <input>s
|
217
|
+
$input-bg: #ffffff; // <input> background color
|
218
|
+
$input-border: #cccccc; // <input> border color
|
219
|
+
$input-border-radius: $border-radius-base; // <input> border radius
|
220
|
+
$input-color-placeholder: #eeeeee; // Placeholder text color
|
221
|
+
// -> Input states
|
222
|
+
$input-border-focus: #66afe9; // Border color for inputs on focus
|
223
|
+
$input-bg-disabled: #dddddd; // <input disabled> background color
|
224
|
+
// -> Input sizes
|
225
|
+
$input-height-base: 38px; // Default .form-control height
|
226
|
+
$input-height-large: 46px; // Large .form-control height
|
227
|
+
$input-height-small: 28px; // Small .form-control height
|
228
|
+
// -> Legend
|
229
|
+
$legend-color: #aaaaaa;
|
230
|
+
$legend-border-color: #e5e5e5;
|
231
|
+
// -> Input groups
|
232
|
+
$input-group-addon-bg: #cccccc; // Background color for textual input addons
|
233
|
+
$input-group-addon-border-color: $input-border; // Border color for textual input addons
|
234
|
+
|
235
|
+
// Dropdowns
|
236
|
+
// -> Dropdown menu
|
237
|
+
$dropdown-bg: #ffffff; // Dropdown menu background color
|
238
|
+
$dropdown-border: #373737; // Dropdown menu border color
|
239
|
+
$dropdown-fallback-border: #cccccc; // Dropdown menu border color for IE8
|
240
|
+
$dropdown-caret-color: #dddddd; // Indicator arrow for showing an element has a dropdown
|
241
|
+
$dropdown-divider-bg: #e5e5e5; // Dropdown divider top border color
|
242
|
+
$dropdown-header-color: #dddddd; // Text color for headers within dropdown menus
|
243
|
+
// -> Dropdown items
|
244
|
+
$dropdown-link-color: $text-color; // Dropdown text color
|
245
|
+
$dropdown-link-hover-color: darken($dropdown-link-color,5%); // Hovered dropdown menu entry text color
|
246
|
+
$dropdown-link-hover-bg: #f5f5f5; // Hovered dropdown menu entry text color
|
247
|
+
$dropdown-link-active-color: $component-active-color; // Active dropdown menu entry text color
|
248
|
+
$dropdown-link-active-bg: $component-active-bg; // Active dropdown menu entry background color
|
249
|
+
$dropdown-link-disabled-color: #dddddd; // Disabled dropdown menu entry background color
|
250
|
+
|
251
|
+
// Panels and wells
|
252
|
+
// -> Common panel styles
|
253
|
+
$panel-bg: #ffffff;
|
254
|
+
$panel-inner-border: #dddddd; // Border color for elements within panels
|
255
|
+
$panel-border-radius: $border-radius-base;
|
256
|
+
$panel-footer-bg: #f5f5f5;
|
257
|
+
// -> Contextual panel colors
|
258
|
+
// --> Default
|
259
|
+
$panel-default-text: #373737;
|
260
|
+
$panel-default-border: #dddddd;
|
261
|
+
$panel-default-heading-bg: #f5f5f5;
|
262
|
+
// --> Primary
|
263
|
+
$panel-primary-text: #ffffff;
|
264
|
+
$panel-primary-border: $brand-primary;
|
265
|
+
$panel-primary-heading-bg: $brand-primary;
|
266
|
+
// --> Success
|
267
|
+
$panel-success-text: $state-success-text;
|
268
|
+
$panel-success-border: $state-success-border;
|
269
|
+
$panel-success-heading-bg: $state-success-bg;
|
270
|
+
// --> Info
|
271
|
+
$panel-info-text: $state-info-text;
|
272
|
+
$panel-info-border: $state-info-border;
|
273
|
+
$panel-info-heading-bg: $state-info-bg;
|
274
|
+
// --> Warning
|
275
|
+
$panel-warning-text: $state-warning-text;
|
276
|
+
$panel-warning-border: $state-warning-border;
|
277
|
+
$panel-warning-heading-bg: $state-warning-bg;
|
278
|
+
// --> Danger
|
279
|
+
$panel-danger-text: $state-danger-text;
|
280
|
+
$panel-danger-border: $state-danger-border;
|
281
|
+
$panel-danger-heading-bg: $state-danger-bg;
|
282
|
+
// -> Wells
|
283
|
+
$well-bg: #f5f5f5;
|
284
|
+
|
285
|
+
// Jumbotron
|
286
|
+
$jumbotron-padding: 30px;
|
287
|
+
$jumbotron-bg: #cccccc;
|
288
|
+
$jumbotron-font-size: ceil($font-size-base * 1.5);
|
289
|
+
$jumbotron-color: $text-color;
|
290
|
+
$jumbotron-heading-color: $headings-color;
|
291
|
+
|
292
|
+
// Carousel
|
293
|
+
$carousel-text-shadow: 0px 1px 2px #373737;
|
294
|
+
$carousel-control-color: #ffffff;
|
295
|
+
$carousel-caption-color: #ffffff;
|
296
|
+
$carousel-indicator-border-color: #ffffff;
|
297
|
+
$carousel-indicator-active-bg: #ffffff;
|
298
|
+
|
299
|
+
// Labels
|
300
|
+
$label-color: #ffffff; // Default label text color
|
301
|
+
$label-link-hover-color: #ffffff; // Default text color of a linked label
|
302
|
+
$label-default-bg: #cccccc; // Default label background color
|
303
|
+
$label-primary-bg: $brand-primary; // Primary label background color
|
304
|
+
$label-success-bg: $brand-success; // Success label background color
|
305
|
+
$label-info-bg: $brand-info; // Info label background color
|
306
|
+
$label-warning-bg: $brand-warning; // Warning label background color
|
307
|
+
$label-danger-bg: $brand-danger; // Danger label background color
|
308
|
+
|
309
|
+
// Close button
|
310
|
+
$close-font-weight: bold;
|
311
|
+
$close-color: #000000;
|
312
|
+
$close-text-shadow: 0px 1px 0px #ffffff;
|
313
|
+
|
314
|
+
// Type
|
315
|
+
$text-muted: #cccccc; // Text muted color
|
316
|
+
$abbr-border-color: #cccccc; // Abbreviations and acronyms border color
|
317
|
+
$headings-small-color: #cccccc; // Headings small color
|
318
|
+
$blockquote-small-color: #cccccc; // Blockquote small color
|
319
|
+
$blockquote-border-color: #eeeeee; // Blockquote border color
|
320
|
+
$page-header-border-color: #eeeeee; // Page header border color
|
321
|
+
|
322
|
+
// Other
|
323
|
+
$hr-border: #cccccc; // Horizontal line color
|
324
|
+
$component-offset-horizontal: 180px; // Horizontal offset for forms and lists
|
325
|
+
|
326
|
+
//***********************************************************
|
327
|
+
|
328
|
+
@import "bootstrap";
|
329
|
+
@import "font-awesome";
|
330
|
+
|
331
|
+
//***********************************************************
|
332
|
+
// TESTING CLASSES
|
333
|
+
.shigh{
|
334
|
+
background-color: yellow;
|
335
|
+
}
|
336
|
+
.shigh2{
|
337
|
+
background-color: red;
|
338
|
+
}
|
339
|
+
.shigh3{
|
340
|
+
background-color: blue;
|
341
|
+
}
|
342
|
+
//***********************************************************
|
343
|
+
|
344
|
+
//***********************************************************
|
345
|
+
// APPLICATION-WIDE
|
346
|
+
html,body{
|
347
|
+
height: 100%;
|
348
|
+
}
|
349
|
+
|
350
|
+
#wrap{
|
351
|
+
min-height: 100%;
|
352
|
+
padding-bottom: 120px;
|
353
|
+
}
|
354
|
+
|
355
|
+
img{
|
356
|
+
@extend .img-responsive;
|
357
|
+
}
|
358
|
+
//***********************************************************
|
359
|
+
|
360
|
+
//***********************************************************
|
361
|
+
// FLASH MESSAGES
|
362
|
+
.alert{
|
363
|
+
margin-top: -4px;
|
364
|
+
}
|
365
|
+
//***********************************************************
|
366
|
+
|
367
|
+
//***********************************************************
|
368
|
+
// NAVBAR
|
369
|
+
.navbar-brand {
|
370
|
+
font-size: inherit;
|
371
|
+
}
|
372
|
+
//***********************************************************
|
373
|
+
|
374
|
+
//***********************************************************
|
375
|
+
// ERRORS
|
376
|
+
#error_explanation{
|
377
|
+
color: $brand-danger;
|
378
|
+
ul{
|
379
|
+
margin-left: 8px;
|
380
|
+
padding-left: 8px;
|
381
|
+
}
|
382
|
+
|
383
|
+
h2{
|
384
|
+
display:none;
|
385
|
+
}
|
386
|
+
}
|
387
|
+
|
388
|
+
.error-text{
|
389
|
+
color: $brand-danger;
|
390
|
+
}
|
391
|
+
|
392
|
+
.field_with_errors{
|
393
|
+
.form-control{
|
394
|
+
border: 1px solid $brand-danger;
|
395
|
+
}
|
396
|
+
label{
|
397
|
+
color: $brand-danger;
|
398
|
+
}
|
399
|
+
}
|
400
|
+
//***********************************************************
|
401
|
+
|
402
|
+
//***********************************************************
|
403
|
+
// DEVISE
|
404
|
+
.shared-links{
|
405
|
+
margin-top: 10px;
|
406
|
+
}
|
407
|
+
//***********************************************************
|
408
|
+
|
409
|
+
//***********************************************************
|
410
|
+
// FOOTER
|
411
|
+
#footer{
|
412
|
+
background-color: $navbar-inverse-bg;
|
413
|
+
color: $navbar-inverse-color;
|
414
|
+
height: 100px;
|
415
|
+
margin-top: -100px;
|
416
|
+
letter-spacing: 1px;
|
417
|
+
|
418
|
+
.footer-first-row{
|
419
|
+
padding-top: 20px;
|
420
|
+
}
|
421
|
+
}
|
422
|
+
//***********************************************************
|