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
|
+
*,:after,:before{box-sizing:inherit}html{box-sizing:border-box}input[type=text],input[type=email],input[type=search],input[type=password]{-webkit-appearance:none;-moz-appearance:none}html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}
|
@@ -0,0 +1,294 @@
|
|
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
|
+
Reveal
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
.ui.reveal {
|
19
|
+
display: inline-block;
|
20
|
+
position: relative !important;
|
21
|
+
font-size: 0em !important;
|
22
|
+
}
|
23
|
+
.ui.reveal > .visible.content {
|
24
|
+
position: absolute !important;
|
25
|
+
top: 0em !important;
|
26
|
+
left: 0em !important;
|
27
|
+
z-index: 3 !important;
|
28
|
+
-webkit-transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
|
29
|
+
transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
|
30
|
+
}
|
31
|
+
.ui.reveal > .hidden.content {
|
32
|
+
position: relative !important;
|
33
|
+
z-index: 2 !important;
|
34
|
+
}
|
35
|
+
|
36
|
+
/* Make sure hovered element is on top of other reveal */
|
37
|
+
.ui.reveal:hover .visible.content {
|
38
|
+
z-index: 4 !important;
|
39
|
+
}
|
40
|
+
|
41
|
+
|
42
|
+
/*******************************
|
43
|
+
Types
|
44
|
+
*******************************/
|
45
|
+
|
46
|
+
|
47
|
+
/*--------------
|
48
|
+
Slide
|
49
|
+
---------------*/
|
50
|
+
|
51
|
+
.ui.slide.reveal {
|
52
|
+
position: relative !important;
|
53
|
+
overflow: hidden !important;
|
54
|
+
white-space: nowrap;
|
55
|
+
}
|
56
|
+
.ui.slide.reveal > .content {
|
57
|
+
display: block;
|
58
|
+
float: left;
|
59
|
+
margin: 0em;
|
60
|
+
-webkit-transition: -webkit-transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
|
61
|
+
transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
|
62
|
+
}
|
63
|
+
.ui.slide.reveal > .visible.content {
|
64
|
+
position: relative !important;
|
65
|
+
}
|
66
|
+
.ui.slide.reveal > .hidden.content {
|
67
|
+
position: absolute !important;
|
68
|
+
left: 0% !important;
|
69
|
+
width: 100% !important;
|
70
|
+
-webkit-transform: translateX(100%) !important;
|
71
|
+
-ms-transform: translateX(100%) !important;
|
72
|
+
transform: translateX(100%) !important;
|
73
|
+
}
|
74
|
+
.ui.slide.reveal:hover > .visible.content {
|
75
|
+
-webkit-transform: translateX(-100%) !important;
|
76
|
+
-ms-transform: translateX(-100%) !important;
|
77
|
+
transform: translateX(-100%) !important;
|
78
|
+
}
|
79
|
+
.ui.slide.reveal:hover > .hidden.content {
|
80
|
+
-webkit-transform: translateX(0%) !important;
|
81
|
+
-ms-transform: translateX(0%) !important;
|
82
|
+
transform: translateX(0%) !important;
|
83
|
+
}
|
84
|
+
.ui.slide.right.reveal > .visible.content {
|
85
|
+
-webkit-transform: translateX(0%) !important;
|
86
|
+
-ms-transform: translateX(0%) !important;
|
87
|
+
transform: translateX(0%) !important;
|
88
|
+
}
|
89
|
+
.ui.slide.right.reveal > .hidden.content {
|
90
|
+
-webkit-transform: translateX(-100%) !important;
|
91
|
+
-ms-transform: translateX(-100%) !important;
|
92
|
+
transform: translateX(-100%) !important;
|
93
|
+
}
|
94
|
+
.ui.slide.right.reveal:hover > .visible.content {
|
95
|
+
-webkit-transform: translateX(100%) !important;
|
96
|
+
-ms-transform: translateX(100%) !important;
|
97
|
+
transform: translateX(100%) !important;
|
98
|
+
}
|
99
|
+
.ui.slide.right.reveal:hover > .hidden.content {
|
100
|
+
-webkit-transform: translateX(0%) !important;
|
101
|
+
-ms-transform: translateX(0%) !important;
|
102
|
+
transform: translateX(0%) !important;
|
103
|
+
}
|
104
|
+
.ui.slide.up.reveal > .hidden.content {
|
105
|
+
-webkit-transform: translateY(100%) !important;
|
106
|
+
-ms-transform: translateY(100%) !important;
|
107
|
+
transform: translateY(100%) !important;
|
108
|
+
}
|
109
|
+
.ui.slide.up.reveal:hover > .visible.content {
|
110
|
+
-webkit-transform: translateY(-100%) !important;
|
111
|
+
-ms-transform: translateY(-100%) !important;
|
112
|
+
transform: translateY(-100%) !important;
|
113
|
+
}
|
114
|
+
.ui.slide.up.reveal:hover > .hidden.content {
|
115
|
+
-webkit-transform: translateY(0%) !important;
|
116
|
+
-ms-transform: translateY(0%) !important;
|
117
|
+
transform: translateY(0%) !important;
|
118
|
+
}
|
119
|
+
.ui.slide.down.reveal > .hidden.content {
|
120
|
+
-webkit-transform: translateY(-100%) !important;
|
121
|
+
-ms-transform: translateY(-100%) !important;
|
122
|
+
transform: translateY(-100%) !important;
|
123
|
+
}
|
124
|
+
.ui.slide.down.reveal:hover > .visible.content {
|
125
|
+
-webkit-transform: translateY(100%) !important;
|
126
|
+
-ms-transform: translateY(100%) !important;
|
127
|
+
transform: translateY(100%) !important;
|
128
|
+
}
|
129
|
+
.ui.slide.down.reveal:hover > .hidden.content {
|
130
|
+
-webkit-transform: translateY(0%) !important;
|
131
|
+
-ms-transform: translateY(0%) !important;
|
132
|
+
transform: translateY(0%) !important;
|
133
|
+
}
|
134
|
+
|
135
|
+
/*--------------
|
136
|
+
Fade
|
137
|
+
---------------*/
|
138
|
+
|
139
|
+
.ui.fade.reveal > .visible.content {
|
140
|
+
opacity: 1;
|
141
|
+
}
|
142
|
+
.ui.fade.reveal:hover > .visible.content {
|
143
|
+
opacity: 0;
|
144
|
+
}
|
145
|
+
|
146
|
+
/*--------------
|
147
|
+
Move
|
148
|
+
---------------*/
|
149
|
+
|
150
|
+
.ui.move.reveal {
|
151
|
+
position: relative !important;
|
152
|
+
overflow: hidden !important;
|
153
|
+
white-space: nowrap;
|
154
|
+
}
|
155
|
+
.ui.move.reveal > .content {
|
156
|
+
display: block;
|
157
|
+
float: left;
|
158
|
+
margin: 0em;
|
159
|
+
-webkit-transition: -webkit-transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
|
160
|
+
transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1) 0.15s;
|
161
|
+
}
|
162
|
+
.ui.move.reveal > .visible.content {
|
163
|
+
position: relative !important;
|
164
|
+
}
|
165
|
+
.ui.move.reveal > .hidden.content {
|
166
|
+
position: absolute !important;
|
167
|
+
left: 0% !important;
|
168
|
+
width: 100% !important;
|
169
|
+
}
|
170
|
+
.ui.move.reveal:hover > .visible.content {
|
171
|
+
-webkit-transform: translateX(-100%) !important;
|
172
|
+
-ms-transform: translateX(-100%) !important;
|
173
|
+
transform: translateX(-100%) !important;
|
174
|
+
}
|
175
|
+
.ui.move.right.reveal:hover > .visible.content {
|
176
|
+
-webkit-transform: translateX(100%) !important;
|
177
|
+
-ms-transform: translateX(100%) !important;
|
178
|
+
transform: translateX(100%) !important;
|
179
|
+
}
|
180
|
+
.ui.move.up.reveal:hover > .visible.content {
|
181
|
+
-webkit-transform: translateY(-100%) !important;
|
182
|
+
-ms-transform: translateY(-100%) !important;
|
183
|
+
transform: translateY(-100%) !important;
|
184
|
+
}
|
185
|
+
.ui.move.down.reveal:hover > .visible.content {
|
186
|
+
-webkit-transform: translateY(100%) !important;
|
187
|
+
-ms-transform: translateY(100%) !important;
|
188
|
+
transform: translateY(100%) !important;
|
189
|
+
}
|
190
|
+
|
191
|
+
/*--------------
|
192
|
+
Rotate
|
193
|
+
---------------*/
|
194
|
+
|
195
|
+
.ui.rotate.reveal > .visible.content {
|
196
|
+
-webkit-transition-duration: 0.8s;
|
197
|
+
transition-duration: 0.8s;
|
198
|
+
-webkit-transform: rotate(0deg);
|
199
|
+
-ms-transform: rotate(0deg);
|
200
|
+
transform: rotate(0deg);
|
201
|
+
}
|
202
|
+
.ui.rotate.reveal > .visible.content,
|
203
|
+
.ui.rotate.right.reveal > .visible.content {
|
204
|
+
-webkit-transform-origin: bottom right;
|
205
|
+
-ms-transform-origin: bottom right;
|
206
|
+
transform-origin: bottom right;
|
207
|
+
}
|
208
|
+
.ui.rotate.reveal:hover > .visible.content,
|
209
|
+
.ui.rotate.right.reveal:hover > .visible.content {
|
210
|
+
-webkit-transform: rotate(110deg);
|
211
|
+
-ms-transform: rotate(110deg);
|
212
|
+
transform: rotate(110deg);
|
213
|
+
}
|
214
|
+
.ui.rotate.left.reveal > .visible.content {
|
215
|
+
-webkit-transform-origin: bottom left;
|
216
|
+
-ms-transform-origin: bottom left;
|
217
|
+
transform-origin: bottom left;
|
218
|
+
}
|
219
|
+
.ui.rotate.left.reveal:hover > .visible.content {
|
220
|
+
-webkit-transform: rotate(-110deg);
|
221
|
+
-ms-transform: rotate(-110deg);
|
222
|
+
transform: rotate(-110deg);
|
223
|
+
}
|
224
|
+
|
225
|
+
|
226
|
+
/*******************************
|
227
|
+
States
|
228
|
+
*******************************/
|
229
|
+
|
230
|
+
.ui.disabled.reveal {
|
231
|
+
opacity: 1 !important;
|
232
|
+
}
|
233
|
+
.ui.disabled.reveal > .content {
|
234
|
+
-webkit-transition: none !important;
|
235
|
+
transition: none !important;
|
236
|
+
}
|
237
|
+
.ui.disabled.reveal:hover > .visible.content {
|
238
|
+
position: static !important;
|
239
|
+
display: block !important;
|
240
|
+
opacity: 1 !important;
|
241
|
+
top: 0 !important;
|
242
|
+
left: 0 !important;
|
243
|
+
right: auto !important;
|
244
|
+
bottom: auto !important;
|
245
|
+
-webkit-transform: none !important;
|
246
|
+
-ms-transform: none !important;
|
247
|
+
transform: none !important;
|
248
|
+
}
|
249
|
+
.ui.disabled.reveal:hover > .hidden.content {
|
250
|
+
display: none !important;
|
251
|
+
}
|
252
|
+
|
253
|
+
|
254
|
+
/*******************************
|
255
|
+
Variations
|
256
|
+
*******************************/
|
257
|
+
|
258
|
+
|
259
|
+
/*--------------
|
260
|
+
Masked
|
261
|
+
---------------*/
|
262
|
+
|
263
|
+
.ui.masked.reveal {
|
264
|
+
overflow: hidden;
|
265
|
+
}
|
266
|
+
|
267
|
+
/*--------------
|
268
|
+
Instant
|
269
|
+
---------------*/
|
270
|
+
|
271
|
+
.ui.instant.reveal > .content {
|
272
|
+
-webkit-transition-delay: 0s !important;
|
273
|
+
transition-delay: 0s !important;
|
274
|
+
}
|
275
|
+
|
276
|
+
/*--------------
|
277
|
+
Sizing
|
278
|
+
---------------*/
|
279
|
+
|
280
|
+
.ui.reveal > .content {
|
281
|
+
font-size: 1rem !important;
|
282
|
+
}
|
283
|
+
|
284
|
+
|
285
|
+
/*******************************
|
286
|
+
Theme Overrides
|
287
|
+
*******************************/
|
288
|
+
|
289
|
+
|
290
|
+
|
291
|
+
/*******************************
|
292
|
+
Site Overrides
|
293
|
+
*******************************/
|
294
|
+
|
@@ -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.reveal{display:inline-block;position:relative!important;font-size:0!important}.ui.reveal>.visible.content{position:absolute!important;top:0!important;left:0!important;z-index:3!important;-webkit-transition:all .8s cubic-bezier(.175,.885,.32,1) .15s;transition:all .8s cubic-bezier(.175,.885,.32,1) .15s}.ui.reveal>.hidden.content{position:relative!important;z-index:2!important}.ui.reveal:hover .visible.content{z-index:4!important}.ui.slide.reveal{position:relative!important;overflow:hidden!important;white-space:nowrap}.ui.slide.reveal>.content{display:block;float:left;margin:0;-webkit-transition:-webkit-transform .8s cubic-bezier(.175,.885,.32,1) .15s;transition:transform .8s cubic-bezier(.175,.885,.32,1) .15s}.ui.slide.reveal>.visible.content{position:relative!important}.ui.slide.reveal>.hidden.content{position:absolute!important;left:0!important;width:100%!important;-webkit-transform:translateX(100%)!important;-ms-transform:translateX(100%)!important;transform:translateX(100%)!important}.ui.slide.reveal:hover>.visible.content{-webkit-transform:translateX(-100%)!important;-ms-transform:translateX(-100%)!important;transform:translateX(-100%)!important}.ui.slide.reveal:hover>.hidden.content,.ui.slide.right.reveal>.visible.content{-webkit-transform:translateX(0)!important;-ms-transform:translateX(0)!important;transform:translateX(0)!important}.ui.slide.right.reveal>.hidden.content{-webkit-transform:translateX(-100%)!important;-ms-transform:translateX(-100%)!important;transform:translateX(-100%)!important}.ui.slide.right.reveal:hover>.visible.content{-webkit-transform:translateX(100%)!important;-ms-transform:translateX(100%)!important;transform:translateX(100%)!important}.ui.slide.right.reveal:hover>.hidden.content{-webkit-transform:translateX(0)!important;-ms-transform:translateX(0)!important;transform:translateX(0)!important}.ui.slide.up.reveal>.hidden.content{-webkit-transform:translateY(100%)!important;-ms-transform:translateY(100%)!important;transform:translateY(100%)!important}.ui.slide.up.reveal:hover>.visible.content{-webkit-transform:translateY(-100%)!important;-ms-transform:translateY(-100%)!important;transform:translateY(-100%)!important}.ui.slide.up.reveal:hover>.hidden.content{-webkit-transform:translateY(0)!important;-ms-transform:translateY(0)!important;transform:translateY(0)!important}.ui.slide.down.reveal>.hidden.content{-webkit-transform:translateY(-100%)!important;-ms-transform:translateY(-100%)!important;transform:translateY(-100%)!important}.ui.slide.down.reveal:hover>.visible.content{-webkit-transform:translateY(100%)!important;-ms-transform:translateY(100%)!important;transform:translateY(100%)!important}.ui.slide.down.reveal:hover>.hidden.content{-webkit-transform:translateY(0)!important;-ms-transform:translateY(0)!important;transform:translateY(0)!important}.ui.fade.reveal>.visible.content{opacity:1}.ui.fade.reveal:hover>.visible.content{opacity:0}.ui.move.reveal{position:relative!important;overflow:hidden!important;white-space:nowrap}.ui.move.reveal>.content{display:block;float:left;margin:0;-webkit-transition:-webkit-transform .8s cubic-bezier(.175,.885,.32,1) .15s;transition:transform .8s cubic-bezier(.175,.885,.32,1) .15s}.ui.move.reveal>.visible.content{position:relative!important}.ui.move.reveal>.hidden.content{position:absolute!important;left:0!important;width:100%!important}.ui.move.reveal:hover>.visible.content{-webkit-transform:translateX(-100%)!important;-ms-transform:translateX(-100%)!important;transform:translateX(-100%)!important}.ui.move.right.reveal:hover>.visible.content{-webkit-transform:translateX(100%)!important;-ms-transform:translateX(100%)!important;transform:translateX(100%)!important}.ui.move.up.reveal:hover>.visible.content{-webkit-transform:translateY(-100%)!important;-ms-transform:translateY(-100%)!important;transform:translateY(-100%)!important}.ui.move.down.reveal:hover>.visible.content{-webkit-transform:translateY(100%)!important;-ms-transform:translateY(100%)!important;transform:translateY(100%)!important}.ui.rotate.reveal>.visible.content{-webkit-transition-duration:.8s;transition-duration:.8s;-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg)}.ui.rotate.reveal>.visible.content,.ui.rotate.right.reveal>.visible.content{-webkit-transform-origin:bottom right;-ms-transform-origin:bottom right;transform-origin:bottom right}.ui.rotate.reveal:hover>.visible.content,.ui.rotate.right.reveal:hover>.visible.content{-webkit-transform:rotate(110deg);-ms-transform:rotate(110deg);transform:rotate(110deg)}.ui.rotate.left.reveal>.visible.content{-webkit-transform-origin:bottom left;-ms-transform-origin:bottom left;transform-origin:bottom left}.ui.rotate.left.reveal:hover>.visible.content{-webkit-transform:rotate(-110deg);-ms-transform:rotate(-110deg);transform:rotate(-110deg)}.ui.disabled.reveal{opacity:1!important}.ui.disabled.reveal>.content{-webkit-transition:none!important;transition:none!important}.ui.disabled.reveal:hover>.visible.content{position:static!important;display:block!important;opacity:1!important;top:0!important;left:0!important;right:auto!important;bottom:auto!important;-webkit-transform:none!important;-ms-transform:none!important;transform:none!important}.ui.disabled.reveal:hover>.hidden.content{display:none!important}.ui.masked.reveal{overflow:hidden}.ui.instant.reveal>.content{-webkit-transition-delay:0s!important;transition-delay:0s!important}.ui.reveal>.content{font-size:1rem!important}
|
@@ -0,0 +1,330 @@
|
|
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
|
+
Search
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
.ui.search {
|
19
|
+
position: relative;
|
20
|
+
}
|
21
|
+
.ui.search > .prompt {
|
22
|
+
margin: 0em;
|
23
|
+
outline: none;
|
24
|
+
-webkit-appearance: none;
|
25
|
+
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
|
26
|
+
text-shadow: none;
|
27
|
+
font-style: normal;
|
28
|
+
font-weight: normal;
|
29
|
+
line-height: 1.2;
|
30
|
+
padding: 0.68571em 1em;
|
31
|
+
font-size: 1em;
|
32
|
+
background: #ffffff;
|
33
|
+
border: 1px solid rgba(39, 41, 43, 0.15);
|
34
|
+
color: rgba(0, 0, 0, 0.8);
|
35
|
+
box-shadow: 0em 0em 0em 0em transparent inset;
|
36
|
+
-webkit-transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
|
37
|
+
transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
|
38
|
+
}
|
39
|
+
.ui.search .prompt {
|
40
|
+
border-radius: 500rem;
|
41
|
+
}
|
42
|
+
|
43
|
+
/*--------------
|
44
|
+
Icon
|
45
|
+
---------------*/
|
46
|
+
|
47
|
+
.ui.search .prompt ~ .search.icon {
|
48
|
+
cursor: pointer;
|
49
|
+
}
|
50
|
+
|
51
|
+
/*--------------
|
52
|
+
Results
|
53
|
+
---------------*/
|
54
|
+
|
55
|
+
.ui.search > .results {
|
56
|
+
display: none;
|
57
|
+
position: absolute;
|
58
|
+
top: 100%;
|
59
|
+
left: 0%;
|
60
|
+
background: #ffffff;
|
61
|
+
margin-top: 0.5em;
|
62
|
+
width: 16em;
|
63
|
+
border-radius: 0.25em;
|
64
|
+
box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.2);
|
65
|
+
z-index: 998;
|
66
|
+
}
|
67
|
+
|
68
|
+
/*--------------
|
69
|
+
Result
|
70
|
+
---------------*/
|
71
|
+
|
72
|
+
.ui.search > .results .result {
|
73
|
+
cursor: pointer;
|
74
|
+
display: block;
|
75
|
+
overflow: hidden;
|
76
|
+
font-size: 1em;
|
77
|
+
padding: 0.5em 1em;
|
78
|
+
color: rgba(0, 0, 0, 0.8);
|
79
|
+
line-height: 1.33;
|
80
|
+
border-bottom: 1px solid rgba(39, 41, 43, 0.15);
|
81
|
+
}
|
82
|
+
.ui.search > .results .result:last-child {
|
83
|
+
border-bottom: none;
|
84
|
+
}
|
85
|
+
|
86
|
+
/* Image */
|
87
|
+
.ui.search > .results .result .image {
|
88
|
+
float: right;
|
89
|
+
overflow: hidden;
|
90
|
+
background: none;
|
91
|
+
width: 5em;
|
92
|
+
height: 3em;
|
93
|
+
border-radius: 0.25em;
|
94
|
+
}
|
95
|
+
.ui.search > .results .result .image img {
|
96
|
+
display: block;
|
97
|
+
width: auto;
|
98
|
+
height: 100%;
|
99
|
+
}
|
100
|
+
|
101
|
+
/*--------------
|
102
|
+
Info
|
103
|
+
---------------*/
|
104
|
+
|
105
|
+
.ui.search > .results .result .image + .content {
|
106
|
+
margin: 0em 6em 0em 0em;
|
107
|
+
}
|
108
|
+
.ui.search > .results .result .title {
|
109
|
+
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
110
|
+
font-weight: bold;
|
111
|
+
font-size: 1em;
|
112
|
+
color: rgba(0, 0, 0, 0.85);
|
113
|
+
}
|
114
|
+
.ui.search > .results .result .description {
|
115
|
+
margin-top: 0em;
|
116
|
+
font-size: 0.9285em;
|
117
|
+
color: rgba(0, 0, 0, 0.4);
|
118
|
+
}
|
119
|
+
.ui.search > .results .result .price {
|
120
|
+
float: right;
|
121
|
+
color: #5bbd72;
|
122
|
+
}
|
123
|
+
|
124
|
+
/*--------------
|
125
|
+
Message
|
126
|
+
---------------*/
|
127
|
+
|
128
|
+
.ui.search > .results > .message {
|
129
|
+
padding: 1em 1em;
|
130
|
+
}
|
131
|
+
.ui.search > .results > .message .header {
|
132
|
+
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
133
|
+
font-size: 1.1428em;
|
134
|
+
font-weight: bold;
|
135
|
+
color: rgba(0, 0, 0, 0.8);
|
136
|
+
}
|
137
|
+
.ui.search > .results > .message .description {
|
138
|
+
margin-top: 0.25rem;
|
139
|
+
font-size: 1em;
|
140
|
+
color: rgba(0, 0, 0, 0.8);
|
141
|
+
}
|
142
|
+
|
143
|
+
/* View All Results */
|
144
|
+
.ui.search > .results > .action {
|
145
|
+
display: block;
|
146
|
+
border-top: none;
|
147
|
+
background: #f0f0f0;
|
148
|
+
padding: 0.5em 1em;
|
149
|
+
color: rgba(0, 0, 0, 0.8);
|
150
|
+
font-weight: bold;
|
151
|
+
text-align: center;
|
152
|
+
}
|
153
|
+
|
154
|
+
|
155
|
+
/*******************************
|
156
|
+
States
|
157
|
+
*******************************/
|
158
|
+
|
159
|
+
|
160
|
+
/*--------------------
|
161
|
+
Loading
|
162
|
+
---------------------*/
|
163
|
+
|
164
|
+
.ui.loading.search .input > .icon:before {
|
165
|
+
position: absolute;
|
166
|
+
content: '';
|
167
|
+
top: 50%;
|
168
|
+
left: 50%;
|
169
|
+
margin: -0.64285em 0em 0em -0.64285em;
|
170
|
+
width: 1.2857em;
|
171
|
+
height: 1.2857em;
|
172
|
+
border-radius: 500rem;
|
173
|
+
border: 0.2em solid rgba(0, 0, 0, 0.1);
|
174
|
+
}
|
175
|
+
.ui.loading.search .input > .icon:after {
|
176
|
+
position: absolute;
|
177
|
+
content: '';
|
178
|
+
top: 50%;
|
179
|
+
left: 50%;
|
180
|
+
margin: -0.64285em 0em 0em -0.64285em;
|
181
|
+
width: 1.2857em;
|
182
|
+
height: 1.2857em;
|
183
|
+
-webkit-animation: button-spin 0.6s linear;
|
184
|
+
animation: button-spin 0.6s linear;
|
185
|
+
-webkit-animation-iteration-count: infinite;
|
186
|
+
animation-iteration-count: infinite;
|
187
|
+
border-radius: 500rem;
|
188
|
+
border-color: #aaaaaa transparent transparent;
|
189
|
+
border-style: solid;
|
190
|
+
border-width: 0.2em;
|
191
|
+
box-shadow: 0px 0px 0px 1px transparent;
|
192
|
+
}
|
193
|
+
|
194
|
+
/*--------------
|
195
|
+
Hover
|
196
|
+
---------------*/
|
197
|
+
|
198
|
+
.ui.search > .results .result:hover,
|
199
|
+
.ui.category.search > .results .category .result:hover {
|
200
|
+
background: #fafafa;
|
201
|
+
}
|
202
|
+
.ui.search .action:hover {
|
203
|
+
background: #e0e0e0;
|
204
|
+
}
|
205
|
+
|
206
|
+
/*--------------
|
207
|
+
Active
|
208
|
+
---------------*/
|
209
|
+
|
210
|
+
.ui.search > .results .category.active {
|
211
|
+
background: #f0f0f0;
|
212
|
+
}
|
213
|
+
.ui.search > .results .category.active > .name {
|
214
|
+
color: rgba(0, 0, 0, 0.8);
|
215
|
+
}
|
216
|
+
.ui.search > .results .result.active,
|
217
|
+
.ui.category.search > .results .category .result.active {
|
218
|
+
position: relative;
|
219
|
+
border-left-color: transparent;
|
220
|
+
background: #f0f0f0;
|
221
|
+
box-shadow: 3px 0px 3px 0px rgba(39, 41, 43, 0.15);
|
222
|
+
}
|
223
|
+
.ui.search > .results .result.active .title {
|
224
|
+
color: rgba(0, 0, 0, 0.85);
|
225
|
+
}
|
226
|
+
.ui.search > .results .result.active .description {
|
227
|
+
color: rgba(0, 0, 0, 0.85);
|
228
|
+
}
|
229
|
+
|
230
|
+
|
231
|
+
/*******************************
|
232
|
+
Types
|
233
|
+
*******************************/
|
234
|
+
|
235
|
+
|
236
|
+
/*--------------
|
237
|
+
Categories
|
238
|
+
---------------*/
|
239
|
+
|
240
|
+
.ui.category.search .results {
|
241
|
+
width: 28em;
|
242
|
+
}
|
243
|
+
|
244
|
+
/* Category */
|
245
|
+
.ui.category.search > .results .category {
|
246
|
+
background: #f0f0f0;
|
247
|
+
box-shadow: none;
|
248
|
+
border-bottom: 1px solid rgba(39, 41, 43, 0.15);
|
249
|
+
-webkit-transition: background 0.2s ease, border-color 0.2s ease;
|
250
|
+
transition: background 0.2s ease, border-color 0.2s ease;
|
251
|
+
}
|
252
|
+
.ui.category.search > .results .category:last-child {
|
253
|
+
border-bottom: none;
|
254
|
+
}
|
255
|
+
|
256
|
+
/* Category Result */
|
257
|
+
.ui.category.search > .results .category .result {
|
258
|
+
background: #ffffff;
|
259
|
+
margin-left: 100px;
|
260
|
+
border-left: 1px solid rgba(39, 41, 43, 0.15);
|
261
|
+
border-bottom: 1px solid rgba(39, 41, 43, 0.15);
|
262
|
+
-webkit-transition: background 0.2s ease, border-color 0.2s ease;
|
263
|
+
transition: background 0.2s ease, border-color 0.2s ease;
|
264
|
+
}
|
265
|
+
.ui.category.search > .results .category .result:last-child {
|
266
|
+
border-bottom: none;
|
267
|
+
}
|
268
|
+
|
269
|
+
/* Category Result Name */
|
270
|
+
.ui.category.search > .results .category > .name {
|
271
|
+
width: 100px;
|
272
|
+
background: #f0f0f0;
|
273
|
+
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
274
|
+
font-size: 1em;
|
275
|
+
float: 1em;
|
276
|
+
float: left;
|
277
|
+
padding: 0.4em 1em;
|
278
|
+
font-weight: bold;
|
279
|
+
color: rgba(0, 0, 0, 0.4);
|
280
|
+
}
|
281
|
+
|
282
|
+
|
283
|
+
/*******************************
|
284
|
+
Variations
|
285
|
+
*******************************/
|
286
|
+
|
287
|
+
|
288
|
+
/*-------------------
|
289
|
+
Left / Right
|
290
|
+
--------------------*/
|
291
|
+
|
292
|
+
.ui[class*="left aligned"].search > .results {
|
293
|
+
right: auto;
|
294
|
+
left: 0%;
|
295
|
+
}
|
296
|
+
.ui[class*="right aligned"].search > .results {
|
297
|
+
right: 0%;
|
298
|
+
left: auto;
|
299
|
+
}
|
300
|
+
|
301
|
+
/*--------------
|
302
|
+
Fluid
|
303
|
+
---------------*/
|
304
|
+
|
305
|
+
.ui.fluid.search .results {
|
306
|
+
width: 100%;
|
307
|
+
}
|
308
|
+
|
309
|
+
/*--------------
|
310
|
+
Sizes
|
311
|
+
---------------*/
|
312
|
+
|
313
|
+
.ui.search {
|
314
|
+
font-size: 1em;
|
315
|
+
}
|
316
|
+
.ui.large.search {
|
317
|
+
font-size: 1.1em;
|
318
|
+
}
|
319
|
+
|
320
|
+
|
321
|
+
/*******************************
|
322
|
+
Theme Overrides
|
323
|
+
*******************************/
|
324
|
+
|
325
|
+
|
326
|
+
|
327
|
+
/*******************************
|
328
|
+
Site Overrides
|
329
|
+
*******************************/
|
330
|
+
|