ckeditor 3.5.4 → 3.6.0.pre

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. data/Gemfile +23 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +96 -97
  4. data/Rakefile +16 -33
  5. data/app/controllers/ckeditor/attachment_files_controller.rb +4 -4
  6. data/app/controllers/ckeditor/base_controller.rb +15 -42
  7. data/app/controllers/ckeditor/pictures_controller.rb +3 -3
  8. data/app/views/ckeditor/attachment_files/index.html.erb +13 -51
  9. data/app/views/ckeditor/pictures/index.html.erb +14 -52
  10. data/app/views/ckeditor/shared/_asset.html.erb +19 -0
  11. data/app/views/ckeditor/shared/_asset_tmpl.html.erb +21 -0
  12. data/app/views/layouts/ckeditor.html.erb +16 -23
  13. data/config/locales/en.ckeditor.yml +3 -7
  14. data/config/locales/ru.ckeditor.yml +4 -8
  15. data/config/locales/uk.ckeditor.yml +4 -8
  16. data/config/routes.rb +3 -3
  17. data/lib/ckeditor.rb +30 -79
  18. data/lib/ckeditor/engine.rb +14 -13
  19. data/lib/ckeditor/helpers/controllers.rb +30 -0
  20. data/lib/ckeditor/helpers/form_builder.rb +11 -0
  21. data/lib/ckeditor/helpers/form_helper.rb +25 -0
  22. data/lib/ckeditor/helpers/view_helper.rb +19 -0
  23. data/lib/ckeditor/http.rb +81 -0
  24. data/lib/ckeditor/orm/active_record.rb +91 -0
  25. data/lib/ckeditor/utils.rb +51 -70
  26. data/lib/ckeditor/version.rb +2 -7
  27. data/lib/generators/ckeditor/install_generator.rb +62 -0
  28. data/lib/generators/ckeditor/models_generator.rb +51 -0
  29. data/lib/generators/ckeditor/templates/ckeditor.rb +18 -0
  30. data/lib/generators/ckeditor/templates/ckeditor/config.js +52 -0
  31. data/lib/generators/ckeditor/templates/ckeditor/filebrowser/images/gal_add.jpg +0 -0
  32. data/lib/generators/ckeditor/templates/ckeditor/filebrowser/images/gal_add.png +0 -0
  33. data/lib/generators/ckeditor/templates/ckeditor/filebrowser/images/gal_del.png +0 -0
  34. data/lib/generators/ckeditor/templates/ckeditor/filebrowser/images/gal_more.gif +0 -0
  35. data/lib/generators/ckeditor/templates/ckeditor/filebrowser/images/preloader.gif +0 -0
  36. data/lib/generators/ckeditor/{base/templates/ckeditor/images → templates/ckeditor/filebrowser/images/thumbs}/ckfnothumb.gif +0 -0
  37. data/lib/generators/ckeditor/{base/templates/ckeditor/images → templates/ckeditor/filebrowser/images/thumbs}/mp3.gif +0 -0
  38. data/lib/generators/ckeditor/{base/templates/ckeditor/images → templates/ckeditor/filebrowser/images/thumbs}/pdf.gif +0 -0
  39. data/lib/generators/ckeditor/{base/templates/ckeditor/images → templates/ckeditor/filebrowser/images/thumbs}/rar.gif +0 -0
  40. data/lib/generators/ckeditor/{base/templates/ckeditor/images → templates/ckeditor/filebrowser/images/thumbs}/swf.gif +0 -0
  41. data/lib/generators/ckeditor/{base/templates/ckeditor/images → templates/ckeditor/filebrowser/images/thumbs}/xls.gif +0 -0
  42. data/lib/generators/ckeditor/templates/ckeditor/filebrowser/javascripts/application.js +222 -0
  43. data/lib/generators/ckeditor/templates/ckeditor/filebrowser/stylesheets/uploader.css +112 -0
  44. data/lib/generators/ckeditor/{base/templates → templates}/ckeditor/plugins/attachment/dialogs/attachment.js +0 -0
  45. data/lib/generators/ckeditor/{base/templates/ckeditor/_source → templates/ckeditor}/plugins/attachment/images/attachment.png +0 -0
  46. data/lib/generators/ckeditor/{base/templates/ckeditor/_source → templates/ckeditor}/plugins/attachment/lang/en.js +0 -0
  47. data/lib/generators/ckeditor/{base/templates/ckeditor/_source → templates/ckeditor}/plugins/attachment/lang/ru.js +0 -0
  48. data/lib/generators/ckeditor/{base/templates/ckeditor/_source → templates/ckeditor}/plugins/attachment/lang/uk.js +0 -0
  49. data/lib/generators/ckeditor/{base/templates → templates}/ckeditor/plugins/attachment/plugin.js +0 -0
  50. data/lib/generators/ckeditor/{base/templates → templates}/ckeditor/plugins/embed/dialogs/embed.js +0 -0
  51. data/lib/generators/ckeditor/{base/templates/ckeditor/_source → templates/ckeditor}/plugins/embed/images/embed.png +0 -0
  52. data/lib/generators/ckeditor/{base/templates/ckeditor/_source → templates/ckeditor}/plugins/embed/lang/en.js +0 -0
  53. data/lib/generators/ckeditor/{base/templates/ckeditor/_source → templates/ckeditor}/plugins/embed/lang/ru.js +0 -0
  54. data/lib/generators/ckeditor/{base/templates/ckeditor/_source → templates/ckeditor}/plugins/embed/lang/uk.js +0 -0
  55. data/lib/generators/ckeditor/{base/templates → templates}/ckeditor/plugins/embed/plugin.js +0 -0
  56. data/lib/generators/ckeditor/templates/models/active_record/asset.rb +7 -0
  57. data/lib/generators/ckeditor/templates/models/active_record/attachment_file.rb +15 -0
  58. data/lib/generators/ckeditor/{migration/templates/models/paperclip → templates/models/active_record}/migration.rb +3 -8
  59. data/lib/generators/ckeditor/templates/models/active_record/picture.rb +13 -0
  60. data/test/ckeditor_test.rb +13 -0
  61. data/test/controllers/attachment_files_controller_test.rb +52 -0
  62. data/test/controllers/pictures_controller_test.rb +52 -0
  63. data/test/dummy/Rakefile +7 -0
  64. data/test/dummy/app/controllers/application_controller.rb +4 -0
  65. data/test/dummy/app/controllers/posts_controller.rb +83 -0
  66. data/test/dummy/app/helpers/application_helper.rb +2 -0
  67. data/test/dummy/app/helpers/posts_helper.rb +2 -0
  68. data/test/dummy/app/models/ckeditor/asset.rb +7 -0
  69. data/test/dummy/app/models/ckeditor/attachment_file.rb +15 -0
  70. data/test/dummy/app/models/ckeditor/picture.rb +13 -0
  71. data/test/dummy/app/models/post.rb +3 -0
  72. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  73. data/test/dummy/app/views/posts/_form.html.erb +30 -0
  74. data/test/dummy/app/views/posts/edit.html.erb +6 -0
  75. data/test/dummy/app/views/posts/index.html.erb +27 -0
  76. data/test/dummy/app/views/posts/new.html.erb +5 -0
  77. data/test/dummy/app/views/posts/show.html.erb +5 -0
  78. data/test/dummy/config.ru +4 -0
  79. data/test/dummy/config/application.rb +46 -0
  80. data/test/dummy/config/boot.rb +10 -0
  81. data/test/dummy/config/database.yml +34 -0
  82. data/test/dummy/config/environment.rb +5 -0
  83. data/test/dummy/config/environments/development.rb +26 -0
  84. data/test/dummy/config/environments/production.rb +49 -0
  85. data/test/dummy/config/environments/test.rb +35 -0
  86. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  87. data/test/dummy/config/initializers/ckeditor.rb +18 -0
  88. data/test/dummy/config/initializers/inflections.rb +10 -0
  89. data/test/dummy/config/initializers/mime_types.rb +5 -0
  90. data/test/dummy/config/initializers/secret_token.rb +7 -0
  91. data/test/dummy/config/initializers/session_store.rb +8 -0
  92. data/test/dummy/config/locales/en.yml +5 -0
  93. data/test/dummy/config/routes.rb +4 -0
  94. data/test/dummy/db/migrate/20110623120047_create_posts.rb +14 -0
  95. data/test/dummy/db/migrate/20110705195648_create_ckeditor_assets.rb +26 -0
  96. data/test/dummy/db/schema.rb +36 -0
  97. data/test/dummy/log/development.log +818 -0
  98. data/test/dummy/log/production.log +0 -0
  99. data/test/dummy/log/server.log +0 -0
  100. data/test/dummy/log/test.log +5398 -0
  101. data/test/dummy/public/404.html +26 -0
  102. data/test/dummy/public/422.html +26 -0
  103. data/test/dummy/public/500.html +26 -0
  104. data/test/dummy/public/favicon.ico +0 -0
  105. data/test/dummy/public/javascripts/application.js +2 -0
  106. data/test/dummy/public/javascripts/controls.js +965 -0
  107. data/test/dummy/public/javascripts/dragdrop.js +974 -0
  108. data/test/dummy/public/javascripts/effects.js +1123 -0
  109. data/test/dummy/public/javascripts/prototype.js +6001 -0
  110. data/test/dummy/public/javascripts/rails.js +191 -0
  111. data/test/dummy/public/stylesheets/scaffold.css +56 -0
  112. data/test/dummy/script/rails +6 -0
  113. data/test/dummy/test/fixtures/files/rails.png +0 -0
  114. data/test/dummy/test/fixtures/files/rails.tar.gz +0 -0
  115. data/test/generators/install_generator_test.rb +18 -0
  116. data/test/generators/models_generator_test.rb +21 -0
  117. data/test/integration/navigation_test.rb +7 -0
  118. data/test/integration/posts_test.rb +41 -0
  119. data/test/routes_test.rb +47 -0
  120. data/test/support/integration_case.rb +5 -0
  121. data/test/test_helper.rb +28 -0
  122. data/test/tmp/app/models/ckeditor/asset.rb +7 -0
  123. data/test/tmp/app/models/ckeditor/attachment_file.rb +15 -0
  124. data/test/tmp/app/models/ckeditor/picture.rb +13 -0
  125. data/test/tmp/db/migrate/20110711170413_create_ckeditor_assets.rb +26 -0
  126. metadata +220 -99
  127. data/CHANGELOG +0 -15
  128. data/app/helpers/ckeditor/base_helper.rb +0 -21
  129. data/app/views/ckeditor/_asset.html.erb +0 -20
  130. data/app/views/ckeditor/_swfupload.html.erb +0 -73
  131. data/lib/ckeditor/form_builder.rb +0 -22
  132. data/lib/ckeditor/middleware.rb +0 -18
  133. data/lib/ckeditor/view_helper.rb +0 -92
  134. data/lib/generators/ckeditor/base/USAGE +0 -9
  135. data/lib/generators/ckeditor/base/base_generator.rb +0 -41
  136. data/lib/generators/ckeditor/base/templates/ckeditor.rb +0 -54
  137. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/attachment/dialogs/attachment.js +0 -384
  138. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/attachment/plugin.js +0 -44
  139. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/embed/dialogs/embed.js +0 -65
  140. data/lib/generators/ckeditor/base/templates/ckeditor/_source/plugins/embed/plugin.js +0 -43
  141. data/lib/generators/ckeditor/base/templates/ckeditor/config.js +0 -43
  142. data/lib/generators/ckeditor/base/templates/ckeditor/css/ckfinder.css +0 -316
  143. data/lib/generators/ckeditor/base/templates/ckeditor/css/fck_dialog.css +0 -119
  144. data/lib/generators/ckeditor/base/templates/ckeditor/css/fck_editor.css +0 -448
  145. data/lib/generators/ckeditor/base/templates/ckeditor/css/swfupload.css +0 -94
  146. data/lib/generators/ckeditor/base/templates/ckeditor/images/add.gif +0 -0
  147. data/lib/generators/ckeditor/base/templates/ckeditor/images/cancelbutton.gif +0 -0
  148. data/lib/generators/ckeditor/base/templates/ckeditor/images/doc.gif +0 -0
  149. data/lib/generators/ckeditor/base/templates/ckeditor/images/refresh.gif +0 -0
  150. data/lib/generators/ckeditor/base/templates/ckeditor/images/select_files.png +0 -0
  151. data/lib/generators/ckeditor/base/templates/ckeditor/images/spacer.gif +0 -0
  152. data/lib/generators/ckeditor/base/templates/ckeditor/images/toolbar.start.gif +0 -0
  153. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/images/attachment.png +0 -0
  154. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/en.js +0 -10
  155. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/ru.js +0 -10
  156. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/attachment/lang/uk.js +0 -10
  157. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/images/embed.png +0 -0
  158. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/en.js +0 -9
  159. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/ru.js +0 -9
  160. data/lib/generators/ckeditor/base/templates/ckeditor/plugins/embed/lang/uk.js +0 -9
  161. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/fileprogress.js +0 -266
  162. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/handlers.js +0 -181
  163. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/jquery-1.5.1.min.js +0 -16
  164. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/querystring.js +0 -40
  165. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/rails.js +0 -158
  166. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/swfupload.js +0 -1
  167. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/swfupload.queue.js +0 -1
  168. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/swfupload.swf +0 -0
  169. data/lib/generators/ckeditor/base/templates/ckeditor/swfupload/swfupload.swfobject.js +0 -111
  170. data/lib/generators/ckeditor/migration/USAGE +0 -12
  171. data/lib/generators/ckeditor/migration/migration_generator.rb +0 -46
  172. data/lib/generators/ckeditor/migration/templates/models/attachment_fu/asset.rb +0 -32
  173. data/lib/generators/ckeditor/migration/templates/models/attachment_fu/attachment_file.rb +0 -24
  174. data/lib/generators/ckeditor/migration/templates/models/attachment_fu/migration.rb +0 -30
  175. data/lib/generators/ckeditor/migration/templates/models/attachment_fu/picture.rb +0 -25
  176. data/lib/generators/ckeditor/migration/templates/models/paperclip/asset.rb +0 -97
  177. data/lib/generators/ckeditor/migration/templates/models/paperclip/attachment_file.rb +0 -40
  178. data/lib/generators/ckeditor/migration/templates/models/paperclip/picture.rb +0 -23
  179. data/lib/tasks/ckeditor_tasks.rake +0 -3
