kiteditor 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
- data/{lib/generators/mercury/install/images/templates → app/controllers/mercury}/images_controller.rb +0 -0
- data/{lib/generators/mercury/install/images/templates/ar_paperclip_image.rb → app/models/mercury/image.rb} +0 -7
- data/app/views/layouts/mercury.html.erb +20 -10
- data/app/views/mercury/modals/character.html +1 -1
- data/app/views/mercury/modals/htmleditor.html +7 -3
- data/app/views/mercury/modals/link.html +51 -37
- data/app/views/mercury/modals/media.html +0 -102
- data/app/views/mercury/modals/table.html +73 -79
- data/app/views/mercury/panels/snippets.html +1 -6
- data/app/views/mercury/snippets/example/options.html.erb +27 -23
- data/{lib/generators/mercury/install/images/templates/ar_paperclip_image_migration.rb → db/migrate/20110526035601_create_mercury_images.rb} +0 -0
- data/features/loading/loading.feature +2 -5
- data/features/loading/user_interface.feature +7 -9
- data/features/regions/{full → editable}/advanced_editing.feature +0 -0
- data/features/regions/editable/basic_editing.feature +195 -0
- data/features/regions/{full → editable}/inserting_links.feature +19 -20
- data/features/regions/{full → editable}/inserting_media.feature +18 -36
- data/features/regions/{full → editable}/inserting_snippets.feature +18 -28
- data/features/regions/{full → editable}/inserting_special_characters.feature +2 -2
- data/features/regions/editable/inserting_tables.feature +109 -0
- data/features/regions/{full → editable}/pasting.feature +0 -0
- data/features/regions/{full → editable}/uploading_images.feature +0 -0
- data/features/regions/{markdown → markupable}/advanced_editing.feature +0 -0
- data/features/regions/{markdown → markupable}/basic_editing.feature +0 -0
- data/features/regions/{markdown → markupable}/inserting_links.feature +0 -0
- data/features/regions/{markdown → markupable}/inserting_media.feature +0 -0
- data/features/regions/{markdown → markupable}/inserting_snippets.feature +0 -0
- data/features/regions/{markdown → markupable}/inserting_special_characters.feature +0 -0
- data/features/regions/{markdown → markupable}/inserting_tables.feature +0 -0
- data/features/regions/{image → markupable}/uploading_images.feature +0 -0
- data/features/regions/{snippets → snippetable}/advanced_editing.feature +0 -0
- data/features/regions/{snippets → snippetable}/basic_editing.feature +0 -0
- data/features/regions/{snippets → snippetable}/inserting_snippets.feature +0 -0
- data/features/saving/saving.feature +8 -8
- data/features/step_definitions/mercury_steps.rb +438 -1
- data/features/support/env.rb +1 -11
- data/{lib/mercury/cucumber → features}/support/mercury_contents.rb +3 -3
- data/{lib/mercury/cucumber → features}/support/mercury_selectors.rb +20 -0
- data/features/support/selectors.rb +0 -23
- data/lib/generators/mercury/install/install_generator.rb +23 -12
- data/lib/generators/mercury/install/{images/templates → templates}/mongoid_paperclip_image.rb +0 -0
- data/lib/mercury/authentication.rb +0 -1
- data/lib/mercury-rails.rb +2 -1
- data/spec/javascripts/mercury/{dialog_spec.coffee → dialog_spec.js.coffee} +12 -11
- data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +3 -2
- data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +4 -3
- data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +3 -2
- data/spec/javascripts/mercury/dialogs/snippetpanel_spec.js.coffee +3 -2
- data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +3 -2
- data/spec/javascripts/mercury/lightview_spec.js.coffee +142 -180
- data/spec/javascripts/mercury/mercury_spec.js.coffee +13 -19
- data/spec/javascripts/mercury/modal_spec.js.coffee +148 -192
- data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +5 -4
- data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +3 -2
- data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +34 -107
- data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +26 -106
- data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +3 -2
- data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +40 -50
- data/spec/javascripts/mercury/page_editor_spec.js.coffee +80 -124
- data/spec/javascripts/mercury/palette_spec.js.coffee +5 -4
- data/spec/javascripts/mercury/panel_spec.js.coffee +12 -9
- data/spec/javascripts/mercury/region_spec.js.coffee +17 -22
- data/spec/javascripts/mercury/regions/{full_spec.js.coffee → editable_spec.js.coffee} +28 -26
- data/spec/javascripts/mercury/regions/{markdown_spec.js.coffee → markupable_spec.js.coffee} +34 -32
- data/spec/javascripts/mercury/regions/{snippets_spec.js.coffee → snippetable_spec.js.coffee} +55 -54
- data/spec/javascripts/mercury/select_spec.js.coffee +5 -4
- data/spec/javascripts/mercury/snippet_spec.js.coffee +16 -92
- data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +16 -31
- data/spec/javascripts/mercury/statusbar_spec.js.coffee +10 -9
- data/spec/javascripts/mercury/table_editor_spec.js.coffee +2 -1
- data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +9 -7
- data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +26 -55
- data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +13 -13
- data/spec/javascripts/mercury/toolbar_spec.js.coffee +14 -43
- data/spec/javascripts/mercury/tooltip_spec.js.coffee +2 -1
- data/spec/javascripts/mercury/uploader_spec.js.coffee +33 -47
- data/spec/javascripts/{support/event_simulation.js → spec_helper.js} +2 -0
- data/spec/javascripts/{fixtures → templates}/mercury/dialog.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/dialogs/backcolor.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/dialogs/forecolor.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/dialogs/formatblock.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/dialogs/snippetpanel.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/dialogs/style.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/lightview.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/modal.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/modals/htmleditor.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/modals/insertcharacter.html +0 -0
- data/spec/javascripts/templates/mercury/modals/insertlink.html +30 -0
- data/spec/javascripts/templates/mercury/modals/insertmedia.html +35 -0
- data/spec/javascripts/{fixtures → templates}/mercury/modals/insertsnippet.html +0 -0
- data/spec/javascripts/templates/mercury/modals/inserttable.html +27 -0
- data/spec/javascripts/{fixtures → templates}/mercury/page_editor.html +4 -4
- data/spec/javascripts/{fixtures → templates}/mercury/palette.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/panel.html +0 -0
- data/spec/javascripts/templates/mercury/region.html +2 -0
- data/spec/javascripts/templates/mercury/regions/editable.html +3 -0
- data/spec/javascripts/templates/mercury/regions/snippetable.html +4 -0
- data/spec/javascripts/{fixtures → templates}/mercury/select.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/snippet.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/snippet_toolbar.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/statusbar.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/table_editor.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/toolbar.button.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/toolbar.button_group.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/toolbar.expander.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/toolbar.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/tooltip.html +0 -0
- data/spec/javascripts/{fixtures → templates}/mercury/uploader.html +0 -0
- data/{app → vendor}/assets/images/mercury/button.png +0 -0
- data/{app → vendor}/assets/images/mercury/close.png +0 -0
- data/{app → vendor}/assets/images/mercury/loading-dark.gif +0 -0
- data/{app → vendor}/assets/images/mercury/loading-light.gif +0 -0
- data/{app → vendor}/assets/images/mercury/missing-image.png +0 -0
- data/{app → vendor}/assets/images/mercury/search-icon.png +0 -0
- data/{app → vendor}/assets/images/mercury/temp-logo.png +0 -0
- data/{app/assets/javascripts → vendor/assets/javascripts/mercury/dependencies}/jquery-1.7.js +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery-ui-1.8.13.custom.js +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery.additions.js +13 -103
- data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery.htmlClean.js +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dependencies/liquidmetal.js +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dependencies/showdown.js +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dialog.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dialogs/backcolor.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dialogs/forecolor.js.coffee +1 -1
- data/{app → vendor}/assets/javascripts/mercury/dialogs/formatblock.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dialogs/snippetpanel.js.coffee +1 -1
- data/{app → vendor}/assets/javascripts/mercury/dialogs/style.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/finalize.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/history_buffer.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/lightview.js.coffee +17 -38
- data/{features/regions/markdown/uploading_images.feature → vendor/assets/javascripts/mercury/locales/da.locale.js.coffee} +0 -0
- data/{app → vendor}/assets/javascripts/mercury/locales/de.locale.js.coffee +10 -4
- data/{app → vendor}/assets/javascripts/mercury/locales/es.locale.js.coffee +9 -3
- data/{app → vendor}/assets/javascripts/mercury/locales/example.local.js.coffee +5 -3
- data/{app → vendor}/assets/javascripts/mercury/locales/fr.locale.js.coffee +9 -3
- data/{app → vendor}/assets/javascripts/mercury/locales/it.locale.js.coffee +9 -3
- data/{app → vendor}/assets/javascripts/mercury/locales/ko.local.js.coffee +10 -4
- data/{app → vendor}/assets/javascripts/mercury/locales/nl.locale.js.coffee +9 -3
- data/{app → vendor}/assets/javascripts/mercury/locales/pt.locale.js.coffee +9 -3
- data/{app → vendor}/assets/javascripts/mercury/locales/sv.local.js.coffee +9 -3
- data/{app → vendor}/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee +9 -3
- data/{app → vendor}/assets/javascripts/mercury/mercury.js.coffee +1 -10
- data/{app → vendor}/assets/javascripts/mercury/modal.js.coffee +40 -62
- data/{app → vendor}/assets/javascripts/mercury/modals/htmleditor.js.coffee +2 -3
- data/{app → vendor}/assets/javascripts/mercury/modals/insertcharacter.js.coffee +0 -1
- data/{app → vendor}/assets/javascripts/mercury/modals/insertsnippet.js.coffee +0 -2
- data/vendor/assets/javascripts/mercury/modals/inserttable.js.coffee +54 -0
- data/{app → vendor}/assets/javascripts/mercury/native_extensions.js.coffee +6 -0
- data/{app → vendor}/assets/javascripts/mercury/page_editor.js.coffee +50 -84
- data/{app → vendor}/assets/javascripts/mercury/palette.js.coffee +1 -1
- data/{app → vendor}/assets/javascripts/mercury/panel.js.coffee +2 -3
- data/{app → vendor}/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee +2 -2
- data/{app → vendor}/assets/javascripts/mercury/plugins/save_as_xml/plugin.js +0 -0
- data/{app → vendor}/assets/javascripts/mercury/region.js.coffee +17 -18
- data/{app/assets/javascripts/mercury/regions/full.js.coffee → vendor/assets/javascripts/mercury/regions/editable.js.coffee} +31 -41
- data/{app/assets/javascripts/mercury/regions/markdown.js.coffee → vendor/assets/javascripts/mercury/regions/markupable.js.coffee} +24 -29
- data/{app → vendor}/assets/javascripts/mercury/regions/simple.js.coffee +54 -11
- data/{app/assets/javascripts/mercury/regions/snippets.js.coffee → vendor/assets/javascripts/mercury/regions/snippetable.js.coffee} +9 -10
- data/{app → vendor}/assets/javascripts/mercury/select.js.coffee +1 -1
- data/{app → vendor}/assets/javascripts/mercury/snippet_toolbar.js.coffee +6 -19
- data/{app → vendor}/assets/javascripts/mercury/statusbar.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/support/history.js +0 -0
- data/{app → vendor}/assets/javascripts/mercury/table_editor.js.coffee +0 -16
- data/{app → vendor}/assets/javascripts/mercury/toolbar.button.js.coffee +30 -45
- data/{app → vendor}/assets/javascripts/mercury/toolbar.button_group.js.coffee +2 -2
- data/{app → vendor}/assets/javascripts/mercury/toolbar.expander.js.coffee +4 -4
- data/{app → vendor}/assets/javascripts/mercury/toolbar.js.coffee +6 -10
- data/{app → vendor}/assets/javascripts/mercury/tooltip.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/uploader.js.coffee +19 -37
- data/{app → vendor}/assets/javascripts/mercury.js +87 -60
- data/vendor/assets/javascripts/mercury_loader.js +193 -0
- data/vendor/assets/javascripts/mercury_overrides.js +6 -0
- data/{app → vendor}/assets/stylesheets/mercury/all_images.css.erb +2 -6
- data/{app → vendor}/assets/stylesheets/mercury/dialog.css +8 -21
- data/{app → vendor}/assets/stylesheets/mercury/lightview.css +56 -6
- data/vendor/assets/stylesheets/mercury/mercury.css +151 -0
- data/{app → vendor}/assets/stylesheets/mercury/modal.css +32 -15
- data/{app → vendor}/assets/stylesheets/mercury/statusbar.css +0 -0
- data/{app → vendor}/assets/stylesheets/mercury/toolbar.css +1 -4
- data/{app → vendor}/assets/stylesheets/mercury/tooltip.css +0 -0
- data/{app → vendor}/assets/stylesheets/mercury/uploader.css +4 -4
- data/{app → vendor}/assets/stylesheets/mercury.css +5 -1
- data/vendor/assets/stylesheets/mercury_overrides.css +17 -0
- metadata +197 -367
- data/POST_INSTALL +0 -21
- data/app/assets/images/mercury/default-snippet.png +0 -0
- data/app/assets/images/mercury/toolbar/editable/buttons.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/_expander.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/_pressed.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/action.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/historypanel.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/insertcharacter.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/insertlink.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/insertmedia.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/inserttable.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/inspectorpanel.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/notespanel.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/preview.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/redo.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/save.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/snippetpanel.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/tools.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/undo.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/user.png +0 -0
- data/app/assets/images/mercury/toolbar/snippets/buttons.png +0 -0
- data/app/assets/javascripts/mercury/locales/ar.locale.js.coffee +0 -201
- data/app/assets/javascripts/mercury/locales/da.locale.js.coffee +0 -208
- data/app/assets/javascripts/mercury/locales/hu.locale.js.coffee +0 -209
- data/app/assets/javascripts/mercury/locales/pl.locale.js.coffee +0 -213
- data/app/assets/javascripts/mercury/locales/ru.locale.js.coffee +0 -200
- data/app/assets/javascripts/mercury/locales/uk.locale.js.coffee +0 -200
- data/app/assets/javascripts/mercury/locales/zh.local.js.coffee +0 -203
- data/app/assets/javascripts/mercury/mercury-compiled.js +0 -10720
- data/app/assets/javascripts/mercury/modals/insertlink.js.coffee +0 -152
- data/app/assets/javascripts/mercury/modals/insertmedia.js.coffee +0 -132
- data/app/assets/javascripts/mercury/modals/inserttable.js.coffee +0 -68
- data/app/assets/javascripts/mercury/regions/image.js.coffee +0 -93
- data/app/assets/javascripts/mercury/snippet.js.coffee +0 -136
- data/app/assets/stylesheets/_mercury-bootstrap-overrides.scss +0 -61
- data/app/assets/stylesheets/_mercury-sass.scss +0 -33
- data/app/assets/stylesheets/mercury/bootstrap-ish.css +0 -1367
- data/app/assets/stylesheets/mercury/bootstrap-overrides.css +0 -61
- data/app/assets/stylesheets/mercury/mercury.css +0 -43
- data/app/helpers/mercury_helper.rb +0 -7
- data/app/views/layouts/mercury.html.haml +0 -19
- data/app/views/layouts/mercury.html.slim +0 -19
- data/app/views/mercury/snippets/no_options/preview.html.erb +0 -1
- data/config/routes.rb +0 -9
- data/features/generators/authentication.feature +0 -10
- data/features/generators/images.feature +0 -41
- data/features/generators/install.feature +0 -21
- data/features/regions/full/basic_editing.feature +0 -198
- data/features/regions/full/inserting_tables.feature +0 -109
- data/features/regions/simple/basic_editing.feature +0 -5
- data/features/step_definitions/custom_web_steps.rb +0 -22
- data/features/step_definitions/generator_steps.rb +0 -23
- data/features/support/aruba.rb +0 -28
- data/lib/generators/mercury/install/authentication/authentication_generator.rb +0 -17
- data/lib/generators/mercury/install/images/images_generator.rb +0 -47
- data/lib/mercury/cucumber/step_definitions/mercury_steps.rb +0 -408
- data/lib/mercury/cucumber/step_definitions.rb +0 -13
- data/lib/mercury/engine.rb +0 -19
- data/lib/mercury/rails.rb +0 -5
- data/lib/mercury/version.rb +0 -3
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/spec/dummy/app/assets/javascripts/prototype.js +0 -6082
- data/spec/dummy/app/assets/stylesheets/application.css.scss +0 -110
- data/spec/dummy/app/controllers/application_controller.rb +0 -3
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/app/views/layouts/mercury.html.erb +0 -28
- data/spec/dummy/config/application.rb +0 -58
- data/spec/dummy/config/boot.rb +0 -10
- data/spec/dummy/config/database.yml +0 -10
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -37
- data/spec/dummy/config/environments/production.rb +0 -67
- data/spec/dummy/config/environments/test.rb +0 -37
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/inflections.rb +0 -15
- data/spec/dummy/config/initializers/mime_types.rb +0 -5
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -8
- data/spec/dummy/config/initializers/teabag.rb +0 -9
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config/routes.rb +0 -5
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/db/.gitkeep +0 -0
- data/spec/dummy/public/500.html +0 -25
- data/spec/dummy/public/blank.html +0 -1
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/images/bunny.gif +0 -0
- data/spec/dummy/public/images/bunny2.jpg +0 -0
- data/spec/dummy/public/index.html +0 -279
- data/spec/dummy/script/rails +0 -6
- data/spec/javascripts/fixtures/mercury/modals/insertlink.html +0 -67
- data/spec/javascripts/fixtures/mercury/modals/insertmedia.html +0 -87
- data/spec/javascripts/fixtures/mercury/modals/inserttable.html +0 -73
- data/spec/javascripts/fixtures/mercury/region.html +0 -6
- data/spec/javascripts/fixtures/mercury/regions/full.html +0 -1
- data/spec/javascripts/fixtures/mercury/regions/image.html +0 -1
- data/spec/javascripts/fixtures/mercury/regions/markdown.html +0 -1
- data/spec/javascripts/fixtures/mercury/regions/simple.html +0 -1
- data/spec/javascripts/fixtures/mercury/regions/snippets.html +0 -4
- data/spec/javascripts/mercury/regions/image_spec.js.coffee +0 -33
- data/spec/javascripts/mercury/regions/simple_spec.js.coffee +0 -32
- data/spec/javascripts/spec_helper.coffee +0 -4
- data/spec/teabag_env.rb +0 -32
@@ -15,12 +15,11 @@
|
|
15
15
|
border-radius: 2px;
|
16
16
|
-moz-border-radius: 2px;
|
17
17
|
margin-top: -1px;
|
18
|
-
background-color: #
|
18
|
+
background-color: #E2E1E2;
|
19
19
|
box-shadow: 1px 1px 4px rgba(0,0,0, .5);
|
20
20
|
-moz-box-shadow: 1px 1px 4px rgba(0,0,0, .5);
|
21
21
|
font-family: Helvetica, Tahoma, Arial, sans-serif;
|
22
22
|
font-size: 8.5pt;
|
23
|
-
color: #333;
|
24
23
|
}
|
25
24
|
.mercury-dialog.loading,
|
26
25
|
.mercury-select.loading,
|
@@ -41,15 +40,15 @@
|
|
41
40
|
* Panels
|
42
41
|
*----------------------------------------------------------------------------*/
|
43
42
|
.mercury-panel {
|
44
|
-
position:
|
43
|
+
position: absolute;
|
45
44
|
z-index: 10011;
|
46
|
-
background-color: #
|
45
|
+
background-color: #111;
|
47
46
|
opacity: .9;
|
48
47
|
box-shadow: 1px 1px 4px rgba(0,0,0, .5);
|
49
48
|
-moz-box-shadow: 1px 1px 4px rgba(0,0,0, .5);
|
50
|
-
border-radius:
|
51
|
-
-moz-border-radius:
|
52
|
-
color: #
|
49
|
+
border-radius: 4px;
|
50
|
+
-moz-border-radius: 4px;
|
51
|
+
color: #FFF;
|
53
52
|
font-family: Helvetica, Tahoma, Arial, sans-serif;
|
54
53
|
font-size: 9.5pt;
|
55
54
|
max-width: 500px;
|
@@ -65,29 +64,19 @@
|
|
65
64
|
margin: 0;
|
66
65
|
background: #333;
|
67
66
|
white-space: nowrap;
|
68
|
-
line-height: normal;
|
69
67
|
}
|
70
68
|
.mercury-panel h1 {
|
71
69
|
-webkit-user-select: none;
|
72
70
|
-moz-user-select: none;
|
73
71
|
user-select: none;
|
74
|
-
-
|
75
|
-
-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
76
|
-
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
72
|
+
font-size: 10pt;
|
77
73
|
-moz-border-radius-topleft: 4px;
|
78
74
|
-moz-border-radius-topright: 4px;
|
79
75
|
border-top-left-radius: 4px;
|
80
76
|
border-top-right-radius: 4px;
|
81
|
-
color: #f5f5f5;
|
82
|
-
font-size: 10pt;
|
83
|
-
text-shadow: 1px 1px 2px rgba(0,0,0, .9);
|
84
|
-
border-bottom: 1px solid #222;
|
85
77
|
height: 15px;
|
86
78
|
cursor: move;
|
87
|
-
|
88
|
-
.mercury-panel h1 span {
|
89
|
-
display: block;
|
90
|
-
width: 100%;
|
79
|
+
text-shadow: 1px 1px 2px rgba(0,0,0, .9);
|
91
80
|
}
|
92
81
|
.mercury-panel h1 a.mercury-panel-close {
|
93
82
|
position: absolute;
|
@@ -187,7 +176,6 @@
|
|
187
176
|
-moz-box-sizing: border-box;
|
188
177
|
-webkit-box-sizing: border-box;
|
189
178
|
width: 100%;
|
190
|
-
height: auto;
|
191
179
|
padding-left: 20px;
|
192
180
|
background-color: #FFF;
|
193
181
|
background-repeat: no-repeat;
|
@@ -204,7 +192,6 @@
|
|
204
192
|
}
|
205
193
|
.mercury-snippet-panel ul li img {
|
206
194
|
float: left;
|
207
|
-
cursor: move;
|
208
195
|
}
|
209
196
|
.mercury-snippet-panel ul li h4,
|
210
197
|
.mercury-snippet-panel ul li .description {
|
@@ -10,13 +10,13 @@
|
|
10
10
|
height: 100%;
|
11
11
|
opacity: 0;
|
12
12
|
display: none;
|
13
|
-
background: rgba(
|
13
|
+
background: rgba(0, 0, 0, .65);
|
14
14
|
}
|
15
15
|
.mercury-lightview {
|
16
16
|
position: fixed;
|
17
17
|
z-index: 10040;
|
18
18
|
top: 20px;
|
19
|
-
background:
|
19
|
+
background: #000;
|
20
20
|
opacity: 0;
|
21
21
|
overflow: hidden;
|
22
22
|
display: none;
|
@@ -28,7 +28,7 @@
|
|
28
28
|
font: normal normal normal 12px/normal Helvetica, Tahoma, Arial, sans-serif;
|
29
29
|
-moz-box-sizing: border-box;
|
30
30
|
box-sizing: border-box;
|
31
|
-
color: #
|
31
|
+
color: #CCC;
|
32
32
|
}
|
33
33
|
.mercury-lightview.loading {
|
34
34
|
background-repeat: no-repeat;
|
@@ -40,8 +40,8 @@
|
|
40
40
|
.mercury-lightview h1.mercury-lightview-title {
|
41
41
|
margin: 0;
|
42
42
|
padding: 10px 20px 8px;
|
43
|
-
border-bottom: 1px solid #
|
44
|
-
color: #
|
43
|
+
border-bottom: 1px solid #222;
|
44
|
+
color: #FFF;
|
45
45
|
-webkit-user-select: none;
|
46
46
|
-moz-user-select: none;
|
47
47
|
user-select: none;
|
@@ -70,6 +70,38 @@
|
|
70
70
|
border-top: 1px solid #333;
|
71
71
|
text-align: right;
|
72
72
|
}
|
73
|
+
/*
|
74
|
+
* Forms
|
75
|
+
*----------------------------------------------------------------------------*/
|
76
|
+
.mercury-lightview form fieldset {
|
77
|
+
background: #111;
|
78
|
+
border: 1px solid #333;
|
79
|
+
}
|
80
|
+
.mercury-lightview form fieldset.buttons {
|
81
|
+
background: none;
|
82
|
+
border: none;
|
83
|
+
}
|
84
|
+
.mercury-lightview form select,
|
85
|
+
.mercury-lightview form input[type="text"],
|
86
|
+
.mercury-lightview form input[type="password"],
|
87
|
+
.mercury-lightview form textarea,
|
88
|
+
.mercury-lightview form input.text {
|
89
|
+
background: #444;
|
90
|
+
color: #FFF;
|
91
|
+
border: 2px solid #555;
|
92
|
+
-moz-box-shadow: inset 0 0 3px #000000;
|
93
|
+
-webkit-box-shadow: inset 0 0 3px #000000;
|
94
|
+
box-shadow: inset 0 0 3px #000000;
|
95
|
+
}
|
96
|
+
.mercury-lightview form input[type="button"] {
|
97
|
+
border: 2px solid #555;
|
98
|
+
border-radius: 4px;
|
99
|
+
background: #222;
|
100
|
+
color: #FFF;
|
101
|
+
}
|
102
|
+
.mercury-lightview hr {
|
103
|
+
border-color: #333;
|
104
|
+
}
|
73
105
|
/*
|
74
106
|
* Specific Lightviews
|
75
107
|
*----------------------------------------------------------------------------*/
|
@@ -97,5 +129,23 @@
|
|
97
129
|
color: #09F;
|
98
130
|
}
|
99
131
|
#mercury_about a:hover {
|
100
|
-
color: #
|
132
|
+
color: #FFF;
|
133
|
+
}
|
134
|
+
/* character */
|
135
|
+
.mercury-lightview #mercury_character .character {
|
136
|
+
border: 1px solid #444;
|
137
|
+
background: #222;
|
138
|
+
}
|
139
|
+
.mercury-lightview #mercury_character .character:hover {
|
140
|
+
background: #555;
|
141
|
+
border: 1px solid #CCC;
|
142
|
+
}
|
143
|
+
/* table */
|
144
|
+
.mercury-lightview #mercury_table #table_display {
|
145
|
+
background: #222;
|
146
|
+
border: 1px solid #444;
|
147
|
+
height: 301px;
|
148
|
+
}
|
149
|
+
.mercury-lightview #mercury_table #table_display td.selected {
|
150
|
+
background: #09F;
|
101
151
|
}
|
@@ -0,0 +1,151 @@
|
|
1
|
+
/*
|
2
|
+
*= require_self
|
3
|
+
*= require ./dialog
|
4
|
+
*= require ./lightview
|
5
|
+
*= require ./modal
|
6
|
+
*= require ./statusbar
|
7
|
+
*= require ./toolbar
|
8
|
+
*= require ./tooltip
|
9
|
+
*= require ./uploader
|
10
|
+
*= require ./all_images
|
11
|
+
*/
|
12
|
+
|
13
|
+
/*
|
14
|
+
* General Layout
|
15
|
+
*---------------------------------------------------------------------------*/
|
16
|
+
html, body {
|
17
|
+
-webkit-transition: -webkit-transform 3s;
|
18
|
+
margin: 0;
|
19
|
+
padding: 0;
|
20
|
+
overflow: hidden;
|
21
|
+
}
|
22
|
+
.mercury-iframe {
|
23
|
+
position: absolute;
|
24
|
+
top: 0;
|
25
|
+
width: 100%;
|
26
|
+
visibility: hidden;
|
27
|
+
}
|
28
|
+
.mercury-focusable {
|
29
|
+
position: absolute;
|
30
|
+
opacity: 0;
|
31
|
+
}
|
32
|
+
|
33
|
+
/*
|
34
|
+
* Forms
|
35
|
+
*---------------------------------------------------------------------------*/
|
36
|
+
form,
|
37
|
+
form ul,
|
38
|
+
form ol,
|
39
|
+
form li,
|
40
|
+
form fieldset,
|
41
|
+
form p,
|
42
|
+
.filter {
|
43
|
+
margin: 0;
|
44
|
+
padding: 0;
|
45
|
+
}
|
46
|
+
form abbr {
|
47
|
+
border: 0;
|
48
|
+
font-variant: normal;
|
49
|
+
}
|
50
|
+
form fieldset {
|
51
|
+
margin-bottom: 10px;
|
52
|
+
background: #F6F6F6;
|
53
|
+
border: 1px solid #CCC;
|
54
|
+
border-radius: 7px;
|
55
|
+
-moz-border-radius: 7px;
|
56
|
+
}
|
57
|
+
form fieldset:last-child {
|
58
|
+
margin-bottom: 0;
|
59
|
+
}
|
60
|
+
form fieldset legend {
|
61
|
+
font-weight: bold;
|
62
|
+
margin-left: 10px;
|
63
|
+
margin-bottom: -4px;
|
64
|
+
}
|
65
|
+
form ol {
|
66
|
+
margin: 12px 9px;
|
67
|
+
}
|
68
|
+
form ol li {
|
69
|
+
display: block;
|
70
|
+
margin-bottom: 10px;
|
71
|
+
}
|
72
|
+
form label {
|
73
|
+
display: block;
|
74
|
+
float: left;
|
75
|
+
width: 23%;
|
76
|
+
margin-right: 9px;
|
77
|
+
text-align: right;
|
78
|
+
line-height: 27px;
|
79
|
+
font-size: 1.1em;
|
80
|
+
overflow: hidden;
|
81
|
+
text-overflow: ellipsis;
|
82
|
+
white-space: nowrap;
|
83
|
+
}
|
84
|
+
form label input {
|
85
|
+
width: auto !important;
|
86
|
+
margin: 0 5px 0 2px !important;
|
87
|
+
}
|
88
|
+
form select,
|
89
|
+
form input[type=text],
|
90
|
+
form input[type=password],
|
91
|
+
form textarea,
|
92
|
+
form input.text {
|
93
|
+
margin: 0;
|
94
|
+
border: 2px solid #CCC;
|
95
|
+
padding: 2px 4px;
|
96
|
+
font-family: Arial, Geneva, sans-serif;
|
97
|
+
font-size: 1.5em;
|
98
|
+
width: 74%;
|
99
|
+
box-sizing: border-box;
|
100
|
+
-moz-box-sizing: border-box;
|
101
|
+
-webkit-box-sizing: border-box;
|
102
|
+
}
|
103
|
+
form li.boolean {
|
104
|
+
margin-left: 23%;
|
105
|
+
padding-left: 9px;
|
106
|
+
}
|
107
|
+
form li.boolean label {
|
108
|
+
width: auto;
|
109
|
+
}
|
110
|
+
form fieldset.buttons {
|
111
|
+
clear: both;
|
112
|
+
padding: 0;
|
113
|
+
background: none;
|
114
|
+
border: none;
|
115
|
+
text-align: left;
|
116
|
+
}
|
117
|
+
form fieldset.buttons ol {
|
118
|
+
margin: 0 -2px 0 0;
|
119
|
+
float: right;
|
120
|
+
}
|
121
|
+
form fieldset.buttons ol li {
|
122
|
+
float: left;
|
123
|
+
padding-left: 0.5em;
|
124
|
+
padding-right: 0;
|
125
|
+
}
|
126
|
+
form fieldset.buttons .commit {
|
127
|
+
margin: 0;
|
128
|
+
}
|
129
|
+
form fieldset.buttons .commit input {
|
130
|
+
padding: 8px 14px 9px !important;
|
131
|
+
font-family: 'HelveticaNeue-Light', 'Helvetica Neue Light', 'Helvetica Neue', sans-serif;
|
132
|
+
font-size: 1.3em;
|
133
|
+
background-color: #222;
|
134
|
+
background-repeat: repeat-x;
|
135
|
+
display: inline-block;
|
136
|
+
color: #FFF;
|
137
|
+
text-decoration: none;
|
138
|
+
-moz-border-radius: 5px;
|
139
|
+
-webkit-border-radius: 5px;
|
140
|
+
-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
141
|
+
-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
|
142
|
+
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
|
143
|
+
border: 0;
|
144
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
|
145
|
+
position: relative;
|
146
|
+
cursor: pointer;
|
147
|
+
line-height: normal;
|
148
|
+
}
|
149
|
+
form fieldset.buttons .commit input:hover {
|
150
|
+
background-color: #000;
|
151
|
+
}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
height: 100%;
|
11
11
|
opacity: 0;
|
12
12
|
display: none;
|
13
|
-
background: rgba(
|
13
|
+
background: rgba(0,0,0, .65);
|
14
14
|
}
|
15
15
|
.mercury-modal {
|
16
16
|
position: fixed;
|
@@ -98,30 +98,40 @@
|
|
98
98
|
.mercury-modal .mercury-display-pane-container {
|
99
99
|
overflow: auto;
|
100
100
|
margin: -20px -20px 0;
|
101
|
-
padding: 20px 20px
|
101
|
+
padding: 20px 20px 10px;
|
102
102
|
}
|
103
103
|
.mercury-modal .mercury-display-pane-container .mercury-display-pane {
|
104
104
|
float: left;
|
105
105
|
}
|
106
106
|
.mercury-modal .mercury-display-controls {
|
107
|
-
padding
|
107
|
+
padding: 15px 0 0;
|
108
108
|
border-top: 1px solid #CCC;
|
109
109
|
text-align: right;
|
110
110
|
}
|
111
111
|
/*
|
112
|
-
*
|
112
|
+
* Forms
|
113
113
|
*----------------------------------------------------------------------------*/
|
114
|
-
|
115
|
-
#mercury_html_editor textarea {
|
114
|
+
.mercury-modal textarea {
|
116
115
|
resize: none;
|
117
116
|
padding: 0;
|
118
117
|
box-sizing: border-box;
|
119
118
|
-moz-box-sizing: border-box;
|
120
119
|
-webkit-box-sizing: border-box;
|
120
|
+
}
|
121
|
+
/*
|
122
|
+
* Specific Modals (eg. htmlEditor)
|
123
|
+
*----------------------------------------------------------------------------*/
|
124
|
+
/* html editor */
|
125
|
+
#mercury_html_editor textarea {
|
121
126
|
margin: 0 0 -2px 0;
|
127
|
+
padding: 0;
|
122
128
|
border: 2px solid #CCC;
|
123
129
|
width: 100%;
|
124
130
|
}
|
131
|
+
#mercury_html_editor .mercury-modal-controls {
|
132
|
+
border: 0;
|
133
|
+
margin-top: -2px;
|
134
|
+
}
|
125
135
|
/* character */
|
126
136
|
#mercury_character .character {
|
127
137
|
float: left;
|
@@ -146,21 +156,28 @@
|
|
146
156
|
}
|
147
157
|
/* table */
|
148
158
|
#mercury_table #table_display {
|
159
|
+
width: 285px;
|
160
|
+
height: 285px;
|
149
161
|
float: left;
|
150
|
-
margin-right: 13px;
|
151
|
-
overflow: auto;
|
152
|
-
padding: 0;
|
153
|
-
}
|
154
|
-
#mercury_table #table_display .controls {
|
155
|
-
margin: 0;
|
156
|
-
width: 225px;
|
157
|
-
height: 259px;
|
158
162
|
padding: 10px;
|
163
|
+
background: #F6F6F6;
|
164
|
+
border: 1px solid #CCC;
|
165
|
+
border-radius: 7px;
|
166
|
+
-moz-border-radius: 7px;
|
167
|
+
overflow: auto;
|
159
168
|
}
|
160
169
|
#mercury_table #table_display table {
|
161
170
|
width: 100%;
|
162
171
|
height: 100%;
|
163
172
|
}
|
164
|
-
#mercury_table #table_display .selected {
|
173
|
+
#mercury_table #table_display td.selected {
|
165
174
|
background: #09F;
|
166
175
|
}
|
176
|
+
#mercury_table #table_options {
|
177
|
+
width: 383px;
|
178
|
+
float: left;
|
179
|
+
margin-left: 10px;
|
180
|
+
}
|
181
|
+
#mercury_table #table_options .inputs:first-child label {
|
182
|
+
width: 36%
|
183
|
+
}
|
File without changes
|
@@ -46,9 +46,6 @@
|
|
46
46
|
width: 1px;
|
47
47
|
background: #727272;
|
48
48
|
}
|
49
|
-
.mercury-button {
|
50
|
-
cursor: pointer;
|
51
|
-
}
|
52
49
|
.mercury-button em {
|
53
50
|
display: block;
|
54
51
|
font-style: normal;
|
@@ -256,7 +253,7 @@
|
|
256
253
|
.mercury-editable-toolbar .mercury-htmlEditor-button { background-position: -612px 0 }
|
257
254
|
.mercury-editable-toolbar .mercury-htmlEditor-button.active { background-position: -612px -18px }
|
258
255
|
/*
|
259
|
-
* Toolbar:
|
256
|
+
* Toolbar: Snippetable Region Toolbar
|
260
257
|
*----------------------------------------------------------------------------*/
|
261
258
|
.mercury-snippet-toolbar {
|
262
259
|
position: absolute;
|
File without changes
|
@@ -12,7 +12,7 @@
|
|
12
12
|
width: 100%;
|
13
13
|
height: 100%;
|
14
14
|
opacity: .95;
|
15
|
-
background: rgba(
|
15
|
+
background: rgba(0, 0, 0, .65);
|
16
16
|
}
|
17
17
|
.mercury-uploader {
|
18
18
|
position: absolute;
|
@@ -23,13 +23,13 @@
|
|
23
23
|
height: 150px;
|
24
24
|
overflow: hidden;
|
25
25
|
padding: 15px;
|
26
|
-
background: rgba(
|
26
|
+
background: rgba(0,0,0, .70);
|
27
27
|
border-radius: 10px;
|
28
28
|
-moz-border-radius: 10px;
|
29
29
|
-moz-box-shadow: 0 0 40px rgba(0, 0, 0, .9);
|
30
30
|
box-shadow: 0 0 40px rgba(0, 0, 0, .9);
|
31
31
|
font: normal normal normal 12px/normal Helvetica, Tahoma, Arial, sans-serif;
|
32
|
-
color: #
|
32
|
+
color: #CCC;
|
33
33
|
}
|
34
34
|
.mercury-uploader .mercury-uploader-preview {
|
35
35
|
float: left;
|
@@ -95,9 +95,9 @@
|
|
95
95
|
background: -moz-repeating-linear-gradient(top left -30deg, rgba(255,255,255, 0.17), rgba(255,255,255, 0.17) 15px, rgba(255,255,255, 0) 15px, rgba(255,255,255, 0) 30px),
|
96
96
|
-moz-linear-gradient(rgba(255,255,255, 0.1) 0%, rgba(255,255,255, 0.37) 100%);
|
97
97
|
background-color: #09F;
|
98
|
-
border: 1px solid #0083DA;
|
99
98
|
box-shadow: inset 0 1px 0 0 rgba(255,255,255, 0.4), inset 0 -1px 1px rgba(0,0,0, 0.2);
|
100
99
|
-moz-box-shadow: inset 0 1px 0 0 rgba(255,255,255, 0.4), inset 0 -1px 1px rgba(0,0,0, 0.2);
|
100
|
+
border: 1px solid #0083DA;
|
101
101
|
}
|
102
102
|
.mercury-uploader .mercury-uploader-progress div.mercury-uploader-indicator div b {
|
103
103
|
display: none;
|
@@ -2,6 +2,11 @@
|
|
2
2
|
* Mercury Editor is a Coffeescript and jQuery based WYSIWYG editor. Documentation and other useful information can be
|
3
3
|
* found at https://github.com/jejacks0n/mercury
|
4
4
|
*
|
5
|
+
* Supported browsers:
|
6
|
+
* - Firefox 4+
|
7
|
+
* - Chrome 10+
|
8
|
+
* - Safari 5+
|
9
|
+
*
|
5
10
|
* Copyright (c) 2011 Jeremy Jackson
|
6
11
|
*
|
7
12
|
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
@@ -18,7 +23,6 @@
|
|
18
23
|
* OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
19
24
|
*
|
20
25
|
*= require_self
|
21
|
-
*= require mercury/bootstrap-ish
|
22
26
|
*= require mercury/mercury
|
23
27
|
*/
|
24
28
|
|
@@ -0,0 +1,17 @@
|
|
1
|
+
/*!
|
2
|
+
* Mercury Editor is a Coffeescript and jQuery based WYSIWYG editor. Documentation and other useful information can be
|
3
|
+
* found at https://github.com/jejacks0n/mercury
|
4
|
+
*
|
5
|
+
* This file is intended to provide a standard way to override the CSS that comes default with Mercury Editor, and
|
6
|
+
* includes an example button style, should you ever need to add new ones yourself. Read the toolbar configuration in
|
7
|
+
* mercury.js for more on how to add your own buttons to the toolbar.
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Disable text sizing in webkit (ipad/iphone etc -- should apply to mercury only) */
|
11
|
+
html { -webkit-text-size-adjust: none; }
|
12
|
+
|
13
|
+
/* Button example */
|
14
|
+
.mercury-primary-toolbar .mercury-inspector-button em,
|
15
|
+
.mercury-expander-button[data-button="inspector"] em {
|
16
|
+
background-image: url(/assets/mercury/toolbar/primary/inspectorpanel.png);
|
17
|
+
}
|