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.search{position:relative}.ui.search>.prompt{margin:0;outline:0;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(255,255,255,0);text-shadow:none;font-style:normal;font-weight:400;line-height:1.2;padding:.68571em 1em;font-size:1em;background:#fff;border:1px solid rgba(39,41,43,.15);color:rgba(0,0,0,.8);box-shadow:0 0 0 0 transparent inset;-webkit-transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease,border-color .2s ease}.ui.search .prompt{border-radius:500rem}.ui.search .prompt~.search.icon{cursor:pointer}.ui.search>.results{display:none;position:absolute;top:100%;left:0;background:#fff;margin-top:.5em;width:16em;border-radius:.25em;box-shadow:0 1px 3px 1px rgba(0,0,0,.2);z-index:998}.ui.search>.results .result{cursor:pointer;display:block;overflow:hidden;font-size:1em;padding:.5em 1em;color:rgba(0,0,0,.8);line-height:1.33;border-bottom:1px solid rgba(39,41,43,.15)}.ui.search>.results .result:last-child{border-bottom:none}.ui.search>.results .result .image{float:right;overflow:hidden;background:0 0;width:5em;height:3em;border-radius:.25em}.ui.search>.results .result .image img{display:block;width:auto;height:100%}.ui.search>.results .result .image+.content{margin:0 6em 0 0}.ui.search>.results .result .title{font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-weight:700;font-size:1em;color:rgba(0,0,0,.85)}.ui.search>.results .result .description{margin-top:0;font-size:.9285em;color:rgba(0,0,0,.4)}.ui.search>.results .result .price{float:right;color:#5bbd72}.ui.search>.results>.message{padding:1em}.ui.search>.results>.message .header{font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:1.1428em;font-weight:700;color:rgba(0,0,0,.8)}.ui.search>.results>.message .description{margin-top:.25rem;font-size:1em;color:rgba(0,0,0,.8)}.ui.search>.results>.action{display:block;border-top:none;background:#f0f0f0;padding:.5em 1em;color:rgba(0,0,0,.8);font-weight:700;text-align:center}.ui.loading.search .input>.icon:before{position:absolute;content:'';top:50%;left:50%;margin:-.64285em 0 0 -.64285em;width:1.2857em;height:1.2857em;border-radius:500rem;border:.2em solid rgba(0,0,0,.1)}.ui.loading.search .input>.icon:after{position:absolute;content:'';top:50%;left:50%;margin:-.64285em 0 0 -.64285em;width:1.2857em;height:1.2857em;-webkit-animation:button-spin .6s linear;animation:button-spin .6s linear;-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;border-radius:500rem;border-color:#aaa transparent transparent;border-style:solid;border-width:.2em;box-shadow:0 0 0 1px transparent}.ui.category.search>.results .category .result:hover,.ui.search>.results .result:hover{background:#fafafa}.ui.search .action:hover{background:#e0e0e0}.ui.search>.results .category.active{background:#f0f0f0}.ui.search>.results .category.active>.name{color:rgba(0,0,0,.8)}.ui.category.search>.results .category .result.active,.ui.search>.results .result.active{position:relative;border-left-color:transparent;background:#f0f0f0;box-shadow:3px 0 3px 0 rgba(39,41,43,.15)}.ui.search>.results .result.active .description,.ui.search>.results .result.active .title{color:rgba(0,0,0,.85)}.ui.category.search .results{width:28em}.ui.category.search>.results .category{background:#f0f0f0;box-shadow:none;border-bottom:1px solid rgba(39,41,43,.15);-webkit-transition:background .2s ease,border-color .2s ease;transition:background .2s ease,border-color .2s ease}.ui.category.search>.results .category:last-child{border-bottom:none}.ui.category.search>.results .category .result{background:#fff;margin-left:100px;border-left:1px solid rgba(39,41,43,.15);border-bottom:1px solid rgba(39,41,43,.15);-webkit-transition:background .2s ease,border-color .2s ease;transition:background .2s ease,border-color .2s ease}.ui.category.search>.results .category .result:last-child{border-bottom:none}.ui.category.search>.results .category>.name{width:100px;background:#f0f0f0;font-family:Lato,'Helvetica Neue',Arial,Helvetica,sans-serif;font-size:1em;float:1em;float:left;padding:.4em 1em;font-weight:700;color:rgba(0,0,0,.4)}.ui[class*="left aligned"].search>.results{right:auto;left:0}.ui[class*="right aligned"].search>.results{right:0;left:auto}.ui.fluid.search .results{width:100%}.ui.search{font-size:1em}.ui.large.search{font-size:1.1em}
|
@@ -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,s,n){"use strict";e.fn.search=function(r){var a,i=e(this),o=i.selector||"",c=(new Date).getTime(),u=[],l=arguments[0],d="string"==typeof l,g=[].slice.call(arguments,1);return e(this).each(function(){var f,p=e.extend(!0,{},e.fn.search.settings,r),m=p.className,h=p.metadata,v=p.regExp,b=p.selector,y=p.error,R=p.namespace,w="."+R,x=R+"-module",C=e(this),k=C.find(b.prompt),A=C.find(b.searchButton),T=C.find(b.results),q=(C.find(b.result),C.find(b.category),this),S=C.data(x);f={initialize:function(){f.verbose("Initializing module");var e=k[0],t=e!==n&&e.oninput!==n?"input":e!==n&&e.onpropertychange!==n?"propertychange":"keyup";p.automatic&&k.on(t+w,f.throttle),k.on("focus"+w,f.event.focus).on("blur"+w,f.event.blur).on("keydown"+w,f.handleKeyboard),A.on("click"+w,f.query),T.on("mousedown"+w,f.event.result.mousedown).on("mouseup"+w,f.event.result.mouseup).on("click"+w,b.result,f.event.result.click),f.instantiate()},instantiate:function(){f.verbose("Storing instance of module",f),S=f,C.data(x,f)},destroy:function(){f.verbose("Destroying instance"),C.removeData(x),k.off(w),A.off(w),T.off(w)},event:{focus:function(){f.set.focus(),clearTimeout(f.timer),f.throttle(),f.has.minimumCharacters()&&f.showResults()},blur:function(){var e=s.activeElement===this;e||f.resultsClicked||(f.cancel.query(),f.remove.focus(),f.timer=setTimeout(f.hideResults,p.hideDelay))},result:{mousedown:function(){f.resultsClicked=!0},mouseup:function(){f.resultsClicked=!1},click:function(s){f.debug("Search result selected");var n=e(this),r=n.find(b.title).eq(0),a=n.find("a[href]").eq(0),i=a.attr("href")||!1,o=a.attr("target")||!1,c=(r.html(),r.length>0?r.text():!1),u=f.get.results(),l=f.get.result(c,u);return e.isFunction(p.onSelect)&&p.onSelect.call(q,l,u)===!1?void f.debug("Custom onSelect callback cancelled default select action"):(f.hideResults(),c&&f.set.value(c),void(i&&(f.verbose("Opening search link found in result",a),"_blank"==o||s.ctrlKey?t.open(i):t.location.href=i)))}}},handleKeyboard:function(e){var t,s=C.find(b.result),n=C.find(b.category),r=s.index(s.filter("."+m.active)),a=s.length,i=e.which,o={backspace:8,enter:13,escape:27,upArrow:38,downArrow:40};if(i==o.escape&&(f.verbose("Escape key pressed, blurring search field"),k.trigger("blur")),f.is.visible())if(i==o.enter){if(f.verbose("Enter key pressed, selecting active result"),s.filter("."+m.active).length>0)return f.event.result.click.call(s.filter("."+m.active),e),e.preventDefault(),!1}else i==o.upArrow?(f.verbose("Up key pressed, changing active result"),t=0>r-1?r:r-1,n.removeClass(m.active),s.removeClass(m.active).eq(t).addClass(m.active).closest(n).addClass(m.active),e.preventDefault()):i==o.downArrow&&(f.verbose("Down key pressed, changing active result"),t=r+1>=a?r:r+1,n.removeClass(m.active),s.removeClass(m.active).eq(t).addClass(m.active).closest(n).addClass(m.active),e.preventDefault());else i==o.enter&&(f.verbose("Enter key pressed, executing query"),f.query(),f.set.buttonPressed(),k.one("keyup",f.remove.buttonFocus))},setup:{api:function(){var e={on:!1,action:"search",onFailure:f.error};f.verbose("First request, initializing API"),C.api(e)}},can:{useAPI:function(){return e.fn.api!==n},transition:function(){return p.transition&&e.fn.transition!==n&&C.transition("is supported")}},is:{empty:function(){return""===T.html()},visible:function(){return T.filter(":visible").length>0},focused:function(){return k.filter(":focus").length>0}},get:{value:function(){return k.val()},results:function(){var e=C.data(h.results);return e},result:function(t,s){var r=!1;return t=t||f.get.value(),s=s||f.get.results(),"category"===p.type?(f.debug("Finding result from category results",t),e.each(s,function(e,s){return s.results!==n&&(r=f.search.object(t,s.results)[0],r.length>0)?!0:void 0})):(f.debug("Finding result in results object",t),r=f.search.object(t,s)[0]),r}},set:{focus:function(){C.addClass(m.focus)},loading:function(){C.addClass(m.loading)},value:function(e){f.verbose("Setting search input value",e),k.val(e)},buttonPressed:function(){A.addClass(m.pressed)}},remove:{loading:function(){C.removeClass(m.loading)},focus:function(){C.removeClass(m.focus)},buttonPressed:function(){A.removeClass(m.pressed)}},query:function(){var t=f.get.value(),s=f.read.cachedHTML(t);s?(f.debug("Reading result for "+t+" from cache"),f.addResults(s)):(f.debug("Querying for "+t),e.isPlainObject(p.source)||e.isArray(p.source)?f.search.local(t):f.can.useAPI()?p.apiSettings?(f.debug("Searching with specified API settings",p.apiSettings),f.search.remote(t)):e.api.settings.api.search!==n&&(f.debug("Searching with default search API endpoint"),f.search.remote(t)):f.error(y.source),p.onSearchQuery.call(q,t))},search:{local:function(e){var t,s=f.search.object(e,p.content);f.set.loading(),f.save.results(s),f.debug("Returned local search results",s),t=f.generateResults({results:s}),f.remove.loading(),f.write.cachedHTML(e,t),f.addResults(t)},remote:function(t){var s={onSuccess:function(e){f.parse.response.call(q,e,t)},urlData:{query:t}};C.api("get request")||f.setup.api(),e.extend(!0,s,p.apiSettings),f.debug("Executing search",s),f.cancel.query(),C.api("setting",s).api("query")},object:function(t,s){var r=[],a=[],i=e.isArray(p.searchFields)?p.searchFields:[p.searchFields],o=new RegExp(v.exact+t,"i"),c=new RegExp(t,"i");return s=s||p.source,s===n?(f.error(y.source),[]):(e.each(i,function(t,n){e.each(s,function(t,s){var i="string"==typeof s[n],u=-1==e.inArray(s,r)&&-1==e.inArray(s,a);i&&u&&(s[n].match(o)?r.push(s):p.searchFullText&&s[n].match(c)&&a.push(s))})}),e.merge(r,a))}},parse:{response:function(e,t){var s=f.generateResults(e);f.verbose("Parsing server response",e),e!==n&&(t&&(f.write.cachedHTML(t,s),e.results!==n&&f.save.results(e.results)),f.addResults(s))}},throttle:function(){clearTimeout(f.timer),f.has.minimumCharacters()?f.timer=setTimeout(f.query,p.searchDelay):f.hideResults()},cancel:{query:function(){f.can.useAPI()&&C.api("abort")}},has:{minimumCharacters:function(){var e=f.get.value(),t=e.length;return t>=p.minCharacters}},read:{cachedHTML:function(e){var t=C.data(h.cache);return p.cache?(f.verbose("Checking cache for generated html for query",e),"object"==typeof t&&t[e]!==n?t[e]:!1):!1}},save:{results:function(e){f.verbose("Saving current search results to metadata",e),C.data(h.results,e)}},write:{cachedHTML:function(e,t){var s=C.data(h.cache)!==n?C.data(h.cache):{};p.cache&&(f.verbose("Writing generated html to cache",e,t),s[e]=t,C.data(h.cache,s))}},addResults:function(t){return e.isFunction(p.onResultsAdd)&&p.onResultsAdd.call(T,t)===!1?(f.debug("onResultsAdd callback cancelled default action"),!1):(T.html(t),void f.showResults())},showResults:function(){f.is.visible()||!f.is.focused()||f.is.empty()||(f.can.transition()?(f.debug("Showing results with css animations"),T.transition({animation:p.transition+" in",duration:p.duration,queue:!0})):(f.debug("Showing results with javascript"),T.stop().fadeIn(p.duration,p.easing)),p.onResultsOpen.call(T))},hideResults:function(){f.is.visible()&&(f.can.transition()?(f.debug("Hiding results with css animations"),T.transition({animation:p.transition+" out",duration:p.duration,queue:!0})):(f.debug("Hiding results with javascript"),T.stop().fadeOut(p.duration,p.easing)),p.onResultsClose.call(T))},generateResults:function(t){f.debug("Generating html from response",t);var s=p.templates[p.type],n=e.isPlainObject(t.results)&&!e.isEmptyObject(t.results),r=e.isArray(t.results)&&t.results.length>0,a="";return n||r?(p.maxResults>0&&(n?f.error(y.maxResults):t.results=t.results.slice(0,p.maxResults)),e.isFunction(s)?a=s(t):f.error(y.noTemplate,!1)):a=f.displayMessage(y.noResults,"empty"),p.onResults.call(q,t),a},displayMessage:function(e,t){return t=t||"standard",f.debug("Displaying message",e,t),f.addResults(p.templates.message(e,t)),p.templates.message(e,t)},setting:function(t,s){if(e.isPlainObject(t))e.extend(!0,p,t);else{if(s===n)return p[t];p[t]=s}},internal:function(t,s){if(e.isPlainObject(t))e.extend(!0,f,t);else{if(s===n)return f[t];f[t]=s}},debug:function(){p.debug&&(p.performance?f.performance.log(arguments):(f.debug=Function.prototype.bind.call(console.info,console,p.name+":"),f.debug.apply(console,arguments)))},verbose:function(){p.verbose&&p.debug&&(p.performance?f.performance.log(arguments):(f.verbose=Function.prototype.bind.call(console.info,console,p.name+":"),f.verbose.apply(console,arguments)))},error:function(){f.error=Function.prototype.bind.call(console.error,console,p.name+":"),f.error.apply(console,arguments)},performance:{log:function(e){var t,s,n;p.performance&&(t=(new Date).getTime(),n=c||t,s=t-n,c=t,u.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:q,"Execution Time":s})),clearTimeout(f.performance.timer),f.performance.timer=setTimeout(f.performance.display,100)},display:function(){var t=p.name+":",s=0;c=!1,clearTimeout(f.performance.timer),e.each(u,function(e,t){s+=t["Execution Time"]}),t+=" "+s+"ms",o&&(t+=" '"+o+"'"),i.length>1&&(t+=" ("+i.length+")"),(console.group!==n||console.table!==n)&&u.length>0&&(console.groupCollapsed(t),console.table?console.table(u):e.each(u,function(e,t){console.log(t.Name+": "+t["Execution Time"]+"ms")}),console.groupEnd()),u=[]}},invoke:function(t,s,r){var i,o,c,u=S;return s=s||g,r=q||r,"string"==typeof t&&u!==n&&(t=t.split(/[\. ]/),i=t.length-1,e.each(t,function(s,r){var a=s!=i?r+t[s+1].charAt(0).toUpperCase()+t[s+1].slice(1):t;if(e.isPlainObject(u[a])&&s!=i)u=u[a];else{if(u[a]!==n)return o=u[a],!1;if(!e.isPlainObject(u[r])||s==i)return u[r]!==n?(o=u[r],!1):!1;u=u[r]}})),e.isFunction(o)?c=o.apply(r,s):o!==n&&(c=o),e.isArray(a)?a.push(c):a!==n?a=[a,c]:c!==n&&(a=c),o}},d?(S===n&&f.initialize(),f.invoke(l)):(S!==n&&f.destroy(),f.initialize())}),a!==n?a:this},e.fn.search.settings={name:"Search Module",namespace:"search",debug:!1,verbose:!0,performance:!0,type:"standard",minCharacters:1,apiSettings:!1,source:!1,searchFields:["title","description"],searchFullText:!0,automatic:"true",hideDelay:0,searchDelay:100,maxResults:7,cache:!0,transition:"scale",duration:300,easing:"easeOutExpo",onSelect:!1,onResultsAdd:!1,onSearchQuery:function(){},onResults:function(){},onResultsOpen:function(){},onResultsClose:function(){},className:{active:"active",empty:"empty",focus:"focus",loading:"loading",pressed:"down"},error:{source:"Cannot search. No source used, and Semantic API module was not included",noResults:"Your search returned no results",logging:"Error in debug logging, exiting.",noTemplate:"A valid template name was not specified.",serverError:"There was an issue with querying the server.",maxResults:"Results must be an array to use maxResults setting",method:"The method you called is not defined."},metadata:{cache:"cache",results:"results"},regExp:{exact:"(?:s|^)"},selector:{prompt:".prompt",searchButton:".search.button",results:".results",category:".category",result:".result",title:".title, .name"},templates:{escape:function(e){var t=/[&<>"'`]/g,s=/[&<>"'`]/,n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},r=function(e){return n[e]};return s.test(e)?e.replace(t,r):e},message:function(e,t){var s="";return e!==n&&t!==n&&(s+='<div class="message '+t+'">',s+="empty"==t?'<div class="header">No Results</div class="header"><div class="description">'+e+'</div class="description">':' <div class="description">'+e+"</div>",s+="</div>"),s},category:function(t){var s="",r=e.fn.search.settings.templates.escape;return t.results!==n?(e.each(t.results,function(t,a){a.results!==n&&a.results.length>0&&(s+='<div class="category"><div class="name">'+a.name+"</div>",e.each(a.results,function(e,t){s+='<div class="result">',t.url&&(s+='<a href="'+t.url+'"></a>'),t.image!==n&&(t.image=r(t.image),s+='<div class="image"> <img src="'+t.image+'" alt=""></div>'),s+='<div class="content">',t.price!==n&&(t.price=r(t.price),s+='<div class="price">'+t.price+"</div>"),t.title!==n&&(t.title=r(t.title),s+='<div class="title">'+t.title+"</div>"),t.description!==n&&(s+='<div class="description">'+t.description+"</div>"),s+="</div></div>"}),s+="</div>")}),t.action&&(s+='<a href="'+t.action.url+'" class="action">'+t.action.text+"</a>"),s):!1},standard:function(t){var s="";return t.results!==n?(e.each(t.results,function(e,t){s+=t.url?'<a class="result" href="'+t.url+'">':'<a class="result">',t.image!==n&&(s+='<div class="image"> <img src="'+t.image+'"></div>'),s+='<div class="content">',t.price!==n&&(s+='<div class="price">'+t.price+"</div>"),t.title!==n&&(s+='<div class="title">'+t.title+"</div>"),t.description!==n&&(s+='<div class="description">'+t.description+"</div>"),s+="</div>",s+="</a>"}),t.action&&(s+='<a href="'+t.action.url+'" class="action">'+t.action.text+"</a>"),s):!1}}}}(jQuery,window,document);
|
@@ -0,0 +1,590 @@
|
|
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
|
+
Segment
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
.ui.segment {
|
19
|
+
position: relative;
|
20
|
+
background-color: #ffffff;
|
21
|
+
box-shadow: 0px 0px 0px 1px rgba(39, 41, 43, 0.15), 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
|
22
|
+
margin: 1rem 0em;
|
23
|
+
padding: 1em 1em;
|
24
|
+
border-radius: 0.2857rem;
|
25
|
+
border: none;
|
26
|
+
}
|
27
|
+
.ui.segment:first-child {
|
28
|
+
margin-top: 0em;
|
29
|
+
}
|
30
|
+
.ui.segment:last-child {
|
31
|
+
margin-bottom: 0em;
|
32
|
+
}
|
33
|
+
.ui.segment:after {
|
34
|
+
content: '';
|
35
|
+
display: block;
|
36
|
+
height: 0px;
|
37
|
+
clear: both;
|
38
|
+
visibility: hidden;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* Vertical */
|
42
|
+
.ui[class*="vertical segment"] {
|
43
|
+
margin: 0em;
|
44
|
+
padding-left: 0em;
|
45
|
+
padding-right: 0em;
|
46
|
+
background-color: transparent;
|
47
|
+
border-radius: 0px;
|
48
|
+
border: none;
|
49
|
+
box-shadow: 0px -1px 0px rgba(39, 41, 43, 0.15) inset;
|
50
|
+
}
|
51
|
+
.ui[class*="vertical segment"]:last-child {
|
52
|
+
box-shadow: none;
|
53
|
+
}
|
54
|
+
|
55
|
+
/* Horizontal */
|
56
|
+
.ui[class*="horizontal segment"] {
|
57
|
+
margin: 0em;
|
58
|
+
padding-top: 0em;
|
59
|
+
padding-bottom: 0em;
|
60
|
+
background-color: transparent;
|
61
|
+
border-radius: 0px;
|
62
|
+
border: none;
|
63
|
+
box-shadow: 1px 0px 0px rgba(39, 41, 43, 0.15);
|
64
|
+
}
|
65
|
+
|
66
|
+
/*-------------------
|
67
|
+
Loose Coupling
|
68
|
+
--------------------*/
|
69
|
+
|
70
|
+
|
71
|
+
/* Header */
|
72
|
+
.ui.inverted.segment > .ui.header {
|
73
|
+
color: #ffffff;
|
74
|
+
}
|
75
|
+
|
76
|
+
/* Label */
|
77
|
+
.ui[class*="bottom attached"].segment > [class*="top attached"].label {
|
78
|
+
border-top-left-radius: 0em;
|
79
|
+
border-top-right-radius: 0em;
|
80
|
+
}
|
81
|
+
.ui[class*="top attached"].segment > [class*="bottom attached"].label {
|
82
|
+
border-bottom-left-radius: 0em;
|
83
|
+
border-bottom-right-radius: 0em;
|
84
|
+
}
|
85
|
+
.ui.attached.segment:not(.top):not(.bottom) > [class*="top attached"].label {
|
86
|
+
border-top-left-radius: 0em;
|
87
|
+
border-top-right-radius: 0em;
|
88
|
+
}
|
89
|
+
.ui.attached.segment:not(.top):not(.bottom) > [class*="bottom attached"].label {
|
90
|
+
border-bottom-left-radius: 0em;
|
91
|
+
border-bottom-right-radius: 0em;
|
92
|
+
}
|
93
|
+
|
94
|
+
/* Grid */
|
95
|
+
.ui.page.grid.segment,
|
96
|
+
.ui.grid .ui.segment.column {
|
97
|
+
padding-top: 2em;
|
98
|
+
padding-bottom: 2em;
|
99
|
+
}
|
100
|
+
.ui.grid.segment {
|
101
|
+
margin: 1rem 0rem;
|
102
|
+
border-radius: 0.2857rem;
|
103
|
+
}
|
104
|
+
|
105
|
+
/* Table */
|
106
|
+
.ui.basic.table.segment {
|
107
|
+
background: #ffffff;
|
108
|
+
border: none;
|
109
|
+
box-shadow: 0px 0px 0px 1px rgba(39, 41, 43, 0.15), 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
|
110
|
+
}
|
111
|
+
.ui[class*="very basic"].table.segment {
|
112
|
+
padding: 1em 1em;
|
113
|
+
}
|
114
|
+
|
115
|
+
|
116
|
+
/*******************************
|
117
|
+
Types
|
118
|
+
*******************************/
|
119
|
+
|
120
|
+
|
121
|
+
/*-------------------
|
122
|
+
Piled
|
123
|
+
--------------------*/
|
124
|
+
|
125
|
+
.ui.piled.segment {
|
126
|
+
margin: 3em 0em;
|
127
|
+
box-shadow: 0px 0px 1px 1px rgba(39, 41, 43, 0.15);
|
128
|
+
z-index: auto;
|
129
|
+
}
|
130
|
+
.ui.piled.segment:first-child {
|
131
|
+
margin-top: 0em;
|
132
|
+
}
|
133
|
+
.ui.piled.segment:last-child {
|
134
|
+
margin-bottom: 0em;
|
135
|
+
}
|
136
|
+
.ui.piled.segment:after,
|
137
|
+
.ui.piled.segment:before {
|
138
|
+
background-color: #ffffff;
|
139
|
+
visibility: visible;
|
140
|
+
content: '';
|
141
|
+
display: block;
|
142
|
+
height: 100%;
|
143
|
+
left: 0px;
|
144
|
+
position: absolute;
|
145
|
+
width: 100%;
|
146
|
+
box-shadow: 0px 0px 1px 1px rgba(39, 41, 43, 0.15);
|
147
|
+
}
|
148
|
+
.ui.piled.segment:after {
|
149
|
+
-webkit-transform: rotate(1.2deg);
|
150
|
+
-ms-transform: rotate(1.2deg);
|
151
|
+
transform: rotate(1.2deg);
|
152
|
+
top: 0;
|
153
|
+
z-index: -1;
|
154
|
+
}
|
155
|
+
.ui.piled.segment:before {
|
156
|
+
-webkit-transform: rotate(-1.2deg);
|
157
|
+
-ms-transform: rotate(-1.2deg);
|
158
|
+
transform: rotate(-1.2deg);
|
159
|
+
top: 0;
|
160
|
+
z-index: -2;
|
161
|
+
}
|
162
|
+
|
163
|
+
/* Piled Attached */
|
164
|
+
.ui[class*="top attached"].piled.segment {
|
165
|
+
margin-top: 3em;
|
166
|
+
margin-bottom: 0em;
|
167
|
+
}
|
168
|
+
.ui.piled.segment[class*="top attached"]:first-child {
|
169
|
+
margin-top: 0em;
|
170
|
+
}
|
171
|
+
.ui.piled.segment[class*="bottom attached"] {
|
172
|
+
margin-top: 0em;
|
173
|
+
margin-bottom: 3em;
|
174
|
+
}
|
175
|
+
.ui.piled.segment[class*="bottom attached"]:last-child {
|
176
|
+
margin-bottom: 0em;
|
177
|
+
}
|
178
|
+
|
179
|
+
/*-------------------
|
180
|
+
Stacked
|
181
|
+
--------------------*/
|
182
|
+
|
183
|
+
.ui.stacked.segment {
|
184
|
+
padding-bottom: 1.4em;
|
185
|
+
}
|
186
|
+
.ui.stacked.segment:after,
|
187
|
+
.ui.stacked.segment:before {
|
188
|
+
content: '';
|
189
|
+
position: absolute;
|
190
|
+
bottom: -3px;
|
191
|
+
left: 0%;
|
192
|
+
border-top: 1px solid rgba(39, 41, 43, 0.15);
|
193
|
+
background-color: rgba(0, 0, 0, 0.03);
|
194
|
+
width: 100%;
|
195
|
+
height: 6px;
|
196
|
+
visibility: visible;
|
197
|
+
}
|
198
|
+
.ui.stacked.segment:before {
|
199
|
+
display: none;
|
200
|
+
}
|
201
|
+
|
202
|
+
/* Add additional page */
|
203
|
+
.ui.tall.stacked.segment:before {
|
204
|
+
display: block;
|
205
|
+
bottom: 0px;
|
206
|
+
}
|
207
|
+
|
208
|
+
/* Inverted */
|
209
|
+
.ui.stacked.inverted.segment:after,
|
210
|
+
.ui.stacked.inverted.segment:before {
|
211
|
+
background-color: rgba(0, 0, 0, 0.03);
|
212
|
+
border-top: 1px solid rgba(39, 41, 43, 0.3);
|
213
|
+
}
|
214
|
+
|
215
|
+
/*-------------------
|
216
|
+
Compact
|
217
|
+
--------------------*/
|
218
|
+
|
219
|
+
.ui.compact.segment {
|
220
|
+
display: table;
|
221
|
+
}
|
222
|
+
|
223
|
+
/*-------------------
|
224
|
+
Circular
|
225
|
+
--------------------*/
|
226
|
+
|
227
|
+
.ui.circular.segment {
|
228
|
+
display: table-cell;
|
229
|
+
padding: 2em;
|
230
|
+
text-align: center;
|
231
|
+
vertical-align: middle;
|
232
|
+
border-radius: 500em;
|
233
|
+
}
|
234
|
+
|
235
|
+
/*-------------------
|
236
|
+
Raised
|
237
|
+
--------------------*/
|
238
|
+
|
239
|
+
.ui.raised.segment {
|
240
|
+
box-shadow: 0px 0px 0px 1px rgba(39, 41, 43, 0.15), 0px 1px 4px 0px rgba(0, 0, 0, 0.15);
|
241
|
+
}
|
242
|
+
|
243
|
+
|
244
|
+
/*******************************
|
245
|
+
States
|
246
|
+
*******************************/
|
247
|
+
|
248
|
+
|
249
|
+
/*--------------
|
250
|
+
Disabled
|
251
|
+
---------------*/
|
252
|
+
|
253
|
+
.ui.disabled.segment {
|
254
|
+
opacity: 0.3;
|
255
|
+
color: rgba(40, 40, 40, 0.3);
|
256
|
+
}
|
257
|
+
|
258
|
+
/*--------------
|
259
|
+
Loading
|
260
|
+
---------------*/
|
261
|
+
|
262
|
+
.ui.loading.segment {
|
263
|
+
position: relative;
|
264
|
+
cursor: default;
|
265
|
+
point-events: none;
|
266
|
+
text-shadow: none !important;
|
267
|
+
color: transparent !important;
|
268
|
+
-webkit-transition: all 0s linear;
|
269
|
+
transition: all 0s linear;
|
270
|
+
}
|
271
|
+
.ui.loading.segment:before {
|
272
|
+
position: absolute;
|
273
|
+
content: '';
|
274
|
+
top: 0%;
|
275
|
+
left: 0%;
|
276
|
+
background: rgba(255, 255, 255, 0.8);
|
277
|
+
width: 100%;
|
278
|
+
height: 100%;
|
279
|
+
border-radius: 0.2857rem;
|
280
|
+
z-index: 100;
|
281
|
+
}
|
282
|
+
.ui.loading.segment:after {
|
283
|
+
position: absolute;
|
284
|
+
content: '';
|
285
|
+
top: 50%;
|
286
|
+
left: 50%;
|
287
|
+
margin: -1.5em 0em 0em -1.5em;
|
288
|
+
width: 3em;
|
289
|
+
height: 3em;
|
290
|
+
-webkit-animation: segment-spin 0.6s linear;
|
291
|
+
animation: segment-spin 0.6s linear;
|
292
|
+
-webkit-animation-iteration-count: infinite;
|
293
|
+
animation-iteration-count: infinite;
|
294
|
+
border-radius: 500rem;
|
295
|
+
border-color: #aaaaaa rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1);
|
296
|
+
border-style: solid;
|
297
|
+
border-width: 0.2em;
|
298
|
+
box-shadow: 0px 0px 0px 1px transparent;
|
299
|
+
visibility: visible;
|
300
|
+
z-index: 101;
|
301
|
+
}
|
302
|
+
@-webkit-keyframes segment-spin {
|
303
|
+
|
304
|
+
from {
|
305
|
+
-webkit-transform: rotate(0deg);
|
306
|
+
transform: rotate(0deg);
|
307
|
+
}
|
308
|
+
|
309
|
+
to {
|
310
|
+
-webkit-transform: rotate(360deg);
|
311
|
+
transform: rotate(360deg);
|
312
|
+
}
|
313
|
+
}
|
314
|
+
@keyframes segment-spin {
|
315
|
+
from {
|
316
|
+
-webkit-transform: rotate(0deg);
|
317
|
+
transform: rotate(0deg);
|
318
|
+
}
|
319
|
+
to {
|
320
|
+
-webkit-transform: rotate(360deg);
|
321
|
+
transform: rotate(360deg);
|
322
|
+
}
|
323
|
+
}
|
324
|
+
|
325
|
+
|
326
|
+
/*******************************
|
327
|
+
Variations
|
328
|
+
*******************************/
|
329
|
+
|
330
|
+
|
331
|
+
/*-------------------
|
332
|
+
Basic
|
333
|
+
--------------------*/
|
334
|
+
|
335
|
+
.ui.basic.segment {
|
336
|
+
position: relative;
|
337
|
+
background-color: transparent;
|
338
|
+
box-shadow: none;
|
339
|
+
border-radius: 0px;
|
340
|
+
}
|
341
|
+
|
342
|
+
/*-------------------
|
343
|
+
Fittted
|
344
|
+
--------------------*/
|
345
|
+
|
346
|
+
.ui.fitted.segment {
|
347
|
+
padding: 0em;
|
348
|
+
}
|
349
|
+
|
350
|
+
/*-------------------
|
351
|
+
Colors
|
352
|
+
--------------------*/
|
353
|
+
|
354
|
+
.ui.black.segment:not(.inverted) {
|
355
|
+
border-top: 2px solid #1b1c1d;
|
356
|
+
}
|
357
|
+
.ui.blue.segment:not(.inverted) {
|
358
|
+
border-top: 2px solid #3b83c0;
|
359
|
+
}
|
360
|
+
.ui.green.segment:not(.inverted) {
|
361
|
+
border-top: 2px solid #5bbd72;
|
362
|
+
}
|
363
|
+
.ui.orange.segment:not(.inverted) {
|
364
|
+
border-top: 2px solid #e07b53;
|
365
|
+
}
|
366
|
+
.ui.pink.segment:not(.inverted) {
|
367
|
+
border-top: 2px solid #d9499a;
|
368
|
+
}
|
369
|
+
.ui.purple.segment:not(.inverted) {
|
370
|
+
border-top: 2px solid #564f8a;
|
371
|
+
}
|
372
|
+
.ui.red.segment:not(.inverted) {
|
373
|
+
border-top: 2px solid #d95c5c;
|
374
|
+
}
|
375
|
+
.ui.teal.segment:not(.inverted) {
|
376
|
+
border-top: 2px solid #00b5ad;
|
377
|
+
}
|
378
|
+
.ui.yellow.segment:not(.inverted) {
|
379
|
+
border-top: 2px solid #f2c61f;
|
380
|
+
}
|
381
|
+
.ui.black.segment:not(.inverted):not(.attached) {
|
382
|
+
border-top-left-radius: 0.2857rem !important;
|
383
|
+
border-top-right-radius: 0.2857rem !important;
|
384
|
+
}
|
385
|
+
.ui.blue.segment:not(.inverted):not(.attached) {
|
386
|
+
border-top-left-radius: 0.2857rem !important;
|
387
|
+
border-top-right-radius: 0.2857rem !important;
|
388
|
+
}
|
389
|
+
.ui.green.segment:not(.inverted):not(.attached) {
|
390
|
+
border-top-left-radius: 0.2857rem !important;
|
391
|
+
border-top-right-radius: 0.2857rem !important;
|
392
|
+
}
|
393
|
+
.ui.orange.segment:not(.inverted):not(.attached) {
|
394
|
+
border-top-left-radius: 0.2857rem !important;
|
395
|
+
border-top-right-radius: 0.2857rem !important;
|
396
|
+
}
|
397
|
+
.ui.pink.segment:not(.inverted):not(.attached) {
|
398
|
+
border-top-left-radius: 0.2857rem !important;
|
399
|
+
border-top-right-radius: 0.2857rem !important;
|
400
|
+
}
|
401
|
+
.ui.purple.segment:not(.inverted):not(.attached) {
|
402
|
+
border-top-left-radius: 0.2857rem !important;
|
403
|
+
border-top-right-radius: 0.2857rem !important;
|
404
|
+
}
|
405
|
+
.ui.red.segment:not(.inverted):not(.attached) {
|
406
|
+
border-top-left-radius: 0.2857rem !important;
|
407
|
+
border-top-right-radius: 0.2857rem !important;
|
408
|
+
}
|
409
|
+
.ui.teal.segment:not(.inverted):not(.attached) {
|
410
|
+
border-top-left-radius: 0.2857rem !important;
|
411
|
+
border-top-right-radius: 0.2857rem !important;
|
412
|
+
}
|
413
|
+
.ui.yellow.segment:not(.inverted):not(.attached) {
|
414
|
+
border-top-left-radius: 0.2857rem !important;
|
415
|
+
border-top-right-radius: 0.2857rem !important;
|
416
|
+
}
|
417
|
+
|
418
|
+
/*-------------------
|
419
|
+
Inverted Colors
|
420
|
+
--------------------*/
|
421
|
+
|
422
|
+
.ui.inverted.segment,
|
423
|
+
.ui.inverted.black.segment {
|
424
|
+
background-color: #1b1c1d !important;
|
425
|
+
color: #ffffff !important;
|
426
|
+
}
|
427
|
+
.ui.inverted.blue.segment {
|
428
|
+
background-color: #3b83c0 !important;
|
429
|
+
color: #ffffff !important;
|
430
|
+
}
|
431
|
+
.ui.inverted.green.segment {
|
432
|
+
background-color: #5bbd72 !important;
|
433
|
+
color: #ffffff !important;
|
434
|
+
}
|
435
|
+
.ui.inverted.orange.segment {
|
436
|
+
background-color: #e07b53 !important;
|
437
|
+
color: #ffffff !important;
|
438
|
+
}
|
439
|
+
.ui.inverted.pink.segment {
|
440
|
+
background-color: #d9499a !important;
|
441
|
+
color: #ffffff !important;
|
442
|
+
}
|
443
|
+
.ui.inverted.purple.segment {
|
444
|
+
background-color: #564f8a !important;
|
445
|
+
color: #ffffff !important;
|
446
|
+
}
|
447
|
+
.ui.inverted.red.segment {
|
448
|
+
background-color: #d95c5c !important;
|
449
|
+
color: #ffffff !important;
|
450
|
+
}
|
451
|
+
.ui.inverted.teal.segment {
|
452
|
+
background-color: #00b5ad !important;
|
453
|
+
color: #ffffff !important;
|
454
|
+
}
|
455
|
+
.ui.inverted.yellow.segment {
|
456
|
+
background-color: #f2c61f !important;
|
457
|
+
color: #ffffff !important;
|
458
|
+
}
|
459
|
+
|
460
|
+
/*-------------------
|
461
|
+
Aligned
|
462
|
+
--------------------*/
|
463
|
+
|
464
|
+
.ui[class*="left aligned"].segment {
|
465
|
+
text-align: left;
|
466
|
+
}
|
467
|
+
.ui[class*="right aligned"].segment {
|
468
|
+
text-align: right;
|
469
|
+
}
|
470
|
+
.ui[class*="center aligned"].segment {
|
471
|
+
text-align: center;
|
472
|
+
}
|
473
|
+
|
474
|
+
/*-------------------
|
475
|
+
Floated
|
476
|
+
--------------------*/
|
477
|
+
|
478
|
+
.ui.floated.segment,
|
479
|
+
.ui[class*="left floated"].segment {
|
480
|
+
float: left;
|
481
|
+
margin-right: 1rem;
|
482
|
+
}
|
483
|
+
.ui[class*="right floated"].segment {
|
484
|
+
float: right;
|
485
|
+
margin-left: 1rem;
|
486
|
+
}
|
487
|
+
|
488
|
+
/*-------------------
|
489
|
+
Inverted
|
490
|
+
--------------------*/
|
491
|
+
|
492
|
+
.ui.inverted.segment {
|
493
|
+
border: none;
|
494
|
+
box-shadow: none;
|
495
|
+
}
|
496
|
+
.ui.inverted.segment .segment {
|
497
|
+
color: rgba(0, 0, 0, 0.8);
|
498
|
+
}
|
499
|
+
.ui.inverted.segment .inverted.segment {
|
500
|
+
color: #ffffff;
|
501
|
+
}
|
502
|
+
.ui.inverted.segment,
|
503
|
+
.ui.primary.inverted.segment {
|
504
|
+
background-color: #1b1c1d;
|
505
|
+
color: #ffffff;
|
506
|
+
}
|
507
|
+
.ui.inverted.block.segment,
|
508
|
+
.ui.inverted.attached.segment {
|
509
|
+
border-color: #555555;
|
510
|
+
}
|
511
|
+
|
512
|
+
/*-------------------
|
513
|
+
Ordinality
|
514
|
+
--------------------*/
|
515
|
+
|
516
|
+
.ui.secondary.segment {
|
517
|
+
background: #faf9fa;
|
518
|
+
color: rgba(0, 0, 0, 0.8);
|
519
|
+
}
|
520
|
+
.ui.tertiary.segment {
|
521
|
+
background: #ebebeb;
|
522
|
+
color: rgba(0, 0, 0, 0.8);
|
523
|
+
}
|
524
|
+
.ui.secondary.inverted.segment {
|
525
|
+
background: -webkit-linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
|
526
|
+
background: linear-gradient(rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%);
|
527
|
+
color: #fafafa;
|
528
|
+
}
|
529
|
+
.ui.tertiary.inverted.segment {
|
530
|
+
background: -webkit-linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
|
531
|
+
background: linear-gradient(rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
|
532
|
+
color: #f0f0f0;
|
533
|
+
}
|
534
|
+
|
535
|
+
/*-------------------
|
536
|
+
Attached
|
537
|
+
--------------------*/
|
538
|
+
|
539
|
+
.ui.segment.attached {
|
540
|
+
top: 0px;
|
541
|
+
bottom: 0px;
|
542
|
+
margin: 0em -1px;
|
543
|
+
width: -webkit-calc(100% + 2px );
|
544
|
+
width: calc(100% + 2px );
|
545
|
+
max-width: -webkit-calc(100% + 2px );
|
546
|
+
max-width: calc(100% + 2px );
|
547
|
+
border-radius: 0px;
|
548
|
+
box-shadow: none;
|
549
|
+
border: 1px solid #d4d4d5;
|
550
|
+
}
|
551
|
+
.ui.segment.attached + .ui.segment.attached:not(.top) {
|
552
|
+
border-top: none;
|
553
|
+
}
|
554
|
+
|
555
|
+
/* Top */
|
556
|
+
.ui[class*="top attached"].segment {
|
557
|
+
top: 0px;
|
558
|
+
bottom: 0px;
|
559
|
+
margin-top: 1rem;
|
560
|
+
margin-bottom: 0em;
|
561
|
+
border-radius: 0.2857rem 0.2857rem 0em 0em;
|
562
|
+
}
|
563
|
+
.ui.segment[class*="top attached"]:first-child {
|
564
|
+
margin-top: 0em;
|
565
|
+
}
|
566
|
+
|
567
|
+
/* Bottom */
|
568
|
+
.ui.segment[class*="bottom attached"] {
|
569
|
+
top: 0px;
|
570
|
+
bottom: 0px;
|
571
|
+
margin-top: 0em;
|
572
|
+
margin-bottom: 1rem;
|
573
|
+
box-shadow: none, 0px 1px 2px 0 rgba(0, 0, 0, 0.05);
|
574
|
+
border-radius: 0em 0em 0.2857rem 0.2857rem;
|
575
|
+
}
|
576
|
+
.ui.segment[class*="bottom attached"]:last-child {
|
577
|
+
margin-bottom: 0em;
|
578
|
+
}
|
579
|
+
|
580
|
+
|
581
|
+
/*******************************
|
582
|
+
Theme Overrides
|
583
|
+
*******************************/
|
584
|
+
|
585
|
+
|
586
|
+
|
587
|
+
/*******************************
|
588
|
+
Site Overrides
|
589
|
+
*******************************/
|
590
|
+
|