stylish 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +7 -10
- data/ARCHITECTURE.md +96 -0
- data/Gemfile +8 -0
- data/README.md +25 -29
- data/Rakefile +24 -0
- data/bin/stylish +33 -0
- data/lib/stylish.rb +36 -1
- data/lib/stylish/configuration.rb +37 -0
- data/lib/stylish/core_ext.rb +20 -0
- data/lib/stylish/developer.rb +13 -0
- data/lib/stylish/developer/config.rb +19 -0
- data/lib/stylish/developer/environment.rb +75 -0
- data/lib/stylish/developer/listing.rb +85 -0
- data/lib/stylish/developer/model_delegator.rb +51 -0
- data/lib/stylish/developer/modification.rb +139 -0
- data/lib/stylish/developer/path.rb +168 -0
- data/lib/stylish/developer/route.rb +97 -0
- data/lib/stylish/developer/server.rb +40 -0
- data/lib/stylish/engine.rb +12 -0
- data/lib/stylish/fs.rb +59 -0
- data/lib/stylish/manifest.rb +100 -0
- data/lib/stylish/models.rb +119 -0
- data/lib/stylish/models/component.rb +19 -0
- data/lib/stylish/models/layout.rb +19 -0
- data/lib/stylish/models/library.rb +134 -0
- data/lib/stylish/models/package.rb +156 -0
- data/lib/stylish/models/script.rb +10 -0
- data/lib/stylish/models/stylesheet.rb +9 -0
- data/lib/stylish/models/template.rb +9 -0
- data/lib/stylish/models/theme.rb +8 -0
- data/lib/stylish/util.rb +20 -0
- data/lib/stylish/version.rb +1 -1
- data/library/config.json +4 -0
- data/library/second-theme/manifest.json +8 -0
- data/library/second-theme/manifest.yml +6 -0
- data/library/second-theme/templates/footers/footer-01.html +3 -0
- data/library/second-theme/templates/footers/footer-02.html +3 -0
- data/library/second-theme/templates/headers/header-01.html +3 -0
- data/library/second-theme/templates/headers/header-02.html +3 -0
- data/library/second-theme/templates/landing-page-blocks/landing-page-block-01.html +3 -0
- data/library/second-theme/templates/landing-page-blocks/landing-page-block-02.html +3 -0
- data/library/test-theme/components/footers/footer-01.json +5 -0
- data/library/test-theme/components/footers/footer-02.json +5 -0
- data/library/test-theme/components/headers/header-01.json +5 -0
- data/library/test-theme/components/headers/header-02.json +5 -0
- data/library/test-theme/components/landing-page-blocks/landing-page-01.json +5 -0
- data/library/test-theme/components/landing-page-blocks/landing-page-02.json +5 -0
- data/library/test-theme/manifest.json +8 -0
- data/library/test-theme/manifest.yml +6 -0
- data/library/test-theme/pages/page-01.json +11 -0
- data/library/test-theme/templates/footers/footer-01.html +3 -0
- data/library/test-theme/templates/footers/footer-02.html +3 -0
- data/library/test-theme/templates/headers/header-01.html +3 -0
- data/library/test-theme/templates/headers/header-02.html +3 -0
- data/library/test-theme/templates/landing-page-blocks/landing-page-block-01.html +3 -0
- data/library/test-theme/templates/landing-page-blocks/landing-page-block-02.html +3 -0
- data/library/test-theme/templates/layouts/standard-layout.html +10 -0
- data/spec/acceptance/listing_assets_spec.rb +20 -0
- data/spec/acceptance/model_browsing_spec.rb +21 -0
- data/spec/acceptance/model_creation_spec.rb +16 -0
- data/spec/acceptance/model_deleting_spec.rb +10 -0
- data/spec/acceptance/model_updating_spec.rb +12 -0
- data/spec/acceptance/modifying_assets_spec.rb +50 -0
- data/spec/acceptance/server_info_spec.rb +10 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/javascripts/test.coffee +4 -0
- data/spec/dummy/app/assets/stylesheets/application.css +15 -0
- data/spec/dummy/app/assets/stylesheets/test.css.scss +6 -0
- data/spec/dummy/app/assets/stylesheets/writable/existing.scss.css +0 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +30 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +82 -0
- data/spec/dummy/config/environments/test.rb +39 -0
- data/spec/dummy/config/initializers/assets.rb +8 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/db/migrate/20140822065900_create_books.rb +11 -0
- data/spec/dummy/db/migrate/20140822065916_create_authors.rb +9 -0
- data/spec/dummy/db/migrate/20140824215902_create_users.rb +10 -0
- data/spec/dummy/db/migrate/20140826193259_create_libraries.rb +10 -0
- data/spec/dummy/db/schema.rb +37 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/log/.keep +0 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/fixtures/config.json +3 -0
- data/spec/fixtures/test-theme/components/footers/footer-01.json +5 -0
- data/spec/fixtures/test-theme/components/footers/footer-02.json +5 -0
- data/spec/fixtures/test-theme/components/headers/header-01.json +5 -0
- data/spec/fixtures/test-theme/components/headers/header-02.json +5 -0
- data/spec/fixtures/test-theme/components/landing-page-blocks/landing-page-01.json +5 -0
- data/spec/fixtures/test-theme/components/landing-page-blocks/landing-page-02.json +5 -0
- data/spec/fixtures/test-theme/manifest.json +8 -0
- data/spec/fixtures/test-theme/manifest.yml +6 -0
- data/spec/fixtures/test-theme/pages/page-01.json +11 -0
- data/spec/fixtures/test-theme/templates/footers/footer-01.html +3 -0
- data/spec/fixtures/test-theme/templates/footers/footer-02.html +3 -0
- data/spec/fixtures/test-theme/templates/headers/header-01.html +3 -0
- data/spec/fixtures/test-theme/templates/headers/header-02.html +3 -0
- data/spec/fixtures/test-theme/templates/landing-page-blocks/landing-page-block-01.html +3 -0
- data/spec/fixtures/test-theme/templates/landing-page-blocks/landing-page-block-02.html +3 -0
- data/spec/fixtures/test-theme/templates/layouts/standard-01.html +9 -0
- data/spec/lib/stylish/configuration_spec.rb +8 -0
- data/spec/lib/stylish/developer/path_spec.rb +36 -0
- data/spec/lib/stylish/developer/route_spec.rb +5 -0
- data/spec/lib/stylish/manifest_spec.rb +48 -0
- data/spec/lib/stylish/models/library_spec.rb +38 -0
- data/spec/lib/stylish/models/package_spec.rb +35 -0
- data/spec/lib/stylish/models_spec.rb +12 -0
- data/spec/spec_helper.rb +38 -0
- data/spec/support/json_helper.rb +7 -0
- data/spec/test.css.scss +6 -0
- data/stylish.gemspec +17 -2
- data/support/editor-app/.gitignore +2 -0
- data/support/editor-app/development/bower.json +9 -0
- data/support/editor-app/development/package.json +28 -0
- data/support/editor-app/development/semantic/components/accordion.css +257 -0
- data/support/editor-app/development/semantic/components/accordion.js +558 -0
- data/support/editor-app/development/semantic/components/accordion.min.css +11 -0
- data/support/editor-app/development/semantic/components/accordion.min.js +11 -0
- data/support/editor-app/development/semantic/components/ad.css +277 -0
- data/support/editor-app/development/semantic/components/ad.min.css +11 -0
- data/support/editor-app/development/semantic/components/api.js +851 -0
- data/support/editor-app/development/semantic/components/api.min.js +11 -0
- data/support/editor-app/development/semantic/components/breadcrumb.css +125 -0
- data/support/editor-app/development/semantic/components/breadcrumb.min.css +11 -0
- data/support/editor-app/development/semantic/components/button.css +2391 -0
- data/support/editor-app/development/semantic/components/button.min.css +11 -0
- data/support/editor-app/development/semantic/components/card.css +758 -0
- data/support/editor-app/development/semantic/components/card.min.css +11 -0
- data/support/editor-app/development/semantic/components/checkbox.css +514 -0
- data/support/editor-app/development/semantic/components/checkbox.js +507 -0
- data/support/editor-app/development/semantic/components/checkbox.min.css +11 -0
- data/support/editor-app/development/semantic/components/checkbox.min.js +11 -0
- data/support/editor-app/development/semantic/components/comment.css +260 -0
- data/support/editor-app/development/semantic/components/comment.min.css +11 -0
- data/support/editor-app/development/semantic/components/dimmer.css +187 -0
- data/support/editor-app/development/semantic/components/dimmer.js +627 -0
- data/support/editor-app/development/semantic/components/dimmer.min.css +11 -0
- data/support/editor-app/development/semantic/components/dimmer.min.js +11 -0
- data/support/editor-app/development/semantic/components/divider.css +244 -0
- data/support/editor-app/development/semantic/components/divider.min.css +11 -0
- data/support/editor-app/development/semantic/components/dropdown.css +1085 -0
- data/support/editor-app/development/semantic/components/dropdown.js +1757 -0
- data/support/editor-app/development/semantic/components/dropdown.min.css +11 -0
- data/support/editor-app/development/semantic/components/dropdown.min.js +11 -0
- data/support/editor-app/development/semantic/components/feed.css +277 -0
- data/support/editor-app/development/semantic/components/feed.min.css +11 -0
- data/support/editor-app/development/semantic/components/flag.css +1017 -0
- data/support/editor-app/development/semantic/components/flag.min.css +11 -0
- data/support/editor-app/development/semantic/components/form.css +875 -0
- data/support/editor-app/development/semantic/components/form.js +1039 -0
- data/support/editor-app/development/semantic/components/form.min.css +11 -0
- data/support/editor-app/development/semantic/components/form.min.js +11 -0
- data/support/editor-app/development/semantic/components/grid.css +1816 -0
- data/support/editor-app/development/semantic/components/grid.min.css +11 -0
- data/support/editor-app/development/semantic/components/header.css +572 -0
- data/support/editor-app/development/semantic/components/header.min.css +11 -0
- data/support/editor-app/development/semantic/components/icon.css +2127 -0
- data/support/editor-app/development/semantic/components/icon.min.css +11 -0
- data/support/editor-app/development/semantic/components/image.css +275 -0
- data/support/editor-app/development/semantic/components/image.min.css +11 -0
- data/support/editor-app/development/semantic/components/input.css +455 -0
- data/support/editor-app/development/semantic/components/input.min.css +11 -0
- data/support/editor-app/development/semantic/components/item.css +458 -0
- data/support/editor-app/development/semantic/components/item.min.css +11 -0
- data/support/editor-app/development/semantic/components/label.css +930 -0
- data/support/editor-app/development/semantic/components/label.min.css +11 -0
- data/support/editor-app/development/semantic/components/list.css +879 -0
- data/support/editor-app/development/semantic/components/list.min.css +11 -0
- data/support/editor-app/development/semantic/components/loader.css +279 -0
- data/support/editor-app/development/semantic/components/loader.min.css +11 -0
- data/support/editor-app/development/semantic/components/menu.css +1596 -0
- data/support/editor-app/development/semantic/components/menu.min.css +11 -0
- data/support/editor-app/development/semantic/components/message.css +422 -0
- data/support/editor-app/development/semantic/components/message.min.css +11 -0
- data/support/editor-app/development/semantic/components/modal.css +431 -0
- data/support/editor-app/development/semantic/components/modal.js +860 -0
- data/support/editor-app/development/semantic/components/modal.min.css +11 -0
- data/support/editor-app/development/semantic/components/modal.min.js +11 -0
- data/support/editor-app/development/semantic/components/nag.css +149 -0
- data/support/editor-app/development/semantic/components/nag.js +477 -0
- data/support/editor-app/development/semantic/components/nag.min.css +11 -0
- data/support/editor-app/development/semantic/components/nag.min.js +11 -0
- data/support/editor-app/development/semantic/components/popup.css +294 -0
- data/support/editor-app/development/semantic/components/popup.js +1187 -0
- data/support/editor-app/development/semantic/components/popup.min.css +11 -0
- data/support/editor-app/development/semantic/components/popup.min.js +11 -0
- data/support/editor-app/development/semantic/components/progress.css +449 -0
- data/support/editor-app/development/semantic/components/progress.js +785 -0
- data/support/editor-app/development/semantic/components/progress.min.css +11 -0
- data/support/editor-app/development/semantic/components/progress.min.js +11 -0
- data/support/editor-app/development/semantic/components/rail.css +125 -0
- data/support/editor-app/development/semantic/components/rail.min.css +11 -0
- data/support/editor-app/development/semantic/components/rating.css +262 -0
- data/support/editor-app/development/semantic/components/rating.js +451 -0
- data/support/editor-app/development/semantic/components/rating.min.css +11 -0
- data/support/editor-app/development/semantic/components/rating.min.js +11 -0
- data/support/editor-app/development/semantic/components/reset.css +430 -0
- data/support/editor-app/development/semantic/components/reset.min.css +11 -0
- data/support/editor-app/development/semantic/components/reveal.css +294 -0
- data/support/editor-app/development/semantic/components/reveal.min.css +11 -0
- data/support/editor-app/development/semantic/components/search.css +330 -0
- data/support/editor-app/development/semantic/components/search.js +1055 -0
- data/support/editor-app/development/semantic/components/search.min.css +11 -0
- data/support/editor-app/development/semantic/components/search.min.js +11 -0
- data/support/editor-app/development/semantic/components/segment.css +590 -0
- data/support/editor-app/development/semantic/components/segment.min.css +11 -0
- data/support/editor-app/development/semantic/components/shape.css +155 -0
- data/support/editor-app/development/semantic/components/shape.js +830 -0
- data/support/editor-app/development/semantic/components/shape.min.css +11 -0
- data/support/editor-app/development/semantic/components/shape.min.js +11 -0
- data/support/editor-app/development/semantic/components/sidebar.css +621 -0
- data/support/editor-app/development/semantic/components/sidebar.js +1084 -0
- data/support/editor-app/development/semantic/components/sidebar.min.css +11 -0
- data/support/editor-app/development/semantic/components/sidebar.min.js +11 -0
- data/support/editor-app/development/semantic/components/site.css +147 -0
- data/support/editor-app/development/semantic/components/site.js +487 -0
- data/support/editor-app/development/semantic/components/site.min.css +11 -0
- data/support/editor-app/development/semantic/components/site.min.js +11 -0
- data/support/editor-app/development/semantic/components/state.js +690 -0
- data/support/editor-app/development/semantic/components/state.min.js +11 -0
- data/support/editor-app/development/semantic/components/statistic.css +410 -0
- data/support/editor-app/development/semantic/components/statistic.min.css +11 -0
- data/support/editor-app/development/semantic/components/step.css +433 -0
- data/support/editor-app/development/semantic/components/step.min.css +11 -0
- data/support/editor-app/development/semantic/components/sticky.css +80 -0
- data/support/editor-app/development/semantic/components/sticky.js +775 -0
- data/support/editor-app/development/semantic/components/sticky.min.css +11 -0
- data/support/editor-app/development/semantic/components/sticky.min.js +11 -0
- data/support/editor-app/development/semantic/components/tab.css +93 -0
- data/support/editor-app/development/semantic/components/tab.js +787 -0
- data/support/editor-app/development/semantic/components/tab.min.css +11 -0
- data/support/editor-app/development/semantic/components/tab.min.js +11 -0
- data/support/editor-app/development/semantic/components/table.css +999 -0
- data/support/editor-app/development/semantic/components/table.min.css +11 -0
- data/support/editor-app/development/semantic/components/transition.css +2152 -0
- data/support/editor-app/development/semantic/components/transition.js +936 -0
- data/support/editor-app/development/semantic/components/transition.min.css +11 -0
- data/support/editor-app/development/semantic/components/transition.min.js +11 -0
- data/support/editor-app/development/semantic/components/video.css +126 -0
- data/support/editor-app/development/semantic/components/video.js +540 -0
- data/support/editor-app/development/semantic/components/video.min.css +11 -0
- data/support/editor-app/development/semantic/components/video.min.js +11 -0
- data/support/editor-app/development/semantic/components/visibility.js +970 -0
- data/support/editor-app/development/semantic/components/visibility.min.js +11 -0
- data/support/editor-app/development/semantic/semantic.css +31768 -0
- data/support/editor-app/development/semantic/semantic.js +18317 -0
- data/support/editor-app/development/semantic/semantic.min.css +11 -0
- data/support/editor-app/development/semantic/semantic.min.js +17 -0
- data/support/editor-app/development/semantic/themes/basic/assets/fonts/icons.eot +0 -0
- data/support/editor-app/development/semantic/themes/basic/assets/fonts/icons.svg +450 -0
- data/support/editor-app/development/semantic/themes/basic/assets/fonts/icons.ttf +0 -0
- data/support/editor-app/development/semantic/themes/basic/assets/fonts/icons.woff +0 -0
- data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.eot +0 -0
- data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.otf +0 -0
- data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.svg +504 -0
- data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.ttf +0 -0
- data/support/editor-app/development/semantic/themes/default/assets/fonts/icons.woff +0 -0
- data/support/editor-app/development/semantic/themes/default/assets/images/flags.png +0 -0
- data/support/editor-app/development/src/apis/index.coffee +35 -0
- data/support/editor-app/development/src/components/editor.cjsx +58 -0
- data/support/editor-app/development/src/components/editor_drawer.cjsx +7 -0
- data/support/editor-app/development/src/components/header.cjsx +12 -0
- data/support/editor-app/development/src/components/index.coffee +9 -0
- data/support/editor-app/development/src/components/menus/icon_grid.cjsx +0 -0
- data/support/editor-app/development/src/components/sidebar.cjsx +24 -0
- data/support/editor-app/development/src/components/tiled_grid.cjsx +35 -0
- data/support/editor-app/development/src/index.cjsx +82 -0
- data/support/editor-app/development/src/lib/util.coffee +48 -0
- data/support/editor-app/development/src/pages/home.cjsx +46 -0
- data/support/editor-app/development/src/pages/index.coffee +6 -0
- data/support/editor-app/development/src/pages/package_details.cjsx +55 -0
- data/support/editor-app/development/src/registry.coffee +35 -0
- data/support/editor-app/development/src/styles/components/tiled_grid.css.scss +5 -0
- data/support/editor-app/development/src/styles/index.css.scss +240 -0
- data/support/editor-app/development/src/sugar.cjsx +126 -0
- data/support/editor-app/development/webpack.config.js +53 -0
- data/support/editor-app/dist/base.css +0 -0
- data/support/editor-app/dist/toolit.js +62 -0
- data/support/editor-app/dist/toolkit.js +44573 -0
- data/support/editor-app/index.html +50 -0
- data/support/editor-app/package.json +15 -0
- data/support/editor-app/semantic/components/accordion.css +257 -0
- data/support/editor-app/semantic/components/accordion.js +558 -0
- data/support/editor-app/semantic/components/accordion.min.css +11 -0
- data/support/editor-app/semantic/components/accordion.min.js +11 -0
- data/support/editor-app/semantic/components/ad.css +277 -0
- data/support/editor-app/semantic/components/ad.min.css +11 -0
- data/support/editor-app/semantic/components/api.js +851 -0
- data/support/editor-app/semantic/components/api.min.js +11 -0
- data/support/editor-app/semantic/components/breadcrumb.css +125 -0
- data/support/editor-app/semantic/components/breadcrumb.min.css +11 -0
- data/support/editor-app/semantic/components/button.css +2391 -0
- data/support/editor-app/semantic/components/button.min.css +11 -0
- data/support/editor-app/semantic/components/card.css +758 -0
- data/support/editor-app/semantic/components/card.min.css +11 -0
- data/support/editor-app/semantic/components/checkbox.css +514 -0
- data/support/editor-app/semantic/components/checkbox.js +507 -0
- data/support/editor-app/semantic/components/checkbox.min.css +11 -0
- data/support/editor-app/semantic/components/checkbox.min.js +11 -0
- data/support/editor-app/semantic/components/comment.css +260 -0
- data/support/editor-app/semantic/components/comment.min.css +11 -0
- data/support/editor-app/semantic/components/dimmer.css +187 -0
- data/support/editor-app/semantic/components/dimmer.js +627 -0
- data/support/editor-app/semantic/components/dimmer.min.css +11 -0
- data/support/editor-app/semantic/components/dimmer.min.js +11 -0
- data/support/editor-app/semantic/components/divider.css +244 -0
- data/support/editor-app/semantic/components/divider.min.css +11 -0
- data/support/editor-app/semantic/components/dropdown.css +1085 -0
- data/support/editor-app/semantic/components/dropdown.js +1757 -0
- data/support/editor-app/semantic/components/dropdown.min.css +11 -0
- data/support/editor-app/semantic/components/dropdown.min.js +11 -0
- data/support/editor-app/semantic/components/feed.css +277 -0
- data/support/editor-app/semantic/components/feed.min.css +11 -0
- data/support/editor-app/semantic/components/flag.css +1017 -0
- data/support/editor-app/semantic/components/flag.min.css +11 -0
- data/support/editor-app/semantic/components/form.css +875 -0
- data/support/editor-app/semantic/components/form.js +1039 -0
- data/support/editor-app/semantic/components/form.min.css +11 -0
- data/support/editor-app/semantic/components/form.min.js +11 -0
- data/support/editor-app/semantic/components/grid.css +1816 -0
- data/support/editor-app/semantic/components/grid.min.css +11 -0
- data/support/editor-app/semantic/components/header.css +572 -0
- data/support/editor-app/semantic/components/header.min.css +11 -0
- data/support/editor-app/semantic/components/icon.css +2127 -0
- data/support/editor-app/semantic/components/icon.min.css +11 -0
- data/support/editor-app/semantic/components/image.css +275 -0
- data/support/editor-app/semantic/components/image.min.css +11 -0
- data/support/editor-app/semantic/components/input.css +455 -0
- data/support/editor-app/semantic/components/input.min.css +11 -0
- data/support/editor-app/semantic/components/item.css +458 -0
- data/support/editor-app/semantic/components/item.min.css +11 -0
- data/support/editor-app/semantic/components/label.css +930 -0
- data/support/editor-app/semantic/components/label.min.css +11 -0
- data/support/editor-app/semantic/components/list.css +879 -0
- data/support/editor-app/semantic/components/list.min.css +11 -0
- data/support/editor-app/semantic/components/loader.css +279 -0
- data/support/editor-app/semantic/components/loader.min.css +11 -0
- data/support/editor-app/semantic/components/menu.css +1596 -0
- data/support/editor-app/semantic/components/menu.min.css +11 -0
- data/support/editor-app/semantic/components/message.css +422 -0
- data/support/editor-app/semantic/components/message.min.css +11 -0
- data/support/editor-app/semantic/components/modal.css +431 -0
- data/support/editor-app/semantic/components/modal.js +860 -0
- data/support/editor-app/semantic/components/modal.min.css +11 -0
- data/support/editor-app/semantic/components/modal.min.js +11 -0
- data/support/editor-app/semantic/components/nag.css +149 -0
- data/support/editor-app/semantic/components/nag.js +477 -0
- data/support/editor-app/semantic/components/nag.min.css +11 -0
- data/support/editor-app/semantic/components/nag.min.js +11 -0
- data/support/editor-app/semantic/components/popup.css +294 -0
- data/support/editor-app/semantic/components/popup.js +1187 -0
- data/support/editor-app/semantic/components/popup.min.css +11 -0
- data/support/editor-app/semantic/components/popup.min.js +11 -0
- data/support/editor-app/semantic/components/progress.css +449 -0
- data/support/editor-app/semantic/components/progress.js +785 -0
- data/support/editor-app/semantic/components/progress.min.css +11 -0
- data/support/editor-app/semantic/components/progress.min.js +11 -0
- data/support/editor-app/semantic/components/rail.css +125 -0
- data/support/editor-app/semantic/components/rail.min.css +11 -0
- data/support/editor-app/semantic/components/rating.css +262 -0
- data/support/editor-app/semantic/components/rating.js +451 -0
- data/support/editor-app/semantic/components/rating.min.css +11 -0
- data/support/editor-app/semantic/components/rating.min.js +11 -0
- data/support/editor-app/semantic/components/reset.css +430 -0
- data/support/editor-app/semantic/components/reset.min.css +11 -0
- data/support/editor-app/semantic/components/reveal.css +294 -0
- data/support/editor-app/semantic/components/reveal.min.css +11 -0
- data/support/editor-app/semantic/components/search.css +330 -0
- data/support/editor-app/semantic/components/search.js +1055 -0
- data/support/editor-app/semantic/components/search.min.css +11 -0
- data/support/editor-app/semantic/components/search.min.js +11 -0
- data/support/editor-app/semantic/components/segment.css +590 -0
- data/support/editor-app/semantic/components/segment.min.css +11 -0
- data/support/editor-app/semantic/components/shape.css +155 -0
- data/support/editor-app/semantic/components/shape.js +830 -0
- data/support/editor-app/semantic/components/shape.min.css +11 -0
- data/support/editor-app/semantic/components/shape.min.js +11 -0
- data/support/editor-app/semantic/components/sidebar.css +621 -0
- data/support/editor-app/semantic/components/sidebar.js +1084 -0
- data/support/editor-app/semantic/components/sidebar.min.css +11 -0
- data/support/editor-app/semantic/components/sidebar.min.js +11 -0
- data/support/editor-app/semantic/components/site.css +147 -0
- data/support/editor-app/semantic/components/site.js +487 -0
- data/support/editor-app/semantic/components/site.min.css +11 -0
- data/support/editor-app/semantic/components/site.min.js +11 -0
- data/support/editor-app/semantic/components/state.js +690 -0
- data/support/editor-app/semantic/components/state.min.js +11 -0
- data/support/editor-app/semantic/components/statistic.css +410 -0
- data/support/editor-app/semantic/components/statistic.min.css +11 -0
- data/support/editor-app/semantic/components/step.css +433 -0
- data/support/editor-app/semantic/components/step.min.css +11 -0
- data/support/editor-app/semantic/components/sticky.css +80 -0
- data/support/editor-app/semantic/components/sticky.js +775 -0
- data/support/editor-app/semantic/components/sticky.min.css +11 -0
- data/support/editor-app/semantic/components/sticky.min.js +11 -0
- data/support/editor-app/semantic/components/tab.css +93 -0
- data/support/editor-app/semantic/components/tab.js +787 -0
- data/support/editor-app/semantic/components/tab.min.css +11 -0
- data/support/editor-app/semantic/components/tab.min.js +11 -0
- data/support/editor-app/semantic/components/table.css +999 -0
- data/support/editor-app/semantic/components/table.min.css +11 -0
- data/support/editor-app/semantic/components/transition.css +2152 -0
- data/support/editor-app/semantic/components/transition.js +936 -0
- data/support/editor-app/semantic/components/transition.min.css +11 -0
- data/support/editor-app/semantic/components/transition.min.js +11 -0
- data/support/editor-app/semantic/components/video.css +126 -0
- data/support/editor-app/semantic/components/video.js +540 -0
- data/support/editor-app/semantic/components/video.min.css +11 -0
- data/support/editor-app/semantic/components/video.min.js +11 -0
- data/support/editor-app/semantic/components/visibility.js +970 -0
- data/support/editor-app/semantic/components/visibility.min.js +11 -0
- data/support/editor-app/semantic/semantic.css +31768 -0
- data/support/editor-app/semantic/semantic.js +18317 -0
- data/support/editor-app/semantic/semantic.min.css +11 -0
- data/support/editor-app/semantic/semantic.min.js +17 -0
- data/support/editor-app/semantic/themes/basic/assets/fonts/icons.eot +0 -0
- data/support/editor-app/semantic/themes/basic/assets/fonts/icons.svg +450 -0
- data/support/editor-app/semantic/themes/basic/assets/fonts/icons.ttf +0 -0
- data/support/editor-app/semantic/themes/basic/assets/fonts/icons.woff +0 -0
- data/support/editor-app/semantic/themes/default/assets/fonts/icons.eot +0 -0
- data/support/editor-app/semantic/themes/default/assets/fonts/icons.otf +0 -0
- data/support/editor-app/semantic/themes/default/assets/fonts/icons.svg +504 -0
- data/support/editor-app/semantic/themes/default/assets/fonts/icons.ttf +0 -0
- data/support/editor-app/semantic/themes/default/assets/fonts/icons.woff +0 -0
- data/support/editor-app/semantic/themes/default/assets/images/flags.png +0 -0
- data/support/editor-app/vendor/jquery.js +8829 -0
- data/support/library-server/Gemfile +0 -0
- data/support/library-server/config.ru +4 -0
- metadata +740 -7
@@ -0,0 +1,11 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic UI - 1.8.1
|
3
|
+
* https://github.com/Semantic-Org/Semantic-UI
|
4
|
+
* http://www.semantic-ui.com/
|
5
|
+
*
|
6
|
+
* Copyright 2014 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
.ui.modal{display:none;position:fixed;z-index:1001;top:50%;left:50%;text-align:left;width:90%;margin-left:-45%;background:#fff;border:none;box-shadow:0 1px 4px 1px rgba(0,0,0,.3);border-radius:.2857rem;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text;will-change:top,left,margin,transform,opacity}.ui.modal>.icon:first-child+*,.ui.modal>:first-child:not(.icon){border-top-left-radius:.2857rem;border-top-right-radius:.2857rem}.ui.modal>:last-child{border-bottom-left-radius:.2857rem;border-bottom-right-radius:.2857rem}.ui.modal>.close{cursor:pointer;position:absolute;top:-2.5rem;right:-2.5rem;z-index:1;opacity:.8;font-size:1.25em;color:#fff;width:2.25rem;height:2.25rem;padding:.625rem 0 0}.ui.modal>.close:hover{opacity:1}.ui.modal>.header{display:block;font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;background:-webkit-linear-gradient(transparent,rgba(0,0,0,.05)) #fff;background:linear-gradient(transparent,rgba(0,0,0,.05)) #fff;margin:0;padding:1.2rem 2rem;box-shadow:0 1px 2px 0 rgba(0,0,0,.05);font-size:1.6em;line-height:1.3em;font-weight:700;color:rgba(0,0,0,.85);border-bottom:1px solid rgba(39,41,43,.15)}.ui.modal>.content{display:table;table-layout:fixed;width:100%;font-size:1em;line-height:1.4;padding:2rem;background:#fff}.ui.modal>.content>.image{display:table-cell;width:'';vertical-align:top}.ui.modal>.content>.image[class*="top aligned"]{vertical-align:middle}.ui.modal>.content>.description{display:table-cell;vertical-align:top}.ui.modal>.content>.icon+.description,.ui.modal>.content>.image+.description{min-width:'';width:80%;padding-left:2em}.ui.modal>.content>.image>i.icon{font-size:8rem;margin:0;opacity:1;width:auto}.ui.modal .actions{background:#efefef;padding:1rem 2rem;border-top:1px solid rgba(39,41,43,.15);text-align:right}.ui.modal .actions>.button{margin-left:.75em}@media only screen and (max-width:767px){.ui.modal{width:95%;margin:0 0 0 -47.5%}}@media only screen and (min-width:768px){.ui.modal{width:88%;margin:0 0 0 -44%}}@media only screen and (min-width:992px){.ui.modal{width:74%;margin:0 0 0 -37%}}@media only screen and (min-width:1400px){.ui.modal{width:56%;margin:0 0 0 -28%}}@media only screen and (min-width:1920px){.ui.modal{width:42%;margin:0 0 0 -21%}}@media only screen and (max-width:992px){.ui.modal>.header{padding-right:2.25rem}.ui.modal>.close{top:.905rem;right:1rem;color:rgba(0,0,0,.8)}}@media only screen and (max-width:767px){.ui.modal>.header{padding:.75rem 2.25rem .75rem 1rem!important}.ui.modal>.content{display:block;padding:1rem!important}.ui.modal>.close{top:.5rem!important;right:.5rem!important}.ui.modal .content>.image{display:block;max-width:100%;margin:0 auto!important;text-align:center;padding:0 0 1rem!important}.ui.modal>.content>.image>i.icon{font-size:5rem;text-align:center}.ui.modal .content>.description{display:block;width:100%!important;margin:0!important;padding:1rem 0!important;box-shadow:none}.ui.modal>.actions{padding:1rem 1rem -1rem!important}.ui.modal .actions>.button,.ui.modal .actions>.buttons{margin-bottom:2rem}}.ui.basic.modal{background-color:transparent;border:none;border-radius:0;box-shadow:0 0;color:#fff}.ui.basic.modal>.actions,.ui.basic.modal>.content,.ui.basic.modal>.header{background-color:transparent}.ui.basic.modal>.header{color:#fff}.ui.basic.modal>.close{top:1rem;right:1.5rem}@media only screen and (max-width:992px){.ui.basic.modal>.close{color:#fff}}.scrolling.dimmable.dimmed{overflow:hidden}.scrolling.dimmable.dimmed>.dimmer{overflow:auto;-webkit-overflow-scrolling:touch}.scrolling.dimmable>.dimmer{position:fixed}.ui.scrolling.modal{position:static;margin:3.5rem auto!important}@media only screen and (max-width:992px){.ui.scrolling.modal{margin-top:1rem;margin-bottom:1rem}}.ui.active.modal{display:block}.ui.fullscreen.modal{width:95%!important;left:2.5%!important;margin:1em auto}.ui.fullscreen.scrolling.modal{left:0!important}.ui.fullscreen.modal>.header{padding-right:2.25rem}.ui.fullscreen.modal>.close{top:.905rem;right:1rem;color:rgba(0,0,0,.8)}.ui.modal{font-size:1rem}.ui.small.modal>.header{font-size:1.3em}@media only screen and (max-width:767px){.ui.small.modal{width:95%;margin:0 0 0 -47.5%}}@media only screen and (min-width:768px){.ui.small.modal{width:52.8%;margin:0 0 0 -26.4%}}@media only screen and (min-width:992px){.ui.small.modal{width:44.4%;margin:0 0 0 -22.2%}}@media only screen and (min-width:1400px){.ui.small.modal{width:33.6%;margin:0 0 0 -16.8%}}@media only screen and (min-width:1920px){.ui.small.modal{width:25.2%;margin:0 0 0 -12.6%}}.ui.large.modal>.header{font-size:1.6em}@media only screen and (max-width:767px){.ui.large.modal{width:95%;margin:0 0 0 -47.5%}}@media only screen and (min-width:768px){.ui.large.modal{width:88%;margin:0 0 0 -44%}}@media only screen and (min-width:992px){.ui.large.modal{width:88.8%;margin:0 0 0 -44.4%}}@media only screen and (min-width:1400px){.ui.large.modal{width:67.2%;margin:0 0 0 -33.6%}}@media only screen and (min-width:1920px){.ui.large.modal{width:50.4%;margin:0 0 0 -25.2%}}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic UI - 1.8.1
|
3
|
+
* https://github.com/Semantic-Org/Semantic-UI
|
4
|
+
* http://www.semantic-ui.com/
|
5
|
+
*
|
6
|
+
* Copyright 2014 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
!function(e,i,n,t){"use strict";e.fn.modal=function(o){var s,a=e(this),r=e(i),c=e(n),l=e("body"),u=a.selector||"",d=(new Date).getTime(),m=[],f=arguments[0],g="string"==typeof f,h=[].slice.call(arguments,1),v=i.requestAnimationFrame||i.mozRequestAnimationFrame||i.webkitRequestAnimationFrame||i.msRequestAnimationFrame||function(e){setTimeout(e,0)};return a.each(function(){var a,b,p,y,w,k,S,M,A,C=e.isPlainObject(o)?e.extend(!0,{},e.fn.modal.settings,o):e.extend({},e.fn.modal.settings),D=C.selector,H=C.className,F=C.namespace,T=C.error,O="."+F,q="module-"+F,x=e(this),z=e(C.context),E=x.find(D.close),j=this,I=x.data(q);A={initialize:function(){A.verbose("Initializing dimmer",z),A.create.id(),A.create.dimmer(),A.refreshModals(),A.verbose("Attaching close events",E),A.bind.events(),A.observeChanges(),A.instantiate()},instantiate:function(){A.verbose("Storing instance of modal"),I=A,x.data(q,I)},create:{dimmer:function(){var i={debug:C.debug,dimmerName:"modals",duration:{show:C.duration,hide:C.duration}},n=e.extend(!0,i,C.dimmerSettings);return e.fn.dimmer===t?void A.error(T.dimmer):(A.debug("Creating dimmer with settings",n),y=z.dimmer(n),C.detachable&&(A.verbose("Modal is detachable, moving content into dimmer"),y.dimmer("add content",x)),void(w=y.dimmer("get dimmer")))},id:function(){A.verbose("Creating unique id for element"),S=A.get.uniqueID(),k="."+S}},destroy:function(){A.verbose("Destroying previous modal"),x.removeData(q).off(O),r.off(k),E.off(O),z.dimmer("destroy")},observeChanges:function(){"MutationObserver"in i&&(M=new MutationObserver(function(){A.debug("DOM tree modified, refreshing"),A.refresh()}),M.observe(j,{childList:!0,subtree:!0}),A.debug("Setting up mutation observer",M))},refresh:function(){A.remove.scrolling(),A.cacheSizes(),A.set.screenHeight(),A.set.type(),A.set.position()},refreshModals:function(){b=x.siblings(D.modal),a=b.add(x)},attachEvents:function(i,n){var t=e(i);n=e.isFunction(A[n])?A[n]:A.toggle,t.length>0?(A.debug("Attaching modal events to element",i,n),t.off(O).on("click"+O,n)):A.error(T.notFound,i)},bind:{events:function(){E.on("click"+O,A.event.close),r.on("resize"+k,A.event.resize)}},get:{uniqueID:function(){return(Math.random().toString(16)+"000000000").substr(2,8)}},event:{close:function(){A.verbose("Closing element pressed"),e(this).is(D.approve)?C.onApprove.call(j)!==!1?A.hide():A.verbose("Approve callback returned false cancelling hide"):e(this).is(D.deny)?C.onDeny.call(j)!==!1?A.hide():A.verbose("Deny callback returned false cancelling hide"):A.hide()},click:function(i){0===e(i.target).closest(x).length&&(A.debug("Dimmer clicked, hiding all modals"),A.is.active()&&(A.remove.clickaway(),C.allowMultiple?A.hide():A.hideAll()))},debounce:function(e,i){clearTimeout(A.timer),A.timer=setTimeout(e,i)},keyboard:function(e){var i=e.which,n=27;i==n&&(C.closable?(A.debug("Escape key pressed hiding modal"),A.hide()):A.debug("Escape key pressed, but closable is set to false"),e.preventDefault())},resize:function(){y.dimmer("is active")&&v(A.refresh)}},toggle:function(){A.is.active()||A.is.animating()?A.hide():A.show()},show:function(i){i=e.isFunction(i)?i:function(){},A.refreshModals(),A.showModal(i)},hide:function(i){i=e.isFunction(i)?i:function(){},A.refreshModals(),A.hideModal(i)},showModal:function(i){i=e.isFunction(i)?i:function(){},A.is.animating()||!A.is.active()?(A.showDimmer(),A.cacheSizes(),A.set.position(),A.set.screenHeight(),A.set.type(),A.set.clickaway(),!C.allowMultiple&&b.filter(":visible").length>0?(A.debug("Other modals visible, queueing show animation"),A.hideOthers(A.showModal)):(C.onShow.call(j),C.transition&&e.fn.transition!==t&&x.transition("is supported")?(A.debug("Showing modal with css animations"),x.transition({debug:C.debug,animation:C.transition+" in",queue:C.queue,duration:C.duration,useFailSafe:!0,onComplete:function(){C.onVisible.apply(j),A.add.keyboardShortcuts(),A.save.focus(),A.set.active(),A.set.autofocus(),i()}})):(A.debug("Showing modal with javascript"),x.fadeIn(C.duration,C.easing,function(){C.onVisible.apply(j),A.add.keyboardShortcuts(),A.save.focus(),A.set.active(),i()})))):A.debug("Modal is already visible")},hideModal:function(i){i=e.isFunction(i)?i:function(){},A.debug("Hiding modal"),C.onHide.call(j),(A.is.animating()||A.is.active())&&(C.transition&&e.fn.transition!==t&&x.transition("is supported")?(A.remove.active(),x.transition({debug:C.debug,animation:C.transition+" out",queue:C.queue,duration:C.duration,useFailSafe:!0,onStart:function(){A.othersActive()||A.hideDimmer(),A.remove.keyboardShortcuts()},onComplete:function(){C.onHidden.call(j),A.restore.focus(),i()}})):(A.remove.active(),A.othersActive()||A.hideDimmer(),A.remove.keyboardShortcuts(),x.fadeOut(C.duration,C.easing,function(){C.onHidden.call(j),A.restore.focus(),i()})))},showDimmer:function(){y.dimmer("is animating")||!y.dimmer("is active")?(A.debug("Showing dimmer"),y.dimmer("show")):A.debug("Dimmer already visible")},hideDimmer:function(){return y.dimmer("is animating")||y.dimmer("is active")?void y.dimmer("hide",function(){C.transition&&e.fn.transition!==t&&x.transition("is supported")&&(A.remove.clickaway(),A.remove.screenHeight())}):void A.debug("Dimmer is not visible cannot hide")},hideAll:function(i){i=e.isFunction(i)?i:function(){},a.is(":visible")&&(A.debug("Hiding all visible modals"),A.hideDimmer(),a.filter(":visible").modal("hide modal",i))},hideOthers:function(i){i=e.isFunction(i)?i:function(){},b.is(":visible")&&(A.debug("Hiding other modals",b),b.filter(":visible").modal("hide modal",i))},othersActive:function(){return b.filter("."+H.active).length>0},add:{keyboardShortcuts:function(){A.verbose("Adding keyboard shortcuts"),c.on("keyup"+O,A.event.keyboard)}},save:{focus:function(){p=e(n.activeElement).blur()}},restore:{focus:function(){p&&p.length>0&&p.focus()}},remove:{active:function(){x.removeClass(H.active)},clickaway:function(){C.closable&&w.off("click"+k)},screenHeight:function(){A.cache.height>A.cache.pageHeight&&(A.debug("Removing page height"),l.css("height",""))},keyboardShortcuts:function(){A.verbose("Removing keyboard shortcuts"),c.off("keyup"+O)},scrolling:function(){y.removeClass(H.scrolling),x.removeClass(H.scrolling)}},cacheSizes:function(){var o=x.outerHeight();(A.cache===t||0!==o)&&(A.cache={pageHeight:e(n).outerHeight(),height:o+C.offset,contextHeight:"body"==C.context?e(i).height():y.height()}),A.debug("Caching modal and container sizes",A.cache)},can:{fit:function(){return A.cache.height<A.cache.contextHeight}},is:{active:function(){return x.hasClass(H.active)},animating:function(){return x.transition("is supported")?x.transition("is animating"):x.is(":visible")},scrolling:function(){return y.hasClass(H.scrolling)},modernBrowser:function(){return!(i.ActiveXObject||"ActiveXObject"in i)}},set:{autofocus:function(){if(C.autofocus){var e=x.find(":input:visible"),i=e.filter("[autofocus]"),n=i.length>0?i:e;n.first().focus()}},clickaway:function(){C.closable&&w.on("click"+k,A.event.click)},screenHeight:function(){A.cache.height>A.cache.pageHeight?(A.debug("Modal is taller than page content, resizing page height"),l.css("height",A.cache.height+C.padding)):l.css("height","")},active:function(){x.addClass(H.active)},scrolling:function(){y.addClass(H.scrolling),x.addClass(H.scrolling)},type:function(){A.can.fit()?(A.verbose("Modal fits on screen"),A.othersActive||A.remove.scrolling()):(A.verbose("Modal cannot fit on screen setting to scrolling"),A.set.scrolling())},position:function(){A.verbose("Centering modal on page",A.cache),x.css(A.can.fit()?{top:"",marginTop:-(A.cache.height/2)}:{marginTop:"",top:c.scrollTop()})}},setting:function(i,n){if(A.debug("Changing setting",i,n),e.isPlainObject(i))e.extend(!0,C,i);else{if(n===t)return C[i];C[i]=n}},internal:function(i,n){if(e.isPlainObject(i))e.extend(!0,A,i);else{if(n===t)return A[i];A[i]=n}},debug:function(){C.debug&&(C.performance?A.performance.log(arguments):(A.debug=Function.prototype.bind.call(console.info,console,C.name+":"),A.debug.apply(console,arguments)))},verbose:function(){C.verbose&&C.debug&&(C.performance?A.performance.log(arguments):(A.verbose=Function.prototype.bind.call(console.info,console,C.name+":"),A.verbose.apply(console,arguments)))},error:function(){A.error=Function.prototype.bind.call(console.error,console,C.name+":"),A.error.apply(console,arguments)},performance:{log:function(e){var i,n,t;C.performance&&(i=(new Date).getTime(),t=d||i,n=i-t,d=i,m.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:j,"Execution Time":n})),clearTimeout(A.performance.timer),A.performance.timer=setTimeout(A.performance.display,100)},display:function(){var i=C.name+":",n=0;d=!1,clearTimeout(A.performance.timer),e.each(m,function(e,i){n+=i["Execution Time"]}),i+=" "+n+"ms",u&&(i+=" '"+u+"'"),(console.group!==t||console.table!==t)&&m.length>0&&(console.groupCollapsed(i),console.table?console.table(m):e.each(m,function(e,i){console.log(i.Name+": "+i["Execution Time"]+"ms")}),console.groupEnd()),m=[]}},invoke:function(i,n,o){var a,r,c,l=I;return n=n||h,o=j||o,"string"==typeof i&&l!==t&&(i=i.split(/[\. ]/),a=i.length-1,e.each(i,function(n,o){var s=n!=a?o+i[n+1].charAt(0).toUpperCase()+i[n+1].slice(1):i;if(e.isPlainObject(l[s])&&n!=a)l=l[s];else{if(l[s]!==t)return r=l[s],!1;if(!e.isPlainObject(l[o])||n==a)return l[o]!==t?(r=l[o],!1):!1;l=l[o]}})),e.isFunction(r)?c=r.apply(o,n):r!==t&&(c=r),e.isArray(s)?s.push(c):s!==t?s=[s,c]:c!==t&&(s=c),r}},g?(I===t&&A.initialize(),A.invoke(f)):(I!==t&&A.destroy(),A.initialize())}),s!==t?s:this},e.fn.modal.settings={name:"Modal",namespace:"modal",debug:!1,verbose:!0,performance:!0,allowMultiple:!1,detachable:!0,closable:!0,autofocus:!0,dimmerSettings:{closable:!1,useCSS:!0},context:"body",queue:!1,duration:500,easing:"easeOutExpo",offset:0,transition:"scale",padding:30,onShow:function(){},onHide:function(){},onVisible:function(){},onHidden:function(){},onApprove:function(){return!0},onDeny:function(){return!0},selector:{close:".close, .actions .button",approve:".actions .positive, .actions .approve, .actions .ok",deny:".actions .negative, .actions .deny, .actions .cancel",modal:".ui.modal"},error:{dimmer:"UI Dimmer, a required component is not included in this page",method:"The method you called is not defined.",notFound:"The element you specified could not be found"},className:{active:"active",animating:"animating",scrolling:"scrolling"}}}(jQuery,window,document);
|
@@ -0,0 +1,149 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic UI - 1.8.1
|
3
|
+
* https://github.com/Semantic-Org/Semantic-UI
|
4
|
+
* http://www.semantic-ui.com/
|
5
|
+
*
|
6
|
+
* Copyright 2014 Contributors
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
/*******************************
|
15
|
+
Nag
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
.ui.nag {
|
19
|
+
display: none;
|
20
|
+
opacity: 0.95;
|
21
|
+
position: relative;
|
22
|
+
top: 0em;
|
23
|
+
left: 0px;
|
24
|
+
z-index: 999;
|
25
|
+
min-height: 0em;
|
26
|
+
width: 100%;
|
27
|
+
margin: 0em;
|
28
|
+
padding: 0.75em 1em;
|
29
|
+
background: #555555;
|
30
|
+
box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
|
31
|
+
font-size: 1rem;
|
32
|
+
text-align: center;
|
33
|
+
color: rgba(0, 0, 0, 0.8);
|
34
|
+
border-radius: 0em 0em 0.2857rem 0.2857rem;
|
35
|
+
-webkit-transition: 0.2s background ease;
|
36
|
+
transition: 0.2s background ease;
|
37
|
+
}
|
38
|
+
a.ui.nag {
|
39
|
+
cursor: pointer;
|
40
|
+
}
|
41
|
+
.ui.nag > .title {
|
42
|
+
display: inline-block;
|
43
|
+
margin: 0em 0.5em;
|
44
|
+
color: #ffffff;
|
45
|
+
}
|
46
|
+
.ui.nag > .close.icon {
|
47
|
+
cursor: pointer;
|
48
|
+
opacity: 0.4;
|
49
|
+
position: absolute;
|
50
|
+
top: 50%;
|
51
|
+
right: 1em;
|
52
|
+
font-size: 1em;
|
53
|
+
margin: -0.5em 0em 0em;
|
54
|
+
color: #ffffff;
|
55
|
+
-webkit-transition: opacity 0.2s ease;
|
56
|
+
transition: opacity 0.2s ease;
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
/*******************************
|
61
|
+
States
|
62
|
+
*******************************/
|
63
|
+
|
64
|
+
|
65
|
+
/* Hover */
|
66
|
+
.ui.nag:hover {
|
67
|
+
background: #555555;
|
68
|
+
opacity: 1;
|
69
|
+
}
|
70
|
+
.ui.nag .close:hover {
|
71
|
+
opacity: 1;
|
72
|
+
}
|
73
|
+
|
74
|
+
|
75
|
+
/*******************************
|
76
|
+
Variations
|
77
|
+
*******************************/
|
78
|
+
|
79
|
+
|
80
|
+
/*--------------
|
81
|
+
Static
|
82
|
+
---------------*/
|
83
|
+
|
84
|
+
.ui.overlay.nag {
|
85
|
+
position: absolute;
|
86
|
+
display: block;
|
87
|
+
}
|
88
|
+
|
89
|
+
/*--------------
|
90
|
+
Fixed
|
91
|
+
---------------*/
|
92
|
+
|
93
|
+
.ui.fixed.nag {
|
94
|
+
position: fixed;
|
95
|
+
}
|
96
|
+
|
97
|
+
/*--------------
|
98
|
+
Bottom
|
99
|
+
---------------*/
|
100
|
+
|
101
|
+
.ui.bottom.nags,
|
102
|
+
.ui.bottom.nag {
|
103
|
+
border-radius: 0.2857rem 0.2857rem 0em 0em;
|
104
|
+
top: auto;
|
105
|
+
bottom: 0em;
|
106
|
+
}
|
107
|
+
|
108
|
+
/*--------------
|
109
|
+
White
|
110
|
+
---------------*/
|
111
|
+
|
112
|
+
.ui.inverted.nags .nag,
|
113
|
+
.ui.inverted.nag {
|
114
|
+
background-color: #f0f0f0;
|
115
|
+
color: rgba(0, 0, 0, 0.85);
|
116
|
+
}
|
117
|
+
.ui.inverted.nags .nag .close,
|
118
|
+
.ui.inverted.nags .nag .title,
|
119
|
+
.ui.inverted.nag .close,
|
120
|
+
.ui.inverted.nag .title {
|
121
|
+
color: rgba(0, 0, 0, 0.4);
|
122
|
+
}
|
123
|
+
|
124
|
+
|
125
|
+
/*******************************
|
126
|
+
Groups
|
127
|
+
*******************************/
|
128
|
+
|
129
|
+
.ui.nags .nag {
|
130
|
+
border-radius: 0em !important;
|
131
|
+
}
|
132
|
+
.ui.nags .nag:last-child {
|
133
|
+
border-radius: 0em 0em 0.2857rem 0.2857rem;
|
134
|
+
}
|
135
|
+
.ui.bottom.nags .nag:last-child {
|
136
|
+
border-radius: 0.2857rem 0.2857rem 0em 0em;
|
137
|
+
}
|
138
|
+
|
139
|
+
|
140
|
+
/*******************************
|
141
|
+
Theme Overrides
|
142
|
+
*******************************/
|
143
|
+
|
144
|
+
|
145
|
+
|
146
|
+
/*******************************
|
147
|
+
User Overrides
|
148
|
+
*******************************/
|
149
|
+
|
@@ -0,0 +1,477 @@
|
|
1
|
+
/*
|
2
|
+
* # Semantic - Nag
|
3
|
+
* http://github.com/semantic-org/semantic-ui/
|
4
|
+
*
|
5
|
+
*
|
6
|
+
* Copyright 2014 Contributor
|
7
|
+
* Released under the MIT license
|
8
|
+
* http://opensource.org/licenses/MIT
|
9
|
+
*
|
10
|
+
*/
|
11
|
+
|
12
|
+
;(function ($, window, document, undefined) {
|
13
|
+
|
14
|
+
"use strict";
|
15
|
+
|
16
|
+
$.fn.nag = function(parameters) {
|
17
|
+
var
|
18
|
+
$allModules = $(this),
|
19
|
+
moduleSelector = $allModules.selector || '',
|
20
|
+
|
21
|
+
time = new Date().getTime(),
|
22
|
+
performance = [],
|
23
|
+
|
24
|
+
query = arguments[0],
|
25
|
+
methodInvoked = (typeof query == 'string'),
|
26
|
+
queryArguments = [].slice.call(arguments, 1),
|
27
|
+
returnedValue
|
28
|
+
;
|
29
|
+
$allModules
|
30
|
+
.each(function() {
|
31
|
+
var
|
32
|
+
settings = ( $.isPlainObject(parameters) )
|
33
|
+
? $.extend(true, {}, $.fn.nag.settings, parameters)
|
34
|
+
: $.extend({}, $.fn.nag.settings),
|
35
|
+
|
36
|
+
className = settings.className,
|
37
|
+
selector = settings.selector,
|
38
|
+
error = settings.error,
|
39
|
+
namespace = settings.namespace,
|
40
|
+
|
41
|
+
eventNamespace = '.' + namespace,
|
42
|
+
moduleNamespace = namespace + '-module',
|
43
|
+
|
44
|
+
$module = $(this),
|
45
|
+
|
46
|
+
$close = $module.find(selector.close),
|
47
|
+
$context = (settings.context)
|
48
|
+
? $(settings.context)
|
49
|
+
: $('body'),
|
50
|
+
|
51
|
+
element = this,
|
52
|
+
instance = $module.data(moduleNamespace),
|
53
|
+
|
54
|
+
moduleOffset,
|
55
|
+
moduleHeight,
|
56
|
+
|
57
|
+
contextWidth,
|
58
|
+
contextHeight,
|
59
|
+
contextOffset,
|
60
|
+
|
61
|
+
yOffset,
|
62
|
+
yPosition,
|
63
|
+
|
64
|
+
timer,
|
65
|
+
module,
|
66
|
+
|
67
|
+
requestAnimationFrame = window.requestAnimationFrame
|
68
|
+
|| window.mozRequestAnimationFrame
|
69
|
+
|| window.webkitRequestAnimationFrame
|
70
|
+
|| window.msRequestAnimationFrame
|
71
|
+
|| function(callback) { setTimeout(callback, 0); }
|
72
|
+
;
|
73
|
+
module = {
|
74
|
+
|
75
|
+
initialize: function() {
|
76
|
+
module.verbose('Initializing element');
|
77
|
+
|
78
|
+
$module
|
79
|
+
.data(moduleNamespace, module)
|
80
|
+
;
|
81
|
+
$close
|
82
|
+
.on('click' + eventNamespace, module.dismiss)
|
83
|
+
;
|
84
|
+
|
85
|
+
if(settings.detachable && $module.parent()[0] !== $context[0]) {
|
86
|
+
$module
|
87
|
+
.detach()
|
88
|
+
.prependTo($context)
|
89
|
+
;
|
90
|
+
}
|
91
|
+
|
92
|
+
if(settings.displayTime > 0) {
|
93
|
+
setTimeout(module.hide, settings.displayTime);
|
94
|
+
}
|
95
|
+
module.show();
|
96
|
+
},
|
97
|
+
|
98
|
+
destroy: function() {
|
99
|
+
module.verbose('Destroying instance');
|
100
|
+
$module
|
101
|
+
.removeData(moduleNamespace)
|
102
|
+
.off(eventNamespace)
|
103
|
+
;
|
104
|
+
},
|
105
|
+
|
106
|
+
show: function() {
|
107
|
+
if( module.should.show() && !$module.is(':visible') ) {
|
108
|
+
module.debug('Showing nag', settings.animation.show);
|
109
|
+
if(settings.animation.show == 'fade') {
|
110
|
+
$module
|
111
|
+
.fadeIn(settings.duration, settings.easing)
|
112
|
+
;
|
113
|
+
}
|
114
|
+
else {
|
115
|
+
$module
|
116
|
+
.slideDown(settings.duration, settings.easing)
|
117
|
+
;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
},
|
121
|
+
|
122
|
+
hide: function() {
|
123
|
+
module.debug('Showing nag', settings.animation.hide);
|
124
|
+
if(settings.animation.show == 'fade') {
|
125
|
+
$module
|
126
|
+
.fadeIn(settings.duration, settings.easing)
|
127
|
+
;
|
128
|
+
}
|
129
|
+
else {
|
130
|
+
$module
|
131
|
+
.slideUp(settings.duration, settings.easing)
|
132
|
+
;
|
133
|
+
}
|
134
|
+
},
|
135
|
+
|
136
|
+
onHide: function() {
|
137
|
+
module.debug('Removing nag', settings.animation.hide);
|
138
|
+
$module.remove();
|
139
|
+
if (settings.onHide) {
|
140
|
+
settings.onHide();
|
141
|
+
}
|
142
|
+
},
|
143
|
+
|
144
|
+
dismiss: function(event) {
|
145
|
+
if(settings.storageMethod) {
|
146
|
+
module.storage.set(settings.key, settings.value);
|
147
|
+
}
|
148
|
+
module.hide();
|
149
|
+
event.stopImmediatePropagation();
|
150
|
+
event.preventDefault();
|
151
|
+
},
|
152
|
+
|
153
|
+
should: {
|
154
|
+
show: function() {
|
155
|
+
if(settings.persist) {
|
156
|
+
module.debug('Persistent nag is set, can show nag');
|
157
|
+
return true;
|
158
|
+
}
|
159
|
+
if( module.storage.get(settings.key) != settings.value.toString() ) {
|
160
|
+
module.debug('Stored value is not set, can show nag', module.storage.get(settings.key));
|
161
|
+
return true;
|
162
|
+
}
|
163
|
+
module.debug('Stored value is set, cannot show nag', module.storage.get(settings.key));
|
164
|
+
return false;
|
165
|
+
}
|
166
|
+
},
|
167
|
+
|
168
|
+
get: {
|
169
|
+
storageOptions: function() {
|
170
|
+
var
|
171
|
+
options = {}
|
172
|
+
;
|
173
|
+
if(settings.expires) {
|
174
|
+
options.expires = settings.expires;
|
175
|
+
}
|
176
|
+
if(settings.domain) {
|
177
|
+
options.domain = settings.domain;
|
178
|
+
}
|
179
|
+
if(settings.path) {
|
180
|
+
options.path = settings.path;
|
181
|
+
}
|
182
|
+
return options;
|
183
|
+
}
|
184
|
+
},
|
185
|
+
|
186
|
+
clear: function() {
|
187
|
+
module.storage.remove(settings.key);
|
188
|
+
},
|
189
|
+
|
190
|
+
storage: {
|
191
|
+
set: function(key, value) {
|
192
|
+
var
|
193
|
+
options = module.get.storageOptions()
|
194
|
+
;
|
195
|
+
if(settings.storageMethod == 'localstorage' && window.localStorage !== undefined) {
|
196
|
+
window.localStorage.setItem(key, value);
|
197
|
+
module.debug('Value stored using local storage', key, value);
|
198
|
+
}
|
199
|
+
else if($.cookie !== undefined) {
|
200
|
+
$.cookie(key, value, options);
|
201
|
+
module.debug('Value stored using cookie', key, value, options);
|
202
|
+
}
|
203
|
+
else {
|
204
|
+
module.error(error.noCookieStorage);
|
205
|
+
return;
|
206
|
+
}
|
207
|
+
},
|
208
|
+
get: function(key, value) {
|
209
|
+
var
|
210
|
+
storedValue
|
211
|
+
;
|
212
|
+
if(settings.storageMethod == 'localstorage' && window.localStorage !== undefined) {
|
213
|
+
storedValue = window.localStorage.getItem(key);
|
214
|
+
}
|
215
|
+
// get by cookie
|
216
|
+
else if($.cookie !== undefined) {
|
217
|
+
storedValue = $.cookie(key);
|
218
|
+
}
|
219
|
+
else {
|
220
|
+
module.error(error.noCookieStorage);
|
221
|
+
}
|
222
|
+
if(storedValue == 'undefined' || storedValue == 'null' || storedValue === undefined || storedValue === null) {
|
223
|
+
storedValue = undefined;
|
224
|
+
}
|
225
|
+
return storedValue;
|
226
|
+
},
|
227
|
+
remove: function(key) {
|
228
|
+
var
|
229
|
+
options = module.get.storageOptions()
|
230
|
+
;
|
231
|
+
if(settings.storageMethod == 'local' && window.store !== undefined) {
|
232
|
+
window.localStorage.removeItem(key);
|
233
|
+
}
|
234
|
+
// store by cookie
|
235
|
+
else if($.cookie !== undefined) {
|
236
|
+
$.removeCookie(key, options);
|
237
|
+
}
|
238
|
+
else {
|
239
|
+
module.error(error.noStorage);
|
240
|
+
}
|
241
|
+
}
|
242
|
+
},
|
243
|
+
|
244
|
+
setting: function(name, value) {
|
245
|
+
module.debug('Changing setting', name, value);
|
246
|
+
if( $.isPlainObject(name) ) {
|
247
|
+
$.extend(true, settings, name);
|
248
|
+
}
|
249
|
+
else if(value !== undefined) {
|
250
|
+
settings[name] = value;
|
251
|
+
}
|
252
|
+
else {
|
253
|
+
return settings[name];
|
254
|
+
}
|
255
|
+
},
|
256
|
+
internal: function(name, value) {
|
257
|
+
if( $.isPlainObject(name) ) {
|
258
|
+
$.extend(true, module, name);
|
259
|
+
}
|
260
|
+
else if(value !== undefined) {
|
261
|
+
module[name] = value;
|
262
|
+
}
|
263
|
+
else {
|
264
|
+
return module[name];
|
265
|
+
}
|
266
|
+
},
|
267
|
+
debug: function() {
|
268
|
+
if(settings.debug) {
|
269
|
+
if(settings.performance) {
|
270
|
+
module.performance.log(arguments);
|
271
|
+
}
|
272
|
+
else {
|
273
|
+
module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');
|
274
|
+
module.debug.apply(console, arguments);
|
275
|
+
}
|
276
|
+
}
|
277
|
+
},
|
278
|
+
verbose: function() {
|
279
|
+
if(settings.verbose && settings.debug) {
|
280
|
+
if(settings.performance) {
|
281
|
+
module.performance.log(arguments);
|
282
|
+
}
|
283
|
+
else {
|
284
|
+
module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');
|
285
|
+
module.verbose.apply(console, arguments);
|
286
|
+
}
|
287
|
+
}
|
288
|
+
},
|
289
|
+
error: function() {
|
290
|
+
module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');
|
291
|
+
module.error.apply(console, arguments);
|
292
|
+
},
|
293
|
+
performance: {
|
294
|
+
log: function(message) {
|
295
|
+
var
|
296
|
+
currentTime,
|
297
|
+
executionTime,
|
298
|
+
previousTime
|
299
|
+
;
|
300
|
+
if(settings.performance) {
|
301
|
+
currentTime = new Date().getTime();
|
302
|
+
previousTime = time || currentTime;
|
303
|
+
executionTime = currentTime - previousTime;
|
304
|
+
time = currentTime;
|
305
|
+
performance.push({
|
306
|
+
'Name' : message[0],
|
307
|
+
'Arguments' : [].slice.call(message, 1) || '',
|
308
|
+
'Element' : element,
|
309
|
+
'Execution Time' : executionTime
|
310
|
+
});
|
311
|
+
}
|
312
|
+
clearTimeout(module.performance.timer);
|
313
|
+
module.performance.timer = setTimeout(module.performance.display, 100);
|
314
|
+
},
|
315
|
+
display: function() {
|
316
|
+
var
|
317
|
+
title = settings.name + ':',
|
318
|
+
totalTime = 0
|
319
|
+
;
|
320
|
+
time = false;
|
321
|
+
clearTimeout(module.performance.timer);
|
322
|
+
$.each(performance, function(index, data) {
|
323
|
+
totalTime += data['Execution Time'];
|
324
|
+
});
|
325
|
+
title += ' ' + totalTime + 'ms';
|
326
|
+
if(moduleSelector) {
|
327
|
+
title += ' \'' + moduleSelector + '\'';
|
328
|
+
}
|
329
|
+
if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
|
330
|
+
console.groupCollapsed(title);
|
331
|
+
if(console.table) {
|
332
|
+
console.table(performance);
|
333
|
+
}
|
334
|
+
else {
|
335
|
+
$.each(performance, function(index, data) {
|
336
|
+
console.log(data['Name'] + ': ' + data['Execution Time']+'ms');
|
337
|
+
});
|
338
|
+
}
|
339
|
+
console.groupEnd();
|
340
|
+
}
|
341
|
+
performance = [];
|
342
|
+
}
|
343
|
+
},
|
344
|
+
invoke: function(query, passedArguments, context) {
|
345
|
+
var
|
346
|
+
object = instance,
|
347
|
+
maxDepth,
|
348
|
+
found,
|
349
|
+
response
|
350
|
+
;
|
351
|
+
passedArguments = passedArguments || queryArguments;
|
352
|
+
context = element || context;
|
353
|
+
if(typeof query == 'string' && object !== undefined) {
|
354
|
+
query = query.split(/[\. ]/);
|
355
|
+
maxDepth = query.length - 1;
|
356
|
+
$.each(query, function(depth, value) {
|
357
|
+
var camelCaseValue = (depth != maxDepth)
|
358
|
+
? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
|
359
|
+
: query
|
360
|
+
;
|
361
|
+
if( $.isPlainObject( object[camelCaseValue] ) && (depth != maxDepth) ) {
|
362
|
+
object = object[camelCaseValue];
|
363
|
+
}
|
364
|
+
else if( object[camelCaseValue] !== undefined ) {
|
365
|
+
found = object[camelCaseValue];
|
366
|
+
return false;
|
367
|
+
}
|
368
|
+
else if( $.isPlainObject( object[value] ) && (depth != maxDepth) ) {
|
369
|
+
object = object[value];
|
370
|
+
}
|
371
|
+
else if( object[value] !== undefined ) {
|
372
|
+
found = object[value];
|
373
|
+
return false;
|
374
|
+
}
|
375
|
+
else {
|
376
|
+
module.error(error.method, query);
|
377
|
+
return false;
|
378
|
+
}
|
379
|
+
});
|
380
|
+
}
|
381
|
+
if ( $.isFunction( found ) ) {
|
382
|
+
response = found.apply(context, passedArguments);
|
383
|
+
}
|
384
|
+
else if(found !== undefined) {
|
385
|
+
response = found;
|
386
|
+
}
|
387
|
+
if($.isArray(returnedValue)) {
|
388
|
+
returnedValue.push(response);
|
389
|
+
}
|
390
|
+
else if(returnedValue !== undefined) {
|
391
|
+
returnedValue = [returnedValue, response];
|
392
|
+
}
|
393
|
+
else if(response !== undefined) {
|
394
|
+
returnedValue = response;
|
395
|
+
}
|
396
|
+
return found;
|
397
|
+
}
|
398
|
+
};
|
399
|
+
|
400
|
+
if(methodInvoked) {
|
401
|
+
if(instance === undefined) {
|
402
|
+
module.initialize();
|
403
|
+
}
|
404
|
+
module.invoke(query);
|
405
|
+
}
|
406
|
+
else {
|
407
|
+
if(instance !== undefined) {
|
408
|
+
module.destroy();
|
409
|
+
}
|
410
|
+
module.initialize();
|
411
|
+
}
|
412
|
+
})
|
413
|
+
;
|
414
|
+
|
415
|
+
return (returnedValue !== undefined)
|
416
|
+
? returnedValue
|
417
|
+
: this
|
418
|
+
;
|
419
|
+
};
|
420
|
+
|
421
|
+
$.fn.nag.settings = {
|
422
|
+
|
423
|
+
name : 'Nag',
|
424
|
+
|
425
|
+
debug : false,
|
426
|
+
verbose : true,
|
427
|
+
performance : true,
|
428
|
+
|
429
|
+
namespace : 'Nag',
|
430
|
+
|
431
|
+
// allows cookie to be overriden
|
432
|
+
persist : false,
|
433
|
+
|
434
|
+
// set to zero to require manually dismissal, otherwise hides on its own
|
435
|
+
displayTime : 0,
|
436
|
+
|
437
|
+
animation : {
|
438
|
+
show : 'slide',
|
439
|
+
hide : 'slide'
|
440
|
+
},
|
441
|
+
|
442
|
+
context : false,
|
443
|
+
detachable : false,
|
444
|
+
|
445
|
+
expires : 30,
|
446
|
+
domain : false,
|
447
|
+
path : '/',
|
448
|
+
|
449
|
+
// type of storage to use
|
450
|
+
storageMethod : 'cookie',
|
451
|
+
|
452
|
+
// value to store in dismissed localstorage/cookie
|
453
|
+
key : 'nag',
|
454
|
+
value : 'dismiss',
|
455
|
+
|
456
|
+
error: {
|
457
|
+
noStorage : 'Neither $.cookie or store is defined. A storage solution is required for storing state',
|
458
|
+
method : 'The method you called is not defined.'
|
459
|
+
},
|
460
|
+
|
461
|
+
className : {
|
462
|
+
bottom : 'bottom',
|
463
|
+
fixed : 'fixed'
|
464
|
+
},
|
465
|
+
|
466
|
+
selector : {
|
467
|
+
close : '.close.icon'
|
468
|
+
},
|
469
|
+
|
470
|
+
speed : 500,
|
471
|
+
easing : 'easeOutQuad',
|
472
|
+
|
473
|
+
onHide: function() {}
|
474
|
+
|
475
|
+
};
|
476
|
+
|
477
|
+
})( jQuery, window , document );
|