geri 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +26 -0
  4. data/app/assets/javascripts/geri/admin.js +33 -0
  5. data/app/assets/javascripts/geri/admin/app.js +758 -0
  6. data/app/assets/javascripts/geri/admin/editor.js +56 -0
  7. data/app/assets/javascripts/geri/admin/password_resets.js +2 -0
  8. data/app/assets/stylesheets/geri/admin.css.less +60 -0
  9. data/app/assets/stylesheets/geri/admin/app.css +4915 -0
  10. data/app/assets/stylesheets/geri/admin/ckeditor/contents.css +135 -0
  11. data/app/assets/stylesheets/geri/admin/editor.css.less +38 -0
  12. data/app/assets/stylesheets/geri/admin/password_resets.css +4 -0
  13. data/app/assets/stylesheets/geri/admin/skin-blue.less +142 -0
  14. data/app/assets/vendor/ckeditor/CHANGES.md +1065 -0
  15. data/app/assets/vendor/ckeditor/LICENSE.md +1420 -0
  16. data/app/assets/vendor/ckeditor/README.md +39 -0
  17. data/app/assets/vendor/ckeditor/adapters/jquery.js +10 -0
  18. data/app/assets/vendor/ckeditor/build-config.js +69 -0
  19. data/app/assets/vendor/ckeditor/ckeditor.js +775 -0
  20. data/app/assets/vendor/ckeditor/config.js +34 -0
  21. data/app/assets/vendor/ckeditor/contents.css +135 -0
  22. data/app/assets/vendor/ckeditor/lang/en.js +5 -0
  23. data/app/assets/vendor/ckeditor/plugins/about/dialogs/about.js +7 -0
  24. data/app/assets/vendor/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
  25. data/app/assets/vendor/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
  26. data/app/assets/vendor/ckeditor/plugins/clipboard/dialogs/paste.js +12 -0
  27. data/app/assets/vendor/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
  28. data/app/assets/vendor/ckeditor/plugins/icons.png +0 -0
  29. data/app/assets/vendor/ckeditor/plugins/icons_hidpi.png +0 -0
  30. data/app/assets/vendor/ckeditor/plugins/link/dialogs/anchor.js +7 -0
  31. data/app/assets/vendor/ckeditor/plugins/link/dialogs/link.js +26 -0
  32. data/app/assets/vendor/ckeditor/plugins/link/images/anchor.png +0 -0
  33. data/app/assets/vendor/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
  34. data/app/assets/vendor/ckeditor/samples/css/samples.css +1640 -0
  35. data/app/assets/vendor/ckeditor/samples/img/github-top.png +0 -0
  36. data/app/assets/vendor/ckeditor/samples/img/header-bg.png +0 -0
  37. data/app/assets/vendor/ckeditor/samples/img/header-separator.png +0 -0
  38. data/app/assets/vendor/ckeditor/samples/img/logo.png +0 -0
  39. data/app/assets/vendor/ckeditor/samples/img/navigation-tip.png +0 -0
  40. data/app/assets/vendor/ckeditor/samples/index.html +128 -0
  41. data/app/assets/vendor/ckeditor/samples/js/sample.js +53 -0
  42. data/app/assets/vendor/ckeditor/samples/js/sf.js +17 -0
  43. data/app/assets/vendor/ckeditor/samples/old/ajax.html +85 -0
  44. data/app/assets/vendor/ckeditor/samples/old/api.html +210 -0
  45. data/app/assets/vendor/ckeditor/samples/old/appendto.html +59 -0
  46. data/app/assets/vendor/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
  47. data/app/assets/vendor/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +204 -0
  48. data/app/assets/vendor/ckeditor/samples/old/assets/posteddata.php +59 -0
  49. data/app/assets/vendor/ckeditor/samples/old/assets/sample.jpg +0 -0
  50. data/app/assets/vendor/ckeditor/samples/old/assets/uilanguages/languages.js +7 -0
  51. data/app/assets/vendor/ckeditor/samples/old/datafiltering.html +508 -0
  52. data/app/assets/vendor/ckeditor/samples/old/dialog/assets/my_dialog.js +48 -0
  53. data/app/assets/vendor/ckeditor/samples/old/dialog/dialog.html +190 -0
  54. data/app/assets/vendor/ckeditor/samples/old/divreplace.html +144 -0
  55. data/app/assets/vendor/ckeditor/samples/old/enterkey/enterkey.html +106 -0
  56. data/app/assets/vendor/ckeditor/samples/old/index.html +122 -0
  57. data/app/assets/vendor/ckeditor/samples/old/inlineall.html +314 -0
  58. data/app/assets/vendor/ckeditor/samples/old/inlinebycode.html +124 -0
  59. data/app/assets/vendor/ckeditor/samples/old/inlinetextarea.html +113 -0
  60. data/app/assets/vendor/ckeditor/samples/old/jquery.html +103 -0
  61. data/app/assets/vendor/ckeditor/samples/old/readonly.html +76 -0
  62. data/app/assets/vendor/ckeditor/samples/old/replacebyclass.html +60 -0
  63. data/app/assets/vendor/ckeditor/samples/old/replacebycode.html +59 -0
  64. data/app/assets/vendor/ckeditor/samples/old/sample.css +357 -0
  65. data/app/assets/vendor/ckeditor/samples/old/sample.js +50 -0
  66. data/app/assets/vendor/ckeditor/samples/old/sample_posteddata.php +16 -0
  67. data/app/assets/vendor/ckeditor/samples/old/tabindex.html +78 -0
  68. data/app/assets/vendor/ckeditor/samples/old/toolbar/toolbar.html +235 -0
  69. data/app/assets/vendor/ckeditor/samples/old/uicolor.html +72 -0
  70. data/app/assets/vendor/ckeditor/samples/old/uilanguages.html +122 -0
  71. data/app/assets/vendor/ckeditor/samples/old/wysiwygarea/fullpage.html +80 -0
  72. data/app/assets/vendor/ckeditor/samples/old/xhtmlstyle.html +234 -0
  73. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/css/fontello.css +55 -0
  74. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +10 -0
  75. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/config.json +28 -0
  76. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
  77. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/fontello.svg +14 -0
  78. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
  79. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
  80. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/index.html +446 -0
  81. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +13 -0
  82. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +9 -0
  83. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +33 -0
  84. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +14 -0
  85. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +19 -0
  86. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +325 -0
  87. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +288 -0
  88. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +25 -0
  89. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +36 -0
  90. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +38 -0
  91. data/app/assets/vendor/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +16 -0
  92. data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog.css +1 -0
  93. data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_ie.css +1 -0
  94. data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_ie7.css +1 -0
  95. data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_ie8.css +1 -0
  96. data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_iequirks.css +1 -0
  97. data/app/assets/vendor/ckeditor/skins/bootstrapck/dialog_opera.css +1 -0
  98. data/app/assets/vendor/ckeditor/skins/bootstrapck/editor.css +1 -0
  99. data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_gecko.css +1 -0
  100. data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_ie.css +1 -0
  101. data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_ie7.css +1 -0
  102. data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_ie8.css +1 -0
  103. data/app/assets/vendor/ckeditor/skins/bootstrapck/editor_iequirks.css +1 -0
  104. data/app/assets/vendor/ckeditor/skins/bootstrapck/icons.png +0 -0
  105. data/app/assets/vendor/ckeditor/skins/bootstrapck/icons_hidpi.png +0 -0
  106. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/arrow.png +0 -0
  107. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/close.png +0 -0
  108. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/hidpi/close.png +0 -0
  109. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/hidpi/lock-open.png +0 -0
  110. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/hidpi/lock.png +0 -0
  111. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/hidpi/refresh.png +0 -0
  112. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/lock-open.png +0 -0
  113. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/lock.png +0 -0
  114. data/app/assets/vendor/ckeditor/skins/bootstrapck/images/refresh.png +0 -0
  115. data/app/assets/vendor/ckeditor/skins/bootstrapck/readme.md +35 -0
  116. data/app/assets/vendor/ckeditor/skins/bootstrapck/sample/bootstrapck-sample.html +127 -0
  117. data/app/assets/vendor/ckeditor/skins/bootstrapck/sample/css/bootstrapck-sample.css +1 -0
  118. data/app/assets/vendor/ckeditor/skins/bootstrapck/sample/js/analytics.js +4 -0
  119. data/app/assets/vendor/ckeditor/skins/bootstrapck/sample/js/jquery-1.11.0.min.js +189 -0
  120. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/gecko/editor_gecko.scss +25 -0
  121. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie/dialog_ie.scss +62 -0
  122. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie/editor_ie.scss +71 -0
  123. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie7/dialog_ie7.scss +68 -0
  124. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie7/editor_ie7.scss +213 -0
  125. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie8/dialog_ie8.scss +24 -0
  126. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/ie8/editor_ie8.scss +27 -0
  127. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/iequirks/dialog_iequirks.scss +21 -0
  128. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/iequirks/editor_iequirks.scss +79 -0
  129. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/browser-specific/opera/dialog_opera.scss +31 -0
  130. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_colorpanel.scss +119 -0
  131. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_elementspath.scss +66 -0
  132. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_mainui.scss +189 -0
  133. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_menu.scss +182 -0
  134. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_panel.scss +199 -0
  135. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_presets.scss +32 -0
  136. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_reset.scss +107 -0
  137. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_richcombo.scss +174 -0
  138. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/_toolbar.scss +317 -0
  139. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/components/editor.scss +66 -0
  140. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/config/_colors.scss +61 -0
  141. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/config/_config.scss +9 -0
  142. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/config/_defaults.scss +37 -0
  143. data/app/assets/vendor/ckeditor/skins/bootstrapck/scss/dialog/dialog.scss +822 -0
  144. data/app/assets/vendor/ckeditor/styles.js +111 -0
  145. data/app/controllers/geri/admin/admin_users_controller.rb +56 -0
  146. data/app/controllers/geri/admin/dashboard_controller.rb +8 -0
  147. data/app/controllers/geri/admin/editor_controller.rb +33 -0
  148. data/app/controllers/geri/admin/password_resets_controller.rb +21 -0
  149. data/app/controllers/geri/admin/sessions_controller.rb +24 -0
  150. data/app/controllers/geri/admin_controller.rb +19 -0
  151. data/app/controllers/geri/application_controller.rb +5 -0
  152. data/app/controllers/geri/pages_controller.rb +34 -0
  153. data/app/helpers/geri/admin/dashboard_helper.rb +4 -0
  154. data/app/helpers/geri/admin/editor_helper.rb +4 -0
  155. data/app/helpers/geri/admin/pages_helper.rb +45 -0
  156. data/app/helpers/geri/admin/partials_helper.rb +4 -0
  157. data/app/helpers/geri/admin/password_resets_helper.rb +4 -0
  158. data/app/helpers/geri/admin/sessions_helper.rb +4 -0
  159. data/app/helpers/geri/admin_helper.rb +24 -0
  160. data/app/helpers/geri/admin_users_helper.rb +4 -0
  161. data/app/helpers/geri/application_helper.rb +26 -0
  162. data/app/helpers/geri/meta_helper.rb +32 -0
  163. data/app/mailers/application_mailer.rb +4 -0
  164. data/app/mailers/geri/admin_user_mailer.rb +11 -0
  165. data/app/models/geri/admin_user.rb +14 -0
  166. data/app/models/geri/content.rb +6 -0
  167. data/app/models/geri/password_reset.rb +17 -0
  168. data/app/models/geri/session.rb +20 -0
  169. data/app/views/geri/admin/admin_users/_form.html.erb +5 -0
  170. data/app/views/geri/admin/admin_users/edit.html.erb +27 -0
  171. data/app/views/geri/admin/admin_users/index.html.erb +45 -0
  172. data/app/views/geri/admin/admin_users/new.html.erb +17 -0
  173. data/app/views/geri/admin/dashboard/index.html.erb +1 -0
  174. data/app/views/geri/admin/editor/template.html.erb +17 -0
  175. data/app/views/geri/admin/password_resets/new.html.erb +17 -0
  176. data/app/views/geri/admin/sessions/new.html.erb +23 -0
  177. data/app/views/geri/admin/shared/_aside.html.erb +16 -0
  178. data/app/views/geri/admin/shared/_header.html.erb +31 -0
  179. data/app/views/geri/admin/shared/_menu_item.html.erb +17 -0
  180. data/app/views/geri/admin_user_mailer/reset_password_email.text.erb +7 -0
  181. data/app/views/layouts/geri/admin.html.erb +24 -0
  182. data/app/views/layouts/geri/admin/sessions.html.erb +21 -0
  183. data/app/views/layouts/mailer.html.erb +5 -0
  184. data/app/views/layouts/mailer.text.erb +1 -0
  185. data/config/initializers/geri.rb +7 -0
  186. data/config/initializers/sorcery.rb +463 -0
  187. data/config/locales/devise.en.yml +62 -0
  188. data/config/locales/en.yml +13 -0
  189. data/config/routes.rb +23 -0
  190. data/db/migrate/20160409151523_create_geri_contents.rb +8 -0
  191. data/db/migrate/20160411205412_sorcery_core.rb +20 -0
  192. data/lib/generators/geri/install/USAGE +8 -0
  193. data/lib/generators/geri/install/install_generator.rb +54 -0
  194. data/lib/generators/geri/install/templates/bower.json +8 -0
  195. data/lib/generators/geri/install/templates/index.html.erb +46 -0
  196. data/lib/generators/geri/install/templates/initializer.rb +12 -0
  197. data/lib/generators/geri/install/templates/layout.html.erb +11 -0
  198. data/lib/generators/geri/install/templates/site.css.less +1 -0
  199. data/lib/generators/geri/install/templates/site.js +1 -0
  200. data/lib/geri.rb +7 -0
  201. data/lib/geri/cli.rb +6 -0
  202. data/lib/geri/cli/base.rb +23 -0
  203. data/lib/geri/cli/extension.rb +18 -0
  204. data/lib/geri/config.rb +29 -0
  205. data/lib/geri/config/menu_item.rb +35 -0
  206. data/lib/geri/engine.rb +34 -0
  207. data/lib/geri/tasks.rb +3 -0
  208. data/lib/geri/tasks/create_admin_user.rb +40 -0
  209. data/lib/geri/version.rb +3 -0
  210. data/lib/tasks/geri_tasks.rake +15 -0
  211. metadata +449 -0
