fanforce-plugin-factory 0.41.0 → 1.6.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/.ruby-version +1 -0
- data/.yardopts +5 -0
- data/.yardopts.rb +1 -0
- data/Gemfile +9 -0
- data/README.md +40 -75
- data/Rakefile +61 -4
- data/fanforce-plugin-factory.gemspec +21 -21
- data/lib/fanforce/plugin_factory.rb +16 -58
- data/lib/fanforce/plugin_factory/Rakefile +51 -0
- data/lib/fanforce/plugin_factory/Routes.rb +33 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_bootstrap.scss +2 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_common.scss +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_directives.scss +7 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_font-awesome.scss +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/_ui-select.scss +3 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common → asset_framework/plugin_factory/bootstrap}/_bootstrap-overrides.scss +2 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/bootstrap/css → asset_framework/plugin_factory/bootstrap}/bootstrap.css +2 -2
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/bootstrap/js → asset_framework/plugin_factory/bootstrap}/bootstrap.js +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/bootstrap.min.css +7 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/bootstrap/js → asset_framework/plugin_factory/bootstrap}/bootstrap.min.js +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/glyphicons-halflings-regular.eot +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/glyphicons-halflings-regular.svg +229 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/glyphicons-halflings-regular.ttf +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/bootstrap/glyphicons-halflings-regular.woff +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib → asset_framework/plugin_factory}/common/_mixins.scss +2 -1
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives.coffee +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/error/_error.scss +6 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-error → asset_framework/plugin_factory/directives/error}/arrow-left.png +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-error → asset_framework/plugin_factory/directives/error}/icon-error.png +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/initiative-footer/_initiative-footer.coffee +16 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/_module-add-initiative-footer.scss → asset_framework/plugin_factory/directives/initiative-footer/_initiative-footer.scss} +4 -1
- data/lib/fanforce/plugin_factory/{assets/lib/common/_module-initiative-searcher.scss → asset_framework/plugin_factory/directives/initiative-searcher/_initiative-searcher.scss} +14 -13
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-initiative-searcher → asset_framework/plugin_factory/directives/initiative-searcher}/icon-search.png +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-initiative-searcher → asset_framework/plugin_factory/directives/initiative-searcher}/spinner.gif +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-initiative-searcher → asset_framework/plugin_factory/directives/initiative-searcher}/sprite-arrows.png +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/loading/_loading.coffee +4 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/loading/_loading.scss +4 -0
- data/lib/fanforce/plugin_factory/{assets/js/add_source_popup.js → asset_framework/plugin_factory/directives/saving-to-server/_saving-to-server.coffee} +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/saving-to-server/_saving-to-server.scss +6 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-saving-initiative → asset_framework/plugin_factory/directives/saving-to-server}/spinner.gif +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/directives/start-arrow/_start-arrow.coffee +8 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/_module-start-here.scss → asset_framework/plugin_factory/directives/start-arrow/_start-arrow.scss} +5 -4
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-start-here → asset_framework/plugin_factory/directives/start-arrow}/arrow.png +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/common/_module-video-thumbnail.scss → asset_framework/plugin_factory/directives/video-thumbnail/_video-thumbnail.scss} +4 -4
- data/lib/fanforce/plugin_factory/{assets/lib/common/module-video-thumbnail → asset_framework/plugin_factory/directives/video-thumbnail}/icon-play.png +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/font-awesome.coffee +1 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/FontAwesome.otf +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/css → asset_framework/plugin_factory/font-awesome}/font-awesome.css +2 -2
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/css → asset_framework/plugin_factory/font-awesome}/font-awesome.min.css +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/fontawesome-webfont.eot +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/fontawesome-webfont.svg +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/fontawesome-webfont.ttf +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib/vendors/font-awesome/font → asset_framework/plugin_factory/font-awesome}/fontawesome-webfont.woff +0 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/lib.coffee +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/lib/ng-focus-blur.js +68 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/lib/ng-visible.js +7 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select.coffee +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/select.css +171 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/select.js +1281 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/select_override.scss +1 -0
- data/lib/fanforce/plugin_factory/asset_framework/plugin_factory/ui-select/selectize.default.css +443 -0
- data/lib/fanforce/plugin_factory/cli.rb +5 -0
- data/lib/fanforce/plugin_factory/cli/lib/bitbucket.rb +77 -0
- data/lib/fanforce/plugin_factory/cli/lib/bundler.rb +21 -0
- data/lib/fanforce/plugin_factory/cli/lib/env.rb +96 -0
- data/lib/fanforce/plugin_factory/cli/lib/git.rb +59 -0
- data/lib/fanforce/plugin_factory/cli/lib/heroku.rb +94 -0
- data/lib/fanforce/plugin_factory/cli/lib/iron.rb +71 -0
- data/lib/fanforce/plugin_factory/cli/lib/pow.rb +46 -0
- data/lib/fanforce/plugin_factory/cli/lib/scaffolding.rb +74 -0
- data/lib/fanforce/plugin_factory/cli/lib/scaffolding_file.rb +510 -0
- data/lib/fanforce/plugin_factory/cli/lib/uranium.rb +77 -0
- data/lib/fanforce/plugin_factory/cli/lib/utils.rb +57 -0
- data/lib/fanforce/plugin_factory/cli/scripts/config.rb +9 -0
- data/lib/fanforce/plugin_factory/cli/scripts/create.rb +64 -0
- data/lib/fanforce/plugin_factory/cli/scripts/destroy.rb +61 -0
- data/lib/fanforce/plugin_factory/cli/scripts/diff.rb +156 -0
- data/lib/fanforce/plugin_factory/cli/scripts/push.rb +88 -0
- data/lib/fanforce/plugin_factory/cli/scripts/restart.rb +41 -0
- data/lib/fanforce/plugin_factory/cli/scripts/setup.rb +70 -0
- data/lib/fanforce/plugin_factory/cli/scripts/update.rb +132 -0
- data/lib/fanforce/plugin_factory/cli_directory_of_plugins.rb +51 -0
- data/lib/fanforce/plugin_factory/cli_single_plugin.rb +52 -0
- data/lib/fanforce/plugin_factory/controllers/base_controller.rb +15 -0
- data/lib/fanforce/plugin_factory/core_config.rb +94 -0
- data/lib/fanforce/plugin_factory/directive_views/initiative-footer.haml +8 -0
- data/lib/fanforce/plugin_factory/load.rb +7 -0
- data/lib/fanforce/plugin_factory/load_iron_worker.rb +2 -0
- data/lib/fanforce/plugin_factory/load_sprockets.rb +2 -0
- data/lib/fanforce/plugin_factory/plugin.rb +60 -0
- data/lib/fanforce/plugin_factory/scaffolding/._.gitignore.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/._Gemfile.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/._Rakefile.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/._config.json.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/._config.ru.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/._favicon.ico.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/._robots.txt.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/.gitignore +27 -0
- data/lib/fanforce/plugin_factory/scaffolding/Gemfile +9 -0
- data/lib/fanforce/plugin_factory/scaffolding/Rakefile +7 -0
- data/lib/fanforce/plugin_factory/scaffolding/Routes.rb +67 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/._fembedded.scss.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/._promotional.scss.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/._visitor.scss.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/fembedded.scss +24 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/promotional.scss +33 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/css/visitor.scss +61 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/._icon-16.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/._icon-32.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/._icon-42.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/._marketplace.png.registry +1 -0
- data/lib/fanforce/plugin_factory/{assets → scaffolding/assets}/img/icon-16.png +0 -0
- data/lib/fanforce/plugin_factory/{assets → scaffolding/assets}/img/icon-32.png +0 -0
- data/lib/fanforce/plugin_factory/{assets → scaffolding/assets}/img/icon-42.png +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/marketplace.png +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/promotional/._fanforce_bg.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/promotional/._icon-42.png.registry +1 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/promotional/._icon-plus.png.registry +1 -0
- data/lib/fanforce/plugin_factory/{assets/lib → scaffolding/assets/img}/promotional/fanforce_bg.png +0 -0
- data/lib/fanforce/plugin_factory/{assets/lib → scaffolding/assets/img}/promotional/icon-42.png +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/img/promotional/icon-plus.png +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/._fembedded-app.coffee.registry +5 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/._fembedded.js.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/._promotional.js.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/fembedded-app.coffee +11 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/fembedded.js +12 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/._cookie.coffee.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/._filters.coffee.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/._utils.coffee.registry +3 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/cookie.coffee +24 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/filters.coffee +9 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/lib/utils.coffee +40 -0
- data/lib/fanforce/plugin_factory/scaffolding/assets/js/promotional.js +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/config.json +24 -0
- data/lib/fanforce/plugin_factory/scaffolding/config.ru +8 -0
- data/lib/fanforce/plugin_factory/{public → scaffolding}/favicon.ico +0 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._fembedded.haml.registry +4 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._promotional.haml.registry +2 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/._visitor.haml.registry +6 -0
- data/lib/fanforce/plugin_factory/scaffolding/layouts/fembedded.haml +26 -0
- data/lib/fanforce/plugin_factory/{layouts → scaffolding/layouts}/promotional.haml +6 -6
- data/lib/fanforce/plugin_factory/{layouts/engage.haml → scaffolding/layouts/visitor.haml} +10 -7
- data/lib/fanforce/plugin_factory/scaffolding/robots.txt +7 -0
- data/lib/fanforce/plugin_factory/scaffolding/views/._index.haml.registry +3 -0
- data/lib/fanforce/plugin_factory/{views → scaffolding/views}/index.haml +13 -7
- data/lib/fanforce/plugin_factory/sinatra/_load.rb +87 -0
- data/lib/fanforce/plugin_factory/sinatra/error_handling.rb +48 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_behavior.rb +19 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_broadcaster.rb +7 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_connector.rb +11 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_identifier.rb +3 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/com_js_widget.rb +8 -0
- data/lib/fanforce/plugin_factory/sinatra/helper_routes/plugin.rb +50 -0
- data/lib/fanforce/plugin_factory/sinatra/helpers/assets.rb +23 -0
- data/lib/fanforce/plugin_factory/sinatra/helpers/css_frameworks.rb +70 -0
- data/lib/fanforce/plugin_factory/sinatra/helpers/fanforce.rb +18 -0
- data/lib/fanforce/plugin_factory/{config → sinatra}/helpers/json.rb +2 -2
- data/lib/fanforce/plugin_factory/sinatra/helpers/ractive.rb +45 -0
- data/lib/fanforce/plugin_factory/sprockets/compiler.rb +5 -11
- data/lib/fanforce/plugin_factory/sprockets/hacks.rb +2 -2
- data/lib/fanforce/plugin_factory/version.rb +2 -2
- metadata +201 -195
- data/.rbenv-gemsets +0 -1
- data/.rbenv-version +0 -1
- data/lib/fanforce/plugin_factory.rake +0 -72
- data/lib/fanforce/plugin_factory/_init_sinatra.rb +0 -54
- data/lib/fanforce/plugin_factory/assets/css/add_edit_initiative.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/add_source.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/convert_pending_initiative.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/engage.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/new_message.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/promotional.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/css/source_details.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/js/add_edit_initiative.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/add_source.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/convert_pending_initiative.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/engage.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/new_message.js +0 -1
- data/lib/fanforce/plugin_factory/assets/js/promotional.js +0 -2
- data/lib/fanforce/plugin_factory/assets/js/source_details.js +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/_module-error.scss +0 -11
- data/lib/fanforce/plugin_factory/assets/lib/common/_module-page-loading.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/lib/common/_module-saving-initiative.scss +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/common/_tags.scss +0 -1
- data/lib/fanforce/plugin_factory/assets/lib/common/_variables.scss +0 -27
- data/lib/fanforce/plugin_factory/assets/lib/common/broadcaster-divider-arrow.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/icons/dropdown-arrow.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/icons/initiative.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_add_edit_initiative.scss +0 -27
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_add_source.scss +0 -18
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_convert_pending_initiative.scss +0 -27
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_engage.scss +0 -78
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_new_message.scss +0 -24
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_promotional.scss +0 -27
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/_source_details.scss +0 -17
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/add_edit_initiative.js +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/add_source.js +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/convert_pending_initiative.js +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/engage.js +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/new_message.js +0 -5
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/promotional.js +0 -1
- data/lib/fanforce/plugin_factory/assets/lib/common/layouts/source_details.js +0 -5
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-behavior.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-broadcaster.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-data-connector.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-data-processor.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/promotional/icon-identifier.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap-datepicker/datepicker.css +0 -7
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap-datepicker/datepicker.js +0 -454
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap-timepicker/timepicker.css +0 -82
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap-timepicker/timepicker.js +0 -803
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/css/bootstrap.min.css +0 -7
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/img/glyphicons-halflings-regular.eot +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/img/glyphicons-halflings-regular.svg +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/img/glyphicons-halflings-regular.ttf +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/bootstrap/img/glyphicons-halflings-regular.woff +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/_chosen_override.scss +0 -6
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/chosen-sprite.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/chosen-sprite@2x.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/chosen.jquery.js +0 -1166
- data/lib/fanforce/plugin_factory/assets/lib/vendors/chosen/chosen.scss +0 -434
- data/lib/fanforce/plugin_factory/assets/lib/vendors/jquery/jquery-1.10.2.js +0 -9789
- data/lib/fanforce/plugin_factory/assets/lib/vendors/jquery/jquery.inputHint.js +0 -154
- data/lib/fanforce/plugin_factory/assets/lib/vendors/jquery/jquery.tmpl.debug.js +0 -484
- data/lib/fanforce/plugin_factory/assets/lib/vendors/knockout/knockout.custom-handlers.coffee +0 -155
- data/lib/fanforce/plugin_factory/assets/lib/vendors/knockout/knockout.debug.js +0 -4469
- data/lib/fanforce/plugin_factory/assets/lib/vendors/knockout/knockout.min.js +0 -96
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/_select2_override.scss +0 -47
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2-spinner.gif +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2.scss +0 -617
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2_modified.js +0 -3225
- data/lib/fanforce/plugin_factory/assets/lib/vendors/select2/select2x2.png +0 -0
- data/lib/fanforce/plugin_factory/assets/lib/vendors/underscore/underscore.debug.js +0 -999
- data/lib/fanforce/plugin_factory/config/_error_handling.rb +0 -27
- data/lib/fanforce/plugin_factory/config/core_config.rb +0 -92
- data/lib/fanforce/plugin_factory/config/helpers/assets.rb +0 -72
- data/lib/fanforce/plugin_factory/config/helpers/fanforce.rb +0 -19
- data/lib/fanforce/plugin_factory/layouts/add_edit_initiative.haml +0 -19
- data/lib/fanforce/plugin_factory/layouts/add_source.haml +0 -19
- data/lib/fanforce/plugin_factory/layouts/convert_pending_initiative.haml +0 -19
- data/lib/fanforce/plugin_factory/layouts/new_message.haml +0 -19
- data/lib/fanforce/plugin_factory/layouts/source_details.haml +0 -19
- data/lib/fanforce/plugin_factory/public/robots.txt +0 -2
- data/lib/fanforce/plugin_factory/routes.rb +0 -48
- data/lib/fanforce/plugin_factory/routes_behavior.rb +0 -34
- data/lib/fanforce/plugin_factory/routes_broadcaster.rb +0 -9
- data/lib/fanforce/plugin_factory/routes_data_connector.rb +0 -21
- data/lib/fanforce/plugin_factory/routes_identifier.rb +0 -3
- data/lib/fanforce/plugin_factory/views/add_initiative.haml +0 -1
- data/lib/fanforce/plugin_factory/views/add_source.haml +0 -1
- data/lib/fanforce/plugin_factory/views/close_popup.haml +0 -8
- data/lib/fanforce/plugin_factory/views/convert_pending_initiative.haml +0 -1
- data/lib/fanforce/plugin_factory/views/edit_initiative.haml +0 -1
- data/lib/fanforce/plugin_factory/views/engage.haml +0 -1
- data/lib/fanforce/plugin_factory/views/new_message.haml +0 -1
- data/lib/fanforce/plugin_factory/views/source_details.haml +0 -1
- data/lib/fanforce/plugin_factory/views/widget_tmpls.haml +0 -1
- data/lib/fanforce/plugin_factory_workers.rb +0 -2
data/.rbenv-gemsets
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
fanforce-plugin-factory
|
data/.rbenv-version
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
1.9.3-p194
|
@@ -1,72 +0,0 @@
|
|
1
|
-
require 'fanforce/api'
|
2
|
-
require 'fileutils'
|
3
|
-
require 'json'
|
4
|
-
require 'yaml'
|
5
|
-
require_relative 'plugin_factory/version'
|
6
|
-
require_relative 'plugin_factory/sprockets/hacks'
|
7
|
-
require_relative 'plugin_factory/sprockets/compiler'
|
8
|
-
|
9
|
-
def load_env_from_file(file)
|
10
|
-
File.open(file, 'rb') do |file|
|
11
|
-
contents = file.read
|
12
|
-
lines = contents.gsub('export ', '').split(/\n\r?/).reject{|line| line.blank?}
|
13
|
-
lines.each do |line|
|
14
|
-
keyValue = line.split('=', 2)
|
15
|
-
next unless keyValue.count == 2
|
16
|
-
ENV[keyValue.first] = keyValue.last.gsub("'",'').gsub('"','')
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
|
-
if (!ENV['RACK_ENV'] or ENV['RACK_ENV'] == 'development')
|
22
|
-
load_env_from_file("#{FanforcePlugin.config.root_dir}/.powenv") if File.exists?("#{FanforcePlugin.config.root_dir}/.powenv")
|
23
|
-
load_env_from_file("#{FanforcePlugin.config.root_dir}/.pluginenv") if File.exists?("#{FanforcePlugin.config.root_dir}/.pluginenv")
|
24
|
-
end
|
25
|
-
|
26
|
-
FanforcePlugin.config.load_redis
|
27
|
-
|
28
|
-
namespace :assets do
|
29
|
-
root_dir = FanforcePlugin.config.root_dir
|
30
|
-
factory_root_dir = FanforcePlugin.config.factory_root_dir
|
31
|
-
|
32
|
-
desc 'Precompile assets for production'
|
33
|
-
task :precompile => :clean do
|
34
|
-
sprockets = SprocketsCompiler.setup(root_dir)
|
35
|
-
|
36
|
-
puts 'PRECOMPILING ASSETS... '
|
37
|
-
SprocketsCompiler.new(sprockets: sprockets, precompile: [/(\/|^)[^_\/]+[^\/]*\.(css|js|png|gif|jpeg|jpg|otf|eot|svg|ttf|woff)/]).compile
|
38
|
-
puts 'DONE'
|
39
|
-
|
40
|
-
print 'GENERATING ASSET MANIFESTS... '
|
41
|
-
asset_list = {}
|
42
|
-
sprockets.each_logical_path do |logical_path|
|
43
|
-
if File.basename(logical_path) !~ /^[_]/ and asset = sprockets.find_asset(logical_path)
|
44
|
-
asset_list[logical_path] = "/assets/#{asset.digest_path}"
|
45
|
-
end
|
46
|
-
end
|
47
|
-
IO.write File.join(root_dir, '/public/asset_manifest.json'), JSON.generate(asset_list)
|
48
|
-
IO.write File.join(root_dir, '/public/asset_manifest.json'), "ASSETS=#{JSON.generate(asset_list)}"
|
49
|
-
IO.write File.join(root_dir, '/public/asset_manifest.json'), asset_list.to_yaml
|
50
|
-
puts 'DONE'
|
51
|
-
|
52
|
-
print 'ENSURING FAVICON EXISTS... '
|
53
|
-
FileUtils.cp("#{factory_root_dir}/public/favicon.ico", "#{root_dir}/public/favicon.ico") if !File.exists?(root_dir+'/public/favicon.ico')
|
54
|
-
puts 'DONE'
|
55
|
-
|
56
|
-
print 'ENSURING ROBOTS.TXT EXISTS... '
|
57
|
-
FileUtils.cp("#{factory_root_dir}/public/robots.txt", "#{root_dir}/public/robots.txt") if !File.exists?(root_dir+'/public/robots.txt')
|
58
|
-
puts 'DONE'
|
59
|
-
end
|
60
|
-
|
61
|
-
desc 'Clean assets folder'
|
62
|
-
task :clean do
|
63
|
-
print 'DESTROYING PUBLIC/ASSETS... '
|
64
|
-
FileUtils.rm_rf File.join(root_dir, '/public/assets')
|
65
|
-
puts 'DONE'
|
66
|
-
end
|
67
|
-
|
68
|
-
task :test do
|
69
|
-
puts 'TEST WORKED!'
|
70
|
-
end
|
71
|
-
|
72
|
-
end
|
@@ -1,54 +0,0 @@
|
|
1
|
-
require 'sinatra/content_for'
|
2
|
-
require 'bugsnag'
|
3
|
-
####################################################################################
|
4
|
-
|
5
|
-
class FanforcePlugin::Sinatra < Sinatra::Base
|
6
|
-
require_relative 'config/_error_handling'
|
7
|
-
require_relative 'config/helpers/assets'
|
8
|
-
require_relative 'config/helpers/json'
|
9
|
-
require_relative 'config/helpers/fanforce'
|
10
|
-
|
11
|
-
use Rack::JSONR, :method_override => :all
|
12
|
-
use Bugsnag::Rack
|
13
|
-
|
14
|
-
helpers Sinatra::AssetHelpers
|
15
|
-
helpers Sinatra::JSONHelpers
|
16
|
-
helpers Sinatra::FanforceHelpers
|
17
|
-
helpers Sinatra::ContentFor
|
18
|
-
|
19
|
-
def self.any(url,&block)
|
20
|
-
get(url,&block)
|
21
|
-
post(url,&block)
|
22
|
-
put(url,&block)
|
23
|
-
delete(url,&block)
|
24
|
-
end
|
25
|
-
|
26
|
-
def page(page, options={})
|
27
|
-
current_dir = File.expand_path('../', __FILE__)
|
28
|
-
if !File.exists?("#{settings.views}/#{page}.haml")
|
29
|
-
rel_path = Pathname.new(current_dir).relative_path_from(Pathname.new(settings.views))
|
30
|
-
page = :"#{rel_path}/views/#{page}"
|
31
|
-
end
|
32
|
-
|
33
|
-
if options[:layout] and (!FanforcePlugin.config.respond_to?(:"layout_for_#{page}") or FanforcePlugin.config.method(:"layout_for_#{page}").call)
|
34
|
-
if File.exists?("#{settings.views}/../layouts/#{options[:layout]}.haml")
|
35
|
-
options[:layout] = :"../layouts/#{options[:layout]}"
|
36
|
-
else
|
37
|
-
rel_path = Pathname.new(current_dir).relative_path_from(Pathname.new(settings.views))
|
38
|
-
options[:layout] = :"#{rel_path}/layouts/#{options[:layout]}"
|
39
|
-
end
|
40
|
-
else
|
41
|
-
options[:layout] = false
|
42
|
-
end
|
43
|
-
haml page, options
|
44
|
-
end
|
45
|
-
|
46
|
-
configure do
|
47
|
-
FanforcePlugin.load_config
|
48
|
-
set :haml, {:escape_attrs => false}
|
49
|
-
set :static, true
|
50
|
-
set :protection, :except => [:frame_options, :json_csrf]
|
51
|
-
end
|
52
|
-
|
53
|
-
end
|
54
|
-
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'common/layouts/add_edit_initiative';
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'common/layouts/add_source';
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'common/layouts/convert_pending_initiative';
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'common/layouts/engage';
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'common/layouts/new_message';
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'common/layouts/promotional';
|
@@ -1 +0,0 @@
|
|
1
|
-
@import 'common/layouts/source_details';
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require common/layouts/add_edit_initiative
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require common/layouts/add_source
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require common/layouts/convert_pending_initiative
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require common/layouts/new_message
|
@@ -1 +0,0 @@
|
|
1
|
-
//= require common/layouts/new_message
|
File without changes
|
@@ -1,11 +0,0 @@
|
|
1
|
-
$module_path: "/assets/common/module-error";
|
2
|
-
/////////////////////////////////////////////////////////////////////////////////////////
|
3
|
-
|
4
|
-
.module-error { position:relative; color:#ffffff; font-size:12; @include min-height(30px); @include border-radius(1px); line-height:30px; background:#e70000;
|
5
|
-
.msg { background:url(#{$module_path}/icon-error.png) 7px 7px no-repeat; padding:0px 13px 0 30px; }
|
6
|
-
}
|
7
|
-
|
8
|
-
.module-error-bubble { position:absolute; top:0; right:-240px;
|
9
|
-
.arrow-left { position:absolute; left:-9px; top:11px; width:11px; height:20px; background:url(#{$module_path}/arrow-left.png) left top no-repeat; }
|
10
|
-
.error { width:200px; @include border-radius(2px); background:#fd4141; border:#ff0000 1px solid; @include box-shadow(#bcbcbc 1px 1px 2px, #fe7474 1px 1px 0 inset); color:#ffffff; padding:12px; padding-bottom:10px; }
|
11
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
.module-page-loading { color:#cccccc; font-size:15px; text-align: center; padding-top:45px; }
|
@@ -1,6 +0,0 @@
|
|
1
|
-
$module_path: "/assets/common/module-saving-initiative";
|
2
|
-
/////////////////////////////////////////////////////////////////////////////////////////
|
3
|
-
|
4
|
-
.module-saving-initiative { text-align: center; height:100px; position:absolute; left:0; margin-top:80px; width:100%; color:#b9cddc; text-shadow:#ffffff 1px 1px 0; display:none; text-align:center;
|
5
|
-
.spinner { width:64px; height:64px; background:url(#{$module_path}/spinner.gif) 0 0 no-repeat; margin:0 auto 20px; }
|
6
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
|
@@ -1,27 +0,0 @@
|
|
1
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
-
// SET CORE VARIABLES
|
3
|
-
// Define all core variables here
|
4
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
5
|
-
$link-color: #1861a8;
|
6
|
-
$action-color: #ffb400;
|
7
|
-
$true-fan-color: #72c14b;
|
8
|
-
$error-color: #e70000;
|
9
|
-
|
10
|
-
$font-family: 'Helvetica', Arial, sans-serif;
|
11
|
-
$font-size-small: 11px;
|
12
|
-
$font-size-normal: 12px;
|
13
|
-
$font-size-large: 13px;
|
14
|
-
|
15
|
-
$line-height: 1.5em;
|
16
|
-
|
17
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
18
|
-
// SET LAYOUT CONTENT WIDTHS
|
19
|
-
// This has to be defined as a function to get around the scoping limitations of sass
|
20
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
21
|
-
@function content-width($layout: 'none') {
|
22
|
-
@if $layout == 'website' { @return 960px; }
|
23
|
-
@else if $layout == 'application' { @return 1000px; }
|
24
|
-
@else if $layout == 'auth' { @return 1000px; }
|
25
|
-
@else if $layout == 'styleguide' { @return 1120px; }
|
26
|
-
@else { @return 960px; }
|
27
|
-
}
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,27 +0,0 @@
|
|
1
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
-
// COMPASS AND BOOTSTRAP
|
3
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
4
|
-
@import 'compass/css3';
|
5
|
-
@import 'compass/utilities';
|
6
|
-
@import 'vendors/bootstrap/css/bootstrap.min.css';
|
7
|
-
@import 'vendors/font-awesome/css/font-awesome.min.css';
|
8
|
-
|
9
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
10
|
-
// COMMON
|
11
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
12
|
-
@import 'common/mixins';
|
13
|
-
@import 'common/variables';
|
14
|
-
@import 'common/bootstrap-overrides';
|
15
|
-
|
16
|
-
@import 'common/module-page-loading';
|
17
|
-
@import 'common/module-saving-initiative';
|
18
|
-
@import 'common/module-add-initiative-footer';
|
19
|
-
|
20
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
21
|
-
// BASE STYLES (AS FEW AS POSSIBLE)
|
22
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
23
|
-
|
24
|
-
body { overflow:hidden; background: #F4F8FC;
|
25
|
-
.hide { display:none !important; }
|
26
|
-
.dropdown-menu { @include border-radius(4px); border:1px solid #aec7dd; @include box-shadow(1px 1px 3px rgba(0, 0, 0, 0.2), #ffffff 1px 1px 0 inset); background:#f7fafd; }
|
27
|
-
}
|
@@ -1,18 +0,0 @@
|
|
1
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
-
// COMPASS AND BOOTSTRAP
|
3
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
4
|
-
@import 'compass/css3';
|
5
|
-
@import 'compass/utilities';
|
6
|
-
@import 'vendors/bootstrap/css/bootstrap.min.css';
|
7
|
-
@import 'vendors/font-awesome/css/font-awesome.min.css';
|
8
|
-
|
9
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
10
|
-
// COMMON
|
11
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
12
|
-
@import 'common/mixins';
|
13
|
-
@import 'common/variables';
|
14
|
-
@import 'common/bootstrap-overrides';
|
15
|
-
|
16
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
17
|
-
// BASE STYLES (AS FEW AS POSSIBLE)
|
18
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -1,27 +0,0 @@
|
|
1
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
-
// COMPASS AND BOOTSTRAP
|
3
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
4
|
-
@import 'compass/css3';
|
5
|
-
@import 'compass/utilities';
|
6
|
-
@import 'vendors/bootstrap/css/bootstrap.min.css';
|
7
|
-
@import 'vendors/font-awesome/css/font-awesome.min.css';
|
8
|
-
|
9
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
10
|
-
// COMMON
|
11
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
12
|
-
@import 'common/mixins';
|
13
|
-
@import 'common/variables';
|
14
|
-
@import 'common/bootstrap-overrides';
|
15
|
-
|
16
|
-
@import 'common/module-page-loading';
|
17
|
-
@import 'common/module-saving-initiative';
|
18
|
-
@import 'common/module-add-initiative-footer';
|
19
|
-
|
20
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
21
|
-
// BASE STYLES (AS FEW AS POSSIBLE)
|
22
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
23
|
-
|
24
|
-
body { overflow:hidden; background: #F4F8FC;
|
25
|
-
.hide { display:none !important; }
|
26
|
-
.dropdown-menu { @include border-radius(4px); border:1px solid #aec7dd; @include box-shadow(1px 1px 3px rgba(0, 0, 0, 0.2), #ffffff 1px 1px 0 inset); background:#f7fafd; }
|
27
|
-
}
|
@@ -1,78 +0,0 @@
|
|
1
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
-
// FRAMEWORK: CORE VARIABLES & SASS RESET
|
3
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
4
|
-
//@import "compass/reset";
|
5
|
-
@import "common/variables";
|
6
|
-
|
7
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
8
|
-
// FRAMEWORK: SASS LIBRARY
|
9
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
10
|
-
@import "compass/css3";
|
11
|
-
@import "compass/layout/sticky-footer";
|
12
|
-
@import "compass/utilities";
|
13
|
-
|
14
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
15
|
-
// FRAMEWORK: COMMON FILES
|
16
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
17
|
-
@import "common/mixins";
|
18
|
-
@import "common/variables";
|
19
|
-
|
20
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
21
|
-
// COMMON TAGS
|
22
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
23
|
-
|
24
|
-
h1, .h1 { font-size: 30px; font-weight:bold; margin:10px 0; line-height:1em; }
|
25
|
-
h2, .h2 { font-size: 20px; font-weight:bold; margin:8px 0; line-height:1em; }
|
26
|
-
h3, .h3 { font-size: 17px; font-weight:bold; margin:6px 0; line-height:1em; }
|
27
|
-
h4, .h4 { font-size: 14px; font-weight:bold; margin:4px 0; line-height:1em; }
|
28
|
-
h5, .h5 { font-size: $font-size-large; font-weight: bold; margin:2px 0; line-height:1em; }
|
29
|
-
h6, .h6 { font-size: $font-size-normal; font-weight: bold; margin:2px 0; line-height:1em; }
|
30
|
-
h7, .h7 { font-size: $font-size-small; font-weight: bold; margin:2px 0; line-height:1em; }
|
31
|
-
|
32
|
-
p, .p { line-height:$line-height; margin-bottom:10px; }
|
33
|
-
a { text-decoration:none; color:$link-color;
|
34
|
-
&:hover { text-decoration:underline; }
|
35
|
-
}
|
36
|
-
strong, .strong { font-weight:bold; }
|
37
|
-
emphasis, .emphasis { font-style:italic; }
|
38
|
-
|
39
|
-
ul { list-style-type: square; list-style-position:outside; padding:0; margin-left:0; line-height:$line-height;
|
40
|
-
li { margin-top:5px; margin-left:1em; }
|
41
|
-
}
|
42
|
-
|
43
|
-
ol { list-style-type:decimal; list-style-position:outside; padding:0; margin-left:0; line-height:$line-height;
|
44
|
-
li { margin-top:5px; margin-left:1.5em; }
|
45
|
-
}
|
46
|
-
|
47
|
-
pre { font-family:"Courier New", Courier, monospace, sans-serif; color: #555; line-height: 1.6em; }
|
48
|
-
|
49
|
-
.hide { display:none !important; }
|
50
|
-
|
51
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
52
|
-
// FRAMEWORK: MODULE ACTIVATION
|
53
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
54
|
-
html { height:100%; }
|
55
|
-
body { height: 100%; background-color:#292a2e; @include ff-gradient(#26262a,#2b2d31); text-align:center; margin:0; font-family:$font-family; font-size:$font-size-normal; line-height:$line-height;
|
56
|
-
$content-width:content-width('engage');
|
57
|
-
@include sticky-footer(40px, ".lyt-root", ".lyt-root-footer", ".lyt-footer");
|
58
|
-
|
59
|
-
.lyt-root { @include ff-gradient(#26262a,#2b2d31); }
|
60
|
-
.lyt-header { min-height:80px;
|
61
|
-
.hello { background: #2d2d31; height:40px; line-height: 44px; text-align: right; border-bottom:1px solid #000000; @include box-shadow(#343438 0 1px 0);
|
62
|
-
.hello-wrapper { max-width: 960px; margin:0 auto; }
|
63
|
-
.greeting { color: #858789; font-style: italic; padding-right:10px; font-weight: 100; }
|
64
|
-
a { font-weight: bold; color: #aeb2b4; }
|
65
|
-
}
|
66
|
-
.logo { border-bottom:1px solid #000000; @include box-shadow(#343438 0 1px 0); background-position: center center; background-repeat:no-repeat;
|
67
|
-
img { margin-top:18px; }
|
68
|
-
}
|
69
|
-
}
|
70
|
-
.lyt-footer { color:#565d65; font-size:10px; line-height:40px; border-top:1px solid #343438; @include box-shadow(#000000 0 -1px 0);
|
71
|
-
a { color:#565d65;
|
72
|
-
&:hover { color:#747d88; }
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
// layout-specific components
|
77
|
-
.ff-widget { display:inline-block; @include box-shadow(#000000 2px 2px 2px); border:10px solid #ffffff; @include border-radius(3px); margin:50px 0 50px; }
|
78
|
-
}
|
@@ -1,24 +0,0 @@
|
|
1
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
-
// COMPASS AND BOOTSTRAP
|
3
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
4
|
-
@import 'compass/css3';
|
5
|
-
@import 'compass/utilities';
|
6
|
-
@import 'vendors/bootstrap/css/bootstrap.min.css';
|
7
|
-
|
8
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
9
|
-
// COMMON
|
10
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
11
|
-
@import 'common/mixins';
|
12
|
-
@import 'common/variables';
|
13
|
-
@import 'common/bootstrap-overrides';
|
14
|
-
|
15
|
-
@import 'common/module-page-loading';
|
16
|
-
|
17
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
18
|
-
// BASE STYLES (AS FEW AS POSSIBLE)
|
19
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
20
|
-
|
21
|
-
body { overflow:hidden; background: #F4F8FC;
|
22
|
-
.hide { display:none !important; }
|
23
|
-
.dropdown-menu { @include border-radius(4px); border:1px solid #aec7dd; @include box-shadow(1px 1px 3px rgba(0, 0, 0, 0.2), #ffffff 1px 1px 0 inset); background:#f7fafd; }
|
24
|
-
}
|
@@ -1,27 +0,0 @@
|
|
1
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
2
|
-
// COMPASS AND BOOTSTRAP
|
3
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
4
|
-
@import 'compass/css3';
|
5
|
-
@import 'compass/utilities';
|
6
|
-
@import 'vendors/bootstrap/css/bootstrap.min.css';
|
7
|
-
|
8
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
9
|
-
// COMMON
|
10
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
11
|
-
@import 'common/mixins';
|
12
|
-
@import 'common/variables';
|
13
|
-
@import 'common/bootstrap-overrides';
|
14
|
-
|
15
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////
|
16
|
-
|
17
|
-
body { background:#f6f8fa url(/assets/promotional/fanforce_bg.png) fixed; text-align: center; text-shadow: #ffffff 1px 1px 0; }
|
18
|
-
.header-icons { padding: 85px 0 25px;
|
19
|
-
img { margin: 0 5px; }
|
20
|
-
}
|
21
|
-
|
22
|
-
.about-box { @include box-shadow(0 1px 0 #ffffff inset, 0 1px 0 #ffffff); margin:125px auto 50px; border-top: 1px solid #b8c6d3; border-bottom: 1px solid #b8c6d3; width: 80%; padding: 35px 0 35px 45px; overflow: hidden;
|
23
|
-
.about { width: 50%; @include box-sizing(border-box); padding-right:35px; min-width:300px; text-align: left; float:left; line-height:1.5em;
|
24
|
-
.fanforce {}
|
25
|
-
.developer {}
|
26
|
-
}
|
27
|
-
}
|