kiteditor 1.0.12 → 1.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (289) hide show
  1. data/{lib/generators/mercury/install/images/templates → app/controllers/mercury}/images_controller.rb +0 -0
  2. data/{lib/generators/mercury/install/images/templates/ar_paperclip_image.rb → app/models/mercury/image.rb} +0 -7
  3. data/app/views/layouts/mercury.html.erb +20 -10
  4. data/app/views/mercury/modals/character.html +1 -1
  5. data/app/views/mercury/modals/htmleditor.html +7 -3
  6. data/app/views/mercury/modals/link.html +51 -37
  7. data/app/views/mercury/modals/media.html +0 -102
  8. data/app/views/mercury/modals/table.html +73 -79
  9. data/app/views/mercury/panels/snippets.html +1 -6
  10. data/app/views/mercury/snippets/example/options.html.erb +27 -23
  11. data/{lib/generators/mercury/install/images/templates/ar_paperclip_image_migration.rb → db/migrate/20110526035601_create_mercury_images.rb} +0 -0
  12. data/features/loading/loading.feature +2 -5
  13. data/features/loading/user_interface.feature +7 -9
  14. data/features/regions/{full → editable}/advanced_editing.feature +0 -0
  15. data/features/regions/editable/basic_editing.feature +195 -0
  16. data/features/regions/{full → editable}/inserting_links.feature +19 -20
  17. data/features/regions/{full → editable}/inserting_media.feature +18 -36
  18. data/features/regions/{full → editable}/inserting_snippets.feature +18 -28
  19. data/features/regions/{full → editable}/inserting_special_characters.feature +2 -2
  20. data/features/regions/editable/inserting_tables.feature +109 -0
  21. data/features/regions/{full → editable}/pasting.feature +0 -0
  22. data/features/regions/{full → editable}/uploading_images.feature +0 -0
  23. data/features/regions/{markdown → markupable}/advanced_editing.feature +0 -0
  24. data/features/regions/{markdown → markupable}/basic_editing.feature +0 -0
  25. data/features/regions/{markdown → markupable}/inserting_links.feature +0 -0
  26. data/features/regions/{markdown → markupable}/inserting_media.feature +0 -0
  27. data/features/regions/{markdown → markupable}/inserting_snippets.feature +0 -0
  28. data/features/regions/{markdown → markupable}/inserting_special_characters.feature +0 -0
  29. data/features/regions/{markdown → markupable}/inserting_tables.feature +0 -0
  30. data/features/regions/{image → markupable}/uploading_images.feature +0 -0
  31. data/features/regions/{snippets → snippetable}/advanced_editing.feature +0 -0
  32. data/features/regions/{snippets → snippetable}/basic_editing.feature +0 -0
  33. data/features/regions/{snippets → snippetable}/inserting_snippets.feature +0 -0
  34. data/features/saving/saving.feature +8 -8
  35. data/features/step_definitions/mercury_steps.rb +438 -1
  36. data/features/support/env.rb +1 -11
  37. data/{lib/mercury/cucumber → features}/support/mercury_contents.rb +3 -3
  38. data/{lib/mercury/cucumber → features}/support/mercury_selectors.rb +20 -0
  39. data/features/support/selectors.rb +0 -23
  40. data/lib/generators/mercury/install/install_generator.rb +23 -12
  41. data/lib/generators/mercury/install/{images/templates → templates}/mongoid_paperclip_image.rb +0 -0
  42. data/lib/mercury/authentication.rb +0 -1
  43. data/lib/mercury-rails.rb +2 -1
  44. data/spec/javascripts/mercury/{dialog_spec.coffee → dialog_spec.js.coffee} +12 -11
  45. data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +3 -2
  46. data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +4 -3
  47. data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +3 -2
  48. data/spec/javascripts/mercury/dialogs/snippetpanel_spec.js.coffee +3 -2
  49. data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +3 -2
  50. data/spec/javascripts/mercury/lightview_spec.js.coffee +142 -180
  51. data/spec/javascripts/mercury/mercury_spec.js.coffee +13 -19
  52. data/spec/javascripts/mercury/modal_spec.js.coffee +148 -192
  53. data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +5 -4
  54. data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +3 -2
  55. data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +34 -107
  56. data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +26 -106
  57. data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +3 -2
  58. data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +40 -50
  59. data/spec/javascripts/mercury/page_editor_spec.js.coffee +80 -124
  60. data/spec/javascripts/mercury/palette_spec.js.coffee +5 -4
  61. data/spec/javascripts/mercury/panel_spec.js.coffee +12 -9
  62. data/spec/javascripts/mercury/region_spec.js.coffee +17 -22
  63. data/spec/javascripts/mercury/regions/{full_spec.js.coffee → editable_spec.js.coffee} +28 -26
  64. data/spec/javascripts/mercury/regions/{markdown_spec.js.coffee → markupable_spec.js.coffee} +34 -32
  65. data/spec/javascripts/mercury/regions/{snippets_spec.js.coffee → snippetable_spec.js.coffee} +55 -54
  66. data/spec/javascripts/mercury/select_spec.js.coffee +5 -4
  67. data/spec/javascripts/mercury/snippet_spec.js.coffee +16 -92
  68. data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +16 -31
  69. data/spec/javascripts/mercury/statusbar_spec.js.coffee +10 -9
  70. data/spec/javascripts/mercury/table_editor_spec.js.coffee +2 -1
  71. data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +9 -7
  72. data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +26 -55
  73. data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +13 -13
  74. data/spec/javascripts/mercury/toolbar_spec.js.coffee +14 -43
  75. data/spec/javascripts/mercury/tooltip_spec.js.coffee +2 -1
  76. data/spec/javascripts/mercury/uploader_spec.js.coffee +33 -47
  77. data/spec/javascripts/{support/event_simulation.js → spec_helper.js} +2 -0
  78. data/spec/javascripts/{fixtures → templates}/mercury/dialog.html +0 -0
  79. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/backcolor.html +0 -0
  80. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/forecolor.html +0 -0
  81. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/formatblock.html +0 -0
  82. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/snippetpanel.html +0 -0
  83. data/spec/javascripts/{fixtures → templates}/mercury/dialogs/style.html +0 -0
  84. data/spec/javascripts/{fixtures → templates}/mercury/lightview.html +0 -0
  85. data/spec/javascripts/{fixtures → templates}/mercury/modal.html +0 -0
  86. data/spec/javascripts/{fixtures → templates}/mercury/modals/htmleditor.html +0 -0
  87. data/spec/javascripts/{fixtures → templates}/mercury/modals/insertcharacter.html +0 -0
  88. data/spec/javascripts/templates/mercury/modals/insertlink.html +30 -0
  89. data/spec/javascripts/templates/mercury/modals/insertmedia.html +35 -0
  90. data/spec/javascripts/{fixtures → templates}/mercury/modals/insertsnippet.html +0 -0
  91. data/spec/javascripts/templates/mercury/modals/inserttable.html +27 -0
  92. data/spec/javascripts/{fixtures → templates}/mercury/page_editor.html +4 -4
  93. data/spec/javascripts/{fixtures → templates}/mercury/palette.html +0 -0
  94. data/spec/javascripts/{fixtures → templates}/mercury/panel.html +0 -0
  95. data/spec/javascripts/templates/mercury/region.html +2 -0
  96. data/spec/javascripts/templates/mercury/regions/editable.html +3 -0
  97. data/spec/javascripts/templates/mercury/regions/snippetable.html +4 -0
  98. data/spec/javascripts/{fixtures → templates}/mercury/select.html +0 -0
  99. data/spec/javascripts/{fixtures → templates}/mercury/snippet.html +0 -0
  100. data/spec/javascripts/{fixtures → templates}/mercury/snippet_toolbar.html +0 -0
  101. data/spec/javascripts/{fixtures → templates}/mercury/statusbar.html +0 -0
  102. data/spec/javascripts/{fixtures → templates}/mercury/table_editor.html +0 -0
  103. data/spec/javascripts/{fixtures → templates}/mercury/toolbar.button.html +0 -0
  104. data/spec/javascripts/{fixtures → templates}/mercury/toolbar.button_group.html +0 -0
  105. data/spec/javascripts/{fixtures → templates}/mercury/toolbar.expander.html +0 -0
  106. data/spec/javascripts/{fixtures → templates}/mercury/toolbar.html +0 -0
  107. data/spec/javascripts/{fixtures → templates}/mercury/tooltip.html +0 -0
  108. data/spec/javascripts/{fixtures → templates}/mercury/uploader.html +0 -0
  109. data/{app → vendor}/assets/images/mercury/button.png +0 -0
  110. data/{app → vendor}/assets/images/mercury/close.png +0 -0
  111. data/{app → vendor}/assets/images/mercury/loading-dark.gif +0 -0
  112. data/{app → vendor}/assets/images/mercury/loading-light.gif +0 -0
  113. data/{app → vendor}/assets/images/mercury/missing-image.png +0 -0
  114. data/{app → vendor}/assets/images/mercury/search-icon.png +0 -0
  115. data/{app → vendor}/assets/images/mercury/temp-logo.png +0 -0
  116. data/{app/assets/javascripts → vendor/assets/javascripts/mercury/dependencies}/jquery-1.7.js +0 -0
  117. data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery-ui-1.8.13.custom.js +0 -0
  118. data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery.additions.js +13 -103
  119. data/{app → vendor}/assets/javascripts/mercury/dependencies/jquery.htmlClean.js +0 -0
  120. data/{app → vendor}/assets/javascripts/mercury/dependencies/liquidmetal.js +0 -0
  121. data/{app → vendor}/assets/javascripts/mercury/dependencies/showdown.js +0 -0
  122. data/{app → vendor}/assets/javascripts/mercury/dialog.js.coffee +0 -0
  123. data/{app → vendor}/assets/javascripts/mercury/dialogs/backcolor.js.coffee +0 -0
  124. data/{app → vendor}/assets/javascripts/mercury/dialogs/forecolor.js.coffee +1 -1
  125. data/{app → vendor}/assets/javascripts/mercury/dialogs/formatblock.js.coffee +0 -0
  126. data/{app → vendor}/assets/javascripts/mercury/dialogs/snippetpanel.js.coffee +1 -1
  127. data/{app → vendor}/assets/javascripts/mercury/dialogs/style.js.coffee +0 -0
  128. data/{app → vendor}/assets/javascripts/mercury/finalize.js.coffee +0 -0
  129. data/{app → vendor}/assets/javascripts/mercury/history_buffer.js.coffee +0 -0
  130. data/{app → vendor}/assets/javascripts/mercury/lightview.js.coffee +17 -38
  131. data/{features/regions/markdown/uploading_images.feature → vendor/assets/javascripts/mercury/locales/da.locale.js.coffee} +0 -0
  132. data/{app → vendor}/assets/javascripts/mercury/locales/de.locale.js.coffee +10 -4
  133. data/{app → vendor}/assets/javascripts/mercury/locales/es.locale.js.coffee +9 -3
  134. data/{app → vendor}/assets/javascripts/mercury/locales/example.local.js.coffee +5 -3
  135. data/{app → vendor}/assets/javascripts/mercury/locales/fr.locale.js.coffee +9 -3
  136. data/{app → vendor}/assets/javascripts/mercury/locales/it.locale.js.coffee +9 -3
  137. data/{app → vendor}/assets/javascripts/mercury/locales/ko.local.js.coffee +10 -4
  138. data/{app → vendor}/assets/javascripts/mercury/locales/nl.locale.js.coffee +9 -3
  139. data/{app → vendor}/assets/javascripts/mercury/locales/pt.locale.js.coffee +9 -3
  140. data/{app → vendor}/assets/javascripts/mercury/locales/sv.local.js.coffee +9 -3
  141. data/{app → vendor}/assets/javascripts/mercury/locales/swedish_chef.locale.js.coffee +9 -3
  142. data/{app → vendor}/assets/javascripts/mercury/mercury.js.coffee +1 -10
  143. data/{app → vendor}/assets/javascripts/mercury/modal.js.coffee +40 -62
  144. data/{app → vendor}/assets/javascripts/mercury/modals/htmleditor.js.coffee +2 -3
  145. data/{app → vendor}/assets/javascripts/mercury/modals/insertcharacter.js.coffee +0 -1
  146. data/{app → vendor}/assets/javascripts/mercury/modals/insertsnippet.js.coffee +0 -2
  147. data/vendor/assets/javascripts/mercury/modals/inserttable.js.coffee +54 -0
  148. data/{app → vendor}/assets/javascripts/mercury/native_extensions.js.coffee +6 -0
  149. data/{app → vendor}/assets/javascripts/mercury/page_editor.js.coffee +50 -84
  150. data/{app → vendor}/assets/javascripts/mercury/palette.js.coffee +1 -1
  151. data/{app → vendor}/assets/javascripts/mercury/panel.js.coffee +2 -3
  152. data/{app → vendor}/assets/javascripts/mercury/plugins/save_as_xml/mercury/page_editor.js.coffee +2 -2
  153. data/{app → vendor}/assets/javascripts/mercury/plugins/save_as_xml/plugin.js +0 -0
  154. data/{app → vendor}/assets/javascripts/mercury/region.js.coffee +17 -18
  155. data/{app/assets/javascripts/mercury/regions/full.js.coffee → vendor/assets/javascripts/mercury/regions/editable.js.coffee} +31 -41
  156. data/{app/assets/javascripts/mercury/regions/markdown.js.coffee → vendor/assets/javascripts/mercury/regions/markupable.js.coffee} +24 -29
  157. data/{app → vendor}/assets/javascripts/mercury/regions/simple.js.coffee +54 -11
  158. data/{app/assets/javascripts/mercury/regions/snippets.js.coffee → vendor/assets/javascripts/mercury/regions/snippetable.js.coffee} +9 -10
  159. data/{app → vendor}/assets/javascripts/mercury/select.js.coffee +1 -1
  160. data/{app → vendor}/assets/javascripts/mercury/snippet_toolbar.js.coffee +6 -19
  161. data/{app → vendor}/assets/javascripts/mercury/statusbar.js.coffee +0 -0
  162. data/{app → vendor}/assets/javascripts/mercury/support/history.js +0 -0
  163. data/{app → vendor}/assets/javascripts/mercury/table_editor.js.coffee +0 -16
  164. data/{app → vendor}/assets/javascripts/mercury/toolbar.button.js.coffee +30 -45
  165. data/{app → vendor}/assets/javascripts/mercury/toolbar.button_group.js.coffee +2 -2
  166. data/{app → vendor}/assets/javascripts/mercury/toolbar.expander.js.coffee +4 -4
  167. data/{app → vendor}/assets/javascripts/mercury/toolbar.js.coffee +6 -10
  168. data/{app → vendor}/assets/javascripts/mercury/tooltip.js.coffee +0 -0
  169. data/{app → vendor}/assets/javascripts/mercury/uploader.js.coffee +19 -37
  170. data/{app → vendor}/assets/javascripts/mercury.js +87 -60
  171. data/vendor/assets/javascripts/mercury_loader.js +193 -0
  172. data/vendor/assets/javascripts/mercury_overrides.js +6 -0
  173. data/{app → vendor}/assets/stylesheets/mercury/all_images.css.erb +2 -6
  174. data/{app → vendor}/assets/stylesheets/mercury/dialog.css +8 -21
  175. data/{app → vendor}/assets/stylesheets/mercury/lightview.css +56 -6
  176. data/vendor/assets/stylesheets/mercury/mercury.css +151 -0
  177. data/{app → vendor}/assets/stylesheets/mercury/modal.css +32 -15
  178. data/{app → vendor}/assets/stylesheets/mercury/statusbar.css +0 -0
  179. data/{app → vendor}/assets/stylesheets/mercury/toolbar.css +1 -4
  180. data/{app → vendor}/assets/stylesheets/mercury/tooltip.css +0 -0
  181. data/{app → vendor}/assets/stylesheets/mercury/uploader.css +4 -4
  182. data/{app → vendor}/assets/stylesheets/mercury.css +5 -1
  183. data/vendor/assets/stylesheets/mercury_overrides.css +17 -0
  184. metadata +197 -367
  185. data/POST_INSTALL +0 -21
  186. data/app/assets/images/mercury/default-snippet.png +0 -0
  187. data/app/assets/images/mercury/toolbar/editable/buttons.png +0 -0
  188. data/app/assets/images/mercury/toolbar/primary/_expander.png +0 -0
  189. data/app/assets/images/mercury/toolbar/primary/_pressed.png +0 -0
  190. data/app/assets/images/mercury/toolbar/primary/action.png +0 -0
  191. data/app/assets/images/mercury/toolbar/primary/historypanel.png +0 -0
  192. data/app/assets/images/mercury/toolbar/primary/insertcharacter.png +0 -0
  193. data/app/assets/images/mercury/toolbar/primary/insertlink.png +0 -0
  194. data/app/assets/images/mercury/toolbar/primary/insertmedia.png +0 -0
  195. data/app/assets/images/mercury/toolbar/primary/inserttable.png +0 -0
  196. data/app/assets/images/mercury/toolbar/primary/inspectorpanel.png +0 -0
  197. data/app/assets/images/mercury/toolbar/primary/notespanel.png +0 -0
  198. data/app/assets/images/mercury/toolbar/primary/preview.png +0 -0
  199. data/app/assets/images/mercury/toolbar/primary/redo.png +0 -0
  200. data/app/assets/images/mercury/toolbar/primary/save.png +0 -0
  201. data/app/assets/images/mercury/toolbar/primary/snippetpanel.png +0 -0
  202. data/app/assets/images/mercury/toolbar/primary/tools.png +0 -0
  203. data/app/assets/images/mercury/toolbar/primary/undo.png +0 -0
  204. data/app/assets/images/mercury/toolbar/primary/user.png +0 -0
  205. data/app/assets/images/mercury/toolbar/snippets/buttons.png +0 -0
  206. data/app/assets/javascripts/mercury/locales/ar.locale.js.coffee +0 -201
  207. data/app/assets/javascripts/mercury/locales/da.locale.js.coffee +0 -208
  208. data/app/assets/javascripts/mercury/locales/hu.locale.js.coffee +0 -209
  209. data/app/assets/javascripts/mercury/locales/pl.locale.js.coffee +0 -213
  210. data/app/assets/javascripts/mercury/locales/ru.locale.js.coffee +0 -200
  211. data/app/assets/javascripts/mercury/locales/uk.locale.js.coffee +0 -200
  212. data/app/assets/javascripts/mercury/locales/zh.local.js.coffee +0 -203
  213. data/app/assets/javascripts/mercury/mercury-compiled.js +0 -10720
  214. data/app/assets/javascripts/mercury/modals/insertlink.js.coffee +0 -152
  215. data/app/assets/javascripts/mercury/modals/insertmedia.js.coffee +0 -132
  216. data/app/assets/javascripts/mercury/modals/inserttable.js.coffee +0 -68
  217. data/app/assets/javascripts/mercury/regions/image.js.coffee +0 -93
  218. data/app/assets/javascripts/mercury/snippet.js.coffee +0 -136
  219. data/app/assets/stylesheets/_mercury-bootstrap-overrides.scss +0 -61
  220. data/app/assets/stylesheets/_mercury-sass.scss +0 -33
  221. data/app/assets/stylesheets/mercury/bootstrap-ish.css +0 -1367
  222. data/app/assets/stylesheets/mercury/bootstrap-overrides.css +0 -61
  223. data/app/assets/stylesheets/mercury/mercury.css +0 -43
  224. data/app/helpers/mercury_helper.rb +0 -7
  225. data/app/views/layouts/mercury.html.haml +0 -19
  226. data/app/views/layouts/mercury.html.slim +0 -19
  227. data/app/views/mercury/snippets/no_options/preview.html.erb +0 -1
  228. data/config/routes.rb +0 -9
  229. data/features/generators/authentication.feature +0 -10
  230. data/features/generators/images.feature +0 -41
  231. data/features/generators/install.feature +0 -21
  232. data/features/regions/full/basic_editing.feature +0 -198
  233. data/features/regions/full/inserting_tables.feature +0 -109
  234. data/features/regions/simple/basic_editing.feature +0 -5
  235. data/features/step_definitions/custom_web_steps.rb +0 -22
  236. data/features/step_definitions/generator_steps.rb +0 -23
  237. data/features/support/aruba.rb +0 -28
  238. data/lib/generators/mercury/install/authentication/authentication_generator.rb +0 -17
  239. data/lib/generators/mercury/install/images/images_generator.rb +0 -47
  240. data/lib/mercury/cucumber/step_definitions/mercury_steps.rb +0 -408
  241. data/lib/mercury/cucumber/step_definitions.rb +0 -13
  242. data/lib/mercury/engine.rb +0 -19
  243. data/lib/mercury/rails.rb +0 -5
  244. data/lib/mercury/version.rb +0 -3
  245. data/spec/dummy/Rakefile +0 -7
  246. data/spec/dummy/app/assets/javascripts/application.js +0 -0
  247. data/spec/dummy/app/assets/javascripts/prototype.js +0 -6082
  248. data/spec/dummy/app/assets/stylesheets/application.css.scss +0 -110
  249. data/spec/dummy/app/controllers/application_controller.rb +0 -3
  250. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  251. data/spec/dummy/app/views/layouts/mercury.html.erb +0 -28
  252. data/spec/dummy/config/application.rb +0 -58
  253. data/spec/dummy/config/boot.rb +0 -10
  254. data/spec/dummy/config/database.yml +0 -10
  255. data/spec/dummy/config/environment.rb +0 -5
  256. data/spec/dummy/config/environments/development.rb +0 -37
  257. data/spec/dummy/config/environments/production.rb +0 -67
  258. data/spec/dummy/config/environments/test.rb +0 -37
  259. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  260. data/spec/dummy/config/initializers/inflections.rb +0 -15
  261. data/spec/dummy/config/initializers/mime_types.rb +0 -5
  262. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  263. data/spec/dummy/config/initializers/session_store.rb +0 -8
  264. data/spec/dummy/config/initializers/teabag.rb +0 -9
  265. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  266. data/spec/dummy/config/locales/en.yml +0 -5
  267. data/spec/dummy/config/routes.rb +0 -5
  268. data/spec/dummy/config.ru +0 -4
  269. data/spec/dummy/db/.gitkeep +0 -0
  270. data/spec/dummy/public/500.html +0 -25
  271. data/spec/dummy/public/blank.html +0 -1
  272. data/spec/dummy/public/favicon.ico +0 -0
  273. data/spec/dummy/public/images/bunny.gif +0 -0
  274. data/spec/dummy/public/images/bunny2.jpg +0 -0
  275. data/spec/dummy/public/index.html +0 -279
  276. data/spec/dummy/script/rails +0 -6
  277. data/spec/javascripts/fixtures/mercury/modals/insertlink.html +0 -67
  278. data/spec/javascripts/fixtures/mercury/modals/insertmedia.html +0 -87
  279. data/spec/javascripts/fixtures/mercury/modals/inserttable.html +0 -73
  280. data/spec/javascripts/fixtures/mercury/region.html +0 -6
  281. data/spec/javascripts/fixtures/mercury/regions/full.html +0 -1
  282. data/spec/javascripts/fixtures/mercury/regions/image.html +0 -1
  283. data/spec/javascripts/fixtures/mercury/regions/markdown.html +0 -1
  284. data/spec/javascripts/fixtures/mercury/regions/simple.html +0 -1
  285. data/spec/javascripts/fixtures/mercury/regions/snippets.html +0 -4
  286. data/spec/javascripts/mercury/regions/image_spec.js.coffee +0 -33
  287. data/spec/javascripts/mercury/regions/simple_spec.js.coffee +0 -32
  288. data/spec/javascripts/spec_helper.coffee +0 -4
  289. data/spec/teabag_env.rb +0 -32