@@ -0,0 +1,66 @@
1
+ /*
2
+ Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+
6
+ /*
7
+ editor.css
8
+ ============
9
+
10
+ This is he heart of the skin system. This is the file loaded by the editor to
11
+ style all elements inside its main interface.
12
+
13
+ To make it easier to maintain, instead of including all styles here, we import
14
+ other files.
15
+ */
16
+
17
+ /* Config files, where variables are defined */
18
+ @import "../config/config";
19
+
20
+ /* "Reset" styles, necessary to avoid the editor UI being broken by external CSS. */
21
+ @import "reset";
22
+
23
+ /* Styles the main interface structure (holding box). */
24
+ @import "mainui";
25
+
26
+ /* Styles all "panels", which are the floating elements that appear when
27
+ opening toolbar combos, menu buttons, context menus, etc. */
28
+ @import "panel";
29
+
30
+ /* Styles the color panel displayed by the color buttons. */
31
+ @import "colorpanel";
32
+
33
+ /* Styles to toolbar. */
34
+ @import "toolbar";
35
+
36
+ /* Styles menus, which are lists of selectable items (context menu, menu button). */
37
+ @import "menu";
38
+
39
+ /* Styles toolbar combos. */
40
+ @import "richcombo";
41
+
42
+ /* Styles the elements path bar, available at the bottom of the editor UI.*/
43
+ @import "elementspath";
44
+
45
+ /* Contains hard-coded presets for "configurable-like" options of the UI
46
+ (e.g. display labels on specific buttons) */
47
+ @import "presets";
48
+
49
+ /* Important!
50
+ To avoid showing the editor UI while its styles are still not available, the
51
+ editor creates it with visibility:hidden. Here, we restore the UI visibility. */
52
+ .cke_chrome {
53
+ visibility: inherit;
54
+ }
55
+
56
+ /* For accessibility purposes, several "voice labels" are present in the UI.
57
+ These are usually <span> elements that show not be visible, but that are
58
+ used by screen-readers to announce other elements. Here, we hide these
59
+ <spans>, in fact. */
60
+ .cke_voice_label {
61
+ display: none;
62
+ }
63
+
64
+ legend.cke_voice_label {
65
+ display: none;
66
+ }
@@ -0,0 +1,61 @@
1
+ /* ==========================================================================
2
+ Colors
3
+
4
+ This file is exclusively intended for setting up variables
5
+ Never add styles directly to this file
6
+ ========================================================================== */
7
+
8
+ // Grays
9
+ // -------------------------
10
+
11
+ $gray-darker: #333;
12
+ $gray-dark: #555;
13
+ $gray: #aaa;
14
+ $gray-light: #ddd;
15
+ $gray-lighter: #eee;
16
+
17
+ // Primary
18
+ // -------------------------
19
+ $primary: #428bca;
20
+ $primary-light: #92bce0;
21
+ $primary-lighter: #e1edf7;
22
+
23
+ // Forms
24
+ // -------------------------
25
+ $form-blue: #66afe9;
26
+
27
+ // Blues
28
+ // -------------------------
29
+ $blue-dark: #2274c9;
30
+ $blue-dark-hover: #1e68b4;
31
+ $blue: #3F8EDF;
32
+ $blue-hover: #2981db;
33
+
34
+ // States
35
+ // -------------------------
36
+
37
+ $success: $blue;
38
+ $success-hover: $blue-hover;
39
+ $success-border: $blue-dark;
40
+ $success-border-hover: $blue-dark-hover;
41
+
42
+ $warning: #f0ad4e;
43
+ $danger: #d9534f;
44
+ $info: #5bc0de;
45
+
46
+ // Scaffolding
47
+ // -------------------------
48
+
49
+ $body-bg: #fff;
50
+ $text-color: $gray-darker;
51
+
52
+ // Links
53
+ // -------------------------
54
+
55
+ $link-color: $primary;
56
+ $link-hover-color: darken($link-color, 15%);
57
+
58
+ // Hr border color
59
+ // -------------------------
60
+
61
+ $hr-border: $gray-light;
@@ -0,0 +1,9 @@
1
+ /* ==========================================================================
2
+ Config
3
+
4
+ This file is exclusively intended for setting up imports
5
+ Never add styles directly to this file
6
+ ========================================================================== */
7
+
8
+ @import "colors";
9
+ @import "defaults";
@@ -0,0 +1,37 @@
1
+ /* ==========================================================================
2
+ Defaults
3
+
4
+ This file is exclusively intended for setting up variables
5
+ Never add styles directly to this file
6
+ ========================================================================== */
7
+
8
+ // Border radius
9
+ // -------------------------
10
+
11
+ $border-radius: 4px;
12
+
13
+
14
+ // Forms
15
+ // -------------------------
16
+
17
+ %input-style {
18
+ background-color: #fff;
19
+ outline: none;
20
+ width: 100%;
21
+ *width: 95%;
22
+ height: 30px;
23
+ padding: 4px 10px;
24
+ border: 1px solid $hr-border;
25
+ border-radius: $border-radius;
26
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
27
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
28
+
29
+ -moz-box-sizing: border-box;
30
+ -webkit-box-sizing: border-box;
31
+ box-sizing: border-box;
32
+ &:focus {
33
+ border-color: $form-blue;
34
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba($form-blue,.6);
35
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba($form-blue,.6);
36
+ }
37
+ }
@@ -0,0 +1,822 @@
1
+ /*
2
+ Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.
3
+ For licensing, see LICENSE.md or http://ckeditor.com/license
4
+ */
5
+
6
+ /*
7
+ dialog.css
8
+ ============
9
+
10
+ This file styles dialogs and all widgets available inside of it (tabs, buttons,
11
+ fields, etc.).
12
+
13
+ Dialogs are a complex system because they're very flexible. The CKEditor API
14
+ makes it easy to create and customize dialogs by code, by making use of several
15
+ different widgets inside its contents.
16
+
17
+ All dialogs share a main dialog strucuture, which can be visually represented
18
+ as follows:
19
+
20
+ +-- .cke_dialog -------------------------------------------------+
21
+ | +-- .cke_dialog_body ----------------------------------------+ |
22
+ | | +-- .cke_dialog_title --+ +-- .cke_dialog_close_button --+ | |
23
+ | | | | | | | |
24
+ | | +-----------------------+ +------------------------------+ | |
25
+ | | +-- .cke_dialog_tabs ------------------------------------+ | |
26
+ | | | | | |
27
+ | | +--------------------------------------------------------+ | |
28
+ | | +-- .cke_dialog_contents --------------------------------+ | |
29
+ | | | +-- .cke_dialog_contents_body -----------------------+ | | |
30
+ | | | | | | | |
31
+ | | | +----------------------------------------------------+ | | |
32
+ | | | +-- .cke_dialog_footer ------------------------------+ | | |
33
+ | | | | | | | |
34
+ | | | +----------------------------------------------------+ | | |
35
+ | | +--------------------------------------------------------+ | |
36
+ | +------------------------------------------------------------+ |
37
+ +----------------------------------------------------------------+
38
+
39
+ /* Config files, where variables are defined */
40
+ @import "../config/config";
41
+
42
+ /* Comments in this file will give more details about each of the above blocks.
43
+ */
44
+
45
+ /* The outer container of the dialog. */
46
+ .cke_dialog {
47
+ /* Mandatory: Because the dialog.css file is loaded on demand, we avoid
48
+ showing an unstyled dialog by hidding it. Here, we restore its visibility. */
49
+ visibility: visible;
50
+ }
51
+
52
+ /* The inner boundary container. */
53
+ .cke_dialog_body {
54
+ z-index: 1;
55
+ background: $gray-lighter;
56
+ border: 1px solid $hr-border;
57
+
58
+ border-radius: $border-radius;
59
+ }
60
+
61
+ /* This one is required by Firefox 3.6. Without it,
62
+ dialog tabs and resizer float outside of the dialog.
63
+ Although this rule doesn't seem to break anything on other
64
+ browsers, it doesn't work with broken jQueryUI - #9851. */
65
+ .cke_browser_gecko19 .cke_dialog_body {
66
+ position: relative;
67
+ }
68
+
69
+ /* Due to our reset we have to recover the styles of some elements. */
70
+ .cke_dialog strong {
71
+ font-weight: bold;
72
+ }
73
+
74
+ /* The dialog title. */
75
+ .cke_dialog_title {
76
+ font-weight: bold;
77
+ font-size: 13px;
78
+ cursor: move;
79
+ position: relative;
80
+ color: $text-color;
81
+ border-bottom: 1px solid $hr-border;
82
+ padding: 10px 12px;
83
+ background: $gray-lighter;
84
+ }
85
+
86
+ /* The outer part of the dialog contants, which contains the contents body
87
+ and the footer. */
88
+ .cke_dialog_contents {
89
+ background-color: #fff;
90
+ overflow: auto;
91
+ padding: 15px 10px 5px 10px;
92
+ margin-top: 35px;
93
+ border-top: 1px solid $hr-border;
94
+ border-radius: 0 0 $border-radius $border-radius;
95
+ }
96
+
97
+ /* The contents body part, which will hold all elements available in the dialog. */
98
+ .cke_dialog_contents_body {
99
+ overflow: auto;
100
+ padding: 17px 10px 5px 10px;
101
+ margin-top: 22px;
102
+ }
103
+
104
+ /* The dialog footer, which usually contains the "Ok" and "Cancel" buttons as
105
+ well as a resize handler. */
106
+ .cke_dialog_footer {
107
+ text-align: right;
108
+ position: relative;
109
+ border-radius: 0 0 $border-radius $border-radius;
110
+ border-top: 1px solid $hr-border;
111
+ background: $gray-lighter;
112
+ }
113
+
114
+ .cke_rtl .cke_dialog_footer {
115
+ text-align: left;
116
+ }
117
+
118
+ .cke_hc .cke_dialog_footer {
119
+ outline: none;
120
+ border-top: 1px solid #fff;
121
+ }
122
+
123
+ .cke_dialog .cke_resizer {
124
+ margin-top: 28px;
125
+ }
126
+
127
+ .cke_dialog .cke_resizer_rtl {
128
+ margin-left: 5px;
129
+ }
130
+
131
+ .cke_dialog .cke_resizer_ltr {
132
+ margin-right: 5px;
133
+ }
134
+
135
+ /*
136
+ Dialog tabs
137
+ -------------
138
+
139
+ Tabs are presented on some of the dialogs to make it possible to have its
140
+ contents split on different groups, visible one after the other.
141
+
142
+ The main element that holds the tabs can be made hidden, in case of no tabs
143
+ available.
144
+
145
+ The following is the visual representation of the tabs block:
146
+
147
+ +-- .cke_dialog_tabs ------------------------------------+
148
+ | +-- .cke_dialog_tab --+ +-- .cke_dialog_tab --+ ... |
149
+ | | | | | |
150
+ | +---------------------+ +---------------------+ |
151
+ +--------------------------------------------------------+
152
+
153
+ The .cke_dialog_tab_selected class is appended to the active tab.
154
+ */
155
+
156
+ /* The main tabs container. */
157
+ .cke_dialog_tabs {
158
+ height: 24px;
159
+ display: inline-block;
160
+ margin: 10px 0 0;
161
+ position: absolute;
162
+ z-index: 2;
163
+ left: 10px;
164
+ }
165
+
166
+ .cke_rtl .cke_dialog_tabs {
167
+ right: 10px;
168
+ }
169
+
170
+ /* A single tab (an <a> element). */
171
+ a.cke_dialog_tab {
172
+ height: 16px;
173
+ padding: 4px 8px;
174
+ margin-right: 3px;
175
+ display: inline-block;
176
+ cursor: pointer;
177
+ line-height: 16px;
178
+ outline: none;
179
+ color: $gray-dark;
180
+ border: 1px solid $hr-border;
181
+
182
+ border-radius: 3px 3px 0 0;
183
+ background: lighten($gray-lighter, 2%);
184
+ }
185
+
186
+ .cke_rtl a.cke_dialog_tab {
187
+ margin-right: 0;
188
+ margin-left: 3px;
189
+ }
190
+
191
+ /* A hover state of a regular inactive tab. */
192
+ a.cke_dialog_tab:hover {
193
+ background: $gray-light;
194
+ text-decoration: none;
195
+ }
196
+
197
+ a.cke_dialog_tab_selected
198
+ {
199
+ background: #fff;
200
+ color: $text-color;
201
+ border-bottom-color: #fff;
202
+ cursor: default;
203
+ filter: none;
204
+ }
205
+
206
+ /* A hover state for selected tab. */
207
+ a.cke_dialog_tab_selected:hover {
208
+ background: #fff;
209
+ }
210
+
211
+ .cke_hc a.cke_dialog_tab:hover,
212
+ .cke_hc a.cke_dialog_tab_selected
213
+ {
214
+ border: 3px solid;
215
+ padding: 2px 6px;
216
+ }
217
+
218
+ a.cke_dialog_tab_disabled
219
+ {
220
+ color: #bababa;
221
+ cursor: default;
222
+ }
223
+
224
+ /* selectbox inside tabs container */
225
+ .cke_dialog_tabs {
226
+ .cke_dialog_ui_input_select {
227
+ top: -7px !important;
228
+ }
229
+ }
230
+
231
+ /* The .cke_single_page class is appended to the dialog outer element in case
232
+ of dialogs that has no tabs. */
233
+ .cke_single_page .cke_dialog_tabs
234
+ {
235
+ display: none;
236
+ }
237
+
238
+ .cke_single_page .cke_dialog_contents
239
+ {
240
+ padding-top: 5px;
241
+ margin-top: 0;
242
+ border-top: none;
243
+ }
244
+
245
+ /* The close button at the top of the dialog. */
246
+
247
+ .cke_dialog_close_button {
248
+ background-image: url(images/close.png);
249
+ background-repeat: no-repeat;
250
+ background-position: 0 0;
251
+ position: absolute;
252
+ cursor: pointer;
253
+ text-align: center;
254
+ height: 20px;
255
+ width: 20px;
256
+ top: 9px;
257
+ z-index: 5;
258
+ }
259
+
260
+ .cke_hidpi .cke_dialog_close_button {
261
+ background-image: url(images/hidpi/close.png);
262
+ background-size: 16px;
263
+ }
264
+
265
+ .cke_dialog_close_button span {
266
+ display: none;
267
+ }
268
+
269
+ .cke_hc .cke_dialog_close_button span {
270
+ display: inline;
271
+ cursor: pointer;
272
+ font-weight: bold;
273
+ position: relative;
274
+ top: 3px;
275
+ }
276
+
277
+ .cke_ltr .cke_dialog_close_button {
278
+ right: 5px;
279
+ }
280
+
281
+ .cke_rtl .cke_dialog_close_button {
282
+ left: 6px;
283
+ }
284
+
285
+
286
+ /*
287
+ Dialog UI Elements
288
+ --------------------
289
+
290
+ The remaining styles define the UI elements that can be used inside dialog
291
+ contents.
292
+
293
+ Most of the UI elements on dialogs contain a textual label. All of them share
294
+ the same labelling structure, having the label text inside an element with
295
+ .cke_dialog_ui_labeled_label and the element specific part inside the
296
+ .cke_dialog_ui_labeled_content class.
297
+ */
298
+
299
+ /* If an element is supposed to be disabled, the .cke_disabled class is
300
+ appended to it. */
301
+ div.cke_disabled .cke_dialog_ui_labeled_content div * {
302
+ background-color: #ddd;
303
+ cursor: default;
304
+ }
305
+
306
+ /*
307
+ Horizontal-Box and Vertical-Box
308
+ ---------------------------------
309
+
310
+ There are basic layou element used by the editor to properly align elements in
311
+ the dialog. They're basically tables that have each cell filled by UI elements.
312
+
313
+ The following is the visual representation of a H-Box:
314
+
315
+ +-- .cke_dialog_ui_hbox --------------------------------------------------------------------------------+
316
+ | +-- .cke_dialog_ui_hbox_first --+ +-- .cke_dialog_ui_hbox_child --+ +-- .cke_dialog_ui_hbox_last --+ |
317
+ | + + + + + + |
318
+ | +-------------------------------+ +-------------------------------+ +------------------------------+ |
319
+ +-------------------------------------------------------------------------------------------------------+
320
+
321
+ It is possible to have nested V/H-Boxes.
322
+ */
323
+
324
+ .cke_dialog_ui_vbox, .cke_dialog_ui_hbox {
325
+ table {
326
+ margin: auto;
327
+ }
328
+ }
329
+ .cke_dialog_ui_vbox {
330
+ margin-top: 5px;
331
+ }
332
+ .cke_dialog_ui_vbox_child {
333
+ padding: 5px 0px;
334
+ }
335
+
336
+ .cke_dialog_ui_hbox {
337
+ width: 100%;
338
+ }
339
+
340
+ .cke_dialog_ui_hbox_first,
341
+ .cke_dialog_ui_hbox_child,
342
+ .cke_dialog_ui_hbox_last {
343
+ vertical-align: top;
344
+ }
345
+
346
+ /* To center a horizontal label-input (selection field dialog / find and replace) */
347
+ .cke_dialog_ui_hbox_first,
348
+ .cke_dialog_ui_hbox_last {
349
+ > .cke_dialog_ui_labeled_label, > .cke_dialog_ui_html {
350
+ line-height: 30px;
351
+ }
352
+ }
353
+
354
+ .cke_ltr .cke_dialog_ui_hbox_first,
355
+ .cke_ltr .cke_dialog_ui_hbox_child {
356
+ padding-right: 10px;
357
+ }
358
+
359
+ .cke_rtl .cke_dialog_ui_hbox_first,
360
+ .cke_rtl .cke_dialog_ui_hbox_child {
361
+ padding-left: 10px;
362
+ }
363
+
364
+ .cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,
365
+ .cke_ltr .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child {
366
+ padding-right: 5px;
367
+ }
368
+
369
+ .cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_first,
370
+ .cke_rtl .cke_dialog_footer_buttons .cke_dialog_ui_hbox_child {
371
+ padding-left: 5px;
372
+ padding-right: 0;
373
+ }
374
+
375
+ /* Applies to all labeled dialog fields */
376
+ .cke_hc div {
377
+ &.cke_dialog_ui_input_text,
378
+ &.cke_dialog_ui_input_password,
379
+ &.cke_dialog_ui_input_textarea,
380
+ &.cke_dialog_ui_input_select,
381
+ &.cke_dialog_ui_input_file {
382
+ border: 1px solid;
383
+ }
384
+ }
385
+
386
+ /*
387
+ Text Input
388
+ ------------
389
+
390
+ The basic text field to input text.
391
+
392
+ +-- .cke_dialog_ui_text --------------------------+
393
+ | +-- .cke_dialog_ui_labeled_label ------------+ |
394
+ | | | |
395
+ | +--------------------------------------------+ |
396
+ | +-- .cke_dialog_ui_labeled_content ----------+ |
397
+ | | +-- div.cke_dialog_ui_input_text --------+ | |
398
+ | | | +-- input.cke_dialog_ui_input_text --+ | | |
399
+ | | | | | | | |
400
+ | | | +------------------------------------+ | | |
401
+ | | +----------------------------------------+ | |
402
+ | +--------------------------------------------+ |
403
+ +-------------------------------------------------+
404
+ */
405
+
406
+ .cke_dialog_ui_text {
407
+ margin-bottom: 7px;
408
+ }
409
+ .cke_dialog_ui_select {
410
+ height: auto !important;
411
+ margin-bottom: 7px;
412
+ }
413
+
414
+ /*
415
+ Textarea
416
+ ----------
417
+
418
+ The textarea field to input larger text.
419
+
420
+ +-- .cke_dialog_ui_textarea --------------------------+
421
+ | +-- .cke_dialog_ui_labeled_label ----------------+ |
422
+ | | | |
423
+ | +------------------------------------------------+ |
424
+ | +-- .cke_dialog_ui_labeled_content --------------+ |
425
+ | | +-- div.cke_dialog_ui_input_textarea --------+ | |
426
+ | | | +-- input.cke_dialog_ui_input_textarea --+ | | |
427
+ | | | | | | | |
428
+ | | | +----------------------------------------+ | | |
429
+ | | +--------------------------------------------+ | |
430
+ | +------------------------------------------------+ |
431
+ +-----------------------------------------------------+
432
+ */
433
+
434
+ textarea.cke_dialog_ui_input_textarea {
435
+ overflow: auto;
436
+ resize: none;
437
+ }
438
+
439
+ input.cke_dialog_ui_input_text,
440
+ input.cke_dialog_ui_input_password,
441
+ textarea.cke_dialog_ui_input_textarea {
442
+ @extend %input-style;
443
+ }
444
+
445
+
446
+ /*
447
+ Button
448
+ --------
449
+
450
+ The buttons used in the dialog footer or inside the contents.
451
+
452
+ +-- a.cke_dialog_ui_button -----------+
453
+ | +-- span.cke_dialog_ui_button --+ |
454
+ | | | |
455
+ | +-------------------------------+ |
456
+ +-------------------------------------+
457
+ */
458
+
459
+ /* The outer part of the button. */
460
+ a.cke_dialog_ui_button {
461
+ display: inline-block;
462
+ *display: inline;
463
+ *zoom: 1;
464
+
465
+ padding: 3px 0;
466
+ margin: 0;
467
+
468
+ text-align: center;
469
+ color: $text-color;
470
+ vertical-align: middle;
471
+ cursor: pointer;
472
+
473
+ border: 1px solid $hr-border;
474
+ border-radius: $border-radius;
475
+ background: #fff;
476
+
477
+ &:hover, &:focus, &:active {
478
+ border-color: $gray;
479
+ background-color: $gray-lighter;
480
+ text-decoration: none;
481
+ }
482
+ }
483
+
484
+ /* Buttons inside the content */
485
+ .cke_dialog_page_contents {
486
+ a.cke_dialog_ui_button {
487
+ height: 22px;
488
+ line-height: 22px;
489
+ background-color: #f4f4f4;
490
+ &:hover, &:focus, &:active {
491
+ background-color: $gray-lighter;
492
+ }
493
+ }
494
+ }
495
+
496
+ span.cke_dialog_ui_button {
497
+ padding: 0 12px;
498
+ }
499
+
500
+ .cke_hc a.cke_dialog_ui_button {
501
+ &:hover, &:focus, &:active {
502
+ border: 3px solid;
503
+ padding-top: 1px;
504
+ padding-bottom: 1px;
505
+
506
+ span {
507
+ padding-left: 10px;
508
+ padding-right: 10px;
509
+ }
510
+ }
511
+ }
512
+
513
+ /*
514
+ a.cke_dialog_ui_button[style*="width"]
515
+ {
516
+ display: block !important;
517
+ width: auto !important;
518
+ }
519
+ */
520
+ /* The inner part of the button (both in dialog tabs and dialog footer). */
521
+ .cke_dialog_footer_buttons a.cke_dialog_ui_button span {
522
+ color: inherit;
523
+ font-size: 12px;
524
+ line-height: 20px;
525
+ }
526
+
527
+ /* Special class appended to the Ok button. */
528
+ a.cke_dialog_ui_button_ok {
529
+ color: #fff;
530
+ border-color: $success-border;
531
+ background: $success;
532
+ &:hover, &:focus, &:active {
533
+ border-color: $success-border-hover;
534
+ background: $success-hover;
535
+ }
536
+ }
537
+
538
+ /* Special class appended to the Cancel button. */
539
+ a.cke_dialog_ui_button_cancel {
540
+ background-color: #fff;
541
+ &:focus {
542
+ outline: none;
543
+ }
544
+ }
545
+
546
+ span.cke_dialog_ui_button {
547
+ cursor: pointer;
548
+ }
549
+
550
+ /* A special container that holds the footer buttons. */
551
+ .cke_dialog_footer_buttons {
552
+ display: inline-table;
553
+ margin: 10px;
554
+ width: auto;
555
+ position: relative;
556
+ vertical-align: middle;
557
+ }
558
+
559
+ /*
560
+ Styles for other dialog element types.
561
+ */
562
+
563
+ div.cke_dialog_ui_input_select {
564
+ display: table;
565
+ }
566
+
567
+ select.cke_dialog_ui_input_select {
568
+ height: 30px;
569
+ line-height: 30px;
570
+
571
+ background-color: #fff;
572
+ padding: 4px 10px;
573
+ border: 1px solid $hr-border;
574
+
575
+ outline: none;
576
+ border-radius: $border-radius;
577
+
578
+ -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
579
+ box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
580
+ }
581
+
582
+ .cke_dialog_ui_input_file {
583
+ width: 100%;
584
+ height: 30px;
585
+ }
586
+
587
+ .cke_hc .cke_dialog_ui_labeled_content {
588
+ input, select, textarea {
589
+ &:focus {
590
+ outline: 1px dotted;
591
+ }
592
+ }
593
+ }
594
+
595
+ /*
596
+ * Some utility CSS classes for dialog authors.
597
+ */
598
+ .cke_dialog {
599
+ .cke_dark_background {
600
+ background-color: $gray-lighter;
601
+ }
602
+ .cke_light_background {
603
+ background-color: $gray-lighter;
604
+ }
605
+ .cke_centered {
606
+ text-align: center;
607
+ }
608
+
609
+ a.cke_btn_reset {
610
+ float: right;
611
+ background: url(images/refresh.png) top left no-repeat;
612
+ width: 16px;
613
+ height: 16px;
614
+ border: 1px none;
615
+ font-size: 1px;
616
+ }
617
+
618
+ a.cke_btn_locked, a.cke_btn_unlocked {
619
+ float: left;
620
+ width: 16px;
621
+ height: 16px;
622
+ background-repeat: no-repeat;
623
+ border: none 1px;
624
+ font-size: 1px;
625
+ }
626
+ a.cke_btn_locked {
627
+ background-image: url(images/lock.png);
628
+ .cke_icon {
629
+ display: none;
630
+ }
631
+ }
632
+ a.cke_btn_unlocked {
633
+ background-image: url(images/lock-open.png);
634
+ }
635
+
636
+ .cke_btn_over {
637
+ border: outset 1px;
638
+ cursor: pointer;
639
+ }
640
+ }
641
+
642
+ .cke_hidpi .cke_dialog {
643
+ a.cke_btn_reset {
644
+ background-size: 16px;
645
+ background-image: url(images/hidpi/refresh.png);
646
+ }
647
+ a.cke_btn_unlocked, a.cke_btn_locked {
648
+ background-size: 16px;
649
+ }
650
+ a.cke_btn_locked {
651
+ background-image: url(images/hidpi/lock.png);
652
+ }
653
+ a.cke_btn_unlocked {
654
+ background-image: url(images/hidpi/lock-open.png);
655
+ }
656
+ }
657
+
658
+ .cke_rtl .cke_dialog {
659
+ a.cke_btn_reset {
660
+ float: left;
661
+ }
662
+ a.cke_btn_locked, a.cke_btn_unlocked {
663
+ float: right;
664
+ }
665
+ }
666
+
667
+ /*
668
+ The rest of the file contains style used on several common plugins. There is a
669
+ tendency that these will be moved to the plugins code in the future.
670
+ */
671
+
672
+ .cke_dialog {
673
+ .ImagePreviewBox, .FlashPreviewBox {
674
+ border: 1px solid $gray;
675
+ border-radius: $border-radius;
676
+ padding: 6px 10px;
677
+ margin-top: 5px;
678
+ background-color: white;
679
+ }
680
+ .ImagePreviewBox {
681
+ overflow: scroll;
682
+ height: 205px;
683
+ width: 300px;
684
+ table td {
685
+ white-space: normal;
686
+ }
687
+ }
688
+ .FlashPreviewBox {
689
+ white-space: normal;
690
+ overflow: auto;
691
+ height: 160px;
692
+ width: 390px;
693
+ }
694
+ .ImagePreviewLoader {
695
+ position: absolute;
696
+ white-space: normal;
697
+ overflow: hidden;
698
+ height: 160px;
699
+ width: 230px;
700
+ margin: 2px;
701
+ padding: 2px;
702
+ opacity: 0.9;
703
+ filter: alpha(opacity = 90);
704
+
705
+ background-color: #e4e4e4;
706
+ }
707
+ .cke_pastetext {
708
+ width: 346px;
709
+ height: 170px;
710
+ textarea {
711
+ width: 340px;
712
+ height: 170px;
713
+ resize: none;
714
+ }
715
+ }
716
+ iframe.cke_pasteframe {
717
+ width: 346px;
718
+ height: 130px;
719
+ background-color: white;
720
+ border: 1px solid #aeb3b9;
721
+ border-radius: $border-radius;
722
+ }
723
+ .cke_hand {
724
+ cursor: pointer;
725
+ }
726
+ }
727
+
728
+ .cke_disabled {
729
+ color: #a0a0a0;
730
+ }
731
+
732
+ .cke_dialog_body {
733
+ .cke_label {
734
+ display: none;
735
+ }
736
+ label {
737
+ display: inline-block;
738
+ margin-bottom: 3px;
739
+ cursor: default;
740
+ &.cke_required {
741
+ font-weight: bold;
742
+ }
743
+ }
744
+ }
745
+
746
+ .cke_dialog_ui_html {
747
+ line-height: 150%;
748
+ }
749
+
750
+ a.cke_smile {
751
+ overflow: hidden;
752
+ display: block;
753
+ text-align: center;
754
+ padding: 0.3em 0;
755
+ img {
756
+ vertical-align: middle;
757
+ }
758
+ }
759
+
760
+ a.cke_specialchar {
761
+ cursor: inherit;
762
+ display: block;
763
+ height: 1.25em;
764
+ padding: 0.2em 0.3em;
765
+ text-align: center;
766
+ }
767
+
768
+ a.cke_smile,
769
+ a.cke_specialchar {
770
+ background-color: $gray-lighter;
771
+ border: 1px solid transparent;
772
+ vertical-align: top;
773
+ &:hover, &:focus, &:active {
774
+ background: #fff;
775
+ outline: 0;
776
+ }
777
+ &:hover {
778
+ border-color: $gray;
779
+ }
780
+ &:focus, &:active {
781
+ border-color: $primary;
782
+ }
783
+ }
784
+
785
+ /**
786
+ * Styles specific to "cellProperties" dialog.
787
+ */
788
+
789
+ .cke_dialog_contents a.colorChooser {
790
+ display: block;
791
+ margin-top: 6px;
792
+ margin-left: 10px;
793
+ width: 80px;
794
+ }
795
+
796
+ .cke_rtl .cke_dialog_contents a.colorChooser {
797
+ margin-right: 10px;
798
+ }
799
+
800
+
801
+ .cke_dialog_ui_checkbox {
802
+ display: inline-block;
803
+ margin-bottom: 5px;
804
+ }
805
+
806
+ /* Compensate focus outline for some input elements. (#6200) */
807
+ .cke_dialog_ui_checkbox_input:focus,
808
+ .cke_dialog_ui_radio_input:focus,
809
+ .cke_btn_over {
810
+ outline: 1px dotted #696969;
811
+ }
812
+
813
+ .cke_iframe_shim {
814
+ display: block;
815
+ position: absolute;
816
+ top: 0;
817
+ left: 0;
818
+ z-index: -1;
819
+ filter: alpha(opacity = 0);
820
+ width: 100%;
821
+ height: 100%;
822
+ }