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.shape{position:relative;display:inline-block;-webkit-perspective:2000px;perspective:2000px}.ui.shape .sides{-webkit-transform-style:preserve-3d;transform-style:preserve-3d}.ui.shape .side{opacity:1;width:100%;margin:0!important;-webkit-backface-visibility:hidden;backface-visibility:hidden;display:none}.ui.shape .side>*{-webkit-backface-visibility:visible!important;backface-visibility:visible!important}.ui.cube.shape .side{min-width:15em;height:15em;padding:2em;background-color:#e6e6e6;color:rgba(0,0,0,.8);box-shadow:0 0 2px rgba(0,0,0,.3)}.ui.cube.shape .side>.content{width:100%;height:100%;display:table;text-align:center;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}.ui.cube.shape .side>.content>div{display:table-cell;vertical-align:middle;font-size:2em}.ui.text.shape.animating .sides{position:static}.ui.text.shape .side{white-space:nowrap}.ui.text.shape .side>*{white-space:normal}.ui.loading.shape{position:absolute;top:-9999px;left:-9999px}.ui.shape .animating.side{position:absolute;top:0;left:0;z-index:100}.ui.shape .hidden.side{opacity:.4}.ui.shape.animating{-webkit-transition:all .6s ease-in-out;transition:all .6s ease-in-out}.ui.shape.animating .sides{position:absolute;-webkit-transition:all .6s ease-in-out;transition:all .6s ease-in-out}.ui.shape.animating .side{-webkit-transition:opacity .6s ease-in-out;transition:opacity .6s ease-in-out}.ui.shape .active.side{display:block}
|
@@ -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,t,i,n){"use strict";e.fn.shape=function(a){var o,r=e(this),s=(e("body"),(new Date).getTime()),d=[],l=arguments[0],u="string"==typeof l,g=[].slice.call(arguments,1),c=t.requestAnimationFrame||t.mozRequestAnimationFrame||t.webkitRequestAnimationFrame||t.msRequestAnimationFrame||function(e){setTimeout(e,0)};return r.each(function(){var t,f,m,p=r.selector||"",h=e.extend(!0,{},e.fn.shape.settings,a),v=h.namespace,b=h.selector,x=h.error,y=h.className,S="."+v,w="module-"+v,C=e(this),W=C.find(b.sides),z=C.find(b.side),k=!1,T=this,A=C.data(w);m={initialize:function(){m.verbose("Initializing module for",T),m.set.defaultSide(),m.instantiate()},instantiate:function(){m.verbose("Storing instance of module",m),A=m,C.data(w,A)},destroy:function(){m.verbose("Destroying previous module for",T),C.removeData(w).off(S)},refresh:function(){m.verbose("Refreshing selector cache for",T),C=e(T),W=e(this).find(b.shape),z=e(this).find(b.side)},repaint:function(){m.verbose("Forcing repaint event");{var e=W.get(0)||i.createElement("div");e.offsetWidth}},animate:function(e,i){m.verbose("Animating box with properties",e),i=i||function(e){m.verbose("Executing animation callback"),e!==n&&e.stopPropagation(),m.reset(),m.set.active()},h.beforeChange.call(f.get()),m.get.transitionEvent()?(m.verbose("Starting CSS animation"),C.addClass(y.animating),W.css(e).one(m.get.transitionEvent(),i),m.set.duration(h.duration),c(function(){C.addClass(y.animating),t.addClass(y.hidden)})):i()},queue:function(e){m.debug("Queueing animation of",e),W.one(m.get.transitionEvent(),function(){m.debug("Executing queued animation"),setTimeout(function(){C.shape(e)},0)})},reset:function(){m.verbose("Animating states reset"),C.removeClass(y.animating).attr("style","").removeAttr("style"),W.attr("style","").removeAttr("style"),z.attr("style","").removeAttr("style").removeClass(y.hidden),f.removeClass(y.animating).attr("style","").removeAttr("style")},is:{complete:function(){return z.filter("."+y.active)[0]==f[0]},animating:function(){return C.hasClass(y.animating)}},set:{defaultSide:function(){t=C.find("."+h.className.active),f=t.next(b.side).length>0?t.next(b.side):C.find(b.side).first(),k=!1,m.verbose("Active side set to",t),m.verbose("Next side set to",f)},duration:function(e){e=e||h.duration,e="number"==typeof e?e+"ms":e,m.verbose("Setting animation duration",e),W.add(z).css({"-webkit-transition-duration":e,"-moz-transition-duration":e,"-ms-transition-duration":e,"-o-transition-duration":e,"transition-duration":e})},stageSize:function(){var e=C.clone().addClass(y.loading),t=e.find("."+h.className.active),i=k?e.find(b.side).eq(k):t.next(b.side).length>0?t.next(b.side):e.find(b.side).first(),n={};t.removeClass(y.active),i.addClass(y.active),e.insertAfter(C),n={width:i.outerWidth(),height:i.outerHeight()},e.remove(),C.css(n),m.verbose("Resizing stage to fit new content",n)},nextSide:function(e){k=e,f=z.filter(e),k=z.index(f),0===f.length&&(m.set.defaultSide(),m.error(x.side)),m.verbose("Next side manually set to",f)},active:function(){m.verbose("Setting new side to active",f),z.removeClass(y.active),f.addClass(y.active),h.onChange.call(f.get()),m.set.defaultSide()}},flip:{up:function(){return!m.is.complete()||m.is.animating()||h.allowRepeats?void(m.is.animating()?m.queue("flip up"):(m.debug("Flipping up",f),m.set.stageSize(),m.stage.above(),m.animate(m.get.transform.up()))):void m.debug("Side already visible",f)},down:function(){return!m.is.complete()||m.is.animating()||h.allowRepeats?void(m.is.animating()?m.queue("flip down"):(m.debug("Flipping down",f),m.set.stageSize(),m.stage.below(),m.animate(m.get.transform.down()))):void m.debug("Side already visible",f)},left:function(){return!m.is.complete()||m.is.animating()||h.allowRepeats?void(m.is.animating()?m.queue("flip left"):(m.debug("Flipping left",f),m.set.stageSize(),m.stage.left(),m.animate(m.get.transform.left()))):void m.debug("Side already visible",f)},right:function(){return!m.is.complete()||m.is.animating()||h.allowRepeats?void(m.is.animating()?m.queue("flip right"):(m.debug("Flipping right",f),m.set.stageSize(),m.stage.right(),m.animate(m.get.transform.right()))):void m.debug("Side already visible",f)},over:function(){return!m.is.complete()||m.is.animating()||h.allowRepeats?void(m.is.animating()?m.queue("flip over"):(m.debug("Flipping over",f),m.set.stageSize(),m.stage.behind(),m.animate(m.get.transform.over()))):void m.debug("Side already visible",f)},back:function(){return!m.is.complete()||m.is.animating()||h.allowRepeats?void(m.is.animating()?m.queue("flip back"):(m.debug("Flipping back",f),m.set.stageSize(),m.stage.behind(),m.animate(m.get.transform.back()))):void m.debug("Side already visible",f)}},get:{transform:{up:function(){var e={y:-((t.outerHeight()-f.outerHeight())/2),z:-(t.outerHeight()/2)};return{transform:"translateY("+e.y+"px) translateZ("+e.z+"px) rotateX(-90deg)"}},down:function(){var e={y:-((t.outerHeight()-f.outerHeight())/2),z:-(t.outerHeight()/2)};return{transform:"translateY("+e.y+"px) translateZ("+e.z+"px) rotateX(90deg)"}},left:function(){var e={x:-((t.outerWidth()-f.outerWidth())/2),z:-(t.outerWidth()/2)};return{transform:"translateX("+e.x+"px) translateZ("+e.z+"px) rotateY(90deg)"}},right:function(){var e={x:-((t.outerWidth()-f.outerWidth())/2),z:-(t.outerWidth()/2)};return{transform:"translateX("+e.x+"px) translateZ("+e.z+"px) rotateY(-90deg)"}},over:function(){var e={x:-((t.outerWidth()-f.outerWidth())/2)};return{transform:"translateX("+e.x+"px) rotateY(180deg)"}},back:function(){var e={x:-((t.outerWidth()-f.outerWidth())/2)};return{transform:"translateX("+e.x+"px) rotateY(-180deg)"}}},transitionEvent:function(){var e,t=i.createElement("element"),a={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in a)if(t.style[e]!==n)return a[e]},nextSide:function(){return t.next(b.side).length>0?t.next(b.side):C.find(b.side).first()}},stage:{above:function(){var e={origin:(t.outerHeight()-f.outerHeight())/2,depth:{active:f.outerHeight()/2,next:t.outerHeight()/2}};m.verbose("Setting the initial animation position as above",f,e),t.css({transform:"rotateY(0deg) translateZ("+e.depth.active+"px)"}),f.addClass(y.animating).css({display:"block",top:e.origin+"px",transform:"rotateX(90deg) translateZ("+e.depth.next+"px)"})},below:function(){var e={origin:(t.outerHeight()-f.outerHeight())/2,depth:{active:f.outerHeight()/2,next:t.outerHeight()/2}};m.verbose("Setting the initial animation position as below",f,e),t.css({transform:"rotateY(0deg) translateZ("+e.depth.active+"px)"}),f.addClass(y.animating).css({display:"block",top:e.origin+"px",transform:"rotateX(-90deg) translateZ("+e.depth.next+"px)"})},left:function(){var e={origin:(t.outerWidth()-f.outerWidth())/2,depth:{active:f.outerWidth()/2,next:t.outerWidth()/2}};m.verbose("Setting the initial animation position as left",f,e),t.css({transform:"rotateY(0deg) translateZ("+e.depth.active+"px)"}),f.addClass(y.animating).css({display:"block",left:e.origin+"px",transform:"rotateY(-90deg) translateZ("+e.depth.next+"px)"})},right:function(){var e={origin:(t.outerWidth()-f.outerWidth())/2,depth:{active:f.outerWidth()/2,next:t.outerWidth()/2}};m.verbose("Setting the initial animation position as left",f,e),t.css({transform:"rotateY(0deg) translateZ("+e.depth.active+"px)"}),f.addClass(y.animating).css({display:"block",left:e.origin+"px",transform:"rotateY(90deg) translateZ("+e.depth.next+"px)"})},behind:function(){var e={origin:(t.outerWidth()-f.outerWidth())/2,depth:{active:f.outerWidth()/2,next:t.outerWidth()/2}};m.verbose("Setting the initial animation position as behind",f,e),t.css({transform:"rotateY(0deg)"}),f.addClass(y.animating).css({display:"block",left:e.origin+"px",transform:"rotateY(-180deg)"})}},setting:function(t,i){if(m.debug("Changing setting",t,i),e.isPlainObject(t))e.extend(!0,h,t);else{if(i===n)return h[t];h[t]=i}},internal:function(t,i){if(e.isPlainObject(t))e.extend(!0,m,t);else{if(i===n)return m[t];m[t]=i}},debug:function(){h.debug&&(h.performance?m.performance.log(arguments):(m.debug=Function.prototype.bind.call(console.info,console,h.name+":"),m.debug.apply(console,arguments)))},verbose:function(){h.verbose&&h.debug&&(h.performance?m.performance.log(arguments):(m.verbose=Function.prototype.bind.call(console.info,console,h.name+":"),m.verbose.apply(console,arguments)))},error:function(){m.error=Function.prototype.bind.call(console.error,console,h.name+":"),m.error.apply(console,arguments)},performance:{log:function(e){var t,i,n;h.performance&&(t=(new Date).getTime(),n=s||t,i=t-n,s=t,d.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:T,"Execution Time":i})),clearTimeout(m.performance.timer),m.performance.timer=setTimeout(m.performance.display,100)},display:function(){var t=h.name+":",i=0;s=!1,clearTimeout(m.performance.timer),e.each(d,function(e,t){i+=t["Execution Time"]}),t+=" "+i+"ms",p&&(t+=" '"+p+"'"),r.length>1&&(t+=" ("+r.length+")"),(console.group!==n||console.table!==n)&&d.length>0&&(console.groupCollapsed(t),console.table?console.table(d):e.each(d,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),d=[]}},invoke:function(t,i,a){var r,s,d,l=A;return i=i||g,a=T||a,"string"==typeof t&&l!==n&&(t=t.split(/[\. ]/),r=t.length-1,e.each(t,function(i,a){var o=i!=r?a+t[i+1].charAt(0).toUpperCase()+t[i+1].slice(1):t;if(e.isPlainObject(l[o])&&i!=r)l=l[o];else{if(l[o]!==n)return s=l[o],!1;if(!e.isPlainObject(l[a])||i==r)return l[a]!==n?(s=l[a],!1):!1;l=l[a]}})),e.isFunction(s)?d=s.apply(a,i):s!==n&&(d=s),e.isArray(o)?o.push(d):o!==n?o=[o,d]:d!==n&&(o=d),s}},u?(A===n&&m.initialize(),m.invoke(l)):(A!==n&&m.destroy(),m.initialize())}),o!==n?o:this},e.fn.shape.settings={name:"Shape",debug:!1,verbose:!0,performance:!0,namespace:"shape",beforeChange:function(){},onChange:function(){},allowRepeats:!1,duration:700,error:{side:"You tried to switch to a side that does not exist.",method:"The method you called is not defined"},className:{animating:"animating",hidden:"hidden",loading:"loading",active:"active"},selector:{sides:".sides",side:".side"}}}(jQuery,window,document);
|
@@ -0,0 +1,621 @@
|
|
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
|
+
Sidebar
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
|
19
|
+
/* Sidebar Menu */
|
20
|
+
.ui.sidebar {
|
21
|
+
position: fixed;
|
22
|
+
top: 0;
|
23
|
+
left: 0;
|
24
|
+
-webkit-backface-visibility: hidden;
|
25
|
+
backface-visibility: hidden;
|
26
|
+
-webkit-transition: none;
|
27
|
+
transition: none;
|
28
|
+
will-change: transform;
|
29
|
+
-webkit-transform: translate3d(0, 0, 0);
|
30
|
+
transform: translate3d(0, 0, 0);
|
31
|
+
visibility: hidden;
|
32
|
+
-webkit-overflow-scrolling: touch;
|
33
|
+
height: 100% !important;
|
34
|
+
border-radius: 0em !important;
|
35
|
+
margin: 0em !important;
|
36
|
+
overflow-y: auto !important;
|
37
|
+
z-index: 102;
|
38
|
+
}
|
39
|
+
|
40
|
+
/* GPU Layers for Child Elements */
|
41
|
+
.ui.sidebar > * {
|
42
|
+
-webkit-backface-visibility: hidden;
|
43
|
+
backface-visibility: hidden;
|
44
|
+
-webkit-transform: rotateZ(0deg);
|
45
|
+
transform: rotateZ(0deg);
|
46
|
+
}
|
47
|
+
|
48
|
+
/*--------------
|
49
|
+
Direction
|
50
|
+
---------------*/
|
51
|
+
|
52
|
+
.ui.left.sidebar {
|
53
|
+
right: auto;
|
54
|
+
left: 0px;
|
55
|
+
-webkit-transform: translate3d(-100%, 0, 0);
|
56
|
+
transform: translate3d(-100%, 0, 0);
|
57
|
+
}
|
58
|
+
.ui.right.sidebar {
|
59
|
+
right: 0px !important;
|
60
|
+
left: auto !important;
|
61
|
+
-webkit-transform: translate3d(100%, 0%, 0);
|
62
|
+
transform: translate3d(100%, 0%, 0);
|
63
|
+
}
|
64
|
+
.ui.top.sidebar,
|
65
|
+
.ui.bottom.sidebar {
|
66
|
+
width: 100% !important;
|
67
|
+
height: auto !important;
|
68
|
+
overflow-y: visible !important;
|
69
|
+
}
|
70
|
+
.ui.top.sidebar {
|
71
|
+
top: 0px !important;
|
72
|
+
bottom: auto !important;
|
73
|
+
-webkit-transform: translate3d(0, -100%, 0);
|
74
|
+
transform: translate3d(0, -100%, 0);
|
75
|
+
}
|
76
|
+
.ui.bottom.sidebar {
|
77
|
+
top: auto !important;
|
78
|
+
bottom: 0px !important;
|
79
|
+
-webkit-transform: translate3d(0, 100%, 0);
|
80
|
+
transform: translate3d(0, 100%, 0);
|
81
|
+
}
|
82
|
+
|
83
|
+
/*--------------
|
84
|
+
Pushable
|
85
|
+
---------------*/
|
86
|
+
|
87
|
+
.pushable {
|
88
|
+
height: 100%;
|
89
|
+
overflow-x: hidden;
|
90
|
+
padding: 0em !important;
|
91
|
+
}
|
92
|
+
|
93
|
+
/* Inside Page */
|
94
|
+
.pushable:not(body) {
|
95
|
+
-webkit-transform: translate3d(0, 0, 0);
|
96
|
+
transform: translate3d(0, 0, 0);
|
97
|
+
}
|
98
|
+
|
99
|
+
/* Whole Page */
|
100
|
+
body.pushable {
|
101
|
+
background: #333333 !important;
|
102
|
+
}
|
103
|
+
|
104
|
+
/*--------------
|
105
|
+
Fixed
|
106
|
+
---------------*/
|
107
|
+
|
108
|
+
.pushable > .fixed {
|
109
|
+
position: fixed;
|
110
|
+
-webkit-backface-visibility: hidden;
|
111
|
+
backface-visibility: hidden;
|
112
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
113
|
+
transition: transform 500ms ease;
|
114
|
+
will-change: transform;
|
115
|
+
z-index: 101;
|
116
|
+
}
|
117
|
+
|
118
|
+
/*--------------
|
119
|
+
Page
|
120
|
+
---------------*/
|
121
|
+
|
122
|
+
.pushable > .pusher {
|
123
|
+
position: relative;
|
124
|
+
-webkit-backface-visibility: hidden;
|
125
|
+
backface-visibility: hidden;
|
126
|
+
overflow: hidden;
|
127
|
+
min-height: 100%;
|
128
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
129
|
+
transition: transform 500ms ease;
|
130
|
+
z-index: 2;
|
131
|
+
}
|
132
|
+
body.pushable > .pusher {
|
133
|
+
background: #f7f7f7;
|
134
|
+
}
|
135
|
+
.pushable > .pusher {
|
136
|
+
background: inherit;
|
137
|
+
}
|
138
|
+
|
139
|
+
/*--------------
|
140
|
+
Dimmer
|
141
|
+
---------------*/
|
142
|
+
|
143
|
+
.pushable > .pusher:after {
|
144
|
+
position: fixed;
|
145
|
+
top: 0px;
|
146
|
+
right: 0px;
|
147
|
+
content: '';
|
148
|
+
background-color: rgba(0, 0, 0, 0.4);
|
149
|
+
width: 0px;
|
150
|
+
height: 0px;
|
151
|
+
overflow: hidden;
|
152
|
+
opacity: 0;
|
153
|
+
-webkit-transition: -webkit-transform 500ms, opacity 500ms;
|
154
|
+
transition: transform 500ms, opacity 500ms;
|
155
|
+
will-change: opacity;
|
156
|
+
z-index: 1000;
|
157
|
+
}
|
158
|
+
|
159
|
+
/*--------------
|
160
|
+
Coupling
|
161
|
+
---------------*/
|
162
|
+
|
163
|
+
.ui.sidebar.menu .item {
|
164
|
+
border-radius: 0em !important;
|
165
|
+
}
|
166
|
+
|
167
|
+
|
168
|
+
/*******************************
|
169
|
+
States
|
170
|
+
*******************************/
|
171
|
+
|
172
|
+
|
173
|
+
/*--------------
|
174
|
+
Dimmed
|
175
|
+
---------------*/
|
176
|
+
|
177
|
+
.pushable > .pusher.dimmed:after {
|
178
|
+
width: 100% !important;
|
179
|
+
height: 100% !important;
|
180
|
+
opacity: 1 !important;
|
181
|
+
}
|
182
|
+
|
183
|
+
/*--------------
|
184
|
+
Animating
|
185
|
+
---------------*/
|
186
|
+
|
187
|
+
.ui.animating.sidebar {
|
188
|
+
visibility: visible;
|
189
|
+
}
|
190
|
+
|
191
|
+
/*--------------
|
192
|
+
Visible
|
193
|
+
---------------*/
|
194
|
+
|
195
|
+
.ui.visible.sidebar {
|
196
|
+
visibility: visible;
|
197
|
+
-webkit-transform: translate3d(0, 0, 0);
|
198
|
+
transform: translate3d(0, 0, 0);
|
199
|
+
}
|
200
|
+
|
201
|
+
/* Shadow Direction */
|
202
|
+
.ui.left.visible.sidebar,
|
203
|
+
.ui.right.visible.sidebar {
|
204
|
+
box-shadow: 0px 0px 20px rgba(39, 41, 43, 0.15);
|
205
|
+
}
|
206
|
+
.ui.top.visible.sidebar,
|
207
|
+
.ui.bottom.visible.sidebar {
|
208
|
+
box-shadow: 0px 0px 20px rgba(39, 41, 43, 0.15);
|
209
|
+
}
|
210
|
+
|
211
|
+
/* Visible On Load */
|
212
|
+
.ui.visible.left.sidebar ~ .fixed,
|
213
|
+
.ui.visible.left.sidebar ~ .pusher {
|
214
|
+
-webkit-transform: translate3d(260px, 0, 0);
|
215
|
+
transform: translate3d(260px, 0, 0);
|
216
|
+
}
|
217
|
+
.ui.visible.right.sidebar ~ .fixed,
|
218
|
+
.ui.visible.right.sidebar ~ .pusher {
|
219
|
+
-webkit-transform: translate3d(-260px, 0, 0);
|
220
|
+
transform: translate3d(-260px, 0, 0);
|
221
|
+
}
|
222
|
+
.ui.visible.top.sidebar ~ .fixed,
|
223
|
+
.ui.visible.top.sidebar ~ .pusher {
|
224
|
+
-webkit-transform: translate3d(0, 36px, 0);
|
225
|
+
transform: translate3d(0, 36px, 0);
|
226
|
+
}
|
227
|
+
.ui.visible.bottom.sidebar ~ .fixed,
|
228
|
+
.ui.visible.bottom.sidebar ~ .pusher {
|
229
|
+
-webkit-transform: translate3d(0, -36px, 0);
|
230
|
+
transform: translate3d(0, -36px, 0);
|
231
|
+
}
|
232
|
+
|
233
|
+
/* opposite sides visible forces content overlay */
|
234
|
+
.ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .fixed,
|
235
|
+
.ui.visible.left.sidebar ~ .ui.visible.right.sidebar ~ .pusher,
|
236
|
+
.ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .fixed,
|
237
|
+
.ui.visible.right.sidebar ~ .ui.visible.left.sidebar ~ .pusher {
|
238
|
+
-webkit-transform: translate3d(0, 0, 0);
|
239
|
+
transform: translate3d(0, 0, 0);
|
240
|
+
}
|
241
|
+
|
242
|
+
/*--------------
|
243
|
+
iOS
|
244
|
+
---------------*/
|
245
|
+
|
246
|
+
/*
|
247
|
+
iOS incorrectly sizes document when content
|
248
|
+
is presented outside of view with 2Dtranslate
|
249
|
+
*/
|
250
|
+
html.ios {
|
251
|
+
overflow-x: hidden;
|
252
|
+
-webkit-overflow-scrolling: touch;
|
253
|
+
}
|
254
|
+
|
255
|
+
|
256
|
+
/*******************************
|
257
|
+
Variations
|
258
|
+
*******************************/
|
259
|
+
|
260
|
+
|
261
|
+
/*--------------
|
262
|
+
Width
|
263
|
+
---------------*/
|
264
|
+
|
265
|
+
|
266
|
+
/* Left / Right */
|
267
|
+
.ui[class*="very thin"].left.sidebar,
|
268
|
+
.ui[class*="very thin"].right.sidebar {
|
269
|
+
width: 60px;
|
270
|
+
}
|
271
|
+
.ui.thin.left.sidebar,
|
272
|
+
.ui.thin.right.sidebar {
|
273
|
+
width: 150px;
|
274
|
+
}
|
275
|
+
.ui.left.sidebar,
|
276
|
+
.ui.right.sidebar {
|
277
|
+
width: 260px;
|
278
|
+
}
|
279
|
+
.ui.wide.left.sidebar,
|
280
|
+
.ui.wide.right.sidebar {
|
281
|
+
width: 350px;
|
282
|
+
}
|
283
|
+
.ui[class*="very wide"].left.sidebar,
|
284
|
+
.ui[class*="very wide"].right.sidebar {
|
285
|
+
width: 475px;
|
286
|
+
}
|
287
|
+
|
288
|
+
/* Left Visible */
|
289
|
+
.ui.visible[class*="very thin"].left.sidebar ~ .fixed,
|
290
|
+
.ui.visible[class*="very thin"].left.sidebar ~ .pusher {
|
291
|
+
-webkit-transform: translate3d(60px, 0, 0);
|
292
|
+
transform: translate3d(60px, 0, 0);
|
293
|
+
}
|
294
|
+
.ui.visible.thin.left.sidebar ~ .fixed,
|
295
|
+
.ui.visible.thin.left.sidebar ~ .pusher {
|
296
|
+
-webkit-transform: translate3d(150px, 0, 0);
|
297
|
+
transform: translate3d(150px, 0, 0);
|
298
|
+
}
|
299
|
+
.ui.visible.wide.left.sidebar ~ .fixed,
|
300
|
+
.ui.visible.wide.left.sidebar ~ .pusher {
|
301
|
+
-webkit-transform: translate3d(350px, 0, 0);
|
302
|
+
transform: translate3d(350px, 0, 0);
|
303
|
+
}
|
304
|
+
.ui.visible[class*="very wide"].left.sidebar ~ .fixed,
|
305
|
+
.ui.visible[class*="very wide"].left.sidebar ~ .pusher {
|
306
|
+
-webkit-transform: translate3d(475px, 0, 0);
|
307
|
+
transform: translate3d(475px, 0, 0);
|
308
|
+
}
|
309
|
+
|
310
|
+
/* Right Visible */
|
311
|
+
.ui.visible[class*="very thin"].right.sidebar ~ .fixed,
|
312
|
+
.ui.visible[class*="very thin"].right.sidebar ~ .pusher {
|
313
|
+
-webkit-transform: translate3d(-60px, 0, 0);
|
314
|
+
transform: translate3d(-60px, 0, 0);
|
315
|
+
}
|
316
|
+
.ui.visible.thin.right.sidebar ~ .fixed,
|
317
|
+
.ui.visible.thin.right.sidebar ~ .pusher {
|
318
|
+
-webkit-transform: translate3d(-150px, 0, 0);
|
319
|
+
transform: translate3d(-150px, 0, 0);
|
320
|
+
}
|
321
|
+
.ui.visible.wide.right.sidebar ~ .fixed,
|
322
|
+
.ui.visible.wide.right.sidebar ~ .pusher {
|
323
|
+
-webkit-transform: translate3d(-350px, 0, 0);
|
324
|
+
transform: translate3d(-350px, 0, 0);
|
325
|
+
}
|
326
|
+
.ui.visible[class*="very wide"].right.sidebar ~ .fixed,
|
327
|
+
.ui.visible[class*="very wide"].right.sidebar ~ .pusher {
|
328
|
+
-webkit-transform: translate3d(-475px, 0, 0);
|
329
|
+
transform: translate3d(-475px, 0, 0);
|
330
|
+
}
|
331
|
+
|
332
|
+
|
333
|
+
/*******************************
|
334
|
+
Animations
|
335
|
+
*******************************/
|
336
|
+
|
337
|
+
|
338
|
+
/*--------------
|
339
|
+
Overlay
|
340
|
+
---------------*/
|
341
|
+
|
342
|
+
|
343
|
+
/* Set-up */
|
344
|
+
.ui.overlay.sidebar {
|
345
|
+
z-index: 102;
|
346
|
+
}
|
347
|
+
|
348
|
+
/* Initial */
|
349
|
+
.ui.left.overlay.sidebar {
|
350
|
+
-webkit-transform: translate3d(-100%, 0%, 0);
|
351
|
+
transform: translate3d(-100%, 0%, 0);
|
352
|
+
}
|
353
|
+
.ui.right.overlay.sidebar {
|
354
|
+
-webkit-transform: translate3d(100%, 0%, 0);
|
355
|
+
transform: translate3d(100%, 0%, 0);
|
356
|
+
}
|
357
|
+
.ui.top.overlay.sidebar {
|
358
|
+
-webkit-transform: translate3d(0%, -100%, 0);
|
359
|
+
transform: translate3d(0%, -100%, 0);
|
360
|
+
}
|
361
|
+
.ui.bottom.overlay.sidebar {
|
362
|
+
-webkit-transform: translate3d(0%, 100%, 0);
|
363
|
+
transform: translate3d(0%, 100%, 0);
|
364
|
+
}
|
365
|
+
|
366
|
+
/* Animation */
|
367
|
+
.animating.ui.overlay.sidebar,
|
368
|
+
.ui.visible.overlay.sidebar {
|
369
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
370
|
+
transition: transform 500ms ease;
|
371
|
+
}
|
372
|
+
|
373
|
+
/* End - Sidebar */
|
374
|
+
.ui.visible.left.overlay.sidebar {
|
375
|
+
-webkit-transform: translate3d(0%, 0%, 0);
|
376
|
+
transform: translate3d(0%, 0%, 0);
|
377
|
+
}
|
378
|
+
.ui.visible.right.overlay.sidebar {
|
379
|
+
-webkit-transform: translate3d(0%, 0%, 0);
|
380
|
+
transform: translate3d(0%, 0%, 0);
|
381
|
+
}
|
382
|
+
.ui.visible.top.overlay.sidebar {
|
383
|
+
-webkit-transform: translate3d(0%, 0%, 0);
|
384
|
+
transform: translate3d(0%, 0%, 0);
|
385
|
+
}
|
386
|
+
.ui.visible.bottom.overlay.sidebar {
|
387
|
+
-webkit-transform: translate3d(0%, 0%, 0);
|
388
|
+
transform: translate3d(0%, 0%, 0);
|
389
|
+
}
|
390
|
+
|
391
|
+
/* End - Pusher */
|
392
|
+
.ui.visible.overlay.sidebar ~ .fixed,
|
393
|
+
.ui.visible.overlay.sidebar ~ .pusher {
|
394
|
+
-webkit-transform: none !important;
|
395
|
+
-ms-transform: none !important;
|
396
|
+
transform: none !important;
|
397
|
+
}
|
398
|
+
|
399
|
+
/*--------------
|
400
|
+
Push
|
401
|
+
---------------*/
|
402
|
+
|
403
|
+
|
404
|
+
/* Initial */
|
405
|
+
.ui.push.sidebar {
|
406
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
407
|
+
transition: transform 500ms ease;
|
408
|
+
z-index: 102;
|
409
|
+
}
|
410
|
+
|
411
|
+
/* Sidebar - Initial */
|
412
|
+
.ui.left.push.sidebar {
|
413
|
+
-webkit-transform: translate3d(-100%, 0, 0);
|
414
|
+
transform: translate3d(-100%, 0, 0);
|
415
|
+
}
|
416
|
+
.ui.right.push.sidebar {
|
417
|
+
-webkit-transform: translate3d(100%, 0, 0);
|
418
|
+
transform: translate3d(100%, 0, 0);
|
419
|
+
}
|
420
|
+
.ui.top.push.sidebar {
|
421
|
+
-webkit-transform: translate3d(0%, -100%, 0);
|
422
|
+
transform: translate3d(0%, -100%, 0);
|
423
|
+
}
|
424
|
+
.ui.bottom.push.sidebar {
|
425
|
+
-webkit-transform: translate3d(0%, 100%, 0);
|
426
|
+
transform: translate3d(0%, 100%, 0);
|
427
|
+
}
|
428
|
+
|
429
|
+
/* End */
|
430
|
+
.ui.visible.push.sidebar {
|
431
|
+
-webkit-transform: translate3d(0%, 0, 0);
|
432
|
+
transform: translate3d(0%, 0, 0);
|
433
|
+
}
|
434
|
+
|
435
|
+
/*--------------
|
436
|
+
Uncover
|
437
|
+
---------------*/
|
438
|
+
|
439
|
+
|
440
|
+
/* Initial */
|
441
|
+
.ui.uncover.sidebar {
|
442
|
+
-webkit-transform: translate3d(0, 0, 0);
|
443
|
+
transform: translate3d(0, 0, 0);
|
444
|
+
z-index: 1;
|
445
|
+
}
|
446
|
+
|
447
|
+
/* End */
|
448
|
+
.ui.visible.uncover.sidebar {
|
449
|
+
-webkit-transform: translate3d(0, 0, 0);
|
450
|
+
transform: translate3d(0, 0, 0);
|
451
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
452
|
+
transition: transform 500ms ease;
|
453
|
+
}
|
454
|
+
|
455
|
+
/*--------------
|
456
|
+
Slide Along
|
457
|
+
---------------*/
|
458
|
+
|
459
|
+
|
460
|
+
/* Initial */
|
461
|
+
.ui.slide.along.sidebar {
|
462
|
+
z-index: 1;
|
463
|
+
}
|
464
|
+
|
465
|
+
/* Sidebar - Initial */
|
466
|
+
.ui.left.slide.along.sidebar {
|
467
|
+
-webkit-transform: translate3d(-50%, 0, 0);
|
468
|
+
transform: translate3d(-50%, 0, 0);
|
469
|
+
}
|
470
|
+
.ui.right.slide.along.sidebar {
|
471
|
+
-webkit-transform: translate3d(50%, 0, 0);
|
472
|
+
transform: translate3d(50%, 0, 0);
|
473
|
+
}
|
474
|
+
.ui.top.slide.along.sidebar {
|
475
|
+
-webkit-transform: translate3d(0, -50%, 0);
|
476
|
+
transform: translate3d(0, -50%, 0);
|
477
|
+
}
|
478
|
+
.ui.bottom.slide.along.sidebar {
|
479
|
+
-webkit-transform: translate3d(0%, 50%, 0);
|
480
|
+
transform: translate3d(0%, 50%, 0);
|
481
|
+
}
|
482
|
+
|
483
|
+
/* Animation */
|
484
|
+
.ui.animating.slide.along.sidebar {
|
485
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
486
|
+
transition: transform 500ms ease;
|
487
|
+
}
|
488
|
+
|
489
|
+
/* End */
|
490
|
+
.ui.visible.slide.along.sidebar {
|
491
|
+
-webkit-transform: translate3d(0%, 0, 0);
|
492
|
+
transform: translate3d(0%, 0, 0);
|
493
|
+
}
|
494
|
+
|
495
|
+
/*--------------
|
496
|
+
Slide Out
|
497
|
+
---------------*/
|
498
|
+
|
499
|
+
|
500
|
+
/* Initial */
|
501
|
+
.ui.slide.out.sidebar {
|
502
|
+
z-index: 1;
|
503
|
+
}
|
504
|
+
|
505
|
+
/* Sidebar - Initial */
|
506
|
+
.ui.left.slide.out.sidebar {
|
507
|
+
-webkit-transform: translate3d(50%, 0, 0);
|
508
|
+
transform: translate3d(50%, 0, 0);
|
509
|
+
}
|
510
|
+
.ui.right.slide.out.sidebar {
|
511
|
+
-webkit-transform: translate3d(-50%, 0, 0);
|
512
|
+
transform: translate3d(-50%, 0, 0);
|
513
|
+
}
|
514
|
+
.ui.top.slide.out.sidebar {
|
515
|
+
-webkit-transform: translate3d(0%, 50%, 0);
|
516
|
+
transform: translate3d(0%, 50%, 0);
|
517
|
+
}
|
518
|
+
.ui.bottom.slide.out.sidebar {
|
519
|
+
-webkit-transform: translate3d(0%, -50%, 0);
|
520
|
+
transform: translate3d(0%, -50%, 0);
|
521
|
+
}
|
522
|
+
|
523
|
+
/* Animation */
|
524
|
+
.ui.animating.slide.out.sidebar {
|
525
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
526
|
+
transition: transform 500ms ease;
|
527
|
+
}
|
528
|
+
|
529
|
+
/* End */
|
530
|
+
.ui.visible.slide.out.sidebar {
|
531
|
+
-webkit-transform: translate3d(0%, 0, 0);
|
532
|
+
transform: translate3d(0%, 0, 0);
|
533
|
+
}
|
534
|
+
|
535
|
+
/*--------------
|
536
|
+
Scale Down
|
537
|
+
---------------*/
|
538
|
+
|
539
|
+
|
540
|
+
/* Initial */
|
541
|
+
.ui.scale.down.sidebar {
|
542
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
543
|
+
transition: transform 500ms ease;
|
544
|
+
z-index: 102;
|
545
|
+
}
|
546
|
+
|
547
|
+
/* Sidebar - Initial */
|
548
|
+
.ui.left.scale.down.sidebar {
|
549
|
+
-webkit-transform: translate3d(-100%, 0, 0);
|
550
|
+
transform: translate3d(-100%, 0, 0);
|
551
|
+
}
|
552
|
+
.ui.right.scale.down.sidebar {
|
553
|
+
-webkit-transform: translate3d(100%, 0, 0);
|
554
|
+
transform: translate3d(100%, 0, 0);
|
555
|
+
}
|
556
|
+
.ui.top.scale.down.sidebar {
|
557
|
+
-webkit-transform: translate3d(0%, -100%, 0);
|
558
|
+
transform: translate3d(0%, -100%, 0);
|
559
|
+
}
|
560
|
+
.ui.bottom.scale.down.sidebar {
|
561
|
+
-webkit-transform: translate3d(0%, 100%, 0);
|
562
|
+
transform: translate3d(0%, 100%, 0);
|
563
|
+
}
|
564
|
+
|
565
|
+
/* Pusher - Initial */
|
566
|
+
.ui.scale.down.left.sidebar ~ .pusher {
|
567
|
+
-webkit-transform-origin: 75% 50%;
|
568
|
+
-ms-transform-origin: 75% 50%;
|
569
|
+
transform-origin: 75% 50%;
|
570
|
+
}
|
571
|
+
.ui.scale.down.right.sidebar ~ .pusher {
|
572
|
+
-webkit-transform-origin: 25% 50%;
|
573
|
+
-ms-transform-origin: 25% 50%;
|
574
|
+
transform-origin: 25% 50%;
|
575
|
+
}
|
576
|
+
.ui.scale.down.top.sidebar ~ .pusher {
|
577
|
+
-webkit-transform-origin: 50% 75%;
|
578
|
+
-ms-transform-origin: 50% 75%;
|
579
|
+
transform-origin: 50% 75%;
|
580
|
+
}
|
581
|
+
.ui.scale.down.bottom.sidebar ~ .pusher {
|
582
|
+
-webkit-transform-origin: 50% 25%;
|
583
|
+
-ms-transform-origin: 50% 25%;
|
584
|
+
transform-origin: 50% 25%;
|
585
|
+
}
|
586
|
+
|
587
|
+
/* Animation */
|
588
|
+
.ui.animating.scale.down > .visible.ui.sidebar {
|
589
|
+
-webkit-transition: -webkit-transform 500ms ease;
|
590
|
+
transition: transform 500ms ease;
|
591
|
+
}
|
592
|
+
.ui.visible.scale.down.sidebar ~ .pusher,
|
593
|
+
.ui.animating.scale.down.sidebar ~ .pusher {
|
594
|
+
display: block !important;
|
595
|
+
width: 100%;
|
596
|
+
height: 100%;
|
597
|
+
overflow: hidden;
|
598
|
+
}
|
599
|
+
|
600
|
+
/* End */
|
601
|
+
.ui.visible.scale.down.sidebar {
|
602
|
+
-webkit-transform: translate3d(0, 0, 0);
|
603
|
+
transform: translate3d(0, 0, 0);
|
604
|
+
}
|
605
|
+
.ui.visible.scale.down.sidebar ~ .pusher {
|
606
|
+
-webkit-transform: scale(0.75);
|
607
|
+
-ms-transform: scale(0.75);
|
608
|
+
transform: scale(0.75);
|
609
|
+
}
|
610
|
+
|
611
|
+
|
612
|
+
/*******************************
|
613
|
+
Theme Overrides
|
614
|
+
*******************************/
|
615
|
+
|
616
|
+
|
617
|
+
|
618
|
+
/*******************************
|
619
|
+
Site Overrides
|
620
|
+
*******************************/
|
621
|
+
|