@@ -1,1367 +0,0 @@
1
- /*!
2
- * This file is a derivative of the Twitter Bootstrap CSS. It only includes the form and button css.
3
- *
4
- * Bootstrap v2.0.4
5
- *
6
- * Copyright 2012 Twitter, Inc
7
- * Licensed under the Apache License v2.0
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Designed and built with all the love in the world @twitter by @mdo and @fat.
11
- */
12
- fieldset {
13
- padding: 0;
14
- margin: 0;
15
- border: 0;
16
- }
17
-
18
- legend {
19
- display: block;
20
- width: 100%;
21
- padding: 0;
22
- margin-bottom: 27px;
23
- font-size: 19.5px;
24
- line-height: 36px;
25
- color: #333333;
26
- border: 0;
27
- border-bottom: 1px solid #e5e5e5;
28
- }
29
-
30
- legend small {
31
- font-size: 13.5px;
32
- color: #999999;
33
- }
34
-
35
- label,
36
- input,
37
- button,
38
- select,
39
- textarea {
40
- font-size: 13px;
41
- font-weight: normal;
42
- line-height: 18px;
43
- }
44
-
45
- input,
46
- button,
47
- select,
48
- textarea {
49
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
50
- }
51
-
52
- label {
53
- display: block;
54
- margin-bottom: 5px;
55
- }
56
-
57
- select,
58
- textarea,
59
- input[type="text"],
60
- input[type="password"],
61
- input[type="datetime"],
62
- input[type="datetime-local"],
63
- input[type="date"],
64
- input[type="month"],
65
- input[type="time"],
66
- input[type="week"],
67
- input[type="number"],
68
- input[type="email"],
69
- input[type="url"],
70
- input[type="search"],
71
- input[type="tel"],
72
- input[type="color"],
73
- .uneditable-input {
74
- display: inline-block;
75
- /*height: 18px;*/
76
- padding: 4px;
77
- margin-bottom: 9px;
78
- font-size: 13px;
79
- /*line-height: 18px;*/
80
- color: #555555;
81
- }
82
-
83
- input,
84
- textarea {
85
- width: 210px;
86
- }
87
-
88
- textarea {
89
- height: auto;
90
- }
91
-
92
- textarea,
93
- input[type="text"],
94
- input[type="password"],
95
- input[type="datetime"],
96
- input[type="datetime-local"],
97
- input[type="date"],
98
- input[type="month"],
99
- input[type="time"],
100
- input[type="week"],
101
- input[type="number"],
102
- input[type="email"],
103
- input[type="url"],
104
- input[type="search"],
105
- input[type="tel"],
106
- input[type="color"],
107
- .uneditable-input {
108
- background-color: #ffffff;
109
- border: 1px solid #cccccc;
110
- -webkit-border-radius: 3px;
111
- -moz-border-radius: 3px;
112
- border-radius: 3px;
113
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
114
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
115
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
116
- -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
117
- -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
118
- -ms-transition: border linear 0.2s, box-shadow linear 0.2s;
119
- -o-transition: border linear 0.2s, box-shadow linear 0.2s;
120
- transition: border linear 0.2s, box-shadow linear 0.2s;
121
- }
122
-
123
- textarea:focus,
124
- input[type="text"]:focus,
125
- input[type="password"]:focus,
126
- input[type="datetime"]:focus,
127
- input[type="datetime-local"]:focus,
128
- input[type="date"]:focus,
129
- input[type="month"]:focus,
130
- input[type="time"]:focus,
131
- input[type="week"]:focus,
132
- input[type="number"]:focus,
133
- input[type="email"]:focus,
134
- input[type="url"]:focus,
135
- input[type="search"]:focus,
136
- input[type="tel"]:focus,
137
- input[type="color"]:focus,
138
- .uneditable-input:focus {
139
- border-color: rgba(82, 168, 236, 0.8);
140
- outline: 0;
141
- outline: thin dotted \9;
142
- /* IE6-9 */
143
-
144
- -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
145
- -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
146
- box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
147
- }
148
-
149
- input[type="radio"],
150
- input[type="checkbox"] {
151
- margin: 3px 0;
152
- *margin-top: 0;
153
- /* IE7 */
154
-
155
- line-height: normal;
156
- cursor: pointer;
157
- }
158
-
159
- input[type="submit"],
160
- input[type="reset"],
161
- input[type="button"],
162
- input[type="radio"],
163
- input[type="checkbox"] {
164
- width: auto;
165
- }
166
-
167
- .uneditable-textarea {
168
- width: auto;
169
- height: auto;
170
- }
171
-
172
- select,
173
- input[type="file"] {
174
- height: 28px;
175
- /* In IE7, the height of the select element cannot be changed by height, only font-size */
176
-
177
- *margin-top: 4px;
178
- /* For IE7, add top margin to align select with labels */
179
-
180
- line-height: 28px;
181
- }
182
-
183
- select {
184
- width: 220px;
185
- border: 1px solid #bbb;
186
- }
187
-
188
- select[multiple],
189
- select[size] {
190
- height: auto;
191
- }
192
-
193
- select:focus,
194
- input[type="file"]:focus,
195
- input[type="radio"]:focus,
196
- input[type="checkbox"]:focus {
197
- outline: thin dotted #333;
198
- outline: 5px auto -webkit-focus-ring-color;
199
- outline-offset: -2px;
200
- }
201
-
202
- .radio,
203
- .checkbox {
204
- min-height: 18px;
205
- padding-left: 18px;
206
- }
207
-
208
- .radio input[type="radio"],
209
- .checkbox input[type="checkbox"] {
210
- float: left;
211
- margin-left: -18px;
212
- }
213
-
214
- .controls > .radio:first-child,
215
- .controls > .checkbox:first-child {
216
- padding-top: 5px;
217
- }
218
-
219
- .radio.inline,
220
- .checkbox.inline {
221
- display: inline-block;
222
- padding-top: 5px;
223
- margin-bottom: 0;
224
- vertical-align: middle;
225
- }
226
-
227
- .radio.inline + .radio.inline,
228
- .checkbox.inline + .checkbox.inline {
229
- margin-left: 10px;
230
- }
231
-
232
- .input-mini {
233
- width: 60px;
234
- }
235
-
236
- .input-small {
237
- width: 90px;
238
- }
239
-
240
- .input-medium {
241
- width: 150px;
242
- }
243
-
244
- .input-large {
245
- width: 210px;
246
- }
247
-
248
- .input-xlarge {
249
- width: 270px;
250
- }
251
-
252
- .input-xxlarge {
253
- width: 530px;
254
- }
255
-
256
- input[class*="span"],
257
- select[class*="span"],
258
- textarea[class*="span"],
259
- .uneditable-input[class*="span"],
260
- .row-fluid input[class*="span"],
261
- .row-fluid select[class*="span"],
262
- .row-fluid textarea[class*="span"],
263
- .row-fluid .uneditable-input[class*="span"] {
264
- float: none;
265
- margin-left: 0;
266
- }
267
-
268
- .input-append input[class*="span"],
269
- .input-append .uneditable-input[class*="span"],
270
- .input-prepend input[class*="span"],
271
- .input-prepend .uneditable-input[class*="span"],
272
- .row-fluid .input-prepend [class*="span"],
273
- .row-fluid .input-append [class*="span"] {
274
- display: inline-block;
275
- }
276
-
277
- input,
278
- textarea,
279
- .uneditable-input {
280
- margin-left: 0;
281
- }
282
-
283
- input.span12,
284
- textarea.span12,
285
- .uneditable-input.span12 {
286
- width: 930px;
287
- }
288
-
289
- input.span11,
290
- textarea.span11,
291
- .uneditable-input.span11 {
292
- width: 850px;
293
- }
294
-
295
- input.span10,
296
- textarea.span10,
297
- .uneditable-input.span10 {
298
- width: 770px;
299
- }
300
-
301
- input.span9,
302
- textarea.span9,
303
- .uneditable-input.span9 {
304
- width: 690px;
305
- }
306
-
307
- input.span8,
308
- textarea.span8,
309
- .uneditable-input.span8 {
310
- width: 610px;
311
- }
312
-
313
- input.span7,
314
- textarea.span7,
315
- .uneditable-input.span7 {
316
- width: 530px;
317
- }
318
-
319
- input.span6,
320
- textarea.span6,
321
- .uneditable-input.span6 {
322
- width: 450px;
323
- }
324
-
325
- input.span5,
326
- textarea.span5,
327
- .uneditable-input.span5 {
328
- width: 370px;
329
- }
330
-
331
- input.span4,
332
- textarea.span4,
333
- .uneditable-input.span4 {
334
- width: 290px;
335
- }
336
-
337
- input.span3,
338
- textarea.span3,
339
- .uneditable-input.span3 {
340
- width: 210px;
341
- }
342
-
343
- input.span2,
344
- textarea.span2,
345
- .uneditable-input.span2 {
346
- width: 130px;
347
- }
348
-
349
- input.span1,
350
- textarea.span1,
351
- .uneditable-input.span1 {
352
- width: 50px;
353
- }
354
-
355
- input[disabled],
356
- select[disabled],
357
- textarea[disabled],
358
- input[readonly],
359
- select[readonly],
360
- textarea[readonly] {
361
- cursor: not-allowed;
362
- background-color: #eeeeee;
363
- border-color: #ddd;
364
- }
365
-
366
- input[type="radio"][disabled],
367
- input[type="checkbox"][disabled],
368
- input[type="radio"][readonly],
369
- input[type="checkbox"][readonly] {
370
- background-color: transparent;
371
- }
372
-
373
- .control-group.warning > label,
374
- .control-group.warning .help-block,
375
- .control-group.warning .help-inline {
376
- color: #c09853;
377
- }
378
-
379
- .control-group.warning .checkbox,
380
- .control-group.warning .radio,
381
- .control-group.warning input,
382
- .control-group.warning select,
383
- .control-group.warning textarea {
384
- color: #c09853;
385
- border-color: #c09853;
386
- }
387
-
388
- .control-group.warning .checkbox:focus,
389
- .control-group.warning .radio:focus,
390
- .control-group.warning input:focus,
391
- .control-group.warning select:focus,
392
- .control-group.warning textarea:focus {
393
- border-color: #a47e3c;
394
- -webkit-box-shadow: 0 0 6px #dbc59e;
395
- -moz-box-shadow: 0 0 6px #dbc59e;
396
- box-shadow: 0 0 6px #dbc59e;
397
- }
398
-
399
- .control-group.warning .input-prepend .add-on,
400
- .control-group.warning .input-append .add-on {
401
- color: #c09853;
402
- background-color: #fcf8e3;
403
- border-color: #c09853;
404
- }
405
-
406
- .control-group.error > label,
407
- .control-group.error .help-block,
408
- .control-group.error .help-inline {
409
- color: #b94a48;
410
- }
411
-
412
- .control-group.error .checkbox,
413
- .control-group.error .radio,
414
- .control-group.error input,
415
- .control-group.error select,
416
- .control-group.error textarea {
417
- color: #b94a48;
418
- border-color: #b94a48;
419
- }
420
-
421
- .control-group.error .checkbox:focus,
422
- .control-group.error .radio:focus,
423
- .control-group.error input:focus,
424
- .control-group.error select:focus,
425
- .control-group.error textarea:focus {
426
- border-color: #953b39;
427
- -webkit-box-shadow: 0 0 6px #d59392;
428
- -moz-box-shadow: 0 0 6px #d59392;
429
- box-shadow: 0 0 6px #d59392;
430
- }
431
-
432
- .control-group.error .input-prepend .add-on,
433
- .control-group.error .input-append .add-on {
434
- color: #b94a48;
435
- background-color: #f2dede;
436
- border-color: #b94a48;
437
- }
438
-
439
- .control-group.success > label,
440
- .control-group.success .help-block,
441
- .control-group.success .help-inline {
442
- color: #468847;
443
- }
444
-
445
- .control-group.success .checkbox,
446
- .control-group.success .radio,
447
- .control-group.success input,
448
- .control-group.success select,
449
- .control-group.success textarea {
450
- color: #468847;
451
- border-color: #468847;
452
- }
453
-
454
- .control-group.success .checkbox:focus,
455
- .control-group.success .radio:focus,
456
- .control-group.success input:focus,
457
- .control-group.success select:focus,
458
- .control-group.success textarea:focus {
459
- border-color: #356635;
460
- -webkit-box-shadow: 0 0 6px #7aba7b;
461
- -moz-box-shadow: 0 0 6px #7aba7b;
462
- box-shadow: 0 0 6px #7aba7b;
463
- }
464
-
465
- .control-group.success .input-prepend .add-on,
466
- .control-group.success .input-append .add-on {
467
- color: #468847;
468
- background-color: #dff0d8;
469
- border-color: #468847;
470
- }
471
-
472
- input:focus:required:invalid,
473
- textarea:focus:required:invalid,
474
- select:focus:required:invalid {
475
- color: #b94a48;
476
- border-color: #ee5f5b;
477
- }
478
-
479
- input:focus:required:invalid:focus,
480
- textarea:focus:required:invalid:focus,
481
- select:focus:required:invalid:focus {
482
- border-color: #e9322d;
483
- -webkit-box-shadow: 0 0 6px #f8b9b7;
484
- -moz-box-shadow: 0 0 6px #f8b9b7;
485
- box-shadow: 0 0 6px #f8b9b7;
486
- }
487
-
488
- .form-actions {
489
- padding: 17px 20px 18px;
490
- margin-top: 18px;
491
- margin-bottom: 18px;
492
- background-color: #f5f5f5;
493
- border-top: 1px solid #e5e5e5;
494
- *zoom: 1;
495
- }
496
-
497
- .form-actions:before,
498
- .form-actions:after {
499
- display: table;
500
- content: "";
501
- }
502
-
503
- .form-actions:after {
504
- clear: both;
505
- }
506
-
507
- .uneditable-input {
508
- overflow: hidden;
509
- white-space: nowrap;
510
- cursor: not-allowed;
511
- background-color: #ffffff;
512
- border-color: #eee;
513
- -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
514
- -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
515
- box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
516
- }
517
-
518
- :-moz-placeholder {
519
- color: #999999;
520
- }
521
-
522
- :-ms-input-placeholder {
523
- color: #999999;
524
- }
525
-
526
- ::-webkit-input-placeholder {
527
- color: #999999;
528
- }
529
-
530
- .help-block,
531
- .help-inline {
532
- color: #555555;
533
- }
534
-
535
- .help-block {
536
- display: block;
537
- margin-bottom: 9px;
538
- }
539
-
540
- .help-inline {
541
- display: inline-block;
542
- *display: inline;
543
- padding-left: 5px;
544
- vertical-align: middle;
545
- *zoom: 1;
546
- }
547
-
548
- .input-prepend,
549
- .input-append {
550
- margin-bottom: 5px;
551
- }
552
-
553
- .input-prepend input,
554
- .input-append input,
555
- .input-prepend select,
556
- .input-append select,
557
- .input-prepend .uneditable-input,
558
- .input-append .uneditable-input {
559
- position: relative;
560
- margin-bottom: 0;
561
- *margin-left: 0;
562
- vertical-align: middle;
563
- -webkit-border-radius: 0 3px 3px 0;
564
- -moz-border-radius: 0 3px 3px 0;
565
- border-radius: 0 3px 3px 0;
566
- }
567
-
568
- .input-prepend input:focus,
569
- .input-append input:focus,
570
- .input-prepend select:focus,
571
- .input-append select:focus,
572
- .input-prepend .uneditable-input:focus,
573
- .input-append .uneditable-input:focus {
574
- z-index: 2;
575
- }
576
-
577
- .input-prepend .uneditable-input,
578
- .input-append .uneditable-input {
579
- border-left-color: #ccc;
580
- }
581
-
582
- .input-prepend .add-on,
583
- .input-append .add-on {
584
- display: inline-block;
585
- width: auto;
586
- height: 18px;
587
- min-width: 16px;
588
- padding: 4px 5px;
589
- font-weight: normal;
590
- line-height: 18px;
591
- text-align: center;
592
- text-shadow: 0 1px 0 #ffffff;
593
- vertical-align: middle;
594
- background-color: #eeeeee;
595
- border: 1px solid #ccc;
596
- }
597
-
598
- .input-prepend .add-on,
599
- .input-append .add-on,
600
- .input-prepend .btn,
601
- .input-append .btn {
602
- margin-left: -1px;
603
- -webkit-border-radius: 0;
604
- -moz-border-radius: 0;
605
- border-radius: 0;
606
- }
607
-
608
- .input-prepend .active,
609
- .input-append .active {
610
- background-color: #a9dba9;
611
- border-color: #46a546;
612
- }
613
-
614
- .input-prepend .add-on,
615
- .input-prepend .btn {
616
- margin-right: -1px;
617
- }
618
-
619
- .input-prepend .add-on:first-child,
620
- .input-prepend .btn:first-child {
621
- -webkit-border-radius: 3px 0 0 3px;
622
- -moz-border-radius: 3px 0 0 3px;
623
- border-radius: 3px 0 0 3px;
624
- }
625
-
626
- .input-append input,
627
- .input-append select,
628
- .input-append .uneditable-input {
629
- -webkit-border-radius: 3px 0 0 3px;
630
- -moz-border-radius: 3px 0 0 3px;
631
- border-radius: 3px 0 0 3px;
632
- }
633
-
634
- .input-append .uneditable-input {
635
- border-right-color: #ccc;
636
- border-left-color: #eee;
637
- }
638
-
639
- .input-append .add-on:last-child,
640
- .input-append .btn:last-child {
641
- -webkit-border-radius: 0 3px 3px 0;
642
- -moz-border-radius: 0 3px 3px 0;
643
- border-radius: 0 3px 3px 0;
644
- }
645
-
646
- .input-prepend.input-append input,
647
- .input-prepend.input-append select,
648
- .input-prepend.input-append .uneditable-input {
649
- -webkit-border-radius: 0;
650
- -moz-border-radius: 0;
651
- border-radius: 0;
652
- }
653
-
654
- .input-prepend.input-append .add-on:first-child,
655
- .input-prepend.input-append .btn:first-child {
656
- margin-right: -1px;
657
- -webkit-border-radius: 3px 0 0 3px;
658
- -moz-border-radius: 3px 0 0 3px;
659
- border-radius: 3px 0 0 3px;
660
- }
661
-
662
- .input-prepend.input-append .add-on:last-child,
663
- .input-prepend.input-append .btn:last-child {
664
- margin-left: -1px;
665
- -webkit-border-radius: 0 3px 3px 0;
666
- -moz-border-radius: 0 3px 3px 0;
667
- border-radius: 0 3px 3px 0;
668
- }
669
-
670
- .search-query {
671
- padding-right: 14px;
672
- padding-right: 4px \9;
673
- padding-left: 14px;
674
- padding-left: 4px \9;
675
- /* IE7-8 doesn't have border-radius, so don't indent the padding */
676
-
677
- margin-bottom: 0;
678
- -webkit-border-radius: 14px;
679
- -moz-border-radius: 14px;
680
- border-radius: 14px;
681
- }
682
-
683
- .form-search input,
684
- .form-inline input,
685
- .form-horizontal input,
686
- .form-search textarea,
687
- .form-inline textarea,
688
- .form-horizontal textarea,
689
- .form-search select,
690
- .form-inline select,
691
- .form-horizontal select,
692
- .form-search .help-inline,
693
- .form-inline .help-inline,
694
- .form-horizontal .help-inline,
695
- .form-search .uneditable-input,
696
- .form-inline .uneditable-input,
697
- .form-horizontal .uneditable-input,
698
- .form-search .input-prepend,
699
- .form-inline .input-prepend,
700
- .form-horizontal .input-prepend,
701
- .form-search .input-append,
702
- .form-inline .input-append,
703
- .form-horizontal .input-append {
704
- display: inline-block;
705
- *display: inline;
706
- margin-bottom: 0;
707
- *zoom: 1;
708
- }
709
-
710
- .form-search .hide,
711
- .form-inline .hide,
712
- .form-horizontal .hide {
713
- display: none;
714
- }
715
-
716
- .form-search label,
717
- .form-inline label {
718
- display: inline-block;
719
- }
720
-
721
- .form-search .input-append,
722
- .form-inline .input-append,
723
- .form-search .input-prepend,
724
- .form-inline .input-prepend {
725
- margin-bottom: 0;
726
- }
727
-
728
- .form-search .radio,
729
- .form-search .checkbox,
730
- .form-inline .radio,
731
- .form-inline .checkbox {
732
- padding-left: 0;
733
- margin-bottom: 0;
734
- vertical-align: middle;
735
- }
736
-
737
- .form-search .radio input[type="radio"],
738
- .form-search .checkbox input[type="checkbox"],
739
- .form-inline .radio input[type="radio"],
740
- .form-inline .checkbox input[type="checkbox"] {
741
- float: left;
742
- margin-right: 3px;
743
- margin-left: 0;
744
- }
745
-
746
- .control-group {
747
- margin-bottom: 9px;
748
- }
749
-
750
- legend + .control-group {
751
- margin-top: 18px;
752
- -webkit-margin-top-collapse: separate;
753
- }
754
-
755
- .form-horizontal .control-group {
756
- margin-bottom: 18px;
757
- *zoom: 1;
758
- }
759
-
760
- .form-horizontal .control-group:before,
761
- .form-horizontal .control-group:after {
762
- display: table;
763
- content: "";
764
- }
765
-
766
- .form-horizontal .control-group:after {
767
- clear: both;
768
- }
769
-
770
- .form-horizontal .control-label {
771
- float: left;
772
- width: 140px;
773
- padding-top: 5px;
774
- text-align: right;
775
- }
776
-
777
- .form-horizontal .controls {
778
- *display: inline-block;
779
- *padding-left: 20px;
780
- margin-left: 160px;
781
- *margin-left: 0;
782
- }
783
-
784
- .form-horizontal .controls:first-child {
785
- *padding-left: 160px;
786
- }
787
-
788
- .form-horizontal .help-block {
789
- margin-top: 9px;
790
- margin-bottom: 0;
791
- }
792
-
793
- .form-horizontal .form-actions {
794
- padding-left: 160px;
795
- }
796
-
797
-
798
- .btn {
799
- display: inline-block;
800
- *display: inline;
801
- padding: 4px 10px 4px;
802
- margin-bottom: 0;
803
- *margin-left: .3em;
804
- font-size: 13px;
805
- line-height: 18px;
806
- *line-height: 20px;
807
- color: #333333;
808
- text-align: center;
809
- text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
810
- vertical-align: middle;
811
- cursor: pointer;
812
- background-color: #f5f5f5;
813
- *background-color: #e6e6e6;
814
- background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
815
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
816
- background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
817
- background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
818
- background-image: linear-gradient(top, #ffffff, #e6e6e6);
819
- background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
820
- background-repeat: repeat-x;
821
- border: 1px solid #cccccc;
822
- *border: 0;
823
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
824
- border-color: #e6e6e6 #e6e6e6 #bfbfbf;
825
- border-bottom-color: #b3b3b3;
826
- -webkit-border-radius: 4px;
827
- -moz-border-radius: 4px;
828
- border-radius: 4px;
829
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ffffff', endColorstr='#e6e6e6', GradientType=0);
830
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
831
- *zoom: 1;
832
- -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
833
- -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
834
- box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
835
- }
836
-
837
- .btn:hover,
838
- .btn:active,
839
- .btn.active,
840
- .btn.disabled,
841
- .btn[disabled] {
842
- background-color: #e6e6e6;
843
- *background-color: #d9d9d9;
844
- }
845
-
846
- .btn:active,
847
- .btn.active {
848
- background-color: #cccccc \9;
849
- }
850
-
851
- .btn:first-child {
852
- *margin-left: 0;
853
- }
854
-
855
- .btn:hover {
856
- color: #333333;
857
- text-decoration: none;
858
- background-color: #e6e6e6;
859
- *background-color: #d9d9d9;
860
- /* Buttons in IE7 don't get borders, so darken on hover */
861
-
862
- background-position: 0 -15px;
863
- -webkit-transition: background-position 0.1s linear;
864
- -moz-transition: background-position 0.1s linear;
865
- -ms-transition: background-position 0.1s linear;
866
- -o-transition: background-position 0.1s linear;
867
- transition: background-position 0.1s linear;
868
- }
869
-
870
- .btn:focus {
871
- outline: thin dotted #333;
872
- outline: 5px auto -webkit-focus-ring-color;
873
- outline-offset: -2px;
874
- }
875
-
876
- .btn.active,
877
- .btn:active {
878
- background-color: #e6e6e6;
879
- background-color: #d9d9d9 \9;
880
- background-image: none;
881
- outline: 0;
882
- -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
883
- -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
884
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
885
- }
886
-
887
- .btn.disabled,
888
- .btn[disabled] {
889
- cursor: default;
890
- background-color: #e6e6e6;
891
- background-image: none;
892
- opacity: 0.65;
893
- filter: alpha(opacity=65);
894
- -webkit-box-shadow: none;
895
- -moz-box-shadow: none;
896
- box-shadow: none;
897
- }
898
-
899
- .btn-large {
900
- padding: 9px 14px;
901
- font-size: 15px;
902
- line-height: normal;
903
- -webkit-border-radius: 5px;
904
- -moz-border-radius: 5px;
905
- border-radius: 5px;
906
- }
907
-
908
- .btn-large [class^="icon-"] {
909
- margin-top: 1px;
910
- }
911
-
912
- .btn-small {
913
- padding: 5px 9px;
914
- font-size: 11px;
915
- line-height: 16px;
916
- }
917
-
918
- .btn-small [class^="icon-"] {
919
- margin-top: -1px;
920
- }
921
-
922
- .btn-mini {
923
- padding: 2px 6px;
924
- font-size: 11px;
925
- line-height: 14px;
926
- }
927
-
928
- .btn-primary,
929
- .btn-primary:hover,
930
- .btn-warning,
931
- .btn-warning:hover,
932
- .btn-danger,
933
- .btn-danger:hover,
934
- .btn-success,
935
- .btn-success:hover,
936
- .btn-info,
937
- .btn-info:hover,
938
- .btn-inverse,
939
- .btn-inverse:hover {
940
- color: #ffffff;
941
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
942
- }
943
-
944
- .btn-primary.active,
945
- .btn-warning.active,
946
- .btn-danger.active,
947
- .btn-success.active,
948
- .btn-info.active,
949
- .btn-inverse.active {
950
- color: rgba(255, 255, 255, 0.75);
951
- }
952
-
953
- .btn {
954
- border-color: #ccc;
955
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
956
- }
957
-
958
- .btn-primary {
959
- background-color: #0074cc;
960
- *background-color: #0055cc;
961
- background-image: -ms-linear-gradient(top, #0088cc, #0055cc);
962
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0055cc));
963
- background-image: -webkit-linear-gradient(top, #0088cc, #0055cc);
964
- background-image: -o-linear-gradient(top, #0088cc, #0055cc);
965
- background-image: -moz-linear-gradient(top, #0088cc, #0055cc);
966
- background-image: linear-gradient(top, #0088cc, #0055cc);
967
- background-repeat: repeat-x;
968
- border-color: #0055cc #0055cc #003580;
969
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
970
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#0088cc', endColorstr='#0055cc', GradientType=0);
971
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
972
- }
973
-
974
- .btn-primary:hover,
975
- .btn-primary:active,
976
- .btn-primary.active,
977
- .btn-primary.disabled,
978
- .btn-primary[disabled] {
979
- background-color: #0055cc;
980
- *background-color: #004ab3;
981
- }
982
-
983
- .btn-primary:active,
984
- .btn-primary.active {
985
- background-color: #004099 \9;
986
- }
987
-
988
- .btn-warning {
989
- background-color: #faa732;
990
- *background-color: #f89406;
991
- background-image: -ms-linear-gradient(top, #fbb450, #f89406);
992
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
993
- background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
994
- background-image: -o-linear-gradient(top, #fbb450, #f89406);
995
- background-image: -moz-linear-gradient(top, #fbb450, #f89406);
996
- background-image: linear-gradient(top, #fbb450, #f89406);
997
- background-repeat: repeat-x;
998
- border-color: #f89406 #f89406 #ad6704;
999
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1000
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fbb450', endColorstr='#f89406', GradientType=0);
1001
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1002
- }
1003
-
1004
- .btn-warning:hover,
1005
- .btn-warning:active,
1006
- .btn-warning.active,
1007
- .btn-warning.disabled,
1008
- .btn-warning[disabled] {
1009
- background-color: #f89406;
1010
- *background-color: #df8505;
1011
- }
1012
-
1013
- .btn-warning:active,
1014
- .btn-warning.active {
1015
- background-color: #c67605 \9;
1016
- }
1017
-
1018
- .btn-danger {
1019
- background-color: #da4f49;
1020
- *background-color: #bd362f;
1021
- background-image: -ms-linear-gradient(top, #ee5f5b, #bd362f);
1022
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
1023
- background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
1024
- background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
1025
- background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
1026
- background-image: linear-gradient(top, #ee5f5b, #bd362f);
1027
- background-repeat: repeat-x;
1028
- border-color: #bd362f #bd362f #802420;
1029
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1030
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#ee5f5b', endColorstr='#bd362f', GradientType=0);
1031
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1032
- }
1033
-
1034
- .btn-danger:hover,
1035
- .btn-danger:active,
1036
- .btn-danger.active,
1037
- .btn-danger.disabled,
1038
- .btn-danger[disabled] {
1039
- background-color: #bd362f;
1040
- *background-color: #a9302a;
1041
- }
1042
-
1043
- .btn-danger:active,
1044
- .btn-danger.active {
1045
- background-color: #942a25 \9;
1046
- }
1047
-
1048
- .btn-success {
1049
- background-color: #5bb75b;
1050
- *background-color: #51a351;
1051
- background-image: -ms-linear-gradient(top, #62c462, #51a351);
1052
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
1053
- background-image: -webkit-linear-gradient(top, #62c462, #51a351);
1054
- background-image: -o-linear-gradient(top, #62c462, #51a351);
1055
- background-image: -moz-linear-gradient(top, #62c462, #51a351);
1056
- background-image: linear-gradient(top, #62c462, #51a351);
1057
- background-repeat: repeat-x;
1058
- border-color: #51a351 #51a351 #387038;
1059
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1060
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#62c462', endColorstr='#51a351', GradientType=0);
1061
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1062
- }
1063
-
1064
- .btn-success:hover,
1065
- .btn-success:active,
1066
- .btn-success.active,
1067
- .btn-success.disabled,
1068
- .btn-success[disabled] {
1069
- background-color: #51a351;
1070
- *background-color: #499249;
1071
- }
1072
-
1073
- .btn-success:active,
1074
- .btn-success.active {
1075
- background-color: #408140 \9;
1076
- }
1077
-
1078
- .btn-info {
1079
- background-color: #49afcd;
1080
- *background-color: #2f96b4;
1081
- background-image: -ms-linear-gradient(top, #5bc0de, #2f96b4);
1082
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
1083
- background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
1084
- background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
1085
- background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
1086
- background-image: linear-gradient(top, #5bc0de, #2f96b4);
1087
- background-repeat: repeat-x;
1088
- border-color: #2f96b4 #2f96b4 #1f6377;
1089
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1090
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#5bc0de', endColorstr='#2f96b4', GradientType=0);
1091
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1092
- }
1093
-
1094
- .btn-info:hover,
1095
- .btn-info:active,
1096
- .btn-info.active,
1097
- .btn-info.disabled,
1098
- .btn-info[disabled] {
1099
- background-color: #2f96b4;
1100
- *background-color: #2a85a0;
1101
- }
1102
-
1103
- .btn-info:active,
1104
- .btn-info.active {
1105
- background-color: #24748c \9;
1106
- }
1107
-
1108
- .btn-inverse {
1109
- background-color: #414141;
1110
- *background-color: #222222;
1111
- background-image: -ms-linear-gradient(top, #555555, #222222);
1112
- background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222));
1113
- background-image: -webkit-linear-gradient(top, #555555, #222222);
1114
- background-image: -o-linear-gradient(top, #555555, #222222);
1115
- background-image: -moz-linear-gradient(top, #555555, #222222);
1116
- background-image: linear-gradient(top, #555555, #222222);
1117
- background-repeat: repeat-x;
1118
- border-color: #222222 #222222 #000000;
1119
- border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
1120
- filter: progid:dximagetransform.microsoft.gradient(startColorstr='#555555', endColorstr='#222222', GradientType=0);
1121
- filter: progid:dximagetransform.microsoft.gradient(enabled=false);
1122
- }
1123
-
1124
- .btn-inverse:hover,
1125
- .btn-inverse:active,
1126
- .btn-inverse.active,
1127
- .btn-inverse.disabled,
1128
- .btn-inverse[disabled] {
1129
- background-color: #222222;
1130
- *background-color: #151515;
1131
- }
1132
-
1133
- .btn-inverse:active,
1134
- .btn-inverse.active {
1135
- background-color: #080808 \9;
1136
- }
1137
-
1138
- button.btn,
1139
- input[type="submit"].btn {
1140
- *padding-top: 2px;
1141
- *padding-bottom: 2px;
1142
- }
1143
-
1144
- button.btn::-moz-focus-inner,
1145
- input[type="submit"].btn::-moz-focus-inner {
1146
- padding: 0;
1147
- border: 0;
1148
- }
1149
-
1150
- button.btn.btn-large,
1151
- input[type="submit"].btn.btn-large {
1152
- *padding-top: 7px;
1153
- *padding-bottom: 7px;
1154
- }
1155
-
1156
- button.btn.btn-small,
1157
- input[type="submit"].btn.btn-small {
1158
- *padding-top: 3px;
1159
- *padding-bottom: 3px;
1160
- }
1161
-
1162
- button.btn.btn-mini,
1163
- input[type="submit"].btn.btn-mini {
1164
- *padding-top: 1px;
1165
- *padding-bottom: 1px;
1166
- }
1167
-
1168
- .btn-group {
1169
- position: relative;
1170
- *margin-left: .3em;
1171
- *zoom: 1;
1172
- }
1173
-
1174
- .btn-group:before,
1175
- .btn-group:after {
1176
- display: table;
1177
- content: "";
1178
- }
1179
-
1180
- .btn-group:after {
1181
- clear: both;
1182
- }
1183
-
1184
- .btn-group:first-child {
1185
- *margin-left: 0;
1186
- }
1187
-
1188
- .btn-group + .btn-group {
1189
- margin-left: 5px;
1190
- }
1191
-
1192
- .btn-toolbar {
1193
- margin-top: 9px;
1194
- margin-bottom: 9px;
1195
- }
1196
-
1197
- .btn-toolbar .btn-group {
1198
- display: inline-block;
1199
- *display: inline;
1200
- /* IE7 inline-block hack */
1201
-
1202
- *zoom: 1;
1203
- }
1204
-
1205
- .btn-group > .btn {
1206
- position: relative;
1207
- float: left;
1208
- margin-left: -1px;
1209
- -webkit-border-radius: 0;
1210
- -moz-border-radius: 0;
1211
- border-radius: 0;
1212
- }
1213
-
1214
- .btn-group > .btn:first-child {
1215
- margin-left: 0;
1216
- -webkit-border-bottom-left-radius: 4px;
1217
- border-bottom-left-radius: 4px;
1218
- -webkit-border-top-left-radius: 4px;
1219
- border-top-left-radius: 4px;
1220
- -moz-border-radius-bottomleft: 4px;
1221
- -moz-border-radius-topleft: 4px;
1222
- }
1223
-
1224
- .btn-group > .btn:last-child,
1225
- .btn-group > .dropdown-toggle {
1226
- -webkit-border-top-right-radius: 4px;
1227
- border-top-right-radius: 4px;
1228
- -webkit-border-bottom-right-radius: 4px;
1229
- border-bottom-right-radius: 4px;
1230
- -moz-border-radius-topright: 4px;
1231
- -moz-border-radius-bottomright: 4px;
1232
- }
1233
-
1234
- .btn-group > .btn.large:first-child {
1235
- margin-left: 0;
1236
- -webkit-border-bottom-left-radius: 6px;
1237
- border-bottom-left-radius: 6px;
1238
- -webkit-border-top-left-radius: 6px;
1239
- border-top-left-radius: 6px;
1240
- -moz-border-radius-bottomleft: 6px;
1241
- -moz-border-radius-topleft: 6px;
1242
- }
1243
-
1244
- .btn-group > .btn.large:last-child,
1245
- .btn-group > .large.dropdown-toggle {
1246
- -webkit-border-top-right-radius: 6px;
1247
- border-top-right-radius: 6px;
1248
- -webkit-border-bottom-right-radius: 6px;
1249
- border-bottom-right-radius: 6px;
1250
- -moz-border-radius-topright: 6px;
1251
- -moz-border-radius-bottomright: 6px;
1252
- }
1253
-
1254
- .btn-group > .btn:hover,
1255
- .btn-group > .btn:focus,
1256
- .btn-group > .btn:active,
1257
- .btn-group > .btn.active {
1258
- z-index: 2;
1259
- }
1260
-
1261
- .btn-group .dropdown-toggle:active,
1262
- .btn-group.open .dropdown-toggle {
1263
- outline: 0;
1264
- }
1265
-
1266
- .btn-group > .dropdown-toggle {
1267
- *padding-top: 4px;
1268
- padding-right: 8px;
1269
- *padding-bottom: 4px;
1270
- padding-left: 8px;
1271
- -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1272
- -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1273
- box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
1274
- }
1275
-
1276
- .btn-group > .btn-mini.dropdown-toggle {
1277
- padding-right: 5px;
1278
- padding-left: 5px;
1279
- }
1280
-
1281
- .btn-group > .btn-small.dropdown-toggle {
1282
- *padding-top: 4px;
1283
- *padding-bottom: 4px;
1284
- }
1285
-
1286
- .btn-group > .btn-large.dropdown-toggle {
1287
- padding-right: 12px;
1288
- padding-left: 12px;
1289
- }
1290
-
1291
- .btn-group.open .dropdown-toggle {
1292
- background-image: none;
1293
- -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1294
- -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1295
- box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
1296
- }
1297
-
1298
- .btn-group.open .btn.dropdown-toggle {
1299
- background-color: #e6e6e6;
1300
- }
1301
-
1302
- .btn-group.open .btn-primary.dropdown-toggle {
1303
- background-color: #0055cc;
1304
- }
1305
-
1306
- .btn-group.open .btn-warning.dropdown-toggle {
1307
- background-color: #f89406;
1308
- }
1309
-
1310
- .btn-group.open .btn-danger.dropdown-toggle {
1311
- background-color: #bd362f;
1312
- }
1313
-
1314
- .btn-group.open .btn-success.dropdown-toggle {
1315
- background-color: #51a351;
1316
- }
1317
-
1318
- .btn-group.open .btn-info.dropdown-toggle {
1319
- background-color: #2f96b4;
1320
- }
1321
-
1322
- .btn-group.open .btn-inverse.dropdown-toggle {
1323
- background-color: #222222;
1324
- }
1325
-
1326
- .btn .caret {
1327
- margin-top: 7px;
1328
- margin-left: 0;
1329
- }
1330
-
1331
- .btn:hover .caret,
1332
- .open.btn-group .caret {
1333
- opacity: 1;
1334
- filter: alpha(opacity=100);
1335
- }
1336
-
1337
- .btn-mini .caret {
1338
- margin-top: 5px;
1339
- }
1340
-
1341
- .btn-small .caret {
1342
- margin-top: 6px;
1343
- }
1344
-
1345
- .btn-large .caret {
1346
- margin-top: 6px;
1347
- border-top-width: 5px;
1348
- border-right-width: 5px;
1349
- border-left-width: 5px;
1350
- }
1351
-
1352
- .dropup .btn-large .caret {
1353
- border-top: 0;
1354
- border-bottom: 5px solid #000000;
1355
- }
1356
-
1357
- .btn-primary .caret,
1358
- .btn-warning .caret,
1359
- .btn-danger .caret,
1360
- .btn-info .caret,
1361
- .btn-success .caret,
1362
- .btn-inverse .caret {
1363
- border-top-color: #ffffff;
1364
- border-bottom-color: #ffffff;
1365
- opacity: 0.75;
1366
- filter: alpha(opacity=75);
1367
- }