kiteditor 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/POST_INSTALL +21 -0
- data/{vendor → app}/assets/images/mercury/button.png +0 -0
- data/{vendor → app}/assets/images/mercury/close.png +0 -0
- data/app/assets/images/mercury/default-snippet.png +0 -0
- data/{vendor → app}/assets/images/mercury/loading-dark.gif +0 -0
- data/{vendor → app}/assets/images/mercury/loading-light.gif +0 -0
- data/{vendor → app}/assets/images/mercury/missing-image.png +0 -0
- data/{vendor → app}/assets/images/mercury/search-icon.png +0 -0
- data/{vendor → app}/assets/images/mercury/temp-logo.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/{vendor/assets/javascripts/mercury/dependencies → app/assets/javascripts}/jquery-1.7.js +0 -0
- data/{vendor → app}/assets/javascripts/mercury.js +60 -87
- data/{vendor → app}/assets/javascripts/mercury/dependencies/jquery-ui-1.8.13.custom.js +0 -0
- data/{vendor → app}/assets/javascripts/mercury/dependencies/jquery.additions.js +103 -13
- data/{vendor → app}/assets/javascripts/mercury/dependencies/jquery.htmlClean.js +0 -0
- data/{vendor → app}/assets/javascripts/mercury/dependencies/liquidmetal.js +0 -0
- data/{vendor → app}/assets/javascripts/mercury/dependencies/showdown.js +0 -0
- data/{vendor → app}/assets/javascripts/mercury/dialog.js.coffee +0 -0
- data/{vendor → app}/assets/javascripts/mercury/dialogs/backcolor.js.coffee +0 -0
- data/{vendor → app}/assets/javascripts/mercury/dialogs/forecolor.js.coffee +1 -1
- data/{vendor → app}/assets/javascripts/mercury/dialogs/formatblock.js.coffee +0 -0
- data/{vendor → app}/assets/javascripts/mercury/dialogs/snippetpanel.js.coffee +1 -1
- data/{vendor → app}/assets/javascripts/mercury/dialogs/style.js.coffee +0 -0
- data/{vendor → app}/assets/javascripts/mercury/finalize.js.coffee +0 -0
- data/{vendor → app}/assets/javascripts/mercury/history_buffer.js.coffee +0 -0
- data/{vendor → app}/assets/javascripts/mercury/lightview.js.coffee +38 -17
- data/app/assets/javascripts/mercury/locales/ar.locale.js.coffee +201 -0
- data/app/assets/javascripts/mercury/locales/da.locale.js.coffee +208 -0
- data/{vendor → app}/assets/javascripts/mercury/locales/de.locale.js.coffee +4 -10
- data/{vendor → app}/assets/javascripts/mercury/locales/es.locale.js.coffee +3 -9
- data/{vendor → app}/assets/javascripts/mercury/locales/example.local.js.coffee +3 -5
- data/{vendor → app}/assets/javascripts/mercury/locales/fr.locale.js.coffee +3 -9
- data/app/assets/javascripts/mercury/locales/hu.locale.js.coffee +209 -0
- data/{vendor → app}/assets/javascripts/mercury/locales/it.locale.js.coffee +3 -9
- data/{vendor → app}/assets/javascripts/mercury/locales/ko.local.js.coffee +4 -10
- data/{vendor → app}/assets/javascripts/mercury/locales/nl.locale.js.coffee +3 -9
- data/app/assets/javascripts/mercury/locales/pl.locale.js.coffee +213 -0
- data/{vendor → app}/assets/javascripts/mercury/locales/pt.locale.js.coffee +3 -9
- data/app/assets/javascripts/mercury/locales/ru.locale.js.coffee +200 -0
- data/{vendor → app}/assets/javascripts/mercury/locales/sv.local.js.coffee +3 -9
- data/{vendor → app}/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee +3 -9
- data/app/assets/javascripts/mercury/locales/uk.locale.js.coffee +200 -0
- data/app/assets/javascripts/mercury/locales/zh.local.js.coffee +203 -0
- data/app/assets/javascripts/mercury/mercury-compiled.js +10720 -0
- data/{vendor → app}/assets/javascripts/mercury/mercury.js.coffee +10 -1
- data/{vendor → app}/assets/javascripts/mercury/modal.js.coffee +62 -40
- data/{vendor → app}/assets/javascripts/mercury/modals/htmleditor.js.coffee +1 -0
- data/{vendor → app}/assets/javascripts/mercury/modals/insertcharacter.js.coffee +1 -0
- data/app/assets/javascripts/mercury/modals/insertlink.js.coffee +152 -0
- data/app/assets/javascripts/mercury/modals/insertmedia.js.coffee +132 -0
- data/{vendor → app}/assets/javascripts/mercury/modals/insertsnippet.js.coffee +2 -0
- data/app/assets/javascripts/mercury/modals/inserttable.js.coffee +68 -0
- data/{vendor → app}/assets/javascripts/mercury/native_extensions.js.coffee +0 -6
- data/{vendor → app}/assets/javascripts/mercury/page_editor.js.coffee +84 -50
- data/{vendor → app}/assets/javascripts/mercury/palette.js.coffee +1 -1
- data/{vendor → app}/assets/javascripts/mercury/panel.js.coffee +3 -2
- data/{vendor → app}/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee +2 -2
- data/{vendor → app}/assets/javascripts/mercury/plugins/save_as_xml/plugin.js +0 -0
- data/{vendor → app}/assets/javascripts/mercury/region.js.coffee +18 -17
- data/{vendor/assets/javascripts/mercury/regions/editable.js.coffee → app/assets/javascripts/mercury/regions/full.js.coffee} +41 -31
- data/app/assets/javascripts/mercury/regions/image.js.coffee +93 -0
- data/{vendor/assets/javascripts/mercury/regions/markupable.js.coffee → app/assets/javascripts/mercury/regions/markdown.js.coffee} +29 -24
- data/{vendor → app}/assets/javascripts/mercury/regions/simple.js.coffee +11 -54
- data/{vendor/assets/javascripts/mercury/regions/snippetable.js.coffee → app/assets/javascripts/mercury/regions/snippets.js.coffee} +10 -9
- data/{vendor → app}/assets/javascripts/mercury/select.js.coffee +1 -1
- data/app/assets/javascripts/mercury/snippet.js.coffee +136 -0
- data/{vendor → app}/assets/javascripts/mercury/snippet_toolbar.js.coffee +19 -6
- data/{vendor → app}/assets/javascripts/mercury/statusbar.js.coffee +0 -0
- data/{vendor → app}/assets/javascripts/mercury/support/history.js +0 -0
- data/{vendor → app}/assets/javascripts/mercury/table_editor.js.coffee +16 -0
- data/{vendor → app}/assets/javascripts/mercury/toolbar.button.js.coffee +45 -30
- data/{vendor → app}/assets/javascripts/mercury/toolbar.button_group.js.coffee +2 -2
- data/{vendor → app}/assets/javascripts/mercury/toolbar.expander.js.coffee +4 -4
- data/{vendor → app}/assets/javascripts/mercury/toolbar.js.coffee +10 -6
- data/{vendor → app}/assets/javascripts/mercury/tooltip.js.coffee +0 -0
- data/{vendor → app}/assets/javascripts/mercury/uploader.js.coffee +37 -19
- data/app/assets/stylesheets/_mercury-bootstrap-overrides.scss +61 -0
- data/app/assets/stylesheets/_mercury-sass.scss +33 -0
- data/{vendor → app}/assets/stylesheets/mercury.css +1 -5
- data/{vendor → app}/assets/stylesheets/mercury/all_images.css.erb +6 -2
- data/app/assets/stylesheets/mercury/bootstrap-ish.css +1367 -0
- data/app/assets/stylesheets/mercury/bootstrap-overrides.css +61 -0
- data/{vendor → app}/assets/stylesheets/mercury/dialog.css +21 -8
- data/{vendor → app}/assets/stylesheets/mercury/lightview.css +6 -56
- data/app/assets/stylesheets/mercury/mercury.css +43 -0
- data/{vendor → app}/assets/stylesheets/mercury/modal.css +15 -32
- data/{vendor → app}/assets/stylesheets/mercury/statusbar.css +0 -0
- data/{vendor → app}/assets/stylesheets/mercury/toolbar.css +4 -1
- data/{vendor → app}/assets/stylesheets/mercury/tooltip.css +0 -0
- data/{vendor → app}/assets/stylesheets/mercury/uploader.css +4 -4
- data/app/helpers/mercury_helper.rb +7 -0
- data/app/views/layouts/mercury.html.erb +10 -20
- data/app/views/layouts/mercury.html.haml +19 -0
- data/app/views/layouts/mercury.html.slim +19 -0
- data/app/views/mercury/modals/character.html +1 -1
- data/app/views/mercury/modals/htmleditor.html +3 -7
- data/app/views/mercury/modals/link.html +37 -51
- data/app/views/mercury/modals/media.html +102 -0
- data/app/views/mercury/modals/table.html +79 -73
- data/app/views/mercury/panels/snippets.html +6 -1
- data/app/views/mercury/snippets/example/options.html.erb +23 -27
- data/app/views/mercury/snippets/no_options/preview.html.erb +1 -0
- data/config/routes.rb +9 -0
- data/features/generators/authentication.feature +10 -0
- data/features/generators/images.feature +41 -0
- data/features/generators/install.feature +21 -0
- data/features/loading/loading.feature +5 -2
- data/features/loading/user_interface.feature +9 -7
- data/features/regions/{editable → full}/advanced_editing.feature +0 -0
- data/features/regions/full/basic_editing.feature +198 -0
- data/features/regions/{editable → full}/inserting_links.feature +20 -19
- data/features/regions/{editable → full}/inserting_media.feature +36 -18
- data/features/regions/{editable → full}/inserting_snippets.feature +28 -18
- data/features/regions/{editable → full}/inserting_special_characters.feature +2 -2
- data/features/regions/full/inserting_tables.feature +109 -0
- data/features/regions/{editable → full}/pasting.feature +0 -0
- data/features/regions/{editable → full}/uploading_images.feature +0 -0
- data/features/regions/{markupable → image}/uploading_images.feature +0 -0
- data/features/regions/{markupable → markdown}/advanced_editing.feature +0 -0
- data/features/regions/{markupable → markdown}/basic_editing.feature +0 -0
- data/features/regions/{markupable → markdown}/inserting_links.feature +0 -0
- data/features/regions/{markupable → markdown}/inserting_media.feature +0 -0
- data/features/regions/{markupable → markdown}/inserting_snippets.feature +0 -0
- data/features/regions/{markupable → markdown}/inserting_special_characters.feature +0 -0
- data/features/regions/{markupable → markdown}/inserting_tables.feature +0 -0
- data/features/regions/{snippetable/advanced_editing.feature → markdown/uploading_images.feature} +0 -0
- data/features/regions/simple/basic_editing.feature +5 -0
- data/features/regions/{snippetable/basic_editing.feature → snippets/advanced_editing.feature} +0 -0
- data/features/regions/{snippetable/inserting_snippets.feature → snippets/basic_editing.feature} +0 -0
- data/{vendor/assets/javascripts/mercury/locales/da.locale.js.coffee → features/regions/snippets/inserting_snippets.feature} +0 -0
- data/features/saving/saving.feature +8 -8
- data/features/step_definitions/custom_web_steps.rb +22 -0
- data/features/step_definitions/generator_steps.rb +23 -0
- data/features/step_definitions/mercury_steps.rb +1 -438
- data/features/support/aruba.rb +28 -0
- data/features/support/env.rb +11 -1
- data/features/support/selectors.rb +23 -0
- data/lib/generators/mercury/install/authentication/authentication_generator.rb +17 -0
- data/lib/generators/mercury/install/images/images_generator.rb +47 -0
- data/{app/models/mercury/image.rb → lib/generators/mercury/install/images/templates/ar_paperclip_image.rb} +7 -0
- data/{db/migrate/20110526035601_create_mercury_images.rb → lib/generators/mercury/install/images/templates/ar_paperclip_image_migration.rb} +0 -0
- data/{app/controllers/mercury → lib/generators/mercury/install/images/templates}/images_controller.rb +0 -0
- data/lib/generators/mercury/install/{templates → images/templates}/mongoid_paperclip_image.rb +0 -0
- data/lib/generators/mercury/install/install_generator.rb +12 -23
- data/lib/mercury-rails.rb +1 -2
- data/lib/mercury/authentication.rb +1 -0
- data/lib/mercury/cucumber/step_definitions.rb +13 -0
- data/lib/mercury/cucumber/step_definitions/mercury_steps.rb +408 -0
- data/{features → lib/mercury/cucumber}/support/mercury_contents.rb +3 -3
- data/{features → lib/mercury/cucumber}/support/mercury_selectors.rb +0 -20
- data/lib/mercury/engine.rb +19 -0
- data/lib/mercury/rails.rb +5 -0
- data/lib/mercury/version.rb +3 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/spec/dummy/app/assets/javascripts/prototype.js +6082 -0
- data/spec/dummy/app/assets/stylesheets/application.css.scss +110 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/app/views/layouts/mercury.html.erb +28 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +58 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +10 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/teabag.rb +9 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +5 -0
- data/spec/dummy/db/.gitkeep +0 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/blank.html +1 -0
- 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 +279 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/javascripts/{templates → fixtures}/mercury/dialog.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/dialogs/backcolor.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/dialogs/forecolor.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/dialogs/formatblock.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/dialogs/snippetpanel.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/dialogs/style.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/lightview.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/modal.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/modals/htmleditor.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/modals/insertcharacter.html +0 -0
- data/spec/javascripts/fixtures/mercury/modals/insertlink.html +67 -0
- data/spec/javascripts/fixtures/mercury/modals/insertmedia.html +87 -0
- data/spec/javascripts/{templates → fixtures}/mercury/modals/insertsnippet.html +0 -0
- data/spec/javascripts/fixtures/mercury/modals/inserttable.html +73 -0
- data/spec/javascripts/{templates → fixtures}/mercury/page_editor.html +4 -4
- data/spec/javascripts/{templates → fixtures}/mercury/palette.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/panel.html +0 -0
- data/spec/javascripts/fixtures/mercury/region.html +6 -0
- data/spec/javascripts/fixtures/mercury/regions/full.html +1 -0
- data/spec/javascripts/fixtures/mercury/regions/image.html +1 -0
- data/spec/javascripts/fixtures/mercury/regions/markdown.html +1 -0
- data/spec/javascripts/fixtures/mercury/regions/simple.html +1 -0
- data/spec/javascripts/fixtures/mercury/regions/snippets.html +4 -0
- data/spec/javascripts/{templates → fixtures}/mercury/select.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/snippet.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/snippet_toolbar.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/statusbar.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/table_editor.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/toolbar.button.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/toolbar.button_group.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/toolbar.expander.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/toolbar.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/tooltip.html +0 -0
- data/spec/javascripts/{templates → fixtures}/mercury/uploader.html +0 -0
- data/spec/javascripts/mercury/{dialog_spec.js.coffee → dialog_spec.coffee} +11 -12
- data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +2 -3
- data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +3 -4
- data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +2 -3
- data/spec/javascripts/mercury/dialogs/snippetpanel_spec.js.coffee +2 -3
- data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +2 -3
- data/spec/javascripts/mercury/lightview_spec.js.coffee +180 -142
- data/spec/javascripts/mercury/mercury_spec.js.coffee +19 -13
- data/spec/javascripts/mercury/modal_spec.js.coffee +192 -148
- data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +4 -5
- data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +2 -3
- data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +107 -34
- data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +106 -26
- data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +2 -3
- data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +50 -40
- data/spec/javascripts/mercury/page_editor_spec.js.coffee +124 -80
- data/spec/javascripts/mercury/palette_spec.js.coffee +4 -5
- data/spec/javascripts/mercury/panel_spec.js.coffee +9 -12
- data/spec/javascripts/mercury/region_spec.js.coffee +22 -17
- data/spec/javascripts/mercury/regions/{editable_spec.js.coffee → full_spec.js.coffee} +26 -28
- data/spec/javascripts/mercury/regions/image_spec.js.coffee +33 -0
- data/spec/javascripts/mercury/regions/{markupable_spec.js.coffee → markdown_spec.js.coffee} +32 -34
- data/spec/javascripts/mercury/regions/simple_spec.js.coffee +32 -0
- data/spec/javascripts/mercury/regions/{snippetable_spec.js.coffee → snippets_spec.js.coffee} +54 -55
- data/spec/javascripts/mercury/select_spec.js.coffee +4 -5
- data/spec/javascripts/mercury/snippet_spec.js.coffee +92 -16
- data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +31 -16
- data/spec/javascripts/mercury/statusbar_spec.js.coffee +9 -10
- data/spec/javascripts/mercury/table_editor_spec.js.coffee +1 -2
- data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +7 -9
- data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +55 -26
- data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +13 -13
- data/spec/javascripts/mercury/toolbar_spec.js.coffee +43 -14
- data/spec/javascripts/mercury/tooltip_spec.js.coffee +1 -2
- data/spec/javascripts/mercury/uploader_spec.js.coffee +47 -33
- data/spec/javascripts/spec_helper.coffee +4 -0
- data/spec/javascripts/{spec_helper.js → support/event_simulation.js} +0 -2
- data/spec/teabag_env.rb +32 -0
- metadata +366 -196
- data/features/regions/editable/basic_editing.feature +0 -195
- data/features/regions/editable/inserting_tables.feature +0 -109
- data/spec/javascripts/templates/mercury/modals/insertlink.html +0 -30
- data/spec/javascripts/templates/mercury/modals/insertmedia.html +0 -35
- data/spec/javascripts/templates/mercury/modals/inserttable.html +0 -27
- data/spec/javascripts/templates/mercury/region.html +0 -2
- data/spec/javascripts/templates/mercury/regions/editable.html +0 -3
- data/spec/javascripts/templates/mercury/regions/snippetable.html +0 -4
- data/vendor/assets/javascripts/mercury/modals/inserttable.js.coffee +0 -54
- data/vendor/assets/javascripts/mercury_loader.js +0 -193
- data/vendor/assets/javascripts/mercury_overrides.js +0 -6
- data/vendor/assets/stylesheets/mercury/mercury.css +0 -151
- data/vendor/assets/stylesheets/mercury_overrides.css +0 -17
@@ -0,0 +1,61 @@
|
|
1
|
+
/*
|
2
|
+
* Bootsrap Overrides (overrides what's in bootstrap-ish)
|
3
|
+
*---------------------------------------------------------------------------*/
|
4
|
+
.btn-group > .btn {
|
5
|
+
margin-right: 0;
|
6
|
+
}
|
7
|
+
form {
|
8
|
+
margin-bottom: 0;
|
9
|
+
}
|
10
|
+
fieldset {
|
11
|
+
margin-bottom: 15px;
|
12
|
+
background: #F6F6F6;
|
13
|
+
border: 1px solid #CCC;
|
14
|
+
border-radius: 7px;
|
15
|
+
padding: 10px;
|
16
|
+
}
|
17
|
+
legend {
|
18
|
+
display: block;
|
19
|
+
position: relative;
|
20
|
+
margin-left: 10px;
|
21
|
+
margin-bottom: 0;
|
22
|
+
font-weight: bold;
|
23
|
+
width: auto;
|
24
|
+
padding: 0;
|
25
|
+
font-size: 12px;
|
26
|
+
color: #333333;
|
27
|
+
border: 0;
|
28
|
+
line-height: 1px;
|
29
|
+
}
|
30
|
+
select {
|
31
|
+
width: auto;
|
32
|
+
}
|
33
|
+
.form-actions {
|
34
|
+
margin-top: 0;
|
35
|
+
margin-bottom: 0;
|
36
|
+
background-color: transparent;
|
37
|
+
}
|
38
|
+
.control-group {
|
39
|
+
margin-bottom: 0;
|
40
|
+
}
|
41
|
+
legend + .control-group {
|
42
|
+
margin-top: 0;
|
43
|
+
-webkit-margin-top-collapse: separate;
|
44
|
+
}
|
45
|
+
.form-horizontal .control-group {
|
46
|
+
margin-bottom: 0;
|
47
|
+
}
|
48
|
+
.form-horizontal .controls {
|
49
|
+
margin-left: 150px;
|
50
|
+
}
|
51
|
+
.form-horizontal hr {
|
52
|
+
margin-left: 150px;
|
53
|
+
border: 0;
|
54
|
+
border-top: 1px solid #ccc;
|
55
|
+
}
|
56
|
+
label input[type=radio] {
|
57
|
+
margin-right: 5px;
|
58
|
+
}
|
59
|
+
.form-actions {
|
60
|
+
padding-bottom: 0;
|
61
|
+
}
|
@@ -15,11 +15,12 @@
|
|
15
15
|
border-radius: 2px;
|
16
16
|
-moz-border-radius: 2px;
|
17
17
|
margin-top: -1px;
|
18
|
-
background-color: #
|
18
|
+
background-color: #FFFFFF;
|
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;
|
23
24
|
}
|
24
25
|
.mercury-dialog.loading,
|
25
26
|
.mercury-select.loading,
|
@@ -40,15 +41,15 @@
|
|
40
41
|
* Panels
|
41
42
|
*----------------------------------------------------------------------------*/
|
42
43
|
.mercury-panel {
|
43
|
-
position:
|
44
|
+
position: fixed;
|
44
45
|
z-index: 10011;
|
45
|
-
background-color: #
|
46
|
+
background-color: #f5f5f5;
|
46
47
|
opacity: .9;
|
47
48
|
box-shadow: 1px 1px 4px rgba(0,0,0, .5);
|
48
49
|
-moz-box-shadow: 1px 1px 4px rgba(0,0,0, .5);
|
49
|
-
border-radius:
|
50
|
-
-moz-border-radius:
|
51
|
-
color: #
|
50
|
+
border-radius: 6px;
|
51
|
+
-moz-border-radius: 6px;
|
52
|
+
color: #333;
|
52
53
|
font-family: Helvetica, Tahoma, Arial, sans-serif;
|
53
54
|
font-size: 9.5pt;
|
54
55
|
max-width: 500px;
|
@@ -64,19 +65,29 @@
|
|
64
65
|
margin: 0;
|
65
66
|
background: #333;
|
66
67
|
white-space: nowrap;
|
68
|
+
line-height: normal;
|
67
69
|
}
|
68
70
|
.mercury-panel h1 {
|
69
71
|
-webkit-user-select: none;
|
70
72
|
-moz-user-select: none;
|
71
73
|
user-select: none;
|
72
|
-
|
74
|
+
-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
|
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);
|
73
77
|
-moz-border-radius-topleft: 4px;
|
74
78
|
-moz-border-radius-topright: 4px;
|
75
79
|
border-top-left-radius: 4px;
|
76
80
|
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;
|
77
85
|
height: 15px;
|
78
86
|
cursor: move;
|
79
|
-
|
87
|
+
}
|
88
|
+
.mercury-panel h1 span {
|
89
|
+
display: block;
|
90
|
+
width: 100%;
|
80
91
|
}
|
81
92
|
.mercury-panel h1 a.mercury-panel-close {
|
82
93
|
position: absolute;
|
@@ -176,6 +187,7 @@
|
|
176
187
|
-moz-box-sizing: border-box;
|
177
188
|
-webkit-box-sizing: border-box;
|
178
189
|
width: 100%;
|
190
|
+
height: auto;
|
179
191
|
padding-left: 20px;
|
180
192
|
background-color: #FFF;
|
181
193
|
background-repeat: no-repeat;
|
@@ -192,6 +204,7 @@
|
|
192
204
|
}
|
193
205
|
.mercury-snippet-panel ul li img {
|
194
206
|
float: left;
|
207
|
+
cursor: move;
|
195
208
|
}
|
196
209
|
.mercury-snippet-panel ul li h4,
|
197
210
|
.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(255, 255, 255, .8);
|
14
14
|
}
|
15
15
|
.mercury-lightview {
|
16
16
|
position: fixed;
|
17
17
|
z-index: 10040;
|
18
18
|
top: 20px;
|
19
|
-
background:
|
19
|
+
background: rgba(239, 239, 239, .7);
|
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: #000;
|
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 #CCC;
|
44
|
+
color: #000;
|
45
45
|
-webkit-user-select: none;
|
46
46
|
-moz-user-select: none;
|
47
47
|
user-select: none;
|
@@ -70,38 +70,6 @@
|
|
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
|
-
}
|
105
73
|
/*
|
106
74
|
* Specific Lightviews
|
107
75
|
*----------------------------------------------------------------------------*/
|
@@ -129,23 +97,5 @@
|
|
129
97
|
color: #09F;
|
130
98
|
}
|
131
99
|
#mercury_about a:hover {
|
132
|
-
color: #
|
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;
|
100
|
+
color: #333;
|
151
101
|
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*
|
2
|
+
*= require_self
|
3
|
+
*= require ./bootstrap-overrides
|
4
|
+
*= require ./dialog
|
5
|
+
*= require ./lightview
|
6
|
+
*= require ./modal
|
7
|
+
*= require ./statusbar
|
8
|
+
*= require ./toolbar
|
9
|
+
*= require ./tooltip
|
10
|
+
*= require ./uploader
|
11
|
+
*= require ./all_images
|
12
|
+
*/
|
13
|
+
|
14
|
+
/*
|
15
|
+
* General Layout
|
16
|
+
*---------------------------------------------------------------------------*/
|
17
|
+
|
18
|
+
/* Disable text sizing in webkit (ipad/iphone etc -- should apply to mercury only) */
|
19
|
+
html {
|
20
|
+
-webkit-text-size-adjust: none;
|
21
|
+
}
|
22
|
+
|
23
|
+
html, body {
|
24
|
+
-webkit-transition: -webkit-transform 3s;
|
25
|
+
margin: 0;
|
26
|
+
padding: 0;
|
27
|
+
}
|
28
|
+
|
29
|
+
.mercury-iframe {
|
30
|
+
position: absolute;
|
31
|
+
top: 0;
|
32
|
+
width: 100%;
|
33
|
+
visibility: hidden;
|
34
|
+
}
|
35
|
+
.mercury-focusable {
|
36
|
+
position: absolute;
|
37
|
+
opacity: 0;
|
38
|
+
}
|
39
|
+
|
40
|
+
.filter {
|
41
|
+
margin: 0;
|
42
|
+
padding: 0;
|
43
|
+
}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
height: 100%;
|
11
11
|
opacity: 0;
|
12
12
|
display: none;
|
13
|
-
background: rgba(
|
13
|
+
background: rgba(255, 255, 255, .8);
|
14
14
|
}
|
15
15
|
.mercury-modal {
|
16
16
|
position: fixed;
|
@@ -98,40 +98,30 @@
|
|
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 0;
|
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-right: 0;
|
108
108
|
border-top: 1px solid #CCC;
|
109
109
|
text-align: right;
|
110
110
|
}
|
111
111
|
/*
|
112
|
-
*
|
112
|
+
* Specific Modals (eg. htmlEditor)
|
113
113
|
*----------------------------------------------------------------------------*/
|
114
|
-
|
114
|
+
/* html editor */
|
115
|
+
#mercury_html_editor textarea {
|
115
116
|
resize: none;
|
116
117
|
padding: 0;
|
117
118
|
box-sizing: border-box;
|
118
119
|
-moz-box-sizing: border-box;
|
119
120
|
-webkit-box-sizing: border-box;
|
120
|
-
}
|
121
|
-
/*
|
122
|
-
* Specific Modals (eg. htmlEditor)
|
123
|
-
*----------------------------------------------------------------------------*/
|
124
|
-
/* html editor */
|
125
|
-
#mercury_html_editor textarea {
|
126
121
|
margin: 0 0 -2px 0;
|
127
|
-
padding: 0;
|
128
122
|
border: 2px solid #CCC;
|
129
123
|
width: 100%;
|
130
124
|
}
|
131
|
-
#mercury_html_editor .mercury-modal-controls {
|
132
|
-
border: 0;
|
133
|
-
margin-top: -2px;
|
134
|
-
}
|
135
125
|
/* character */
|
136
126
|
#mercury_character .character {
|
137
127
|
float: left;
|
@@ -156,28 +146,21 @@
|
|
156
146
|
}
|
157
147
|
/* table */
|
158
148
|
#mercury_table #table_display {
|
159
|
-
width: 285px;
|
160
|
-
height: 285px;
|
161
149
|
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;
|
162
158
|
padding: 10px;
|
163
|
-
background: #F6F6F6;
|
164
|
-
border: 1px solid #CCC;
|
165
|
-
border-radius: 7px;
|
166
|
-
-moz-border-radius: 7px;
|
167
|
-
overflow: auto;
|
168
159
|
}
|
169
160
|
#mercury_table #table_display table {
|
170
161
|
width: 100%;
|
171
162
|
height: 100%;
|
172
163
|
}
|
173
|
-
#mercury_table #table_display
|
164
|
+
#mercury_table #table_display .selected {
|
174
165
|
background: #09F;
|
175
166
|
}
|
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,6 +46,9 @@
|
|
46
46
|
width: 1px;
|
47
47
|
background: #727272;
|
48
48
|
}
|
49
|
+
.mercury-button {
|
50
|
+
cursor: pointer;
|
51
|
+
}
|
49
52
|
.mercury-button em {
|
50
53
|
display: block;
|
51
54
|
font-style: normal;
|
@@ -253,7 +256,7 @@
|
|
253
256
|
.mercury-editable-toolbar .mercury-htmlEditor-button { background-position: -612px 0 }
|
254
257
|
.mercury-editable-toolbar .mercury-htmlEditor-button.active { background-position: -612px -18px }
|
255
258
|
/*
|
256
|
-
* Toolbar:
|
259
|
+
* Toolbar: Snippets Region Toolbar
|
257
260
|
*----------------------------------------------------------------------------*/
|
258
261
|
.mercury-snippet-toolbar {
|
259
262
|
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(255, 255, 255, .8);
|
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(239, 239, 239, .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: #000;
|
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;
|
98
99
|
box-shadow: inset 0 1px 0 0 rgba(255,255,255, 0.4), inset 0 -1px 1px rgba(0,0,0, 0.2);
|
99
100
|
-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;
|