sproutcore 1.6.0.beta.3 → 1.6.0.rc.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +33 -0
- data/Rakefile +213 -10
- data/VERSION.yml +1 -1
- data/lib/Buildfile +5 -1
- data/lib/buildtasks/manifest.rake +7 -1
- data/lib/frameworks/sproutcore/Buildfile +3 -2
- data/lib/frameworks/sproutcore/CHANGELOG.md +154 -1
- data/lib/frameworks/sproutcore/README.md +1 -1
- data/lib/frameworks/sproutcore/apps/welcome/english.lproj/main_page.css +9 -0
- data/lib/frameworks/sproutcore/frameworks/ajax/system/request.js +254 -207
- data/lib/frameworks/sproutcore/frameworks/ajax/system/response.js +243 -172
- data/lib/frameworks/sproutcore/frameworks/ajax/tests/system/request.js +29 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/controllers/array.js +5 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/controls/button.js +6 -2
- data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/bind.js +36 -14
- data/lib/frameworks/sproutcore/frameworks/core_foundation/ext/handlebars/collection.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/pane.js +14 -15
- data/lib/frameworks/sproutcore/frameworks/core_foundation/panes/template.js +14 -14
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/application.js +2 -7
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/event.js +3 -3
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/platform.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/responder.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/root_responder.js +20 -12
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/string.js +61 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/system/utils.js +20 -6
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/controllers/array/array_case.js +42 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/controls/button.js +39 -57
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/render_context/helpers_style.js +5 -3
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/system/sparse_array.js +32 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/collection.js +25 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/template/handlebars.js +28 -17
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/keyboard.js +396 -0
- data/lib/frameworks/sproutcore/frameworks/core_foundation/tests/views/view/view.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/{system → views}/bindable_span.js +2 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/template_collection.js +78 -51
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view.js +4 -3
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/enabled.js +2 -1
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/keyboard.js +233 -67
- data/lib/frameworks/sproutcore/frameworks/core_foundation/views/view/manipulation.js +3 -1
- data/lib/frameworks/sproutcore/frameworks/core_tools/core.js +8 -2
- data/lib/frameworks/sproutcore/frameworks/core_tools/data_source.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/core_tools/models/target.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/datastore/data_sources/data_source.js +15 -8
- data/lib/frameworks/sproutcore/frameworks/datastore/models/child_record.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/datastore/models/record_attribute.js +1 -0
- data/lib/frameworks/sproutcore/frameworks/datastore/system/child_array.js +3 -2
- data/lib/frameworks/sproutcore/frameworks/datastore/system/record_array.js +66 -55
- data/lib/frameworks/sproutcore/frameworks/datastore/tests/data_sources/data_source.js +190 -0
- data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/nested_records/nested_record_array.js +21 -0
- data/lib/frameworks/sproutcore/frameworks/datastore/tests/models/record_attribute.js +15 -1
- data/lib/frameworks/sproutcore/frameworks/datastore/tests/system/record_array/flush.js +0 -1
- data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/core/system/datetime.js +212 -182
- data/lib/frameworks/sproutcore/frameworks/datetime/frameworks/localized/system/datetime.js +14 -16
- data/lib/frameworks/sproutcore/frameworks/desktop/mixins/collection_row_delegate.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/panes/menu.js +23 -11
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/alert.css +49 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/debug/a_sample_image.jpg +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/debug/apple-logo1.jpeg +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/debug/iframe.html +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/disclosure.css +20 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/drag.css +1 -1
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/icons.css +214 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/cap.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/downbutton.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-alert-48.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-bookmark-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-bookmark-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-cancel-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-document-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-document-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-down-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-error-48.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-favorite-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-favorite-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-folder-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-folder-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-group-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-group-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-help-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-help-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-info-48.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-left-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-options-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-options-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-redo-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-right-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-tools-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-trash-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-trash-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-undo-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-up-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-user-16.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/images/icons/sc-icon-user-24.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/thumb-bottom.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/thumb-center.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/thumb-top.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/track.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/images/upbutton.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/list_item.css +145 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/menu.css +10 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/menu_item_view.css +88 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/modal.css +3 -4
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/panel.css +91 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/picker.css +37 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/progress.css +29 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/radio.css +11 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/segmented.css +121 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/separator.css +20 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/slider.css +34 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/split.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/split_divider.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/tab.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/toolbar.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/{english.lproj → resources}/touch-scroller.css +13 -13
- data/lib/frameworks/sproutcore/frameworks/desktop/resources/well.css +65 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/checkbox/methods.js +114 -103
- data/lib/frameworks/sproutcore/frameworks/desktop/tests/views/static_content.js +3 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/views/checkbox.js +7 -6
- data/lib/frameworks/sproutcore/frameworks/desktop/views/collection.js +18 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/views/popup_button.js +4 -7
- data/lib/frameworks/sproutcore/frameworks/desktop/views/segmented.js +9 -2
- data/lib/frameworks/sproutcore/frameworks/desktop/{panes → views}/select_button.js +43 -0
- data/lib/frameworks/sproutcore/frameworks/experimental/frameworks/forms/views/form.js +35 -33
- data/lib/frameworks/sproutcore/frameworks/foundation/core.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/auto_resize.js +15 -8
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/button.js +4 -7
- data/lib/frameworks/sproutcore/frameworks/foundation/mixins/flowed_layout.js +55 -13
- data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/canvas_image.js +3 -1
- data/lib/frameworks/sproutcore/frameworks/foundation/render_delegates/render_delegate.js +7 -7
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/benchmark.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/blank.gif +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/bootstrap.rhtml +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/resources/button_view.css +36 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/checkbox_view.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/debug/control-test-pane.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/favicon.ico +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-logo.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup-landscape.jpg +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup-landscape.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup-portrait.jpg +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup-portrait.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore-startup.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/images/sproutcore.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/inline_editor.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/resources/label.css +47 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/radio_view.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/{english.lproj → resources}/static_layout.css +1 -1
- data/lib/frameworks/sproutcore/frameworks/foundation/resources/text_field.css +130 -0
- data/lib/frameworks/sproutcore/frameworks/foundation/system/chance.js +5 -1
- data/lib/frameworks/sproutcore/frameworks/foundation/system/string.js +0 -43
- data/lib/frameworks/sproutcore/frameworks/foundation/system/utils/string_measurement.js +5 -2
- data/lib/frameworks/sproutcore/frameworks/foundation/validators/date.js +4 -4
- data/lib/frameworks/sproutcore/frameworks/foundation/views/container.js +4 -5
- data/lib/frameworks/sproutcore/frameworks/foundation/views/label.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/foundation/views/text_field.js +5 -5
- data/lib/frameworks/sproutcore/frameworks/routing/system/routes.js +6 -3
- data/lib/frameworks/sproutcore/frameworks/routing/tests/system/routes.js +11 -0
- data/lib/frameworks/sproutcore/frameworks/runtime/core.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/runtime/mixins/array.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/runtime/private/property_chain.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/runtime/system/error.js +1 -1
- data/lib/frameworks/sproutcore/frameworks/runtime/system/logger.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/runtime/system/object.js +2 -2
- data/lib/frameworks/sproutcore/frameworks/statechart/debug/monitor.js +4 -73
- data/lib/frameworks/sproutcore/frameworks/statechart/debug/sequence_matcher.js +189 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/ext/function.js +122 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/system/async.js +88 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/system/empty_state.js +34 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/system/history_state.js +97 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/system/state.js +7 -189
- data/lib/frameworks/sproutcore/frameworks/statechart/system/statechart.js +14 -78
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/debug/sequence_matcher.js +464 -0
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/event_handling/basic/with_concurrent_states.js +31 -11
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/async/with_concurrent_states.js +6 -4
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/standard/with_concurrent_states/advanced.js +40 -6
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/standard/with_concurrent_states/basic.js +22 -2
- data/lib/frameworks/sproutcore/frameworks/statechart/tests/state_transitioning/standard/with_concurrent_states/intermediate.js +44 -3
- data/lib/frameworks/sproutcore/frameworks/testing/core.js +61 -9
- data/lib/frameworks/sproutcore/frameworks/testing/{english.lproj → resources}/additions.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/testing/{english.lproj → resources}/runner.css +11 -2
- data/lib/frameworks/sproutcore/frameworks/testing/{english.lproj → resources}/testsuite.css +0 -0
- data/lib/frameworks/sproutcore/frameworks/testing/system/runner.js +66 -27
- data/lib/frameworks/sproutcore/frameworks/testing/tests/spy_on.js +41 -0
- data/lib/frameworks/sproutcore/frameworks/testing/tests/stub_method.js +9 -0
- data/lib/frameworks/sproutcore/frameworks/yuireset/resources/core.css +24 -0
- data/lib/frameworks/sproutcore/frameworks/yuireset/resources/fonts.css +39 -0
- data/lib/frameworks/sproutcore/frameworks/yuireset/resources/reset.css +126 -0
- data/lib/frameworks/sproutcore/frameworks/yuireset/resources/view.css +57 -0
- data/lib/frameworks/sproutcore/lib/index.rhtml +7 -4
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_checked_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_mixed_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/14px/checkbox_unchecked_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_checked_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_mixed_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/checkbox/ace/16px/checkbox_unchecked_active.png +0 -0
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list.css +13 -4
- data/lib/frameworks/sproutcore/themes/ace/resources/collection/normal/list_item.css +16 -14
- data/lib/frameworks/sproutcore/themes/ace/resources/menu/menu_item.png +0 -0
- data/lib/gen/app/templates/apps/@target_name@/Buildfile +1 -4
- data/lib/gen/app/templates/apps/@target_name@/core.js +1 -4
- data/lib/gen/app/templates/apps/@target_name@/main.js +1 -4
- data/lib/gen/app/templates/apps/@target_name@/resources/main_page.js +1 -4
- data/lib/gen/app/templates/apps/@target_name@/theme.js +1 -4
- data/lib/gen/controller/templates/controllers/{@filename@.js → @filename@_controller.js} +1 -4
- data/lib/gen/controller/templates/tests/controllers/{@filename@.js → @filename@_test.js} +1 -4
- data/lib/gen/data-source/templates/data_sources/{@filename@.js → @filename@_data_source.js} +1 -4
- data/lib/gen/design/templates/resources/@filename@.js +1 -4
- data/lib/gen/framework/templates/frameworks/@target_name@/core.js +1 -4
- data/lib/gen/framework/templates/frameworks/@target_name@/english.lproj/strings.js +1 -4
- data/lib/gen/html_app/templates/apps/@target_name@/@target_name@.js +1 -4
- data/lib/gen/html_app/templates/apps/@target_name@/resources/stylesheets/@target_name@.css +2 -0
- data/lib/gen/html_project/templates/@filename@/Buildfile +1 -4
- data/lib/gen/html_project/templates/@filename@/README +1 -4
- data/lib/gen/language/templates/@filename@/strings.js +1 -4
- data/lib/gen/model/templates/fixtures/{@filename@.js → @filename@_fixtures.js} +2 -5
- data/lib/gen/model/templates/models/{@filename@.js → @filename@_model.js} +1 -4
- data/lib/gen/model/templates/tests/models/{@filename@.js → @filename@_test.js} +1 -4
- data/lib/gen/page/templates/pages/@target_name@/Buildfile +1 -4
- data/lib/gen/page/templates/pages/@target_name@/core.js +1 -4
- data/lib/gen/page/templates/pages/@target_name@/en.lproj/strings.js +1 -4
- data/lib/gen/page/templates/pages/@target_name@/resources/body.css +3 -1
- data/lib/gen/project/templates/@filename@/Buildfile +1 -4
- data/lib/gen/project/templates/@filename@/README +1 -5
- data/lib/gen/responder/templates/states/{@filename@.js → @filename@_state.js} +1 -4
- data/lib/gen/test/templates/tests/{@filename@.js → @filename@_test.js} +1 -4
- data/lib/gen/theme/templates/themes/@target_name@/resources/theme_styles.css +1 -5
- data/lib/gen/theme/templates/themes/@target_name@/theme.js +1 -4
- data/lib/gen/view/templates/tests/views/{@filename@.js → @filename@_test.js} +1 -4
- data/lib/gen/view/templates/views/{@filename@.js → @filename@_view.js} +1 -4
- data/lib/sproutcore.rb +4 -1
- data/lib/sproutcore/builders/handlebars.rb +1 -1
- data/lib/sproutcore/builders/module.rb +2 -2
- data/lib/sproutcore/helpers/static_helper.rb +4 -2
- data/lib/sproutcore/models/generator.rb +22 -0
- data/lib/sproutcore/models/manifest_entry.rb +1 -0
- data/lib/sproutcore/models/target.rb +4 -1
- data/lib/sproutcore/rack/builder.rb +3 -0
- data/lib/sproutcore/tools.rb +11 -11
- data/lib/sproutcore/tools/init.rb +10 -22
- data/lib/sproutcore/tools/manifest.rb +21 -22
- data/spec/buildtasks/manifest/prepare_build_tasks/combine_spec.rb +21 -1
- data/spec/fixtures/ordered_entries/apps/template_style/a.js +0 -0
- data/spec/fixtures/ordered_entries/apps/template_style/template_style.js +0 -0
- data/spec/lib/buildfile_commands/build_task_spec.rb +1 -1
- data/spec/lib/tools/manifest_spec.rb +11 -0
- data/sproutcore.gemspec +2 -2
- data/vendor/chance/lib/chance/instance.rb +3 -1
- metadata +118 -74
- data/lib/frameworks/sproutcore/frameworks/core_foundation/resources/core.css +0 -378
- data/lib/frameworks/sproutcore/frameworks/core_foundation/resources/view.css +0 -57
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/alert.css +0 -56
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/disclosure.css +0 -73
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/icons.css +0 -916
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/images/icons/shared.png +0 -0
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/list_item.css +0 -185
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/menu.css +0 -12
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/menu_item_view.css +0 -101
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/panel.css +0 -91
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/picker.css +0 -35
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/progress.css +0 -33
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/radio.css +0 -10
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/segmented.css +0 -132
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/separator.css +0 -19
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/slider.css +0 -69
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/strings.js +0 -14
- data/lib/frameworks/sproutcore/frameworks/desktop/english.lproj/well.css +0 -71
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/button_view.css +0 -40
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/label.css +0 -47
- data/lib/frameworks/sproutcore/frameworks/foundation/english.lproj/text_field.css +0 -146
- data/lib/frameworks/sproutcore/themes/empty_theme/tests/mini_icons.rhtml +0 -69
@@ -1,132 +0,0 @@
|
|
1
|
-
.sc-segmented-view {
|
2
|
-
display: block;
|
3
|
-
white-space: nowrap;
|
4
|
-
}
|
5
|
-
|
6
|
-
.sc-segment-view:active, .sc-segment-view:focus {
|
7
|
-
outline: none;
|
8
|
-
}
|
9
|
-
|
10
|
-
.sc-segment-view img.icon {
|
11
|
-
position: relative;
|
12
|
-
vertical-align: middle;
|
13
|
-
top: -2px;
|
14
|
-
margin-right: 2px;
|
15
|
-
height: 16px;
|
16
|
-
width: 16px;
|
17
|
-
}
|
18
|
-
|
19
|
-
/* @group Layout */
|
20
|
-
|
21
|
-
.sc-segmented-view .sc-segment-view {
|
22
|
-
position: relative;
|
23
|
-
display: inline-block;
|
24
|
-
top: 0;
|
25
|
-
height: 22px;
|
26
|
-
line-height: 22px;
|
27
|
-
border-right: 1px #555 solid;
|
28
|
-
text-shadow: #b0b0b0 0px 1px 0px;
|
29
|
-
text-decoration: none ;
|
30
|
-
color: black ;
|
31
|
-
text-align: center;
|
32
|
-
}
|
33
|
-
|
34
|
-
.sc-segmented-view .sc-button-inner {
|
35
|
-
display: block;
|
36
|
-
min-width: 20px;
|
37
|
-
min-height: 22px;
|
38
|
-
}
|
39
|
-
|
40
|
-
.sc-segmented-view .sc-segment-view.sc-first-segment {
|
41
|
-
padding-left: 10px;
|
42
|
-
}
|
43
|
-
|
44
|
-
|
45
|
-
.sc-segmented-view .sc-segment-view.sc-first-segment .sc-button-inner {
|
46
|
-
padding-right: 10px;
|
47
|
-
}
|
48
|
-
.sc-segmented-view .sc-segment-view.sc-middle-segment .sc-button-inner {
|
49
|
-
padding-left: 10px;
|
50
|
-
padding-right: 10px;
|
51
|
-
|
52
|
-
}
|
53
|
-
.sc-segmented-view .sc-segment-view.sc-last-segment .sc-button-inner {
|
54
|
-
padding-left: 10px;
|
55
|
-
}
|
56
|
-
|
57
|
-
.sc-segmented-view .sc-segment-view.sc-last-segment {
|
58
|
-
padding-right: 10px;
|
59
|
-
border:none;
|
60
|
-
}
|
61
|
-
|
62
|
-
/* @end */
|
63
|
-
|
64
|
-
/* @group Basic Round */
|
65
|
-
|
66
|
-
/* NORMAL */
|
67
|
-
|
68
|
-
.sc-segmented-view .sc-segment-view .sc-button-inner {
|
69
|
-
background: #DDDDDD;
|
70
|
-
}
|
71
|
-
|
72
|
-
.sc-segmented-view .sc-segment-view.sc-last-segment {
|
73
|
-
background: #DDDDDD;
|
74
|
-
}
|
75
|
-
|
76
|
-
.sc-segmented-view .sc-segment-view.sc-first-segment {
|
77
|
-
background: #DDDDDD;
|
78
|
-
}
|
79
|
-
|
80
|
-
|
81
|
-
/* SELECTED */
|
82
|
-
.sc-segmented-view .sc-segment-view.active .sc-button-inner,
|
83
|
-
.sc-segmented-view .sc-segment-view.sel .sc-button-inner {
|
84
|
-
background: #999999;
|
85
|
-
text-shadow: #909090 0px 1px 0px;
|
86
|
-
}
|
87
|
-
|
88
|
-
.sc-segmented-view .sc-segment-view.sc-last-segment.sel,
|
89
|
-
.sc-segmented-view .sc-segment-view.sc-last-segment.active {
|
90
|
-
background: #999999;
|
91
|
-
}
|
92
|
-
|
93
|
-
.sc-segmented-view .sc-segment-view.sc-first-segment.sel,
|
94
|
-
.sc-segmented-view .sc-segment-view.sc-first-segment.active {
|
95
|
-
background: #999999;
|
96
|
-
}
|
97
|
-
|
98
|
-
/* DISABLED */
|
99
|
-
|
100
|
-
.sc-segmented-view .sc-segment-view.disabled .sc-button-inner,
|
101
|
-
.sc-segmented-view.disabled .sc-segment-view .sc-button-inner {
|
102
|
-
background: #FFFFFF;
|
103
|
-
color: #999;
|
104
|
-
}
|
105
|
-
|
106
|
-
.sc-segmented-view .sc-segment-view.sc-last-segment.disabled,
|
107
|
-
.sc-segmented-view.disabled .sc-segment-view.sc-last-segment {
|
108
|
-
background: #FFFFFF;
|
109
|
-
}
|
110
|
-
|
111
|
-
.sc-segmented-view .sc-segment-view.sc-first-segment.disabled,
|
112
|
-
.sc-segmented-view.disabled .sc-segment-view.sc-first-segment {
|
113
|
-
background: #FFFFFF;
|
114
|
-
}
|
115
|
-
|
116
|
-
.sc-segmented-view .sc-segment-view.sel .sc-button-inner.disabled,
|
117
|
-
.sc-segmented-view.disabled .sc-segment-view.sel .sc-button-inner {
|
118
|
-
background: #FFFFFF;
|
119
|
-
}
|
120
|
-
|
121
|
-
.sc-segmented-view .sc-segment-view.sc-last-segment.sel.disabled,
|
122
|
-
.sc-segmented-view.disabled .sc-segment-view.sc-last-segment.sel {
|
123
|
-
background: #FFFFFF;
|
124
|
-
}
|
125
|
-
|
126
|
-
.sc-segmented-view .sc-segment-view.sc-first-segment.sel.disabled,
|
127
|
-
.sc-segmented-view.disabled .sc-segment-view.sc-first-segment.sel {
|
128
|
-
background: #FFFFFF;
|
129
|
-
}
|
130
|
-
/* @end */
|
131
|
-
|
132
|
-
|
@@ -1,19 +0,0 @@
|
|
1
|
-
.sc-separator-view.sc-layout-horizontal span {
|
2
|
-
position: absolute;
|
3
|
-
top: 50%;
|
4
|
-
height: 1px;
|
5
|
-
border-top: 1px #ccc solid;
|
6
|
-
background-color: #fefefe;
|
7
|
-
left: 0;
|
8
|
-
right: 0;
|
9
|
-
}
|
10
|
-
|
11
|
-
.sc-separator-view.sc-layout-vertical span {
|
12
|
-
position: absolute;
|
13
|
-
left: 50%;
|
14
|
-
width: 1px;
|
15
|
-
border-left: 1px #ccc solid;
|
16
|
-
background-color: #fefefe;
|
17
|
-
top: 0;
|
18
|
-
bottom: 0;
|
19
|
-
}
|
@@ -1,69 +0,0 @@
|
|
1
|
-
/* @override http://localhost:4020/static/sproutcore/en/desktop/_cache/sc.theme/1228020574/slider.css */
|
2
|
-
|
3
|
-
/* @group SC.SliderView */
|
4
|
-
.sc-slider-view {
|
5
|
-
height: 21px;
|
6
|
-
}
|
7
|
-
|
8
|
-
.blur .sc-slider-view,
|
9
|
-
.focus .sc-slider-view.disabled {
|
10
|
-
}
|
11
|
-
|
12
|
-
.focus .sc-slider-view {
|
13
|
-
}
|
14
|
-
|
15
|
-
/* sc-inner is the slider bar */
|
16
|
-
.sc-slider-view .track {
|
17
|
-
position: absolute;
|
18
|
-
left: 8px;
|
19
|
-
right: 8px;
|
20
|
-
height: 5px;
|
21
|
-
top: 6px;
|
22
|
-
background: gray;
|
23
|
-
-webkit-border-radius: 3px;
|
24
|
-
-moz-border-radius: 3px;
|
25
|
-
border-radius: 3px;
|
26
|
-
}
|
27
|
-
.sc-slider-view .track .middle {
|
28
|
-
|
29
|
-
}
|
30
|
-
|
31
|
-
.sc-slider-view .track .left,
|
32
|
-
.sc-slider-view .track .right {
|
33
|
-
display: none;
|
34
|
-
}
|
35
|
-
|
36
|
-
.blur .sc-slider-view .track,
|
37
|
-
.focus .sc-slider-view.disabled .track {
|
38
|
-
border: 1px #ccc solid;
|
39
|
-
}
|
40
|
-
|
41
|
-
.focus .sc-slider-view .track {
|
42
|
-
border: 1px #999 solid;
|
43
|
-
}
|
44
|
-
|
45
|
-
.sc-slider-view .sc-handle {
|
46
|
-
height: 12px;
|
47
|
-
width: 12px;
|
48
|
-
margin-left: -9px;
|
49
|
-
top: -4px;
|
50
|
-
position: absolute;
|
51
|
-
background: black;
|
52
|
-
border-radius: 6px;
|
53
|
-
-moz-border-radius: 6px;
|
54
|
-
-webkit-transform: translate3d(0, 0, 0);
|
55
|
-
-webkit-transition: left 0.01s ease-in-out;
|
56
|
-
}
|
57
|
-
|
58
|
-
.focus .sc-slider-view .sc-handle {
|
59
|
-
|
60
|
-
}
|
61
|
-
|
62
|
-
.blur .sc-slider-view .sc-handle,
|
63
|
-
.focus .sc-slider-view.disabled .sc-handle {
|
64
|
-
}
|
65
|
-
|
66
|
-
.focus .sc-slider-view.active .sc-handle {
|
67
|
-
}
|
68
|
-
|
69
|
-
/* @end */
|
@@ -1,14 +0,0 @@
|
|
1
|
-
// ========================================================================
|
2
|
-
// Sprout Core
|
3
|
-
// copyright 2006-2011 Strobe Inc.
|
4
|
-
// ========================================================================
|
5
|
-
|
6
|
-
// English Strings.
|
7
|
-
SC.stringsFor('English', {
|
8
|
-
"Invalid.CreditCard(%@)": "%@ is not a valid credit card number",
|
9
|
-
"Invalid.Email(%@)": "%@ is not a valid email address",
|
10
|
-
"Invalid.NotEmpty(%@)": "%@ must not be empty",
|
11
|
-
"Invalid.Password": "Your passwords do not match. Please try typing them again.",
|
12
|
-
"Invalid.General(%@)": "%@ is invalid. Please try again.",
|
13
|
-
"Invalid.Number(%@)": "%@ is not a number."
|
14
|
-
}) ;
|
@@ -1,71 +0,0 @@
|
|
1
|
-
.sc-well-view .top-right-edge {
|
2
|
-
position: absolute;
|
3
|
-
width: 7px;
|
4
|
-
height: 7px;
|
5
|
-
top: 0px;
|
6
|
-
right: 0px;
|
7
|
-
}
|
8
|
-
|
9
|
-
.sc-well-view .top-left-edge {
|
10
|
-
position: absolute;
|
11
|
-
width: 7px;
|
12
|
-
height: 7px;
|
13
|
-
top: 0px;
|
14
|
-
left: 0px;
|
15
|
-
}
|
16
|
-
|
17
|
-
.sc-well-view .bottom-left-edge {
|
18
|
-
position: absolute;
|
19
|
-
width: 7px;
|
20
|
-
height: 7px;
|
21
|
-
bottom: 0px;
|
22
|
-
left: 0px;
|
23
|
-
}
|
24
|
-
|
25
|
-
.sc-well-view .bottom-right-edge {
|
26
|
-
position: absolute;
|
27
|
-
width: 7px;
|
28
|
-
height: 7px;
|
29
|
-
bottom: 0px;
|
30
|
-
right: 0px;
|
31
|
-
}
|
32
|
-
|
33
|
-
.sc-well-view .top-edge {
|
34
|
-
position: absolute;
|
35
|
-
height: 5px;
|
36
|
-
top: 0px;
|
37
|
-
right: 7px;
|
38
|
-
left: 7px;
|
39
|
-
}
|
40
|
-
|
41
|
-
.sc-well-view .bottom-edge {
|
42
|
-
position: absolute;
|
43
|
-
height: 5px;
|
44
|
-
bottom: 0px;
|
45
|
-
right: 7px;
|
46
|
-
left: 7px;
|
47
|
-
}
|
48
|
-
|
49
|
-
.sc-well-view .left-edge {
|
50
|
-
position: absolute;
|
51
|
-
width: 7px;
|
52
|
-
top: 7px;
|
53
|
-
bottom: 7px;
|
54
|
-
left: 0px;
|
55
|
-
}
|
56
|
-
|
57
|
-
.sc-well-view .right-edge {
|
58
|
-
position: absolute;
|
59
|
-
width: 7px;
|
60
|
-
top: 7px;
|
61
|
-
bottom: 7px;
|
62
|
-
right: 0px;
|
63
|
-
}
|
64
|
-
|
65
|
-
.sc-well-view .content-background {
|
66
|
-
position: absolute;
|
67
|
-
top: 5px;
|
68
|
-
bottom: 5px;
|
69
|
-
right: 7px;
|
70
|
-
left: 7px;
|
71
|
-
}
|
@@ -1,40 +0,0 @@
|
|
1
|
-
/* SC.ButtonView */
|
2
|
-
|
3
|
-
.sc-button-view.sc-static-layout {
|
4
|
-
margin: 0 4px;
|
5
|
-
}
|
6
|
-
|
7
|
-
.sc-button-view {
|
8
|
-
display: inline-block ;
|
9
|
-
vertical-align: middle;
|
10
|
-
text-decoration: none ;
|
11
|
-
border: 1px #555 solid;
|
12
|
-
border-radius: 3px;
|
13
|
-
-moz-border-radius: 3px;
|
14
|
-
}
|
15
|
-
|
16
|
-
.sc-button-view .sc-button-inner {
|
17
|
-
position: relative;
|
18
|
-
display: block;
|
19
|
-
height: 100%;
|
20
|
-
text-align: center ;
|
21
|
-
}
|
22
|
-
|
23
|
-
.sc-button-view label {
|
24
|
-
position: relative;
|
25
|
-
display: block;
|
26
|
-
line-height: 21px;
|
27
|
-
text-align: center;
|
28
|
-
}
|
29
|
-
|
30
|
-
.sc-button-view img {
|
31
|
-
vertical-align: middle ;
|
32
|
-
margin-right: 2px;
|
33
|
-
position: relative ;
|
34
|
-
top: -2px;
|
35
|
-
left: -2px;
|
36
|
-
}
|
37
|
-
|
38
|
-
.ie7 .sc-button-view {
|
39
|
-
display: inline;
|
40
|
-
}
|
@@ -1,47 +0,0 @@
|
|
1
|
-
/* SC.LabelView */
|
2
|
-
|
3
|
-
.sc-label-view {
|
4
|
-
font-weight: normal;
|
5
|
-
text-align: left;
|
6
|
-
}
|
7
|
-
|
8
|
-
.sc-label-view.sc-large-size {
|
9
|
-
font-size: 18px;
|
10
|
-
line-height: 24px;
|
11
|
-
}
|
12
|
-
|
13
|
-
.sc-label-view.sc-regular-size {
|
14
|
-
font-size: 12px;
|
15
|
-
line-height: 19px;
|
16
|
-
}
|
17
|
-
|
18
|
-
.sc-label-view.sc-small-size {
|
19
|
-
font-size: 11px;
|
20
|
-
line-height: 14px;
|
21
|
-
}
|
22
|
-
|
23
|
-
.sc-label-view.sc-tiny-size {
|
24
|
-
font-size: 9px;
|
25
|
-
line-height: 12px;
|
26
|
-
}
|
27
|
-
|
28
|
-
.sc-label-view.disabled {
|
29
|
-
color: #999;
|
30
|
-
color: rgba(50,50,50,0.5);
|
31
|
-
}
|
32
|
-
|
33
|
-
.sc-label-view img.icon {
|
34
|
-
position: relative;
|
35
|
-
vertical-align: middle;
|
36
|
-
}
|
37
|
-
|
38
|
-
.sc-label-view .sc-hint {
|
39
|
-
position: absolute;
|
40
|
-
top: 3px;
|
41
|
-
left: 1px;
|
42
|
-
right: 1px;
|
43
|
-
bottom: 3px;
|
44
|
-
padding: 0px;
|
45
|
-
color: #aaa ;
|
46
|
-
font-size: 12px;
|
47
|
-
}
|
@@ -1,146 +0,0 @@
|
|
1
|
-
/* Common SC.TextFieldView styles - needed to work properly */
|
2
|
-
|
3
|
-
.sc-view .sc-text-field-view {
|
4
|
-
border:none;
|
5
|
-
z-index:100;
|
6
|
-
overflow: visible;
|
7
|
-
background :white;
|
8
|
-
}
|
9
|
-
|
10
|
-
/* outline style for each browser tricky stuff... */
|
11
|
-
.safari .sc-view .sc-text-field-view.focus {
|
12
|
-
outline: auto 7px -webkit-focus-ring-color;
|
13
|
-
outline-offset: -2px;
|
14
|
-
}
|
15
|
-
|
16
|
-
.mozilla .sc-view .sc-text-field-view.focus {
|
17
|
-
outline-color:-moz-mac-focusring;
|
18
|
-
outline-offset:-5px;
|
19
|
-
outline-style:solid;
|
20
|
-
outline-width:3px;
|
21
|
-
}
|
22
|
-
|
23
|
-
.msie .sc-view .sc-text-field-view.focus {
|
24
|
-
outline: 1px dotted;
|
25
|
-
}
|
26
|
-
|
27
|
-
.sc-text-field-view .border {
|
28
|
-
position: absolute;
|
29
|
-
top: 0px;
|
30
|
-
left: 0px;
|
31
|
-
bottom: 0px;
|
32
|
-
right: 0px;
|
33
|
-
}
|
34
|
-
|
35
|
-
/*css style to make divs look like native controls*/
|
36
|
-
|
37
|
-
.mozilla .sc-view .sc-text-field-view .border {
|
38
|
-
-moz-appearance: textfield;
|
39
|
-
}
|
40
|
-
|
41
|
-
.msie .sc-view .sc-text-field-view .border {
|
42
|
-
border:1px inset;
|
43
|
-
}
|
44
|
-
|
45
|
-
.safari .sc-text-field-view .border {
|
46
|
-
-webkit-appearance: textfield;
|
47
|
-
}
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
.sc-view .sc-text-field-view .padding {
|
52
|
-
top: 0px;
|
53
|
-
left: 3px;
|
54
|
-
bottom: 0px;
|
55
|
-
right: 3px;
|
56
|
-
position: absolute;
|
57
|
-
}
|
58
|
-
|
59
|
-
.sc-view .sc-text-field-view.text-area .padding {
|
60
|
-
right: 0px;
|
61
|
-
}
|
62
|
-
|
63
|
-
|
64
|
-
.sc-view .sc-text-field-view .sc-text-field-accessory-view {
|
65
|
-
z-index: 2;
|
66
|
-
}
|
67
|
-
|
68
|
-
.sc-text-field-view input {
|
69
|
-
position: absolute;
|
70
|
-
top: 0px;
|
71
|
-
left: 0px;
|
72
|
-
width: 100%;
|
73
|
-
height: 100%;
|
74
|
-
line-height: 100%;
|
75
|
-
bottom: 0px;
|
76
|
-
right: 0px;
|
77
|
-
display: block;
|
78
|
-
background: transparent;
|
79
|
-
vertical-align: middle;
|
80
|
-
}
|
81
|
-
|
82
|
-
.sc-text-field-view input {
|
83
|
-
border: none;
|
84
|
-
outline: none;
|
85
|
-
-webkit-appearance:none;
|
86
|
-
}
|
87
|
-
|
88
|
-
.msie .sc-text-field-view input.field {
|
89
|
-
padding-bottom: 1px;
|
90
|
-
}
|
91
|
-
|
92
|
-
.sc-text-field-view textarea {
|
93
|
-
border: none;
|
94
|
-
outline: none;
|
95
|
-
-webkit-appearance:none;
|
96
|
-
}
|
97
|
-
|
98
|
-
|
99
|
-
.sc-text-field-view textarea {
|
100
|
-
position: absolute;
|
101
|
-
top: 0px;
|
102
|
-
left: 0px;
|
103
|
-
width:100%;
|
104
|
-
bottom: 0px;
|
105
|
-
right: 0px;
|
106
|
-
display: block;
|
107
|
-
background: transparent;
|
108
|
-
vertical-align: middle;
|
109
|
-
resize: none;
|
110
|
-
overflow: auto;
|
111
|
-
}
|
112
|
-
|
113
|
-
.msie .sc-text-field-view textarea.field,
|
114
|
-
.mozilla .sc-text-field-view textarea.field {
|
115
|
-
height: 100%;
|
116
|
-
}
|
117
|
-
|
118
|
-
|
119
|
-
.sc-text-field-view .sc-hint {
|
120
|
-
z-index: 1;
|
121
|
-
position: absolute;
|
122
|
-
top: 3px;
|
123
|
-
left: 1px;
|
124
|
-
right: 1px;
|
125
|
-
bottom: 3px;
|
126
|
-
padding: 0px;
|
127
|
-
color: #aaa ;
|
128
|
-
font-size: 12px;
|
129
|
-
}
|
130
|
-
|
131
|
-
.sc-text-field-view.text-area .sc-hint {
|
132
|
-
top: 2px;
|
133
|
-
left: 3px;
|
134
|
-
right: 3px;
|
135
|
-
bottom: 2px;
|
136
|
-
}
|
137
|
-
|
138
|
-
.sc-text-field-view.focus .sc-hint,
|
139
|
-
.sc-text-field-view.not-empty .sc-hint {
|
140
|
-
display: none ;
|
141
|
-
}
|
142
|
-
|
143
|
-
.sc-text-field-view.sc-hint .field{
|
144
|
-
color: #B3B3B3 !important;
|
145
|
-
}
|
146
|
-
|