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.tab{display:none}.ui.tab.active,.ui.tab.open{display:block}.ui.tab.loading{position:relative;overflow:hidden;display:block;min-height:250px}.ui.tab.loading *{position:relative!important;left:-10000px!important}.ui.tab.loading.segment:before,.ui.tab.loading:before{position:absolute;content:'';top:100px;left:50%;margin:-1.25em 0 0 -1.25em;width:2.5em;height:2.5em;border-radius:500rem;border:.2em solid rgba(0,0,0,.1)}.ui.tab.loading.segment:after,.ui.tab.loading:after{position:absolute;content:'';top:100px;left:50%;margin:-1.25em 0 0 -1.25em;width:2.5em;height:2.5em;-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}
|
@@ -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,a,n){"use strict";e.fn.tab=function(a){var i,o,r=e(e.isFunction(this)?t:this),s=e.isPlainObject(a)?e.extend(!0,{},e.fn.tab.settings,a):e.extend({},e.fn.tab.settings),c=r.selector||"",l=(new Date).getTime(),u=[],d=arguments[0],b="string"==typeof d,g=[].slice.call(arguments,1);return r.each(function(){var a,f,h,m,p,v=s.className,y=s.metadata,T=s.selector,x=s.error,A="."+s.namespace,P="module-"+s.namespace,C=e(this),E={},S=!0,w=0,j=this,D=C.data(P);i={initialize:function(){i.debug("Initializing tab menu item",C),i.determineTabs(),i.debug("Determining tabs",s.context,f),s.auto&&(i.verbose("Setting up automatic tab retrieval from server"),s.apiSettings={url:s.path+"/{$tab}"}),e.isWindow(j)||(i.debug("Attaching tab activation events to element",C),C.on("click"+A,i.event.click)),i.instantiate()},determineTabs:function(){var t;"parent"===s.context?(C.closest(T.ui).length>0?(t=C.closest(T.ui),i.verbose("Using closest UI element for determining parent",t)):t=C,a=t.parent(),i.verbose("Determined parent element for creating context",a)):s.context?(a=e(s.context),i.verbose("Using selector for tab context",s.context,a)):a=e("body"),s.childrenOnly?(f=a.children(T.tabs),i.debug("Searching tab context children for tabs",a,f)):(f=a.find(T.tabs),i.debug("Searching tab context for tabs",a,f))},initializeHistory:function(){if(s.history){if(i.debug("Initializing page state"),e.address===n)return i.error(x.state),!1;if("state"==s.historyType){if(i.debug("Using HTML5 to manage state"),s.path===!1)return i.error(x.path),!1;e.address.history(!0).state(s.path)}e.address.bind("change",i.event.history.change)}},instantiate:function(){i.verbose("Storing instance of module",i),D=i,C.data(P,i)},destroy:function(){i.debug("Destroying tabs",C),C.removeData(P).off(A)},event:{click:function(t){var a=e(this).data(y.tab);a!==n?(s.history?(i.verbose("Updating page state",t),e.address.value(a)):(i.verbose("Changing tab",t),i.changeTab(a)),t.preventDefault()):i.debug("No tab specified")},history:{change:function(t){var a=t.pathNames.join("/")||i.get.initialPath(),o=s.templates.determineTitle(a)||!1;i.performance.display(),i.debug("History change event",a,t),p=t,a!==n&&i.changeTab(a),o&&e.address.title(o)}}},refresh:function(){h&&(i.debug("Refreshing tab",h),i.changeTab(h))},cache:{read:function(e){return e!==n?E[e]:!1},add:function(e,t){e=e||h,i.debug("Adding cached content for",e),E[e]=t},remove:function(e){e=e||h,i.debug("Removing cached content for",e),delete E[e]}},set:{state:function(t){e.address.value(t)}},changeTab:function(n){var o=t.history&&t.history.pushState,r=o&&s.ignoreFirstLoad&&S,c=s.auto||e.isPlainObject(s.apiSettings),l=c&&!r?i.utilities.pathToArray(n):i.get.defaultPathArray(n);n=i.utilities.arrayToPath(l),e.each(l,function(t,o){var u,d,b,g,f=l.slice(0,t+1),v=i.utilities.arrayToPath(f),y=i.is.tab(v),T=t+1==l.length,A=i.get.tabElement(v);if(i.verbose("Looking for tab",o),y){if(i.verbose("Tab was found",o),h=v,m=i.utilities.filterArray(l,f),T?g=!0:(d=l.slice(0,t+2),b=i.utilities.arrayToPath(d),g=!i.is.tab(b),g&&i.verbose("Tab parameters found",d)),g&&c)return r?(i.debug("Ignoring remote content on first tab load",v),S=!1,i.cache.add(n,A.html()),i.activate.all(v),s.onTabInit.call(A,v,m,p),s.onTabLoad.call(A,v,m,p)):(i.activate.navigation(v),i.content.fetch(v,n)),!1;i.debug("Opened local tab",v),i.activate.all(v),i.cache.read(v)||(i.cache.add(v,!0),i.debug("First time tab loaded calling tab init"),s.onTabInit.call(A,v,m,p)),s.onTabLoad.call(A,v,m,p)}else{if(-1!=n.search("/")||""===n)return i.error(x.missingTab,C,a,v),!1;if(u=e("#"+n+', a[name="'+n+'"]'),v=u.closest("[data-tab]").data("tab"),A=i.get.tabElement(v),u&&u.length>0&&v)return i.debug("No tab found, but deep anchor link present, opening parent tab"),i.activate.all(v),i.cache.read(v)||(i.cache.add(v,!0),i.debug("First time tab loaded calling tab init"),s.onTabInit.call(A,v,m,p)),!1}})},content:{fetch:function(t,a){var o,r,c=i.get.tabElement(t),l={dataType:"html",stateContext:c,onSuccess:function(e){i.cache.add(a,e),i.content.update(t,e),t==h?(i.debug("Content loaded",t),i.activate.tab(t)):i.debug("Content loaded in background",t),s.onTabInit.call(c,t,m,p),s.onTabLoad.call(c,t,m,p)},urlData:{tab:a}},u=c.data(y.promise)||!1,d=u&&"pending"===u.state();a=a||t,r=i.cache.read(a),s.cache&&r?(i.debug("Showing existing content",a),i.content.update(t,r),i.activate.tab(t),s.onTabLoad.call(c,t,m,p)):d?(i.debug("Content is already loading",a),c.addClass(v.loading)):e.api!==n?(o=e.extend(!0,{headers:{"X-Remote":!0}},s.apiSettings,l),i.debug("Retrieving remote content",a,o),e.api(o)):i.error(x.api)},update:function(e,t){i.debug("Updating html for",e);var a=i.get.tabElement(e);a.html(t)}},activate:{all:function(e){i.activate.tab(e),i.activate.navigation(e)},tab:function(e){var t=i.get.tabElement(e);i.verbose("Showing tab content for",t),t.addClass(v.active).siblings(f).removeClass(v.active+" "+v.loading)},navigation:function(e){var t=i.get.navElement(e);i.verbose("Activating tab navigation for",t,e),t.addClass(v.active).siblings(r).removeClass(v.active+" "+v.loading)}},deactivate:{all:function(){i.deactivate.navigation(),i.deactivate.tabs()},navigation:function(){r.removeClass(v.active)},tabs:function(){f.removeClass(v.active+" "+v.loading)}},is:{tab:function(e){return e!==n?i.get.tabElement(e).length>0:!1}},get:{initialPath:function(){return r.eq(0).data(y.tab)||f.eq(0).data(y.tab)},path:function(){return e.address.value()},defaultPathArray:function(e){return i.utilities.pathToArray(i.get.defaultPath(e))},defaultPath:function(e){var t=r.filter("[data-"+y.tab+'^="'+e+'/"]').eq(0),a=t.data(y.tab)||!1;if(a){if(i.debug("Found default tab",a),w<s.maxDepth)return w++,i.get.defaultPath(a);i.error(x.recursion)}else i.debug("No default tabs found for",e,f);return w=0,e},navElement:function(e){return e=e||h,r.filter("[data-"+y.tab+'="'+e+'"]')},tabElement:function(e){var t,a,n,o;return e=e||h,n=i.utilities.pathToArray(e),o=i.utilities.last(n),t=f.filter("[data-"+y.tab+'="'+o+'"]'),a=f.filter("[data-"+y.tab+'="'+e+'"]'),t.length>0?t:a},tab:function(){return h}},utilities:{filterArray:function(t,a){return e.grep(t,function(t){return-1==e.inArray(t,a)})},last:function(t){return e.isArray(t)?t[t.length-1]:!1},pathToArray:function(e){return e===n&&(e=h),"string"==typeof e?e.split("/"):[e]},arrayToPath:function(t){return e.isArray(t)?t.join("/"):!1}},setting:function(t,a){if(i.debug("Changing setting",t,a),e.isPlainObject(t))e.extend(!0,s,t);else{if(a===n)return s[t];s[t]=a}},internal:function(t,a){if(e.isPlainObject(t))e.extend(!0,i,t);else{if(a===n)return i[t];i[t]=a}},debug:function(){s.debug&&(s.performance?i.performance.log(arguments):(i.debug=Function.prototype.bind.call(console.info,console,s.name+":"),i.debug.apply(console,arguments)))},verbose:function(){s.verbose&&s.debug&&(s.performance?i.performance.log(arguments):(i.verbose=Function.prototype.bind.call(console.info,console,s.name+":"),i.verbose.apply(console,arguments)))},error:function(){i.error=Function.prototype.bind.call(console.error,console,s.name+":"),i.error.apply(console,arguments)},performance:{log:function(e){var t,a,n;s.performance&&(t=(new Date).getTime(),n=l||t,a=t-n,l=t,u.push({Name:e[0],Arguments:[].slice.call(e,1)||"",Element:j,"Execution Time":a})),clearTimeout(i.performance.timer),i.performance.timer=setTimeout(i.performance.display,100)},display:function(){var t=s.name+":",a=0;l=!1,clearTimeout(i.performance.timer),e.each(u,function(e,t){a+=t["Execution Time"]}),t+=" "+a+"ms",c&&(t+=" '"+c+"'"),(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,a,r){var s,c,l,u=D;return a=a||g,r=j||r,"string"==typeof t&&u!==n&&(t=t.split(/[\. ]/),s=t.length-1,e.each(t,function(a,o){var r=a!=s?o+t[a+1].charAt(0).toUpperCase()+t[a+1].slice(1):t;if(e.isPlainObject(u[r])&&a!=s)u=u[r];else{if(u[r]!==n)return c=u[r],!1;if(!e.isPlainObject(u[o])||a==s)return u[o]!==n?(c=u[o],!1):(i.error(x.method,t),!1);u=u[o]}})),e.isFunction(c)?l=c.apply(r,a):c!==n&&(l=c),e.isArray(o)?o.push(l):o!==n?o=[o,l]:l!==n&&(o=l),c}},b?(D===n&&i.initialize(),i.invoke(d)):(D!==n&&i.destroy(),i.initialize())}),i&&!b&&i.initializeHistory(),o!==n?o:this},e.tab=function(){e(t).tab.apply(this,arguments)},e.fn.tab.settings={name:"Tab",namespace:"tab",debug:!1,verbose:!0,performance:!0,auto:!1,history:!1,historyType:"hash",path:!1,context:!1,childrenOnly:!1,maxDepth:25,alwaysRefresh:!1,cache:!0,ignoreFirstLoad:!1,apiSettings:!1,onTabInit:function(){},onTabLoad:function(){},templates:{determineTitle:function(){}},error:{api:"You attempted to load content without API module",method:"The method you called is not defined",missingTab:"Activated tab cannot be found for this context.",noContent:"The tab you specified is missing a content url.",path:"History enabled, but no path was specified",recursion:"Max recursive depth reached",state:"History requires Asual's Address library <https://github.com/asual/jquery-address>"},metadata:{tab:"tab",loaded:"loaded",promise:"promise"},className:{loading:"loading",active:"active"},selector:{tabs:".ui.tab",ui:".ui"}}}(jQuery,window,document);
|
@@ -0,0 +1,999 @@
|
|
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
|
+
Table
|
16
|
+
*******************************/
|
17
|
+
|
18
|
+
|
19
|
+
/* Prototype */
|
20
|
+
.ui.table {
|
21
|
+
width: 100%;
|
22
|
+
background: #ffffff;
|
23
|
+
margin: 1em 0em;
|
24
|
+
border: 1px solid #d0d0d0;
|
25
|
+
box-shadow: none;
|
26
|
+
border-radius: 0.25rem;
|
27
|
+
color: rgba(0, 0, 0, 0.8);
|
28
|
+
border-collapse: separate;
|
29
|
+
border-spacing: 0px;
|
30
|
+
}
|
31
|
+
.ui.table:first-child {
|
32
|
+
margin-top: 0em;
|
33
|
+
}
|
34
|
+
.ui.table:last-child {
|
35
|
+
margin-bottom: 0em;
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
/*******************************
|
40
|
+
Parts
|
41
|
+
*******************************/
|
42
|
+
|
43
|
+
|
44
|
+
/* Table Content */
|
45
|
+
.ui.table th,
|
46
|
+
.ui.table td {
|
47
|
+
-webkit-transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
|
48
|
+
transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
|
49
|
+
}
|
50
|
+
|
51
|
+
/* Headers */
|
52
|
+
.ui.table thead {
|
53
|
+
box-shadow: none;
|
54
|
+
}
|
55
|
+
.ui.table thead th {
|
56
|
+
cursor: auto;
|
57
|
+
background: #f0f0f0;
|
58
|
+
text-align: left;
|
59
|
+
color: rgba(0, 0, 0, 0.8);
|
60
|
+
padding: 0.7em 0.8em;
|
61
|
+
vertical-align: middle;
|
62
|
+
font-style: none;
|
63
|
+
font-weight: bold;
|
64
|
+
text-transform: none;
|
65
|
+
border-bottom: 1px solid #d4d4d5;
|
66
|
+
border-left: none;
|
67
|
+
}
|
68
|
+
.ui.table thead tr > th:first-child {
|
69
|
+
border-left: none;
|
70
|
+
}
|
71
|
+
.ui.table thead tr:first-child > th:first-child {
|
72
|
+
border-radius: 0.25rem 0em 0em 0em;
|
73
|
+
}
|
74
|
+
.ui.table thead tr:first-child > th:last-child {
|
75
|
+
border-radius: 0em 0.25rem 0em 0em;
|
76
|
+
}
|
77
|
+
.ui.table thead tr:first-child > th:only-child {
|
78
|
+
border-radius: 0.25rem 0.25rem 0em 0em;
|
79
|
+
}
|
80
|
+
|
81
|
+
/* Footer */
|
82
|
+
.ui.table tfoot {
|
83
|
+
box-shadow: none;
|
84
|
+
}
|
85
|
+
.ui.table tfoot th {
|
86
|
+
cursor: auto;
|
87
|
+
border-top: 1px solid #d4d4d5;
|
88
|
+
background: #ffffff;
|
89
|
+
text-align: left;
|
90
|
+
color: rgba(0, 0, 0, 0.8);
|
91
|
+
padding: 0.7em 0.8em;
|
92
|
+
vertical-align: middle;
|
93
|
+
font-style: normal;
|
94
|
+
font-weight: normal;
|
95
|
+
text-transform: none;
|
96
|
+
}
|
97
|
+
.ui.table tfoot tr > th:first-child {
|
98
|
+
border-left: none;
|
99
|
+
}
|
100
|
+
.ui.table tfoot tr:first-child > th:first-child {
|
101
|
+
border-radius: 0em 0em 0em 0.25rem;
|
102
|
+
}
|
103
|
+
.ui.table tfoot tr:first-child > th:last-child {
|
104
|
+
border-radius: 0em 0em 0.25rem 0em;
|
105
|
+
}
|
106
|
+
.ui.table tfoot tr:first-child > th:only-child {
|
107
|
+
border-radius: 0em 0em 0.25rem 0.25rem;
|
108
|
+
}
|
109
|
+
|
110
|
+
/* Table Row */
|
111
|
+
.ui.table tr td {
|
112
|
+
border-top: 1px solid #d4d4d5;
|
113
|
+
}
|
114
|
+
.ui.table tr:first-child td {
|
115
|
+
border-top: none;
|
116
|
+
}
|
117
|
+
|
118
|
+
/* Table Cells */
|
119
|
+
.ui.table td {
|
120
|
+
padding: 0.7em 0.8em;
|
121
|
+
text-align: left;
|
122
|
+
vertical-align: middle;
|
123
|
+
}
|
124
|
+
|
125
|
+
/* Icons */
|
126
|
+
.ui.table > .icon {
|
127
|
+
vertical-align: baseline;
|
128
|
+
}
|
129
|
+
.ui.table > .icon:only-child {
|
130
|
+
margin: 0em;
|
131
|
+
}
|
132
|
+
|
133
|
+
/* Table Segment */
|
134
|
+
.ui.table.segment {
|
135
|
+
padding: 0em;
|
136
|
+
}
|
137
|
+
.ui.table.segment:after {
|
138
|
+
display: none;
|
139
|
+
}
|
140
|
+
.ui.table.segment.stacked:after {
|
141
|
+
display: block;
|
142
|
+
}
|
143
|
+
|
144
|
+
/* Responsive */
|
145
|
+
@media only screen and (max-width: 767px) {
|
146
|
+
.ui.table:not(.unstackable),
|
147
|
+
.ui.table:not(.unstackable) tbody,
|
148
|
+
.ui.table:not(.unstackable) tr,
|
149
|
+
.ui.table:not(.unstackable) tr > th,
|
150
|
+
.ui.table:not(.unstackable) tr > td {
|
151
|
+
width: 100% !important;
|
152
|
+
display: block !important;
|
153
|
+
}
|
154
|
+
.ui.table:not(.unstackable) {
|
155
|
+
padding: 0em;
|
156
|
+
}
|
157
|
+
.ui.table:not(.unstackable) thead {
|
158
|
+
display: block;
|
159
|
+
}
|
160
|
+
.ui.table:not(.unstackable) tfoot {
|
161
|
+
display: block;
|
162
|
+
}
|
163
|
+
.ui.table:not(.unstackable) tr > th,
|
164
|
+
.ui.table:not(.unstackable) tr > td {
|
165
|
+
background: none;
|
166
|
+
border: none !important;
|
167
|
+
padding: 0.25em 0.75em;
|
168
|
+
box-shadow: none;
|
169
|
+
}
|
170
|
+
.ui.table:not(.unstackable) th:first-child,
|
171
|
+
.ui.table:not(.unstackable) td:first-child {
|
172
|
+
font-weight: bold;
|
173
|
+
padding-top: 1em;
|
174
|
+
}
|
175
|
+
.ui.table:not(.unstackable) th:last-child,
|
176
|
+
.ui.table:not(.unstackable) td:last-child {
|
177
|
+
box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
|
178
|
+
padding-bottom: 1em;
|
179
|
+
}
|
180
|
+
|
181
|
+
/* Clear BG Colors */
|
182
|
+
.ui.table:not(.unstackable) tr > td.warning,
|
183
|
+
.ui.table:not(.unstackable) tr > td.error,
|
184
|
+
.ui.table:not(.unstackable) tr > td.active,
|
185
|
+
.ui.table:not(.unstackable) tr > td.positive,
|
186
|
+
.ui.table:not(.unstackable) tr > td.negative {
|
187
|
+
background-color: transparent !important;
|
188
|
+
}
|
189
|
+
|
190
|
+
/* Definition Table */
|
191
|
+
.ui.definition.table:not(.unstackable) thead th:first-child {
|
192
|
+
box-shadow: none !important;
|
193
|
+
}
|
194
|
+
.ui.definition.table:not(.unstackable) tr td:first-child {
|
195
|
+
padding-bottom: 1em;
|
196
|
+
}
|
197
|
+
.ui.definition.table:not(.unstackable) tr td:nth-child(n+2) {
|
198
|
+
padding-top: 1em;
|
199
|
+
}
|
200
|
+
}
|
201
|
+
|
202
|
+
|
203
|
+
/*******************************
|
204
|
+
Coupling
|
205
|
+
*******************************/
|
206
|
+
|
207
|
+
|
208
|
+
/* UI Image */
|
209
|
+
.ui.table th .image,
|
210
|
+
.ui.table th .image img,
|
211
|
+
.ui.table td .image,
|
212
|
+
.ui.table td .image img {
|
213
|
+
max-width: none;
|
214
|
+
}
|
215
|
+
|
216
|
+
|
217
|
+
/*******************************
|
218
|
+
Types
|
219
|
+
*******************************/
|
220
|
+
|
221
|
+
|
222
|
+
/*--------------
|
223
|
+
Complex
|
224
|
+
---------------*/
|
225
|
+
|
226
|
+
.ui.structured.table {
|
227
|
+
border-collapse: collapse;
|
228
|
+
}
|
229
|
+
.ui.structured.table thead th {
|
230
|
+
border-left: none;
|
231
|
+
border-right: none;
|
232
|
+
}
|
233
|
+
.ui.structured.sortable.table thead th {
|
234
|
+
border-left: 1px solid #d0d0d0;
|
235
|
+
border-right: 1px solid #d0d0d0;
|
236
|
+
}
|
237
|
+
.ui.structured.basic.table th {
|
238
|
+
border-left: none;
|
239
|
+
border-right: none;
|
240
|
+
}
|
241
|
+
.ui.structured.celled.table tr th,
|
242
|
+
.ui.structured.celled.table tr td {
|
243
|
+
border-left: 1px solid #d4d4d5;
|
244
|
+
border-right: 1px solid #d4d4d5;
|
245
|
+
}
|
246
|
+
|
247
|
+
/*--------------
|
248
|
+
Definition
|
249
|
+
---------------*/
|
250
|
+
|
251
|
+
.ui.definition.table thead:not(.full-width) th:first-child {
|
252
|
+
pointer-events: none;
|
253
|
+
background: transparent;
|
254
|
+
font-weight: normal;
|
255
|
+
color: rgba(0, 0, 0, 0.4);
|
256
|
+
box-shadow: -1px -1px 0px 1px #ffffff;
|
257
|
+
}
|
258
|
+
.ui.definition.table tfoot:not(.full-width) th:first-child {
|
259
|
+
pointer-events: none;
|
260
|
+
background: transparent;
|
261
|
+
font-weight: rgba(0, 0, 0, 0.4);
|
262
|
+
color: normal;
|
263
|
+
box-shadow: 1px 1px 0px 1px #ffffff;
|
264
|
+
}
|
265
|
+
|
266
|
+
/* Remove Border */
|
267
|
+
.ui.celled.definition.table thead:not(.full-width) th:first-child {
|
268
|
+
box-shadow: 0px -1px 0px 1px #ffffff;
|
269
|
+
}
|
270
|
+
.ui.celled.definition.table tfoot:not(.full-width) th:first-child {
|
271
|
+
box-shadow: 0px 1px 0px 1px #ffffff;
|
272
|
+
}
|
273
|
+
|
274
|
+
/* Highlight Defining Column */
|
275
|
+
.ui.definition.table tr td:first-child {
|
276
|
+
background: rgba(0, 0, 0, 0.03);
|
277
|
+
font-weight: bold;
|
278
|
+
color: rgba(0, 0, 0, 0.8);
|
279
|
+
}
|
280
|
+
|
281
|
+
/* Fix 2nd Column */
|
282
|
+
.ui.definition.table thead:not(.full-width) th:nth-child(2) {
|
283
|
+
border-left: 1px solid #d0d0d0;
|
284
|
+
}
|
285
|
+
.ui.definition.table tfoot:not(.full-width) th:nth-child(2) {
|
286
|
+
border-left: 1px solid #d0d0d0;
|
287
|
+
}
|
288
|
+
.ui.definition.table td:nth-child(2) {
|
289
|
+
border-left: 1px solid #d0d0d0;
|
290
|
+
}
|
291
|
+
|
292
|
+
|
293
|
+
/*******************************
|
294
|
+
States
|
295
|
+
*******************************/
|
296
|
+
|
297
|
+
|
298
|
+
/*--------------
|
299
|
+
Positive
|
300
|
+
---------------*/
|
301
|
+
|
302
|
+
.ui.table tr.positive,
|
303
|
+
.ui.table td.positive {
|
304
|
+
box-shadow: 0px 0px 0px #b7caa7 inset;
|
305
|
+
}
|
306
|
+
.ui.table tr.positive td,
|
307
|
+
.ui.table td.positive {
|
308
|
+
background: #eeffe7 !important;
|
309
|
+
color: #3c763d !important;
|
310
|
+
}
|
311
|
+
.ui.celled.table tr.positive:hover td,
|
312
|
+
.ui.celled.table tr:hover td.positive {
|
313
|
+
background: #e3ffd8 !important;
|
314
|
+
color: #376c38 !important;
|
315
|
+
}
|
316
|
+
|
317
|
+
/*--------------
|
318
|
+
Negative
|
319
|
+
---------------*/
|
320
|
+
|
321
|
+
.ui.table tr.negative,
|
322
|
+
.ui.table td.negative {
|
323
|
+
box-shadow: 0px 0px 0px #dbb1b1 inset;
|
324
|
+
}
|
325
|
+
.ui.table tr.negative td,
|
326
|
+
.ui.table td.negative {
|
327
|
+
background: #fff0f0 !important;
|
328
|
+
color: #cd2929 !important;
|
329
|
+
}
|
330
|
+
.ui.celled.table tr.negative:hover td,
|
331
|
+
.ui.celled.table tr:hover td.negative {
|
332
|
+
background: #ffe1e1 !important;
|
333
|
+
color: #c02626 !important;
|
334
|
+
}
|
335
|
+
|
336
|
+
/*--------------
|
337
|
+
Error
|
338
|
+
---------------*/
|
339
|
+
|
340
|
+
.ui.table tr.error,
|
341
|
+
.ui.table td.error {
|
342
|
+
box-shadow: 0px 0px 0px #dbb1b1 inset;
|
343
|
+
}
|
344
|
+
.ui.table tr.error td,
|
345
|
+
.ui.table td.error {
|
346
|
+
background: #fff0f0 !important;
|
347
|
+
color: #cd2929 !important;
|
348
|
+
}
|
349
|
+
.ui.celled.table tr.error:hover td,
|
350
|
+
.ui.celled.table tr:hover td.error {
|
351
|
+
background: #ffe1e1 !important;
|
352
|
+
color: #c02626 !important;
|
353
|
+
}
|
354
|
+
|
355
|
+
/*--------------
|
356
|
+
Warning
|
357
|
+
---------------*/
|
358
|
+
|
359
|
+
.ui.table tr.warning,
|
360
|
+
.ui.table td.warning {
|
361
|
+
box-shadow: 0px 0px 0px #d9caab inset;
|
362
|
+
}
|
363
|
+
.ui.table tr.warning td,
|
364
|
+
.ui.table td.warning {
|
365
|
+
background: #fffbe6 !important;
|
366
|
+
color: #7d6c00 !important;
|
367
|
+
}
|
368
|
+
.ui.celled.table tr.warning:hover td,
|
369
|
+
.ui.celled.table tr:hover td.warning {
|
370
|
+
background: #fff9d7 !important;
|
371
|
+
color: #6e5f00 !important;
|
372
|
+
}
|
373
|
+
|
374
|
+
/*--------------
|
375
|
+
Active
|
376
|
+
---------------*/
|
377
|
+
|
378
|
+
.ui.table tr.active,
|
379
|
+
.ui.table td.active {
|
380
|
+
box-shadow: 0px 0px 0px rgba(50, 50, 50, 0.9) inset;
|
381
|
+
}
|
382
|
+
.ui.table tr.active td,
|
383
|
+
.ui.table td.active {
|
384
|
+
background: #e0e0e0 !important;
|
385
|
+
color: rgba(50, 50, 50, 0.9) !important;
|
386
|
+
}
|
387
|
+
.ui.celled.table tr.active:hover td,
|
388
|
+
.ui.celled.table tr:hover td.active {
|
389
|
+
background: #e0e0e0 !important;
|
390
|
+
color: rgba(50, 50, 50, 0.9) !important;
|
391
|
+
}
|
392
|
+
|
393
|
+
/*--------------
|
394
|
+
Disabled
|
395
|
+
---------------*/
|
396
|
+
|
397
|
+
.ui.table tr.disabled td,
|
398
|
+
.ui.table tr td.disabled,
|
399
|
+
.ui.table tr.disabled:hover td,
|
400
|
+
.ui.table tr:hover td.disabled {
|
401
|
+
pointer-events: none;
|
402
|
+
color: rgba(40, 40, 40, 0.3);
|
403
|
+
}
|
404
|
+
|
405
|
+
|
406
|
+
/*******************************
|
407
|
+
Variations
|
408
|
+
*******************************/
|
409
|
+
|
410
|
+
|
411
|
+
/*--------------
|
412
|
+
Stackable
|
413
|
+
---------------*/
|
414
|
+
|
415
|
+
@media only screen and (max-width: 991px) {
|
416
|
+
.ui[class*="tablet stackable"].table,
|
417
|
+
.ui[class*="tablet stackable"].table tbody,
|
418
|
+
.ui[class*="tablet stackable"].table tr,
|
419
|
+
.ui[class*="tablet stackable"].table tr > th,
|
420
|
+
.ui[class*="tablet stackable"].table tr > td {
|
421
|
+
width: 100% !important;
|
422
|
+
display: block !important;
|
423
|
+
}
|
424
|
+
.ui[class*="tablet stackable"].table {
|
425
|
+
padding: 0em;
|
426
|
+
}
|
427
|
+
.ui[class*="tablet stackable"].table thead {
|
428
|
+
display: block;
|
429
|
+
}
|
430
|
+
.ui[class*="tablet stackable"].table tfoot {
|
431
|
+
display: block;
|
432
|
+
}
|
433
|
+
.ui[class*="tablet stackable"].table tr > th,
|
434
|
+
.ui[class*="tablet stackable"].table tr > td {
|
435
|
+
background: none;
|
436
|
+
border: none !important;
|
437
|
+
padding: 0.25em 0.75em;
|
438
|
+
box-shadow: none;
|
439
|
+
}
|
440
|
+
.ui[class*="tablet stackable"].table th:first-child,
|
441
|
+
.ui[class*="tablet stackable"].table td:first-child {
|
442
|
+
font-weight: bold;
|
443
|
+
padding-top: 1em;
|
444
|
+
}
|
445
|
+
.ui[class*="tablet stackable"].table th:last-child,
|
446
|
+
.ui[class*="tablet stackable"].table td:last-child {
|
447
|
+
box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.1) inset;
|
448
|
+
padding-bottom: 1em;
|
449
|
+
}
|
450
|
+
|
451
|
+
/* Clear BG Colors */
|
452
|
+
.ui[class*="tablet stackable"].table tr > td.warning,
|
453
|
+
.ui[class*="tablet stackable"].table tr > td.error,
|
454
|
+
.ui[class*="tablet stackable"].table tr > td.active,
|
455
|
+
.ui[class*="tablet stackable"].table tr > td.positive,
|
456
|
+
.ui[class*="tablet stackable"].table tr > td.negative {
|
457
|
+
background-color: transparent !important;
|
458
|
+
}
|
459
|
+
|
460
|
+
/* Definition Table */
|
461
|
+
.ui.definition[class*="tablet stackable"].table thead th:first-child {
|
462
|
+
box-shadow: none !important;
|
463
|
+
}
|
464
|
+
.ui.definition[class*="tablet stackable"].table tr td:first-child {
|
465
|
+
padding-bottom: 1em;
|
466
|
+
}
|
467
|
+
.ui.definition[class*="tablet stackable"].table tr td:nth-child(n+2) {
|
468
|
+
padding-top: 1em;
|
469
|
+
}
|
470
|
+
}
|
471
|
+
|
472
|
+
/*--------------
|
473
|
+
Aligned
|
474
|
+
---------------*/
|
475
|
+
|
476
|
+
.ui.table[class*="left aligned"],
|
477
|
+
.ui.table [class*="left aligned"] {
|
478
|
+
text-align: left;
|
479
|
+
}
|
480
|
+
.ui.table[class*="center aligned"],
|
481
|
+
.ui.table [class*="center aligned"] {
|
482
|
+
text-align: center;
|
483
|
+
}
|
484
|
+
.ui.table[class*="right aligned"],
|
485
|
+
.ui.table [class*="right aligned"] {
|
486
|
+
text-align: right;
|
487
|
+
}
|
488
|
+
|
489
|
+
/*--------------
|
490
|
+
Collapsing
|
491
|
+
---------------*/
|
492
|
+
|
493
|
+
.ui.table th.collapsing,
|
494
|
+
.ui.table td.collapsing {
|
495
|
+
width: 1px;
|
496
|
+
white-space: nowrap;
|
497
|
+
}
|
498
|
+
|
499
|
+
/*--------------
|
500
|
+
Attached
|
501
|
+
---------------*/
|
502
|
+
|
503
|
+
|
504
|
+
/* All */
|
505
|
+
.ui.attached.table {
|
506
|
+
width: -webkit-calc(100% + 2px );
|
507
|
+
width: calc(100% + 2px );
|
508
|
+
margin: 0em -1px;
|
509
|
+
border-radius: 0px;
|
510
|
+
box-shadow: none;
|
511
|
+
}
|
512
|
+
|
513
|
+
/* Top */
|
514
|
+
.ui[class*="top attached"].table {
|
515
|
+
margin-top: 1em 0em;
|
516
|
+
border-radius: 0.25rem 0.25rem 0em 0em;
|
517
|
+
}
|
518
|
+
.ui.table[class*="top attached"]:first-child {
|
519
|
+
margin-top: 0em;
|
520
|
+
}
|
521
|
+
|
522
|
+
/* Bottom */
|
523
|
+
.ui.table[class*="bottom attached"] {
|
524
|
+
margin-top: 0em;
|
525
|
+
margin-bottom: 1em 0em;
|
526
|
+
border-radius: 0em 0em 0.25rem 0.25rem;
|
527
|
+
}
|
528
|
+
.ui.table[class*="bottom attached"]:last-child {
|
529
|
+
margin-bottom: 0em;
|
530
|
+
}
|
531
|
+
|
532
|
+
/*--------------
|
533
|
+
Striped
|
534
|
+
---------------*/
|
535
|
+
|
536
|
+
|
537
|
+
/* Table Striping */
|
538
|
+
.ui.striped.table > tr:nth-child(2n),
|
539
|
+
.ui.striped.table tbody tr:nth-child(2n) {
|
540
|
+
background-color: rgba(0, 0, 50, 0.03);
|
541
|
+
}
|
542
|
+
|
543
|
+
/* Stripes */
|
544
|
+
.ui.inverted.striped.table > tr:nth-child(2n),
|
545
|
+
.ui.inverted.striped.table tbody tr:nth-child(2n) {
|
546
|
+
background-color: rgba(255, 255, 255, 0.06);
|
547
|
+
}
|
548
|
+
|
549
|
+
/*-------------------
|
550
|
+
Colors
|
551
|
+
--------------------*/
|
552
|
+
|
553
|
+
.ui.black.table {
|
554
|
+
border-top: 0.2em solid #1b1c1d;
|
555
|
+
}
|
556
|
+
.ui.blue.table {
|
557
|
+
border-top: 0.2em solid #3b83c0;
|
558
|
+
}
|
559
|
+
.ui.green.table {
|
560
|
+
border-top: 0.2em solid #5bbd72;
|
561
|
+
}
|
562
|
+
.ui.orange.table {
|
563
|
+
border-top: 0.2em solid #e07b53;
|
564
|
+
}
|
565
|
+
.ui.pink.table {
|
566
|
+
border-top: 0.2em solid #d9499a;
|
567
|
+
}
|
568
|
+
.ui.purple.table {
|
569
|
+
border-top: 0.2em solid #564f8a;
|
570
|
+
}
|
571
|
+
.ui.red.table {
|
572
|
+
border-top: 0.2em solid #d95c5c;
|
573
|
+
}
|
574
|
+
.ui.teal.table {
|
575
|
+
border-top: 0.2em solid #00b5ad;
|
576
|
+
}
|
577
|
+
.ui.yellow.table {
|
578
|
+
border-top: 0.2em solid #f2c61f;
|
579
|
+
}
|
580
|
+
|
581
|
+
/*-------------------
|
582
|
+
Inverted Colors
|
583
|
+
--------------------*/
|
584
|
+
|
585
|
+
.ui.inverted.table,
|
586
|
+
.ui.inverted.black.table {
|
587
|
+
background-color: #1b1c1d !important;
|
588
|
+
color: #ffffff !important;
|
589
|
+
}
|
590
|
+
.ui.inverted.blue.table {
|
591
|
+
background-color: #3b83c0 !important;
|
592
|
+
color: #ffffff !important;
|
593
|
+
}
|
594
|
+
.ui.inverted.green.table {
|
595
|
+
background-color: #5bbd72 !important;
|
596
|
+
color: #ffffff !important;
|
597
|
+
}
|
598
|
+
.ui.inverted.orange.table {
|
599
|
+
background-color: #e07b53 !important;
|
600
|
+
color: #ffffff !important;
|
601
|
+
}
|
602
|
+
.ui.inverted.pink.table {
|
603
|
+
background-color: #d9499a !important;
|
604
|
+
color: #ffffff !important;
|
605
|
+
}
|
606
|
+
.ui.inverted.purple.table {
|
607
|
+
background-color: #564f8a !important;
|
608
|
+
color: #ffffff !important;
|
609
|
+
}
|
610
|
+
.ui.inverted.red.table {
|
611
|
+
background-color: #d95c5c !important;
|
612
|
+
color: #ffffff !important;
|
613
|
+
}
|
614
|
+
.ui.inverted.teal.table {
|
615
|
+
background-color: #00b5ad !important;
|
616
|
+
color: #ffffff !important;
|
617
|
+
}
|
618
|
+
.ui.inverted.yellow.table {
|
619
|
+
background-color: #f2c61f !important;
|
620
|
+
color: #ffffff !important;
|
621
|
+
}
|
622
|
+
|
623
|
+
/*--------------
|
624
|
+
Column Count
|
625
|
+
---------------*/
|
626
|
+
|
627
|
+
|
628
|
+
/* Grid Based */
|
629
|
+
.ui.one.column.table td {
|
630
|
+
width: 100%;
|
631
|
+
}
|
632
|
+
.ui.two.column.table td {
|
633
|
+
width: 50%;
|
634
|
+
}
|
635
|
+
.ui.three.column.table td {
|
636
|
+
width: 33.33333333%;
|
637
|
+
}
|
638
|
+
.ui.four.column.table td {
|
639
|
+
width: 25%;
|
640
|
+
}
|
641
|
+
.ui.five.column.table td {
|
642
|
+
width: 20%;
|
643
|
+
}
|
644
|
+
.ui.six.column.table td {
|
645
|
+
width: 16.66666667%;
|
646
|
+
}
|
647
|
+
.ui.seven.column.table td {
|
648
|
+
width: 14.28571429%;
|
649
|
+
}
|
650
|
+
.ui.eight.column.table td {
|
651
|
+
width: 12.5%;
|
652
|
+
}
|
653
|
+
.ui.nine.column.table td {
|
654
|
+
width: 11.11111111%;
|
655
|
+
}
|
656
|
+
.ui.ten.column.table td {
|
657
|
+
width: 10%;
|
658
|
+
}
|
659
|
+
.ui.eleven.column.table td {
|
660
|
+
width: 9.09090909%;
|
661
|
+
}
|
662
|
+
.ui.twelve.column.table td {
|
663
|
+
width: 8.33333333%;
|
664
|
+
}
|
665
|
+
.ui.thirteen.column.table td {
|
666
|
+
width: 7.69230769%;
|
667
|
+
}
|
668
|
+
.ui.fourteen.column.table td {
|
669
|
+
width: 7.14285714%;
|
670
|
+
}
|
671
|
+
.ui.fifteen.column.table td {
|
672
|
+
width: 6.66666667%;
|
673
|
+
}
|
674
|
+
.ui.sixteen.column.table td {
|
675
|
+
width: 6.25%;
|
676
|
+
}
|
677
|
+
|
678
|
+
/* Column Width */
|
679
|
+
.ui.table th.one.wide,
|
680
|
+
.ui.table td.one.wide {
|
681
|
+
width: 6.25%;
|
682
|
+
}
|
683
|
+
.ui.table th.two.wide,
|
684
|
+
.ui.table td.two.wide {
|
685
|
+
width: 12.5%;
|
686
|
+
}
|
687
|
+
.ui.table th.three.wide,
|
688
|
+
.ui.table td.three.wide {
|
689
|
+
width: 18.75%;
|
690
|
+
}
|
691
|
+
.ui.table th.four.wide,
|
692
|
+
.ui.table td.four.wide {
|
693
|
+
width: 25%;
|
694
|
+
}
|
695
|
+
.ui.table th.five.wide,
|
696
|
+
.ui.table td.five.wide {
|
697
|
+
width: 31.25%;
|
698
|
+
}
|
699
|
+
.ui.table th.six.wide,
|
700
|
+
.ui.table td.six.wide {
|
701
|
+
width: 37.5%;
|
702
|
+
}
|
703
|
+
.ui.table th.seven.wide,
|
704
|
+
.ui.table td.seven.wide {
|
705
|
+
width: 43.75%;
|
706
|
+
}
|
707
|
+
.ui.table th.eight.wide,
|
708
|
+
.ui.table td.eight.wide {
|
709
|
+
width: 50%;
|
710
|
+
}
|
711
|
+
.ui.table th.nine.wide,
|
712
|
+
.ui.table td.nine.wide {
|
713
|
+
width: 56.25%;
|
714
|
+
}
|
715
|
+
.ui.table th.ten.wide,
|
716
|
+
.ui.table td.ten.wide {
|
717
|
+
width: 62.5%;
|
718
|
+
}
|
719
|
+
.ui.table th.eleven.wide,
|
720
|
+
.ui.table td.eleven.wide {
|
721
|
+
width: 68.75%;
|
722
|
+
}
|
723
|
+
.ui.table th.twelve.wide,
|
724
|
+
.ui.table td.twelve.wide {
|
725
|
+
width: 75%;
|
726
|
+
}
|
727
|
+
.ui.table th.thirteen.wide,
|
728
|
+
.ui.table td.thirteen.wide {
|
729
|
+
width: 81.25%;
|
730
|
+
}
|
731
|
+
.ui.table th.fourteen.wide,
|
732
|
+
.ui.table td.fourteen.wide {
|
733
|
+
width: 87.5%;
|
734
|
+
}
|
735
|
+
.ui.table th.fifteen.wide,
|
736
|
+
.ui.table td.fifteen.wide {
|
737
|
+
width: 93.75%;
|
738
|
+
}
|
739
|
+
.ui.table th.sixteen.wide,
|
740
|
+
.ui.table td.sixteen.wide {
|
741
|
+
width: 100%;
|
742
|
+
}
|
743
|
+
|
744
|
+
/*--------------
|
745
|
+
Sortable
|
746
|
+
---------------*/
|
747
|
+
|
748
|
+
.ui.sortable.table thead th {
|
749
|
+
cursor: pointer;
|
750
|
+
white-space: nowrap;
|
751
|
+
border-left: 1px solid #d0d0d0;
|
752
|
+
color: rgba(0, 0, 0, 0.8);
|
753
|
+
}
|
754
|
+
.ui.sortable.table thead th:first-child {
|
755
|
+
border-left: none;
|
756
|
+
}
|
757
|
+
.ui.sortable.table thead th.sorted,
|
758
|
+
.ui.sortable.table thead th.sorted:hover {
|
759
|
+
-webkit-user-select: none;
|
760
|
+
-moz-user-select: none;
|
761
|
+
-ms-user-select: none;
|
762
|
+
user-select: none;
|
763
|
+
}
|
764
|
+
.ui.sortable.table thead th:after {
|
765
|
+
display: inline-block;
|
766
|
+
content: '';
|
767
|
+
width: 1em;
|
768
|
+
height: 1em;
|
769
|
+
opacity: 0.8;
|
770
|
+
margin: 0em 0em 0em 0.5em;
|
771
|
+
font-family: 'Icons';
|
772
|
+
font-style: normal;
|
773
|
+
font-weight: normal;
|
774
|
+
text-decoration: inherit;
|
775
|
+
}
|
776
|
+
.ui.sortable.table thead th.ascending:after {
|
777
|
+
content: '\f0d7';
|
778
|
+
}
|
779
|
+
.ui.sortable.table thead th.descending:after {
|
780
|
+
content: '\f0d8';
|
781
|
+
}
|
782
|
+
|
783
|
+
/* Hover */
|
784
|
+
.ui.sortable.table th.disabled:hover {
|
785
|
+
cursor: auto;
|
786
|
+
color: rgba(40, 40, 40, 0.3);
|
787
|
+
}
|
788
|
+
.ui.sortable.table thead th:hover {
|
789
|
+
background: rgba(0, 0, 0, 0.05);
|
790
|
+
color: rgba(0, 0, 0, 0.8);
|
791
|
+
}
|
792
|
+
|
793
|
+
/* Sorted */
|
794
|
+
.ui.sortable.table thead th.sorted {
|
795
|
+
background: rgba(0, 0, 0, 0.05);
|
796
|
+
color: rgba(0, 0, 0, 0.8);
|
797
|
+
}
|
798
|
+
|
799
|
+
/* Sorted Hover */
|
800
|
+
.ui.sortable.table thead th.sorted:hover {
|
801
|
+
background: rgba(0, 0, 0, 0.05);
|
802
|
+
color: rgba(0, 0, 0, 0.8);
|
803
|
+
}
|
804
|
+
|
805
|
+
/* Inverted */
|
806
|
+
.ui.inverted.sortable.table thead th.sorted {
|
807
|
+
background: rgba(255, 255, 255, 0.07) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
808
|
+
background: rgba(255, 255, 255, 0.07) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
809
|
+
color: #ffffff;
|
810
|
+
}
|
811
|
+
.ui.inverted.sortable.table thead th:hover {
|
812
|
+
background: rgba(255, 255, 255, 0.05) -webkit-linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
813
|
+
background: rgba(255, 255, 255, 0.05) linear-gradient(transparent, rgba(0, 0, 0, 0.05));
|
814
|
+
color: #ffffff;
|
815
|
+
}
|
816
|
+
.ui.inverted.sortable.table thead th {
|
817
|
+
border-left-color: transparent;
|
818
|
+
border-right-color: transparent;
|
819
|
+
}
|
820
|
+
|
821
|
+
/*--------------
|
822
|
+
Inverted
|
823
|
+
---------------*/
|
824
|
+
|
825
|
+
|
826
|
+
/* Text Color */
|
827
|
+
.ui.inverted.table {
|
828
|
+
background: #333333;
|
829
|
+
color: #ffffff;
|
830
|
+
border: none;
|
831
|
+
}
|
832
|
+
.ui.inverted.table th {
|
833
|
+
background-color: rgba(0, 0, 0, 0.15);
|
834
|
+
border-color: rgba(0, 0, 0, 0.2) !important;
|
835
|
+
color: rgba(255, 255, 255, 0.9);
|
836
|
+
}
|
837
|
+
.ui.inverted.table tr td {
|
838
|
+
border-color: rgba(0, 0, 0, 0.2) !important;
|
839
|
+
}
|
840
|
+
.ui.inverted.table tr.disabled td,
|
841
|
+
.ui.inverted.table tr td.disabled,
|
842
|
+
.ui.inverted.table tr.disabled:hover td,
|
843
|
+
.ui.inverted.table tr:hover td.disabled {
|
844
|
+
pointer-events: none;
|
845
|
+
color: rgba(225, 225, 225, 0.3);
|
846
|
+
}
|
847
|
+
|
848
|
+
/* Definition */
|
849
|
+
.ui.inverted.definition.table tfoot:not(.full-width) th:first-child,
|
850
|
+
.ui.inverted.definition.table thead:not(.full-width) th:first-child {
|
851
|
+
background: #ffffff;
|
852
|
+
}
|
853
|
+
.ui.inverted.definition.table tr td:first-child {
|
854
|
+
background: rgba(255, 255, 255, 0.02);
|
855
|
+
color: #ffffff;
|
856
|
+
}
|
857
|
+
|
858
|
+
/*--------------
|
859
|
+
Collapsing
|
860
|
+
---------------*/
|
861
|
+
|
862
|
+
.ui.collapsing.table {
|
863
|
+
width: auto;
|
864
|
+
}
|
865
|
+
|
866
|
+
/*--------------
|
867
|
+
Basic
|
868
|
+
---------------*/
|
869
|
+
|
870
|
+
.ui.basic.table {
|
871
|
+
background: transparent;
|
872
|
+
border: 1px solid #d0d0d0;
|
873
|
+
box-shadow: none;
|
874
|
+
}
|
875
|
+
.ui.basic.table thead,
|
876
|
+
.ui.basic.table tfoot {
|
877
|
+
box-shadow: none;
|
878
|
+
}
|
879
|
+
.ui.basic.table th {
|
880
|
+
background: transparent;
|
881
|
+
border-left: none;
|
882
|
+
}
|
883
|
+
.ui.basic.table tbody tr {
|
884
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
|
885
|
+
}
|
886
|
+
.ui.basic.table td {
|
887
|
+
background: transparent;
|
888
|
+
}
|
889
|
+
.ui.basic.striped.table tbody tr:nth-child(2n) {
|
890
|
+
background-color: rgba(0, 0, 0, 0.05) !important;
|
891
|
+
}
|
892
|
+
|
893
|
+
/* Very Basic */
|
894
|
+
.ui[class*="very basic"].table {
|
895
|
+
border: none;
|
896
|
+
}
|
897
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) th,
|
898
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) td {
|
899
|
+
padding: 0.7em 0.8em;
|
900
|
+
}
|
901
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) th:first-child,
|
902
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) td:first-child {
|
903
|
+
padding-left: 0em;
|
904
|
+
}
|
905
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) th:last-child,
|
906
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) td:last-child {
|
907
|
+
padding-right: 0em;
|
908
|
+
}
|
909
|
+
.ui[class*="very basic"].table:not(.sortable):not(.striped) thead tr:first-child th {
|
910
|
+
padding-top: 0em;
|
911
|
+
}
|
912
|
+
|
913
|
+
/*--------------
|
914
|
+
Celled
|
915
|
+
---------------*/
|
916
|
+
|
917
|
+
.ui.celled.table tr th,
|
918
|
+
.ui.celled.table tr td {
|
919
|
+
border-left: 1px solid #d4d4d5;
|
920
|
+
}
|
921
|
+
.ui.celled.table tr th:first-child,
|
922
|
+
.ui.celled.table tr td:first-child {
|
923
|
+
border-left: none;
|
924
|
+
}
|
925
|
+
|
926
|
+
/*--------------
|
927
|
+
Padded
|
928
|
+
---------------*/
|
929
|
+
|
930
|
+
.ui.padded.table th {
|
931
|
+
padding-left: 1em;
|
932
|
+
padding-right: 1em;
|
933
|
+
}
|
934
|
+
.ui.padded.table th,
|
935
|
+
.ui.padded.table td {
|
936
|
+
padding: 1em 1em;
|
937
|
+
}
|
938
|
+
|
939
|
+
/* Very */
|
940
|
+
.ui[class*="very padded"].table th {
|
941
|
+
padding-left: 1.5em;
|
942
|
+
padding-right: 1.5em;
|
943
|
+
}
|
944
|
+
.ui[class*="very padded"].table td {
|
945
|
+
padding: 1.5em 1.5em;
|
946
|
+
}
|
947
|
+
|
948
|
+
/*--------------
|
949
|
+
Compact
|
950
|
+
---------------*/
|
951
|
+
|
952
|
+
.ui.compact.table th {
|
953
|
+
padding-left: 0.7em;
|
954
|
+
padding-right: 0.7em;
|
955
|
+
}
|
956
|
+
.ui.compact.table td {
|
957
|
+
padding: 0.5em 0.7em;
|
958
|
+
}
|
959
|
+
|
960
|
+
/* Very */
|
961
|
+
.ui[class*="very compact"].table th {
|
962
|
+
padding-left: 0.6em;
|
963
|
+
padding-right: 0.6em;
|
964
|
+
}
|
965
|
+
.ui[class*="very compact"].table td {
|
966
|
+
padding: 0.4em 0.6em;
|
967
|
+
}
|
968
|
+
|
969
|
+
/*--------------
|
970
|
+
Sizes
|
971
|
+
---------------*/
|
972
|
+
|
973
|
+
|
974
|
+
/* Small */
|
975
|
+
.ui.small.table {
|
976
|
+
font-size: 0.9em;
|
977
|
+
}
|
978
|
+
|
979
|
+
/* Standard */
|
980
|
+
.ui.table {
|
981
|
+
font-size: 1em;
|
982
|
+
}
|
983
|
+
|
984
|
+
/* Large */
|
985
|
+
.ui.large.table {
|
986
|
+
font-size: 1.1em;
|
987
|
+
}
|
988
|
+
|
989
|
+
|
990
|
+
/*******************************
|
991
|
+
Theme Overrides
|
992
|
+
*******************************/
|
993
|
+
|
994
|
+
|
995
|
+
|
996
|
+
/*******************************
|
997
|
+
Site Overrides
|
998
|
+
*******************************/
|
999
|
+
|