card 0.0.1 → 1.15.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.rspec +4 -0
- data/GPL +331 -0
- data/LICENSE +16 -0
- data/VERSION +1 -0
- data/card.gemspec +48 -19
- data/config/initializers/01_init_ruby_extensions.rb +7 -0
- data/config/initializers/inflections.rb +13 -0
- data/config/initializers/mime_types.rb +13 -0
- data/config/initializers/notification.rb +4 -0
- data/config/initializers/recaptcha.rb +6 -0
- data/config/initializers/uuid_state_file.rb +3 -0
- data/db/bootstrap/card_actions.yml +3872 -0
- data/db/bootstrap/card_acts.yml +7 -0
- data/db/bootstrap/card_changes.yml +11909 -0
- data/db/bootstrap/card_references.yml +3970 -0
- data/db/bootstrap/cards.yml +10805 -0
- data/db/migrate/20110511221913_require_earlier_migrations.rb +19 -0
- data/db/migrate/20120105203350_require_1_8_migrations.rb +15 -0
- data/db/migrate/20121111025347_require_1_10_migrations.rb +15 -0
- data/db/migrate/20121118114000_split_link_type.rb +16 -0
- data/db/migrate/20121118115000_update_link_type.rb +19 -0
- data/db/migrate/20130106052640_table_cleanup.rb +25 -0
- data/db/migrate/20130109015336_trunk_left.rb +14 -0
- data/db/migrate/20130411210957_update_codenames.rb +14 -0
- data/db/migrate/20140822073704_create_new_revision_tables.rb +43 -0
- data/db/migrate/20141001105348_move_revisions_to_actions.rb +62 -0
- data/db/migrate/20141121172918_rename_card_migration_table.rb +15 -0
- data/db/migrate/20141208132159_remove_present_from_reference_table.rb +9 -0
- data/db/migrate/20141216053032_better_index_names.rb +24 -0
- data/db/migrate_core_cards/20130411191151_renaming_for_menu.rb +49 -0
- data/db/migrate_core_cards/20130411211600_delete_old_related_tab_cards.rb +18 -0
- data/db/migrate_core_cards/20130419215612_import_help_text.rb +13 -0
- data/db/migrate_core_cards/20130823192433_add_style_cards.rb +87 -0
- data/db/migrate_core_cards/20130910183318_move_styles_to_content.rb +11 -0
- data/db/migrate_core_cards/20130920214038_jsonize_tinymce.rb +15 -0
- data/db/migrate_core_cards/20130920291703_update_stylesheets.rb +18 -0
- data/db/migrate_core_cards/20130927191728_account_events.rb +21 -0
- data/db/migrate_core_cards/20131016172445_common_css_patch.rb +12 -0
- data/db/migrate_core_cards/20140110193325_reset_account_request_type.rb +11 -0
- data/db/migrate_core_cards/20140307231621_user_data_to_cards.rb +73 -0
- data/db/migrate_core_cards/20140317035504_account_requests_to_signups.rb +51 -0
- data/db/migrate_core_cards/20140512155840_add_script_cards.rb +83 -0
- data/db/migrate_core_cards/20140629222005_add_email_cards.rb +134 -0
- data/db/migrate_core_cards/20140725180118_config_card_updates.rb +9 -0
- data/db/migrate_core_cards/20141111083921_delete_machine_output.rb +9 -0
- data/db/migrate_core_cards/20141115034214_config_descriptions_etc.rb +14 -0
- data/db/migrate_core_cards/20141119001955_make_symlinks_relative.rb +15 -0
- data/db/migrate_core_cards/20141120120605_fix_notification_html_message.rb +10 -0
- data/db/migrate_core_cards/20141204061304_watchers_to_following.rb +38 -0
- data/db/migrate_core_cards/20141208132416_partial_reference_type.rb +7 -0
- data/db/migrate_core_cards/20141208162106_add_ace_script.rb +12 -0
- data/db/migrate_core_cards/20141216155251_add_more_following_cards.rb +24 -0
- data/db/migrate_core_cards/20141230204340_uri_codename.rb +13 -0
- data/db/migrate_core_cards/20150202143810_import_bootstrap_layout.rb +17 -0
- data/db/migrate_core_cards/20150220134731_following_to_follow_rule.rb +18 -0
- data/db/migrate_core_cards/data/1.11_help_text.json +410 -0
- data/db/migrate_core_cards/data/1.12_stylesheets/classic_cards.scss +100 -0
- data/db/migrate_core_cards/data/1.12_stylesheets/common.scss +226 -0
- data/db/migrate_core_cards/data/1.12_stylesheets/right_sidebar.scss +27 -0
- data/db/migrate_core_cards/data/1.12_stylesheets/traditional.scss +152 -0
- data/db/migrate_core_cards/data/1.13_config_text.json +32 -0
- data/db/migrate_core_cards/data/1.14_config_descriptions_etc.json +77 -0
- data/db/migrate_core_cards/data/bootstrap_layout.json +81 -0
- data/db/migrate_core_cards/data/mailer/follower_notification_email.html +9 -0
- data/db/migrate_core_cards/data/mailer/follower_notification_email.txt +11 -0
- data/db/migrate_core_cards/data/mailer/mail_config.json +22 -0
- data/db/migrate_core_cards/data/mailer/password_reset_email.html +10 -0
- data/db/migrate_core_cards/data/mailer/password_reset_email.txt +11 -0
- data/db/migrate_core_cards/data/mailer/signup_alert_email.html +7 -0
- data/db/migrate_core_cards/data/mailer/signup_alert_email.txt +5 -0
- data/db/migrate_core_cards/data/mailer/verification_email.html +9 -0
- data/db/migrate_core_cards/data/mailer/verification_email.txt +8 -0
- data/db/schema.rb +128 -0
- data/db/seeds.rb +8 -0
- data/db/version.txt +1 -0
- data/db/version_core_cards.txt +1 -0
- data/lib/card.rb +46 -3
- data/lib/card/active_record_ext.rb +77 -0
- data/lib/card/auth.rb +181 -0
- data/lib/card/cache.rb +199 -0
- data/lib/card/chunk.rb +104 -0
- data/lib/card/codename.rb +72 -0
- data/lib/card/content.rb +211 -0
- data/lib/card/core_ext.rb +105 -0
- data/lib/card/core_migration.rb +6 -0
- data/lib/card/diff.rb +430 -0
- data/lib/card/env.rb +52 -0
- data/lib/card/exceptions.rb +44 -0
- data/lib/card/format.rb +563 -0
- data/lib/card/loader.rb +165 -0
- data/lib/card/log.rb +450 -0
- data/lib/card/mailer.rb +37 -0
- data/lib/card/migration.rb +145 -0
- data/lib/card/name.rb +45 -0
- data/lib/card/query.rb +81 -0
- data/lib/card/query/card_clause.rb +527 -0
- data/lib/card/query/clause.rb +21 -0
- data/lib/card/query/ref_clause.rb +47 -0
- data/lib/card/query/value_clause.rb +65 -0
- data/lib/card/reference.rb +63 -0
- data/lib/card/set.rb +369 -0
- data/lib/card/set_pattern.rb +168 -0
- data/lib/card/simplecov_helper.rb +61 -0
- data/lib/card/spec_helper.rb +68 -0
- data/lib/card/version.rb +9 -2
- data/lib/cardio.rb +145 -0
- data/lib/generators/card.rb +32 -0
- data/lib/generators/card/format/USAGE +9 -0
- data/lib/generators/card/format/format_generator.rb +27 -0
- data/lib/generators/card/format/templates/format_spec_template.erb +5 -0
- data/lib/generators/card/format/templates/format_template.erb +3 -0
- data/lib/generators/card/migration/USAGE +24 -0
- data/lib/generators/card/migration/migration_generator.rb +38 -0
- data/lib/generators/card/migration/templates/card_migration.erb +10 -0
- data/lib/generators/card/set/USAGE +15 -0
- data/lib/generators/card/set/set_generator.rb +29 -0
- data/lib/generators/card/set/templates/set_spec_template.erb +5 -0
- data/lib/generators/card/set/templates/set_template.erb +1 -0
- data/mod/01_core/chunk/include.rb +85 -0
- data/mod/01_core/chunk/link.rb +87 -0
- data/mod/01_core/chunk/literal.rb +24 -0
- data/mod/01_core/chunk/reference.rb +53 -0
- data/mod/01_core/chunk/uri.rb +135 -0
- data/mod/01_core/format/data_format.rb +2 -0
- data/mod/01_core/format/html_format.rb +129 -0
- data/mod/01_core/format/text_format.rb +10 -0
- data/mod/01_core/layout/blank.html +5 -0
- data/mod/01_core/layout/default.html +20 -0
- data/mod/01_core/layout/noside.html +16 -0
- data/mod/01_core/layout/pre.html +2 -0
- data/mod/01_core/layout/simple.html +5 -0
- data/mod/01_core/set/all/active_card.rb +35 -0
- data/mod/01_core/set/all/collection.rb +142 -0
- data/mod/01_core/set/all/content.rb +64 -0
- data/mod/01_core/set/all/erb.rb +11 -0
- data/mod/01_core/set/all/fetch.rb +228 -0
- data/mod/01_core/set/all/haml.rb +7 -0
- data/mod/01_core/set/all/initialize.rb +49 -0
- data/mod/01_core/set/all/name.rb +275 -0
- data/mod/01_core/set/all/pattern.rb +56 -0
- data/mod/01_core/set/all/permissions.rb +284 -0
- data/mod/01_core/set/all/phases.rb +185 -0
- data/mod/01_core/set/all/references.rb +118 -0
- data/mod/01_core/set/all/rules.rb +315 -0
- data/mod/01_core/set/all/states.rb +16 -0
- data/mod/01_core/set/all/templating.rb +120 -0
- data/mod/01_core/set/all/tracked_attributes.rb +114 -0
- data/mod/01_core/set/all/trash.rb +50 -0
- data/mod/01_core/set/all/type.rb +85 -0
- data/mod/01_core/set/all/utils.rb +85 -0
- data/mod/01_core/set_pattern/01_all.rb +11 -0
- data/mod/01_core/set_pattern/02_all_plus.rb +13 -0
- data/mod/01_core/set_pattern/03_type.rb +23 -0
- data/mod/01_core/set_pattern/04_star.rb +15 -0
- data/mod/01_core/set_pattern/05_rstar.rb +17 -0
- data/mod/01_core/set_pattern/06_right.rb +20 -0
- data/mod/01_core/set_pattern/07_type_plus_right.rb +23 -0
- data/mod/01_core/set_pattern/08_self.rb +19 -0
- data/mod/01_core/spec/chunk/literal_spec.rb +14 -0
- data/mod/01_core/spec/chunk/uri_spec.rb +292 -0
- data/mod/01_core/spec/format/data_format_spec.rb +5 -0
- data/mod/01_core/spec/format/html_format_spec.rb +140 -0
- data/mod/01_core/spec/format/text_format_spec.rb +5 -0
- data/mod/01_core/spec/set/all/active_card_spec.rb +5 -0
- data/mod/01_core/spec/set/all/attribute_tracking_spec.rb +21 -0
- data/mod/01_core/spec/set/all/collection_spec.rb +65 -0
- data/mod/01_core/spec/set/all/content_spec.rb +15 -0
- data/mod/01_core/spec/set/all/fetch_spec.rb +204 -0
- data/mod/01_core/spec/set/all/initialize_spec.rb +58 -0
- data/mod/01_core/spec/set/all/name_spec.rb +61 -0
- data/mod/01_core/spec/set/all/pattern_spec.rb +81 -0
- data/mod/01_core/spec/set/all/permissions_spec.rb +505 -0
- data/mod/01_core/spec/set/all/phases_spec.rb +6 -0
- data/mod/01_core/spec/set/all/references_spec.rb +8 -0
- data/mod/01_core/spec/set/all/rules2_spec.rb +250 -0
- data/mod/01_core/spec/set/all/rules_spec.rb +130 -0
- data/mod/01_core/spec/set/all/states_spec.rb +5 -0
- data/mod/01_core/spec/set/all/templating_spec.rb +111 -0
- data/mod/01_core/spec/set/all/tracked_attributes_spec.rb +328 -0
- data/mod/01_core/spec/set/all/trash_spec.rb +34 -0
- data/mod/01_core/spec/set/all/type_spec.rb +71 -0
- data/mod/01_core/spec/set/all/utils_spec.rb +5 -0
- data/mod/01_history/lib/card/act.rb +60 -0
- data/mod/01_history/lib/card/action.rb +176 -0
- data/mod/01_history/lib/card/change.rb +29 -0
- data/mod/01_history/set/all/actions.rb +47 -0
- data/mod/01_history/set/all/content_history.rb +131 -0
- data/mod/01_history/set/all/history.rb +296 -0
- data/mod/02_basic_types/format/css_format.rb +6 -0
- data/mod/02_basic_types/format/csv_format.rb +6 -0
- data/mod/02_basic_types/format/file_format.rb +3 -0
- data/mod/02_basic_types/format/js_format.rb +6 -0
- data/mod/02_basic_types/format/json_format.rb +6 -0
- data/mod/02_basic_types/format/rss_format.rb +11 -0
- data/mod/02_basic_types/format/xml_format.rb +6 -0
- data/mod/02_basic_types/set/all/all_css.rb +42 -0
- data/mod/02_basic_types/set/all/all_csv.rb +52 -0
- data/mod/02_basic_types/set/all/all_js.rb +7 -0
- data/mod/02_basic_types/set/all/base.rb +122 -0
- data/mod/02_basic_types/set/all/file.rb +13 -0
- data/mod/02_basic_types/set/all/json.rb +66 -0
- data/mod/02_basic_types/set/all/rss.rb +72 -0
- data/mod/02_basic_types/set/all/text.rb +8 -0
- data/mod/02_basic_types/set/type/plain_text.rb +10 -0
- data/mod/02_basic_types/set/type/pointer.rb +323 -0
- data/mod/02_basic_types/spec/set/all/all_css_spec.rb +10 -0
- data/mod/02_basic_types/spec/set/all/all_csv_spec.rb +9 -0
- data/mod/02_basic_types/spec/set/all/base_spec.rb +57 -0
- data/mod/02_basic_types/spec/set/all/file_spec.rb +5 -0
- data/mod/02_basic_types/spec/set/all/json_spec.rb +26 -0
- data/mod/02_basic_types/spec/set/all/rss_spec.rb +8 -0
- data/mod/02_basic_types/spec/set/all/text_spec.rb +5 -0
- data/mod/02_basic_types/spec/set/type/plain_text_spec.rb +11 -0
- data/mod/02_basic_types/spec/set/type/pointer_spec.rb +103 -0
- data/mod/03_machines/lib/card/machine.rb +185 -0
- data/mod/03_machines/lib/card/machine_input.rb +40 -0
- data/mod/03_machines/lib/javascript/ace.js +18204 -0
- data/mod/03_machines/lib/javascript/html5shiv-printshiv.js +1 -0
- data/mod/03_machines/lib/javascript/jquery-ui.js +14913 -0
- data/mod/03_machines/lib/javascript/jquery.autosize.js +274 -0
- data/mod/03_machines/lib/javascript/jquery.fileupload.js +1114 -0
- data/mod/03_machines/lib/javascript/jquery.iframe-transport.js +185 -0
- data/mod/03_machines/lib/javascript/jquery.js +4 -0
- data/mod/03_machines/lib/javascript/jquery.ui.autocomplete.html.js +41 -0
- data/mod/03_machines/lib/javascript/jquery_ujs.js +469 -0
- data/mod/03_machines/lib/javascript/jquerymobile.js +15454 -0
- data/mod/03_machines/lib/javascript/theme-textmate.js +130 -0
- data/mod/03_machines/lib/javascript/tinymce.js +13 -0
- data/mod/03_machines/lib/javascript/wagn.js.coffee +336 -0
- data/mod/03_machines/lib/javascript/wagn_menu.js +72 -0
- data/mod/03_machines/lib/javascript/wagn_mod.js.coffee +446 -0
- data/mod/03_machines/lib/stylesheets/functional.scss +184 -0
- data/mod/03_machines/lib/stylesheets/jquery-ui-smoothness.css +1178 -0
- data/mod/03_machines/lib/stylesheets/standard.scss +760 -0
- data/mod/03_machines/set/right/machine_output.rb +20 -0
- data/mod/03_machines/set/self/script_ace.rb +8 -0
- data/mod/03_machines/set/self/script_card_menu.rb +8 -0
- data/mod/03_machines/set/self/script_html5shiv_printshiv.rb +7 -0
- data/mod/03_machines/set/self/script_jquery.rb +8 -0
- data/mod/03_machines/set/self/script_jquery_helper.rb +14 -0
- data/mod/03_machines/set/self/script_slot.rb +9 -0
- data/mod/03_machines/set/self/script_tinymce.rb +8 -0
- data/mod/03_machines/set/self/style_functional.rb +8 -0
- data/mod/03_machines/set/self/style_jquery_ui_smoothness.rb +8 -0
- data/mod/03_machines/set/self/style_standard.rb +8 -0
- data/mod/03_machines/set/type/coffee_script.rb +61 -0
- data/mod/03_machines/set/type/css.rb +45 -0
- data/mod/03_machines/set/type/java_script.rb +38 -0
- data/mod/03_machines/set/type/scss.rb +23 -0
- data/mod/03_machines/set/type/skin.rb +12 -0
- data/mod/03_machines/spec/lib/shared_machine_examples.rb +175 -0
- data/mod/03_machines/spec/lib/shared_machine_input_examples.rb +65 -0
- data/mod/03_machines/spec/set/right/machine_output_spec.rb +5 -0
- data/mod/03_machines/spec/set/self/style_functional_spec.rb +5 -0
- data/mod/03_machines/spec/set/self/style_jquery_ui_smoothness_spec.rb +5 -0
- data/mod/03_machines/spec/set/self/style_standard_spec.rb +5 -0
- data/mod/03_machines/spec/set/type/coffeescript_spec.rb +29 -0
- data/mod/03_machines/spec/set/type/css_spec.rb +34 -0
- data/mod/03_machines/spec/set/type/javascript_spec.rb +28 -0
- data/mod/03_machines/spec/set/type/scss_spec.rb +56 -0
- data/mod/03_machines/spec/set/type/skin_spec.rb +70 -0
- data/mod/04_settings/lib/card/setting.rb +65 -0
- data/mod/04_settings/set/right/add_help.rb +11 -0
- data/mod/04_settings/set/right/comment.rb +91 -0
- data/mod/04_settings/set/right/create.rb +3 -0
- data/mod/04_settings/set/right/default.rb +3 -0
- data/mod/04_settings/set/right/delete.rb +4 -0
- data/mod/04_settings/set/right/help.rb +3 -0
- data/mod/04_settings/set/right/read.rb +2 -0
- data/mod/04_settings/set/right/script.rb +10 -0
- data/mod/04_settings/set/right/structure.rb +4 -0
- data/mod/04_settings/set/right/style.rb +10 -0
- data/mod/04_settings/set/right/update.rb +2 -0
- data/mod/04_settings/set/self/accountable.rb +3 -0
- data/mod/04_settings/set/self/add_help.rb +2 -0
- data/mod/04_settings/set/self/autoname.rb +2 -0
- data/mod/04_settings/set/self/captcha.rb +2 -0
- data/mod/04_settings/set/self/comment.rb +2 -0
- data/mod/04_settings/set/self/create.rb +2 -0
- data/mod/04_settings/set/self/default.rb +2 -0
- data/mod/04_settings/set/self/delete.rb +2 -0
- data/mod/04_settings/set/self/help.rb +2 -0
- data/mod/04_settings/set/self/input.rb +2 -0
- data/mod/04_settings/set/self/layout.rb +2 -0
- data/mod/04_settings/set/self/on_create.rb +2 -0
- data/mod/04_settings/set/self/on_delete.rb +2 -0
- data/mod/04_settings/set/self/on_update.rb +2 -0
- data/mod/04_settings/set/self/options.rb +2 -0
- data/mod/04_settings/set/self/options_label.rb +2 -0
- data/mod/04_settings/set/self/read.rb +2 -0
- data/mod/04_settings/set/self/script.rb +2 -0
- data/mod/04_settings/set/self/structure.rb +2 -0
- data/mod/04_settings/set/self/style.rb +2 -0
- data/mod/04_settings/set/self/table_of_contents.rb +2 -0
- data/mod/04_settings/set/self/thanks.rb +2 -0
- data/mod/04_settings/set/self/update.rb +2 -0
- data/mod/04_settings/set/type/setting.rb +82 -0
- data/mod/04_settings/spec/set/right/add_help_spec.rb +5 -0
- data/mod/04_settings/spec/set/right/comment_spec.rb +41 -0
- data/mod/04_settings/spec/set/right/create_spec.rb +10 -0
- data/mod/04_settings/spec/set/right/default_spec.rb +5 -0
- data/mod/04_settings/spec/set/right/delete_spec.rb +5 -0
- data/mod/04_settings/spec/set/right/help_spec.rb +5 -0
- data/mod/04_settings/spec/set/right/read_spec.rb +5 -0
- data/mod/04_settings/spec/set/right/script_spec.rb +24 -0
- data/mod/04_settings/spec/set/right/structure_spec.rb +17 -0
- data/mod/04_settings/spec/set/right/style_spec.rb +29 -0
- data/mod/04_settings/spec/set/right/update_spec.rb +5 -0
- data/mod/04_settings/spec/set/type/setting_spec.rb +10 -0
- data/mod/05_email/format/email_html_format.rb +9 -0
- data/mod/05_email/format/email_text_format.rb +11 -0
- data/mod/05_email/lib/card/follow_option.rb +90 -0
- data/mod/05_email/set/all/email_html.rb +5 -0
- data/mod/05_email/set/all/email_text.rb +5 -0
- data/mod/05_email/set/all/follow.rb +256 -0
- data/mod/05_email/set/all/notify.rb +223 -0
- data/mod/05_email/set/all/observer.rb +27 -0
- data/mod/05_email/set/right/bcc.rb +45 -0
- data/mod/05_email/set/right/cc.rb +3 -0
- data/mod/05_email/set/right/follow.rb +9 -0
- data/mod/05_email/set/right/follow_fields.rb +3 -0
- data/mod/05_email/set/right/followers.rb +30 -0
- data/mod/05_email/set/right/following.rb +52 -0
- data/mod/05_email/set/right/from.rb +3 -0
- data/mod/05_email/set/right/html_message.rb +3 -0
- data/mod/05_email/set/right/to.rb +3 -0
- data/mod/05_email/set/self/always.rb +14 -0
- data/mod/05_email/set/self/created.rb +21 -0
- data/mod/05_email/set/self/edited.rb +24 -0
- data/mod/05_email/set/self/follow.rb +2 -0
- data/mod/05_email/set/self/follow_defaults.rb +66 -0
- data/mod/05_email/set/self/never.rb +15 -0
- data/mod/05_email/set/type/email_template.rb +113 -0
- data/mod/05_email/set/type_plus_right/user/follow.rb +176 -0
- data/mod/05_email/spec/set/all/follow_spec.rb +133 -0
- data/mod/05_email/spec/set/all/notify_spec.rb +364 -0
- data/mod/05_email/spec/set/all/observer_spec.rb +76 -0
- data/mod/05_email/spec/set/right/followers_spec.rb +126 -0
- data/mod/05_email/spec/set/right/following_spec.rb +4 -0
- data/mod/05_email/spec/set/self/follow_defaults_spec.rb +18 -0
- data/mod/05_standard/file/103/icon-6566.ico +0 -0
- data/mod/05_standard/file/103/large-6566.ico +0 -0
- data/mod/05_standard/file/103/medium-6566.ico +0 -0
- data/mod/05_standard/file/103/original-6566.ico +0 -0
- data/mod/05_standard/file/103/small-6566.ico +0 -0
- data/mod/05_standard/file/79/icon-6556.png +0 -0
- data/mod/05_standard/file/79/large-6556.png +0 -0
- data/mod/05_standard/file/79/medium-6556.png +0 -0
- data/mod/05_standard/file/79/original-6556.png +0 -0
- data/mod/05_standard/file/79/small-6556.png +0 -0
- data/mod/05_standard/file/790/icon-6419.png +0 -0
- data/mod/05_standard/file/790/large-6419.png +0 -0
- data/mod/05_standard/file/790/medium-6419.png +0 -0
- data/mod/05_standard/file/790/original-6419.png +0 -0
- data/mod/05_standard/file/790/small-6419.png +0 -0
- data/mod/05_standard/set/all/account.rb +67 -0
- data/mod/05_standard/set/all/attach.rb +152 -0
- data/mod/05_standard/set/all/comment.rb +39 -0
- data/mod/05_standard/set/all/error.rb +214 -0
- data/mod/05_standard/set/all/event_viz.rb +62 -0
- data/mod/05_standard/set/all/links.rb +110 -0
- data/mod/05_standard/set/all/rich_html/content.rb +173 -0
- data/mod/05_standard/set/all/rich_html/editing.rb +145 -0
- data/mod/05_standard/set/all/rich_html/form.rb +234 -0
- data/mod/05_standard/set/all/rich_html/header.rb +64 -0
- data/mod/05_standard/set/all/rich_html/wrapper.rb +105 -0
- data/mod/05_standard/set/right/account.rb +180 -0
- data/mod/05_standard/set/right/email.rb +52 -0
- data/mod/05_standard/set/right/password.rb +39 -0
- data/mod/05_standard/set/right/salt.rb +5 -0
- data/mod/05_standard/set/right/stats.rb +35 -0
- data/mod/05_standard/set/right/status.rb +9 -0
- data/mod/05_standard/set/right/token.rb +5 -0
- data/mod/05_standard/set/right/when_created.rb +5 -0
- data/mod/05_standard/set/right/when_last_edited.rb +5 -0
- data/mod/05_standard/set/rstar/rules.rb +407 -0
- data/mod/05_standard/set/self/account_links.rb +61 -0
- data/mod/05_standard/set/self/alerts.rb +5 -0
- data/mod/05_standard/set/self/all.rb +21 -0
- data/mod/05_standard/set/self/foot.rb +8 -0
- data/mod/05_standard/set/self/head.rb +121 -0
- data/mod/05_standard/set/self/navbox.rb +20 -0
- data/mod/05_standard/set/self/now.rb +6 -0
- data/mod/05_standard/set/self/recent.rb +48 -0
- data/mod/05_standard/set/self/search.rb +43 -0
- data/mod/05_standard/set/self/signin.rb +121 -0
- data/mod/05_standard/set/self/stats.rb +91 -0
- data/mod/05_standard/set/self/version.rb +9 -0
- data/mod/05_standard/set/type/basic.rb +46 -0
- data/mod/05_standard/set/type/cardtype.rb +43 -0
- data/mod/05_standard/set/type/date.rb +8 -0
- data/mod/05_standard/set/type/file.rb +85 -0
- data/mod/05_standard/set/type/html.rb +22 -0
- data/mod/05_standard/set/type/image.rb +67 -0
- data/mod/05_standard/set/type/layout_type.rb +14 -0
- data/mod/05_standard/set/type/number.rb +19 -0
- data/mod/05_standard/set/type/phrase.rb +3 -0
- data/mod/05_standard/set/type/search_type.rb +243 -0
- data/mod/05_standard/set/type/set.rb +198 -0
- data/mod/05_standard/set/type/signup.rb +144 -0
- data/mod/05_standard/set/type/toggle.rb +12 -0
- data/mod/05_standard/set/type/uri.rb +11 -0
- data/mod/05_standard/set/type/user.rb +72 -0
- data/mod/05_standard/spec/chunk/include_spec.rb +186 -0
- data/mod/05_standard/spec/chunk/link_spec.rb +61 -0
- data/mod/05_standard/spec/format/css_format_spec.rb +5 -0
- data/mod/05_standard/spec/format/csv_format_spec.rb +5 -0
- data/mod/05_standard/spec/format/email_html_format_spec.rb +5 -0
- data/mod/05_standard/spec/format/file_format_spec.rb +5 -0
- data/mod/05_standard/spec/format/js_format_spec.rb +5 -0
- data/mod/05_standard/spec/format/json_format_spec.rb +5 -0
- data/mod/05_standard/spec/format/rss_format_spec.rb +5 -0
- data/mod/05_standard/spec/format/xml_format_spec.rb +5 -0
- data/mod/05_standard/spec/set/all/account_spec.rb +137 -0
- data/mod/05_standard/spec/set/all/attach_spec.rb +9 -0
- data/mod/05_standard/spec/set/all/comment_spec.rb +5 -0
- data/mod/05_standard/spec/set/all/email_html_spec.rb +15 -0
- data/mod/05_standard/spec/set/all/error_spec.rb +9 -0
- data/mod/05_standard/spec/set/all/event_viz_spec.rb +9 -0
- data/mod/05_standard/spec/set/all/history_spec.rb +173 -0
- data/mod/05_standard/spec/set/all/rich_html/form_spec.rb +43 -0
- data/mod/05_standard/spec/set/all/rich_html/wrapper_spec.rb +28 -0
- data/mod/05_standard/spec/set/right/account_spec.rb +162 -0
- data/mod/05_standard/spec/set/right/email_spec.rb +55 -0
- data/mod/05_standard/spec/set/right/password_spec.rb +45 -0
- data/mod/05_standard/spec/set/right/salt_spec.rb +5 -0
- data/mod/05_standard/spec/set/right/stats_spec.rb +13 -0
- data/mod/05_standard/spec/set/right/status_spec.rb +5 -0
- data/mod/05_standard/spec/set/right/token_spec.rb +5 -0
- data/mod/05_standard/spec/set/right/when_created_spec.rb +7 -0
- data/mod/05_standard/spec/set/right/when_last_edited_spec.rb +7 -0
- data/mod/05_standard/spec/set/rstar/rules_spec.rb +25 -0
- data/mod/05_standard/spec/set/self/account_links_spec.rb +9 -0
- data/mod/05_standard/spec/set/self/alerts_spec.rb +5 -0
- data/mod/05_standard/spec/set/self/all_spec.rb +48 -0
- data/mod/05_standard/spec/set/self/foot_spec.rb +5 -0
- data/mod/05_standard/spec/set/self/head_spec.rb +17 -0
- data/mod/05_standard/spec/set/self/navbox_spec.rb +7 -0
- data/mod/05_standard/spec/set/self/now_spec.rb +7 -0
- data/mod/05_standard/spec/set/self/recent_spec.rb +5 -0
- data/mod/05_standard/spec/set/self/search_spec.rb +5 -0
- data/mod/05_standard/spec/set/self/signin_spec.rb +73 -0
- data/mod/05_standard/spec/set/self/stats_spec.rb +12 -0
- data/mod/05_standard/spec/set/self/version_spec.rb +7 -0
- data/mod/05_standard/spec/set/type/basic_spec.rb +5 -0
- data/mod/05_standard/spec/set/type/cardtype_spec.rb +5 -0
- data/mod/05_standard/spec/set/type/date_spec.rb +7 -0
- data/mod/05_standard/spec/set/type/email_template_spec.rb +208 -0
- data/mod/05_standard/spec/set/type/file_spec.rb +5 -0
- data/mod/05_standard/spec/set/type/html_spec.rb +23 -0
- data/mod/05_standard/spec/set/type/image_spec.rb +16 -0
- data/mod/05_standard/spec/set/type/layout_type_spec.rb +7 -0
- data/mod/05_standard/spec/set/type/number_spec.rb +7 -0
- data/mod/05_standard/spec/set/type/phrase_spec.rb +7 -0
- data/mod/05_standard/spec/set/type/search_type_spec.rb +27 -0
- data/mod/05_standard/spec/set/type/set_spec.rb +26 -0
- data/mod/05_standard/spec/set/type/signup_spec.rb +228 -0
- data/mod/05_standard/spec/set/type/toggle_spec.rb +12 -0
- data/mod/05_standard/spec/set/type/uri_spec.rb +41 -0
- data/mod/05_standard/spec/set/type/user_spec.rb +5 -0
- data/mod/06_bootstrap/lib/javascript/bootstrap.js +2306 -0
- data/mod/06_bootstrap/lib/javascript/bootstrap.min.js +7 -0
- data/mod/06_bootstrap/lib/stylesheets/bootstrap-theme.css +476 -0
- data/mod/06_bootstrap/lib/stylesheets/bootstrap.css +6565 -0
- data/mod/06_bootstrap/lib/stylesheets/darkly.css +6583 -0
- data/mod/06_bootstrap/set/all/bootstrap/form.rb +37 -0
- data/mod/06_bootstrap/set/all/bootstrap/header.rb +29 -0
- data/mod/06_bootstrap/set/all/bootstrap/wrapper.rb +12 -0
- data/mod/06_bootstrap/set/all/rich_bootstrap.rb +28 -0
- data/mod/06_bootstrap/set/self/bootstrap_css.rb +7 -0
- data/mod/06_bootstrap/set/self/bootstrap_js.rb +7 -0
- data/mod/06_bootstrap/set/self/bootstrap_theme_css.rb +7 -0
- data/mod/06_bootstrap/set/self/navbox.rb +32 -0
- data/mod/06_bootstrap/set/type/search_type.rb +79 -0
- data/mod/06_bootstrap/spec/set/all/bootstrap/form_spec.rb +13 -0
- data/spec/lib/card/action_spec.rb +14 -0
- data/spec/lib/card/auth_spec.rb +17 -0
- data/spec/lib/card/cache_spec.rb +122 -0
- data/spec/lib/card/chunk_spec.rb +17 -0
- data/spec/lib/card/codename_spec.rb +25 -0
- data/spec/lib/card/content_spec.rb +314 -0
- data/spec/lib/card/diff_spec.rb +210 -0
- data/spec/lib/card/format_spec.rb +82 -0
- data/spec/lib/card/loader_spec.rb +39 -0
- data/spec/lib/card/log_spec.rb +270 -0
- data/spec/lib/card/name_spec.rb +279 -0
- data/spec/lib/card/query_spec.rb +456 -0
- data/spec/lib/card/reference_spec.rb +213 -0
- data/spec/lib/card/set_pattern_spec.rb +56 -0
- data/spec/lib/card/set_spec.rb +88 -0
- data/spec/mailers/mailer_spec.rb +64 -0
- data/spec/models/card/cardtype_spec.rb +216 -0
- data/spec/models/card/create_spec.rb +82 -0
- data/spec/models/card/trash_spec.rb +260 -0
- data/spec/models/card/type_transition_spec.rb +161 -0
- data/spec/models/card/validation_spec.rb +36 -0
- data/spec/models/card_spec.rb +177 -0
- data/spec/spec_helper.rb +130 -0
- data/test/fixtures/.gitkeep +0 -0
- data/test/fixtures/card_actions.yml +5706 -0
- data/test/fixtures/card_acts.yml +835 -0
- data/test/fixtures/card_changes.yml +17182 -0
- data/test/fixtures/card_references.yml +5405 -0
- data/test/fixtures/cards.yml +15533 -0
- data/test/fixtures/mao2.jpg +0 -0
- data/test/fixtures/rails.gif +0 -0
- data/test/seed.rb +201 -0
- metadata +762 -38
- data/.gitignore +0 -17
- data/Gemfile +0 -4
- data/LICENSE.txt +0 -22
- data/README.md +0 -29
- data/Rakefile +0 -1
@@ -0,0 +1,760 @@
|
|
1
|
+
|
2
|
+
/*
|
3
|
+
This "standard" CSS provides styles for aspects of wagn sites not usually prioritized by skin designers.
|
4
|
+
|
5
|
+
It includes basic styling for:
|
6
|
+
|
7
|
+
1. wagneer interface (sets, settings, rules)
|
8
|
+
2. editor interface (forms, fieldsets, menus, navbox, history)
|
9
|
+
3. views that by definition alter default styling (closed, labeled)
|
10
|
+
4. errors / warnings / notices
|
11
|
+
5. key default content for new installs (home page, sidebar)
|
12
|
+
|
13
|
+
Most colors are greyscale; any that aren't are explained with comments beginning with "NOTGREY"
|
14
|
+
|
15
|
+
Note that this CSS is taken from code so that it will be updated automatically with releases.
|
16
|
+
If you don't want certain rules, you may (a) override them, or (b) choose not to include this card
|
17
|
+
in your skin. Choosing (b) will mean your CSS will not be affected by automated updates.
|
18
|
+
*/
|
19
|
+
|
20
|
+
/* -- resets -- */
|
21
|
+
|
22
|
+
.card-frame {
|
23
|
+
text-align: left;
|
24
|
+
font-weight: normal;
|
25
|
+
font-style: normal;
|
26
|
+
}
|
27
|
+
|
28
|
+
|
29
|
+
/*-------------------- */
|
30
|
+
/*- DYNAMIC ELEMENTS - */
|
31
|
+
/*-------------------- */
|
32
|
+
|
33
|
+
/* -- card menus -- */
|
34
|
+
|
35
|
+
.card-menu {
|
36
|
+
font-size: 11px;
|
37
|
+
li {
|
38
|
+
text-align: right;
|
39
|
+
a {
|
40
|
+
color: #333;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
.ui-menu-icon {
|
44
|
+
float: left;
|
45
|
+
margin-right: 5px;
|
46
|
+
}
|
47
|
+
}
|
48
|
+
.ui-menu .ui-menu-item {
|
49
|
+
padding: 2px 0;
|
50
|
+
}
|
51
|
+
|
52
|
+
.card-menu-tappable {
|
53
|
+
font-size: 18px;
|
54
|
+
.ui-menu-icon {
|
55
|
+
padding: 7px;
|
56
|
+
display: inline-block;
|
57
|
+
margin-right: 15px;
|
58
|
+
background: #666;
|
59
|
+
border-radius: 3px;
|
60
|
+
-moz-border-radius: 3px;
|
61
|
+
color: #fff;
|
62
|
+
font-size: 10px;
|
63
|
+
}
|
64
|
+
.ui-menu-icon:after {
|
65
|
+
content: '<';
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
/* related view (used by many menu items, such as "referred to by") */
|
71
|
+
|
72
|
+
.related-view > .card-body {
|
73
|
+
background: #bbb;
|
74
|
+
padding: 5px;
|
75
|
+
> .ALL {
|
76
|
+
background: #fff;
|
77
|
+
> .card-header {
|
78
|
+
background: #ddd;
|
79
|
+
padding: 5px;
|
80
|
+
color: #000;
|
81
|
+
}
|
82
|
+
> .card-body {
|
83
|
+
padding: 8px 2%;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
/* navboxes */
|
89
|
+
|
90
|
+
.navbox-item-label {
|
91
|
+
font-size: 10px;
|
92
|
+
width: 50px;
|
93
|
+
padding: 3px 0 3px 5px;
|
94
|
+
}
|
95
|
+
|
96
|
+
.ui-menu-item {
|
97
|
+
.glyphicon {
|
98
|
+
float: left;
|
99
|
+
font-size: 10px;
|
100
|
+
padding: 3px 0 3px 0px;
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
/*-------------------- */
|
108
|
+
/*- ONE-LINE VIEWS - */
|
109
|
+
/*-------------------- */
|
110
|
+
|
111
|
+
.closed-view {
|
112
|
+
margin: 0;
|
113
|
+
width: 100%;
|
114
|
+
}
|
115
|
+
.closed-content {
|
116
|
+
table, tbody, tr, th, td, p, h1, h2, h3, h4, h5, h6, ul, li, pre, ol, div, span, a, blockquote, img {
|
117
|
+
font-size: 1em !important;
|
118
|
+
margin: 0 6px 0 0;
|
119
|
+
padding: 0 !important;
|
120
|
+
border: 0 !important;
|
121
|
+
}
|
122
|
+
a {
|
123
|
+
margin: 0;
|
124
|
+
}
|
125
|
+
img {
|
126
|
+
max-height: 1em;
|
127
|
+
width: auto;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
|
132
|
+
.labeled-view {
|
133
|
+
padding: 5px 0;
|
134
|
+
label h1,
|
135
|
+
.pointer-list,
|
136
|
+
.pointer-item,
|
137
|
+
.search-result-list,
|
138
|
+
.search-result-item {
|
139
|
+
font-size: 1em;
|
140
|
+
}
|
141
|
+
> .card-content {
|
142
|
+
padding-left: 10px;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
|
146
|
+
.labeled-view label,
|
147
|
+
a.missing-labeled {
|
148
|
+
display: inline-block;
|
149
|
+
min-width: 30%;
|
150
|
+
text-align: right;
|
151
|
+
}
|
152
|
+
|
153
|
+
/*-------------------- */
|
154
|
+
/*- EDIT INTERFACE - */
|
155
|
+
/*-------------------- */
|
156
|
+
|
157
|
+
fieldset {
|
158
|
+
margin: 5px 1px;
|
159
|
+
border: 0;
|
160
|
+
|
161
|
+
> .button-area {
|
162
|
+
width: 70%;
|
163
|
+
padding: 0 3px;
|
164
|
+
input,
|
165
|
+
button {
|
166
|
+
margin-right: 2%;
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
> .editor {
|
171
|
+
width: 70%;
|
172
|
+
padding: 3px;
|
173
|
+
> input {
|
174
|
+
margin-left: 0;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
> legend {
|
179
|
+
text-align:right;
|
180
|
+
width: 25%;
|
181
|
+
padding: 3px;
|
182
|
+
margin: 0;
|
183
|
+
> .instruction {
|
184
|
+
text-align: right;
|
185
|
+
padding: 3px 0;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
textarea,
|
191
|
+
.content-editor > input[type=text],
|
192
|
+
.content-editor > input[type=password],
|
193
|
+
.name-editor input {
|
194
|
+
width: 97.5%;
|
195
|
+
}
|
196
|
+
/* width + padding = 99.5%, which leaves 0.5% for the borders. This is imprecise, but borders can't be specified as a percentage */
|
197
|
+
|
198
|
+
textarea {
|
199
|
+
max-height: 500px;
|
200
|
+
}
|
201
|
+
.name-editor.known-name input {
|
202
|
+
border: 3px solid #c22; /* NOTGREY - red for warning */
|
203
|
+
}
|
204
|
+
.name-messages {
|
205
|
+
font-style: italic;
|
206
|
+
background: #ffd; /* NOTGREY - yellow for highlighting */
|
207
|
+
}
|
208
|
+
|
209
|
+
/* -- template-editor (editing template rule inclusions inline) -- */
|
210
|
+
|
211
|
+
.template-editor-main {
|
212
|
+
width: 85%;
|
213
|
+
}
|
214
|
+
.template-editor-left,
|
215
|
+
.template-editor-right {
|
216
|
+
width: 5%;
|
217
|
+
text-align: center;
|
218
|
+
font-size: 3em;
|
219
|
+
line-height: 2em;
|
220
|
+
white-space: nowrap;
|
221
|
+
}
|
222
|
+
|
223
|
+
|
224
|
+
|
225
|
+
.pointer-list-editor {
|
226
|
+
margin: 0px;
|
227
|
+
padding: 0px;
|
228
|
+
input {
|
229
|
+
margin-right: 10px;
|
230
|
+
width: 65%;
|
231
|
+
}
|
232
|
+
li {
|
233
|
+
list-style: none;
|
234
|
+
white-space: nowrap;
|
235
|
+
}
|
236
|
+
.pointer-item-delete {
|
237
|
+
margin-left: 4px;
|
238
|
+
vertical-align: middle;
|
239
|
+
display: inline-block;
|
240
|
+
position: relative;
|
241
|
+
}
|
242
|
+
|
243
|
+
.pointer-item-add {
|
244
|
+
margin-top: 10px;
|
245
|
+
}
|
246
|
+
|
247
|
+
.input-group-addon.handle {
|
248
|
+
padding-left: 1px;
|
249
|
+
padding-right: 1px;
|
250
|
+
|
251
|
+
.glyphicon-option-vertical.left {
|
252
|
+
margin-right: -7px;
|
253
|
+
}
|
254
|
+
.glyphicon-option-vertical.right {
|
255
|
+
margin-left: -7px;
|
256
|
+
}
|
257
|
+
}
|
258
|
+
}
|
259
|
+
|
260
|
+
.new-account-link {
|
261
|
+
text-align: center;
|
262
|
+
}
|
263
|
+
|
264
|
+
/* links to create missing cards */
|
265
|
+
|
266
|
+
.missing-view a {
|
267
|
+
color: #999;
|
268
|
+
font-variant: small-caps;
|
269
|
+
}
|
270
|
+
|
271
|
+
.missing-view a:hover {
|
272
|
+
color: #069;
|
273
|
+
background: #ffc;
|
274
|
+
}
|
275
|
+
|
276
|
+
/*-------------------- */
|
277
|
+
/*- SEARCH & POINTER - */
|
278
|
+
/*-------------------- */
|
279
|
+
|
280
|
+
.pointer-radio {
|
281
|
+
display: inline-block;
|
282
|
+
width: 100%;
|
283
|
+
.form-control {
|
284
|
+
box-shadow: none;
|
285
|
+
}
|
286
|
+
input {
|
287
|
+
float: left;
|
288
|
+
width: auto;
|
289
|
+
margin: 0;
|
290
|
+
}
|
291
|
+
label {
|
292
|
+
float: left;
|
293
|
+
width: auto;
|
294
|
+
margin: 6px 8px;
|
295
|
+
}
|
296
|
+
}
|
297
|
+
|
298
|
+
|
299
|
+
div.pointer-list,
|
300
|
+
div.search-result-list {
|
301
|
+
list-style: none;
|
302
|
+
padding: 5px 0;
|
303
|
+
margin: 0;
|
304
|
+
}
|
305
|
+
div.pointer-list .pointer-item,
|
306
|
+
div.search-result-list .search-result-item {
|
307
|
+
margin: 0;
|
308
|
+
}
|
309
|
+
.search-result-item.item-link,
|
310
|
+
.pointer-item.item-link,
|
311
|
+
.search-result-item.item-name,
|
312
|
+
.pointer-item.item-name {
|
313
|
+
text-indent: -15px;
|
314
|
+
padding-left: 15px;
|
315
|
+
}
|
316
|
+
.radio-option-description,
|
317
|
+
.checkbox-option-description {
|
318
|
+
margin-left: 40px;
|
319
|
+
}
|
320
|
+
|
321
|
+
ul.pointer {
|
322
|
+
margin: 0px;
|
323
|
+
padding: 0px;
|
324
|
+
}
|
325
|
+
|
326
|
+
/*-------------------- */
|
327
|
+
/*- HISTORY - */
|
328
|
+
/*-------------------- */
|
329
|
+
|
330
|
+
|
331
|
+
|
332
|
+
$diff-green: #41ad41;
|
333
|
+
$diff-red: #ff5050;
|
334
|
+
$action-white: #fdfdfd;
|
335
|
+
$act-gray: #b7b7b7;
|
336
|
+
$act-background: #f3f3f3;
|
337
|
+
|
338
|
+
.history-slot {
|
339
|
+
overflow: hidden;
|
340
|
+
clear: both;
|
341
|
+
}
|
342
|
+
|
343
|
+
.history-header {
|
344
|
+
padding: 10px 10px 10px 10px;
|
345
|
+
}
|
346
|
+
.history-legend {
|
347
|
+
text-align: right;
|
348
|
+
float: right;
|
349
|
+
}
|
350
|
+
.history-header nav.pagination {
|
351
|
+
display: inline;
|
352
|
+
text-align: left;
|
353
|
+
}
|
354
|
+
|
355
|
+
.act {
|
356
|
+
padding: 10px 10px 10px 10px;
|
357
|
+
background-color: $act-background;
|
358
|
+
margin-bottom: 5px;
|
359
|
+
|
360
|
+
.head {
|
361
|
+
float: left;
|
362
|
+
margin-right:10px;
|
363
|
+
min-width: 175px;
|
364
|
+
}
|
365
|
+
.nr {
|
366
|
+
float: left;
|
367
|
+
}
|
368
|
+
.title {
|
369
|
+
float: left;
|
370
|
+
margin-left: 10px;
|
371
|
+
}
|
372
|
+
.actor {
|
373
|
+
float: left;
|
374
|
+
}
|
375
|
+
.time {
|
376
|
+
font-size: 8pt;
|
377
|
+
float:left;
|
378
|
+
clear:left;
|
379
|
+
}
|
380
|
+
|
381
|
+
.action-container {
|
382
|
+
overflow: hidden;
|
383
|
+
}
|
384
|
+
.action {
|
385
|
+
background-color: $action-white;
|
386
|
+
margin: 5px 5px 2px 2px;
|
387
|
+
padding: 6px 5px 6px 5px;
|
388
|
+
overflow: hidden;
|
389
|
+
}
|
390
|
+
.ampel {
|
391
|
+
margin: 2px 0 0 4px;
|
392
|
+
}
|
393
|
+
.arrow {
|
394
|
+
margin: 0px 10px 0px 10px;
|
395
|
+
color: green;
|
396
|
+
}
|
397
|
+
.toggle {
|
398
|
+
float: right;
|
399
|
+
margin: 12px 10px 0px 10px;
|
400
|
+
width: 20px;
|
401
|
+
}
|
402
|
+
|
403
|
+
.name-diff {
|
404
|
+
border-style: solid;
|
405
|
+
border-width: 1px;
|
406
|
+
border-color: #E4E4E4;
|
407
|
+
padding: 3px 8px 3px 8px;
|
408
|
+
background-color: #EEEEEE;
|
409
|
+
margin-left: 3px;
|
410
|
+
}
|
411
|
+
.type-diff {
|
412
|
+
padding: 1px 0px 1px 3px;
|
413
|
+
}
|
414
|
+
.content-diff {
|
415
|
+
overflow: hidden;
|
416
|
+
}
|
417
|
+
|
418
|
+
.action {
|
419
|
+
.expanded {
|
420
|
+
clear:left;
|
421
|
+
padding: 14px 10px 14px 24px;
|
422
|
+
}
|
423
|
+
.summary {
|
424
|
+
padding: 6px 0px;
|
425
|
+
}
|
426
|
+
}
|
427
|
+
|
428
|
+
.arrow-down {
|
429
|
+
width: 0;
|
430
|
+
height: 0;
|
431
|
+
border-left: 7px solid transparent;
|
432
|
+
border-right: 7px solid transparent;
|
433
|
+
border-top: 11px solid $act-gray;
|
434
|
+
display: block;
|
435
|
+
}
|
436
|
+
.arrow-right {
|
437
|
+
width: 0;
|
438
|
+
height: 0;
|
439
|
+
border-top: 7px solid transparent;
|
440
|
+
border-bottom: 7px solid transparent;
|
441
|
+
border-left: 11px solid $act-gray;
|
442
|
+
display: block;
|
443
|
+
}
|
444
|
+
|
445
|
+
.info {
|
446
|
+
font-style: italic;
|
447
|
+
color: #888;
|
448
|
+
}
|
449
|
+
}
|
450
|
+
|
451
|
+
.diff-red {
|
452
|
+
text-decoration: line-through;
|
453
|
+
color: $diff-red;
|
454
|
+
}
|
455
|
+
.diff-green {
|
456
|
+
color: $diff-green;
|
457
|
+
}
|
458
|
+
.diff-invisible {
|
459
|
+
color: $action-white;
|
460
|
+
}
|
461
|
+
|
462
|
+
.diff-green,.diff-invisible{
|
463
|
+
text-decoration: none;
|
464
|
+
}
|
465
|
+
|
466
|
+
|
467
|
+
|
468
|
+
/*-------------------- */
|
469
|
+
/*- ERRORS / NOTICES - */
|
470
|
+
/*-------------------- */
|
471
|
+
|
472
|
+
/* FIXME - following should be consolidated / simplified */
|
473
|
+
|
474
|
+
.exception p {
|
475
|
+
margin: 15px;
|
476
|
+
}
|
477
|
+
.errors-view {
|
478
|
+
margin: 10px;
|
479
|
+
padding: 10px;
|
480
|
+
border: 3px solid #966; /* NOTGREY - red for error */
|
481
|
+
background: #ffa; /* NOTGREY - yellow for highlighting */
|
482
|
+
border-radius: 8px;
|
483
|
+
-moz-border-radius: 8px;
|
484
|
+
border: 1px solid #777;
|
485
|
+
border-bottom: 2px solid #888;
|
486
|
+
border-right: 2px solid #888;
|
487
|
+
color: #333;
|
488
|
+
}
|
489
|
+
.render-error {
|
490
|
+
background-color: #eaa !important; /* NOTGREY - red for error */
|
491
|
+
padding: 1px 20px;
|
492
|
+
font-style: italic;
|
493
|
+
}
|
494
|
+
|
495
|
+
.card-notice {
|
496
|
+
background: #fff;
|
497
|
+
font-weight: bold;
|
498
|
+
font-style: italic;
|
499
|
+
text-align: center;
|
500
|
+
margin: 0 0 4px 0;
|
501
|
+
}
|
502
|
+
|
503
|
+
|
504
|
+
#credit, /* these are both deprecated */
|
505
|
+
.flash-notice {
|
506
|
+
color: #333;
|
507
|
+
font-size: 1.1em;
|
508
|
+
background: #fff;
|
509
|
+
border: 1px solid #888;
|
510
|
+
margin-bottom: 15px;
|
511
|
+
padding: 5px;
|
512
|
+
text-align: center;
|
513
|
+
}
|
514
|
+
|
515
|
+
|
516
|
+
.conflict-view {
|
517
|
+
text-align: left;
|
518
|
+
border: 1px solid grey;
|
519
|
+
padding: 10px;
|
520
|
+
margin-top: 12px;
|
521
|
+
}
|
522
|
+
|
523
|
+
|
524
|
+
/*-------------------------- */
|
525
|
+
/*- KEY DEFAULT CONTENT - */
|
526
|
+
/*-------------------------- */
|
527
|
+
|
528
|
+
.SELF-home-original.card-content {
|
529
|
+
ul {
|
530
|
+
list-style-type: none;
|
531
|
+
margin: 1em;
|
532
|
+
padding: 0;
|
533
|
+
}
|
534
|
+
li {
|
535
|
+
padding: .8em;
|
536
|
+
margin: 0;
|
537
|
+
background: #eee
|
538
|
+
}
|
539
|
+
li:nth-child(even) {
|
540
|
+
background: #ddd;
|
541
|
+
}
|
542
|
+
h1 {
|
543
|
+
font-size: 1.5em;
|
544
|
+
padding: .6em 0 .3em 0
|
545
|
+
}
|
546
|
+
aside {
|
547
|
+
float: right;
|
548
|
+
border: 1px solid #999;
|
549
|
+
background: white;
|
550
|
+
width: 33%;
|
551
|
+
padding: 1em;
|
552
|
+
margin: 36px 16px 2px 5px;
|
553
|
+
overflow: auto;
|
554
|
+
border-radius: 18px;
|
555
|
+
-moz-border-radius: 18px;
|
556
|
+
text-align: center;
|
557
|
+
h2 {
|
558
|
+
font-size: .9em;
|
559
|
+
}
|
560
|
+
p {
|
561
|
+
font-size: .8em;
|
562
|
+
}
|
563
|
+
}
|
564
|
+
}
|
565
|
+
|
566
|
+
|
567
|
+
.SELF-wagneer_menu.card-content {
|
568
|
+
> p {
|
569
|
+
margin-left: 6%;
|
570
|
+
text-indent: -6%;
|
571
|
+
}
|
572
|
+
}
|
573
|
+
|
574
|
+
|
575
|
+
|
576
|
+
/*-------------------------- */
|
577
|
+
/*- SETS, SETTINGS, RULES - */
|
578
|
+
/*-------------------------- */
|
579
|
+
|
580
|
+
|
581
|
+
.setting-rules,
|
582
|
+
.set-rules {
|
583
|
+
width: 100%;
|
584
|
+
}
|
585
|
+
.setting-rules th,
|
586
|
+
.set-rules th {
|
587
|
+
background: #aaa;
|
588
|
+
color: #eee;
|
589
|
+
padding: 5px 0;
|
590
|
+
}
|
591
|
+
.setting-rules th,
|
592
|
+
.setting-rules td,
|
593
|
+
.set-rules th,
|
594
|
+
.set-rules td.rule-cell {
|
595
|
+
text-align: left;
|
596
|
+
padding: 2px 5px;
|
597
|
+
}
|
598
|
+
.set-rules th,
|
599
|
+
.set-rules td.rule-cell {
|
600
|
+
border-bottom: 1px solid #eee;
|
601
|
+
}
|
602
|
+
.setting-klass,
|
603
|
+
.rule-setting {
|
604
|
+
font-weight: bold;
|
605
|
+
}
|
606
|
+
td.rule-setting {
|
607
|
+
width: 30%;
|
608
|
+
}
|
609
|
+
.rule-set {
|
610
|
+
color: #666;
|
611
|
+
white-space: nowrap;
|
612
|
+
}
|
613
|
+
.rule-type-field {
|
614
|
+
max-width: 70%;
|
615
|
+
margin-right: 5px;
|
616
|
+
}
|
617
|
+
.closed-rule {
|
618
|
+
height: 30px;
|
619
|
+
td {
|
620
|
+
vertical-align: middle;
|
621
|
+
}
|
622
|
+
.rule-content {
|
623
|
+
width: 350px;
|
624
|
+
}
|
625
|
+
}
|
626
|
+
|
627
|
+
.rule-content-container {
|
628
|
+
max-width: 350px;
|
629
|
+
overflow: hidden;
|
630
|
+
text-overflow: ellipsis;
|
631
|
+
line-height: inherit;
|
632
|
+
background: inherit;
|
633
|
+
white-space: nowrap;
|
634
|
+
}
|
635
|
+
.rule-content-container {
|
636
|
+
.closed-content,
|
637
|
+
.closed-content .pointer-list,
|
638
|
+
.closed-content .search-list {
|
639
|
+
margin: 0;
|
640
|
+
}
|
641
|
+
}
|
642
|
+
td.missing-rule {
|
643
|
+
background-color: #eee;
|
644
|
+
border-bottom: 1px solid #fff;
|
645
|
+
}
|
646
|
+
.rule-setting {
|
647
|
+
padding-top: 4px;
|
648
|
+
}
|
649
|
+
.open-rule > .rule-setting {
|
650
|
+
width: 28%;
|
651
|
+
float: left;
|
652
|
+
}
|
653
|
+
.open-rule .card-body {
|
654
|
+
clear: both;
|
655
|
+
}
|
656
|
+
.open-rule .instruction {
|
657
|
+
float: right;
|
658
|
+
text-align: left;
|
659
|
+
max-width: 68%;
|
660
|
+
}
|
661
|
+
.edit-rule {
|
662
|
+
.set-editor {
|
663
|
+
ul {
|
664
|
+
list-style-type: none;
|
665
|
+
margin: 0;
|
666
|
+
padding: 0;
|
667
|
+
}
|
668
|
+
.current-set-label {
|
669
|
+
font-weight: bold;
|
670
|
+
}
|
671
|
+
}
|
672
|
+
.edit-button-area {
|
673
|
+
clear: both;
|
674
|
+
padding-top: 5px;
|
675
|
+
}
|
676
|
+
}
|
677
|
+
.attention {
|
678
|
+
border: 3px solid red;
|
679
|
+
}
|
680
|
+
.rule-delete-section {
|
681
|
+
float: right;
|
682
|
+
}
|
683
|
+
.show-rule .rule-set {
|
684
|
+
margin-bottom: 10px;
|
685
|
+
}
|
686
|
+
.klass-row {
|
687
|
+
background: #eee;
|
688
|
+
border-top: 1px solid #ddd;
|
689
|
+
}
|
690
|
+
tr.rule-changeover td {
|
691
|
+
border-top: 1px solid #eee;
|
692
|
+
padding-top: 5px;
|
693
|
+
}
|
694
|
+
td.rule-anchor {
|
695
|
+
padding-left: 30px;
|
696
|
+
}
|
697
|
+
a.setting-link {
|
698
|
+
font-style: italic;
|
699
|
+
margin-left: 2%;
|
700
|
+
font-weight: normal;
|
701
|
+
color: #000;
|
702
|
+
white-space: nowrap;
|
703
|
+
}
|
704
|
+
h2.set-label {
|
705
|
+
padding-bottom: 10px;
|
706
|
+
}
|
707
|
+
|
708
|
+
.TYPE_PLUS_RIGHT-user-Xfollow .tab-pane {
|
709
|
+
margin-top: 15px;
|
710
|
+
}
|
711
|
+
|
712
|
+
/*------- permissions ------------------*/
|
713
|
+
|
714
|
+
.perm-section {
|
715
|
+
margin-bottom: 20px;
|
716
|
+
}
|
717
|
+
.perm-section h5 {
|
718
|
+
margin: 0 0 10px 0;
|
719
|
+
}
|
720
|
+
|
721
|
+
/*-------------------------- */
|
722
|
+
/*- MISCELLANEOUS - */
|
723
|
+
/*-------------------------- */
|
724
|
+
|
725
|
+
.ui-menu-icons .ui-menu-item a {
|
726
|
+
padding-left: 0;
|
727
|
+
}
|
728
|
+
|
729
|
+
.ui-icon {
|
730
|
+
background-image: url([[/assets/smoothness/ui-icons_454545_256x240.png]])
|
731
|
+
}
|
732
|
+
|
733
|
+
.instruction {
|
734
|
+
text-align: center;
|
735
|
+
padding: 4px 10px;
|
736
|
+
ol,
|
737
|
+
ul {
|
738
|
+
text-align: left;
|
739
|
+
}
|
740
|
+
}
|
741
|
+
|
742
|
+
table.show-cache td {
|
743
|
+
padding: 10px;
|
744
|
+
border: 1px solid grey;
|
745
|
+
}
|
746
|
+
|
747
|
+
/* note said this is o non-ie browsers do better with image floats. looks over-specified.
|
748
|
+
html>body .open-view {
|
749
|
+
width: auto;
|
750
|
+
}
|
751
|
+
*/
|
752
|
+
|
753
|
+
/* the following classes are here because they're scheduled for deprecation */
|
754
|
+
.faint {
|
755
|
+
color: #bbc;
|
756
|
+
}
|
757
|
+
.VIEW-type {
|
758
|
+
font-style: italic;
|
759
|
+
font-size: .85em;
|
760
|
+
}
|