@@ -1,44 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- /**
7
- * @file Paste as plain text plugin
8
- */
9
-
10
- (function()
11
- {
12
- // The pastetext command definition.
13
- var attachmentCmd =
14
- {
15
- exec : function( editor )
16
- {
17
- editor.openDialog( 'attachment' );
18
- return;
19
- }
20
- };
21
-
22
- // Register the plugin.
23
- CKEDITOR.plugins.add( 'attachment',
24
- {
25
- lang : [ 'en', 'ru', 'uk' ],
26
- requires : [ 'dialog' ],
27
-
28
- init : function( editor )
29
- {
30
- var commandName = 'attachment';
31
- editor.addCommand( commandName, attachmentCmd );
32
-
33
- editor.ui.addButton( 'Attachment',
34
- {
35
- label : editor.lang.attachment.button,
36
- command : commandName,
37
- icon: this.path + "images/attachment.png"
38
- });
39
-
40
- CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/attachment.js' ) );
41
- }
42
- });
43
-
44
- })();
@@ -1,65 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- (function()
7
- {
8
- CKEDITOR.dialog.add( 'embed', function( editor )
9
- {
10
- return {
11
- title : editor.lang.embed.title,
12
-
13
- minWidth : CKEDITOR.env.ie && CKEDITOR.env.quirks ? 368 : 350,
14
- minHeight : 240,
15
-
16
- onShow : function()
17
- {
18
- // Reset the textarea value.
19
- this.getContentElement( 'general', 'content' ).getInputElement().setValue( '' );
20
- },
21
-
22
- onOk : function()
23
- {
24
- // Get the textarea value.
25
- var text = this.getContentElement( 'general', 'content' ).getInputElement().getValue();
26
-
27
- // Inserts the html.
28
- this.getParentEditor().insertHtml( text );
29
- },
30
-
31
- contents :
32
- [
33
- {
34
- label : editor.lang.common.generalTab,
35
- id : 'general',
36
- elements :
37
- [
38
- {
39
- type : 'html',
40
- id : 'pasteMsg',
41
- html : '<div style="white-space:normal;width:340px;">' + editor.lang.embed.pasteMsg + '</div>'
42
- },
43
- {
44
- type : 'html',
45
- id : 'content',
46
- style : 'width:340px;height:170px',
47
- html :
48
- '<textarea style="' +
49
- 'width:346px;' +
50
- 'height:170px;' +
51
- 'resize: none;' +
52
- 'border:1px solid black;' +
53
- 'background-color:white">' +
54
- '</textarea>',
55
- focus : function()
56
- {
57
- this.getElement().focus();
58
- }
59
- }
60
- ]
61
- }
62
- ]
63
- };
64
- });
65
- })();
@@ -1,43 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- /**
7
- * @file Paste as plain text plugin
8
- */
9
-
10
- (function()
11
- {
12
- // The pastetext command definition.
13
- var embedCmd =
14
- {
15
- exec : function( editor )
16
- {
17
- editor.openDialog( 'embed' );
18
- return;
19
- }
20
- };
21
-
22
- // Register the plugin.
23
- CKEDITOR.plugins.add( 'embed',
24
- {
25
- lang : [ 'en', 'ru', 'uk' ],
26
- requires : [ 'dialog' ],
27
-
28
- init : function( editor )
29
- {
30
- var commandName = 'embed';
31
- editor.addCommand( commandName, embedCmd );
32
-
33
- editor.ui.addButton( 'Embed',
34
- {
35
- label : editor.lang.embed.button,
36
- command : commandName,
37
- icon: this.path + "images/embed.png"
38
- });
39
 
40
- CKEDITOR.dialog.add( commandName, CKEDITOR.getUrl( this.path + 'dialogs/embed.js' ) );
41
- }
42
- });
43
-
44
- })();
@@ -1,43 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.html or http://ckeditor.com/license
4
- */
5
-
6
- CKEDITOR.editorConfig = function( config )
7
- {
8
- config.PreserveSessionOnFileBrowser = true;
9
- // Define changes to default configuration here. For example:
10
- config.language = 'en';
11
- // config.uiColor = '#AADC6E';
12
-
13
- //config.ContextMenu = ['Generic','Anchor','Flash','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','Table','Form'] ;
14
-
15
- config.height = '400px';
16
- config.width = '600px';
17
-
18
- //config.resize_enabled = false;
19
- //config.resize_maxHeight = 2000;
20
- //config.resize_maxWidth = 750;
21
-
22
- //config.startupFocus = true;
23
-
24
- // works only with en, ru, uk languages
25
- config.extraPlugins = "embed,attachment";
26
-
27
- config.toolbar = 'Easy';
28
-
29
- config.toolbar_Easy =
30
- [
31
- ['Source','-','Preview','Templates'],
32
- ['Cut','Copy','Paste','PasteText','PasteFromWord',],
33
- ['Maximize','-','About'],
34
- ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
35
- ['Styles','Format'],
36
- ['Bold','Italic','Underline','Strike','-','Subscript','Superscript', 'TextColor'],
37
- ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
38
- ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
39
- ['Link','Unlink','Anchor'],
40
- ['Image','Embed','Flash','Attachment','Table','HorizontalRule','Smiley','SpecialChar','PageBreak']
41
- ];
42
- };
43
-
@@ -1,316 +0,0 @@
1
- /*
2
- * CKFinder
3
- * ========
4
- * http://www.ckfinder.com
5
- * Copyright (C) 2007-2008 Frederico Caldeira Knabben (FredCK.com)
6
- *
7
- * The software, this file and its contents are subject to the CKFinder
8
- * License. Please read the license.txt file before using, installing, copying,
9
- * modifying or distribute this file or part of its contents. The contents of
10
- * this file is part of the Source Code of CKFinder.
11
- */
12
-
13
- div.FCKThumb
14
- {
15
- clear: none;
16
- padding: 5px;
17
- margin: 5px;
18
- float: left;
19
- border: #d3d3d3 1px solid;
20
- background-color: #ffffff;
21
- cursor: default;
22
- }
23
-
24
- div.FCKThumb table img {
25
- display: block;
26
- }
27
-
28
- tr.FCKThumb
29
- {
30
- border: #d3d3d3 1px solid;
31
- cursor: pointer;
32
- cursor: default;
33
- }
34
-
35
- tr.FCKThumb td
36
- {
37
- padding: 2px;
38
- }
39
-
40
- .FCKSelectedBox
41
- {
42
- border: #0000ff 1px solid !important;
43
- background-color: #99ccff !important;
44
- }
45
-
46
- .FCKAsset {
47
- cursor: pointer;
48
- margin-top: 5px;
49
- }
50
-
51
- .FCKFileName, .FCKFileDate, .FCKFileSize
52
- {
53
- margin-top: 3px;
54
- overflow: hidden;
55
- text-overflow: ellipsis;
56
- white-space: nowrap;
57
- }
58
-
59
- div.FCKFileName, div.FCKFileDate, div.FCKFileSize
60
- {
61
- width: 100px;
62
- text-align: center;
63
- }
64
-
65
- td.FCKFileName, td.FCKFileDate
66
- {
67
- text-align: left;
68
- }
69
-
70
- td.FCKFileSize
71
- {
72
- text-align: right;
73
- }
74
-
75
- .FCKHideFileName .FCKFileName
76
- {
77
- display: none;
78
- }
79
-
80
- .FCKHideFileDate .FCKFileDate
81
- {
82
- display: none;
83
- }
84
-
85
- .FCKHideFileSize .FCKFileSize
86
- {
87
- display: none;
88
- }
89
-
90
- .FCKThumbTools
91
- {
92
- padding: 2px;
93
- z-index: 1;
94
- position: absolute;
95
- }
96
-
97
- .FCKBottomSpace
98
- {
99
- clear: both;
100
- float: none;
101
- height: 25px;
102
- }
103
-
104
- .FCKSelected, .FCKSelected A, .FCKSelected A:hover
105
- {
106
- background-color: #0A246A;
107
- color: #ffffff !important;
108
- }
109
-
110
- .FCKFolderLoading
111
- {
112
- padding: 2px;
113
- padding-left: 5px;
114
- color: #a9a9a9;
115
- }
116
-
117
- .FCKChildFolders
118
- {
119
- /* padding-left: 18px;*/
120
- }
121
-
122
- .FCKFolder
123
- {
124
- white-space: nowrap;
125
- padding-top: 1px;
126
- padding-bottom: 1px;
127
- padding-right: 5px;
128
- }
129
-
130
- .FCKFolderClosed .FCKChildFolders
131
- {
132
- display: none;
133
- }
134
-
135
- .FCKFolderOpened .FCKChildFolders
136
- {
137
- display: block;
138
- }
139
-
140
- .FCKFolder .Label
141
- {
142
- padding-left: 2px;
143
- height: 16px;
144
- vertical-align: middle;
145
- cursor: pointer;
146
- cursor: hand;
147
- }
148
-
149
- .FCKFolderOver .Label
150
- {
151
- color: #0000ff;
152
- text-decoration: underline;
153
- }
154
-
155
- .FCKFolder .Icon
156
- {
157
- background-position: center center;
158
- background-image: url(../images/ckffolder.gif);
159
- cursor: pointer;
160
- cursor: hand;
161
- }
162
-
163
- .FCKFolder .PlusMinus
164
- {
165
- background-position: center center;
166
- background-image: url(../images/ckfplus.gif);
167
- }
168
-
169
- .FCKFolderSelected
170
- {
171
- border-style: none;
172
- cursor: inherit;
173
- }
174
-
175
- .FCKFolderSelected .Icon
176
- {
177
- background-image: url(../images/ckffolderopened.gif);
178
- }
179
-
180
- .FCKFolderOpened .PlusMinus
181
- {
182
- background-image: url(../images/ckfminus.gif);
183
- }
184
-
185
- .FCKFolderNoPlusMinus .PlusMinus
186
- {
187
- background-image: url(../images/spacer.gif);
188
- }
189
-
190
- .FCKLabel A
191
- {
192
- color: #000000;
193
- text-decoration: none;
194
- }
195
-
196
- .FCKLabel A:hover
197
- {
198
- color: #0000ff;
199
- text-decoration: underline;
200
- }
201
-
202
- .FCKPlus .FCKPlusMinus
203
- {
204
- background-image: url(../images/ckfplus.gif);
205
- background-repeat: no-repeat;
206
- }
207
-
208
- .FCKMinus .FCKPlusMinus
209
- {
210
- background-image: url(../images/ckfminus.gif);
211
- background-repeat: no-repeat;
212
- }
213
-
214
- a.FCKFileDelete {
215
- float:right;
216
- background-image:url('/javascripts/ckeditor/images/cancelbutton.gif');
217
- background-repeat: no-repeat;
218
- background-position:-14px 0;
219
- width:14px;
220
- }
221
-
222
- a.FCKFileDelete:hover {
223
- background-position:0 0;
224
- }
225
-
226
- .CKFStatusBar
227
- {
228
- padding: 2px;
229
- padding-left: 5px;
230
- padding-right: 5px;
231
- }
232
-
233
- .FoldersPane
234
- {
235
- padding: 0px;
236
- padding-top: 5px;
237
- padding-bottom: 5px;
238
- margin: 0px;
239
- }
240
-
241
- .FoldersPane .PopupSelectionBox
242
- {
243
- border-style: none !important;
244
- }
245
-
246
- #xCover
247
- {
248
- position: absolute;
249
- top: 0px;
250
- left: 0px;
251
- width: 100%;
252
- height: 100%;
253
- filter: alpha(opacity=50); /* IE */
254
- opacity: 0.50; /* Safari, Opera and Mozilla */
255
- }
256
-
257
- #xDialog
258
- {
259
- position: absolute;
260
- top: 80px;
261
- left: 120px;
262
- text-align:center;
263
- padding:5px;
264
- overflow: auto; /* FF bug : cursor disappears */
265
- }
266
-
267
- .DialogInner
268
- {
269
- padding-top:25px;
270
- padding-bottom:30px;
271
- padding-left:50px;
272
- padding-right:50px;
273
- }
274
-
275
- #xDialogField
276
- {
277
- margin-top:5px;
278
- }
279
-
280
- #xDialogButtons
281
- {
282
- margin-top:15px;
283
- }
284
-
285
-
286
- .progressBar
287
- {
288
- margin-top:0.2em;
289
- height: 0.8em;
290
- background: blue;
291
- -moz-border-radius: 5px;
292
- -webkit-border-radius: 5px;
293
- border-radius: 5px;
294
- }
295
-
296
- .speed
297
- {
298
- width: 5em;
299
- text-align: right;
300
- padding-right:0.4em;
301
- display:inline-block;
302
- white-space: pre;
303
- }
304
- .uploadinfo
305
- {
306
- width: 8em;
307
- text-align: right;
308
- padding-right:0.4em;
309
- display:inline-block;
310
- white-space: pre;
311
- }
312
- .progressBarContainer
313
- {
314
- width: 200px;
315
- display:inline-block;
316
- }