@oat-sa/tao-core-ui 1.58.1 → 1.58.2

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 (233) hide show
  1. package/dist/actionbar.js +386 -395
  2. package/dist/adder.js +21 -19
  3. package/dist/animable/absorbable/absorbable.js +204 -213
  4. package/dist/animable/absorbable/css/absorb.css +1 -0
  5. package/dist/animable/absorbable/css/absorb.css.map +1 -1
  6. package/dist/animable/pulsable/pulsable.js +168 -177
  7. package/dist/autocomplete/css/autocomplete.css +1 -0
  8. package/dist/autocomplete/css/autocomplete.css.map +1 -1
  9. package/dist/autocomplete.js +68 -66
  10. package/dist/badge/badge.js +188 -197
  11. package/dist/badge/css/badge.css +1 -0
  12. package/dist/badge/css/badge.css.map +1 -1
  13. package/dist/breadcrumbs.js +275 -284
  14. package/dist/btngrouper.js +5 -5
  15. package/dist/bulkActionPopup.js +490 -495
  16. package/dist/button.js +283 -291
  17. package/dist/cascadingComboBox.js +249 -258
  18. package/dist/ckeditor/ckConfigurator.js +26 -19
  19. package/dist/ckeditor/dtdHandler.js +11 -9
  20. package/dist/class/selector.js +441 -450
  21. package/dist/component/resizable.js +1 -1
  22. package/dist/component/windowed.js +285 -294
  23. package/dist/component.js +419 -428
  24. package/dist/contextualPopup.js +417 -426
  25. package/dist/dashboard.js +300 -309
  26. package/dist/datalist.js +753 -762
  27. package/dist/datatable/filterStrategy/multiple.js +1 -1
  28. package/dist/datatable/filterStrategy/single.js +1 -1
  29. package/dist/datatable.js +1527 -1550
  30. package/dist/dateRange/dateRange.js +393 -402
  31. package/dist/datetime/picker.js +665 -672
  32. package/dist/deleter.js +368 -377
  33. package/dist/destination/selector.js +286 -295
  34. package/dist/dialog/alert.js +3 -3
  35. package/dist/dialog/confirm.js +1 -1
  36. package/dist/dialog/confirmDelete.js +216 -225
  37. package/dist/dialog.js +650 -654
  38. package/dist/disabler.js +8 -8
  39. package/dist/documentViewer/providers/pdfViewer/fallback/viewer.js +166 -175
  40. package/dist/documentViewer/providers/pdfViewer/pdfjs/findBar.js +518 -527
  41. package/dist/documentViewer/providers/pdfViewer/pdfjs/pageView.js +380 -389
  42. package/dist/documentViewer/providers/pdfViewer/pdfjs/searchEngine.js +539 -548
  43. package/dist/documentViewer/providers/pdfViewer/pdfjs/viewer.js +369 -378
  44. package/dist/documentViewer/providers/pdfViewer.js +184 -193
  45. package/dist/documentViewer.js +292 -301
  46. package/dist/dropdown.js +383 -392
  47. package/dist/durationer.js +5 -5
  48. package/dist/dynamicComponent.js +597 -598
  49. package/dist/feedback.js +356 -362
  50. package/dist/figure/FigureStateActive.js +117 -108
  51. package/dist/filesender.js +2 -2
  52. package/dist/filter.js +230 -239
  53. package/dist/form/dropdownForm.js +355 -357
  54. package/dist/form/form.js +919 -690
  55. package/dist/form/simpleForm.js +1 -1
  56. package/dist/form/validator/renderer.js +233 -235
  57. package/dist/form/validator/validator.js +257 -189
  58. package/dist/form/widget/definitions.js +1 -1
  59. package/dist/form/widget/providers/checkBox.js +254 -259
  60. package/dist/form/widget/providers/comboBox.js +187 -192
  61. package/dist/form/widget/providers/default.js +8 -9
  62. package/dist/form/widget/providers/hidden.js +170 -179
  63. package/dist/form/widget/providers/hiddenBox.js +262 -267
  64. package/dist/form/widget/providers/radioBox.js +216 -225
  65. package/dist/form/widget/providers/textArea.js +187 -196
  66. package/dist/form/widget/providers/textBox.js +2 -3
  67. package/dist/form/widget/widget.js +473 -475
  68. package/dist/formValidator/formValidator.js +1 -1
  69. package/dist/formValidator/highlighters/message.js +1 -1
  70. package/dist/generis/form/form.js +314 -323
  71. package/dist/generis/validator/validator.js +209 -218
  72. package/dist/generis/widget/checkBox/checkBox.js +218 -227
  73. package/dist/generis/widget/comboBox/comboBox.js +179 -188
  74. package/dist/generis/widget/hiddenBox/hiddenBox.js +220 -229
  75. package/dist/generis/widget/textBox/textBox.js +169 -178
  76. package/dist/generis/widget/widget.js +246 -255
  77. package/dist/groupedComboBox.js +222 -231
  78. package/dist/groupvalidator.js +2 -2
  79. package/dist/highlighter.js +967 -958
  80. package/dist/image/ImgStateActive/helper.js +7 -5
  81. package/dist/image/ImgStateActive/initHelper.js +49 -43
  82. package/dist/image/ImgStateActive/initMediaEditor.js +24 -20
  83. package/dist/image/ImgStateActive/mediaSizer.js +14 -12
  84. package/dist/image/ImgStateActive.js +72 -70
  85. package/dist/incrementer.js +6 -6
  86. package/dist/inplacer.js +6 -6
  87. package/dist/itemButtonList/css/item-button-list.css +1 -0
  88. package/dist/itemButtonList/css/item-button-list.css.map +1 -1
  89. package/dist/itemButtonList.js +439 -435
  90. package/dist/keyNavigation/navigableDomElement.js +51 -38
  91. package/dist/keyNavigation/navigator.js +85 -70
  92. package/dist/listbox.js +460 -469
  93. package/dist/liststyler.js +8 -8
  94. package/dist/loadingButton/loadingButton.js +209 -218
  95. package/dist/lock.js +476 -485
  96. package/dist/login/login.js +475 -484
  97. package/dist/maths/calculator/basicCalculator.js +235 -244
  98. package/dist/maths/calculator/calculatorComponent.js +3 -3
  99. package/dist/maths/calculator/core/board.js +772 -781
  100. package/dist/maths/calculator/core/expression.js +476 -485
  101. package/dist/maths/calculator/core/labels.js +228 -237
  102. package/dist/maths/calculator/core/tokenizer.js +1 -1
  103. package/dist/maths/calculator/core/tokens.js +163 -170
  104. package/dist/maths/calculator/plugins/keyboard/templateKeyboard/templateKeyboard.js +244 -253
  105. package/dist/maths/calculator/plugins/screen/simpleScreen/simpleScreen.js +279 -288
  106. package/dist/maths/calculator/scientificCalculator.js +327 -336
  107. package/dist/mediaEditor/mediaEditorComponent.js +238 -245
  108. package/dist/mediaEditor/plugins/mediaAlignment/helper.js +7 -7
  109. package/dist/mediaEditor/plugins/mediaAlignment/mediaAlignmentComponent.js +229 -235
  110. package/dist/mediaEditor/plugins/mediaDimension/mediaDimensionComponent.js +580 -589
  111. package/dist/mediaplayer/players/html5.js +666 -675
  112. package/dist/mediaplayer/players/youtube.js +419 -424
  113. package/dist/mediaplayer/support.js +11 -10
  114. package/dist/mediaplayer/utils/reminder.js +14 -13
  115. package/dist/mediaplayer/utils/timeObserver.js +10 -11
  116. package/dist/mediaplayer/youtubeManager.js +164 -145
  117. package/dist/mediaplayer.js +1565 -1520
  118. package/dist/mediasizer.js +669 -678
  119. package/dist/modal.js +10 -17
  120. package/dist/pageSizeSelector.js +219 -228
  121. package/dist/pagination/providers/pages.js +280 -289
  122. package/dist/pagination/providers/simple.js +192 -201
  123. package/dist/previewer.js +30 -30
  124. package/dist/progressbar.js +4 -4
  125. package/dist/report.js +347 -356
  126. package/dist/resource/filters.js +271 -280
  127. package/dist/resource/list.js +1264 -1273
  128. package/dist/resource/selector.js +865 -874
  129. package/dist/resource/tree.js +1483 -1492
  130. package/dist/resourcemgr/fileBrowser.js +564 -569
  131. package/dist/resourcemgr/filePreview.js +16 -16
  132. package/dist/resourcemgr/fileSelector.js +515 -524
  133. package/dist/resourcemgr/util/updatePermissions.js +2 -2
  134. package/dist/resourcemgr.js +306 -315
  135. package/dist/searchModal/advancedSearch.js +796 -767
  136. package/dist/searchModal.js +114 -91
  137. package/dist/switch/switch.js +298 -307
  138. package/dist/tabs.js +598 -575
  139. package/dist/taskQueue/status.js +312 -321
  140. package/dist/taskQueue/table.js +375 -384
  141. package/dist/taskQueue/taskQueueModel.js +488 -472
  142. package/dist/taskQueueButton/taskable.js +264 -273
  143. package/dist/taskQueueButton/treeButton.js +189 -198
  144. package/dist/themeLoader.js +24 -23
  145. package/dist/themes.js +1 -1
  146. package/dist/toggler.js +3 -3
  147. package/dist/tooltip.js +295 -304
  148. package/dist/transformer.js +2 -2
  149. package/dist/tristateCheckboxGroup.js +311 -320
  150. package/dist/uploader.js +687 -696
  151. package/dist/validator/Report.js +1 -1
  152. package/dist/validator/Validator.js +3 -3
  153. package/dist/validator/validators.js +9 -9
  154. package/dist/validator.js +240 -230
  155. package/dist/waitForMedia.js +1 -1
  156. package/package.json +3 -3
  157. package/src/animable/absorbable/css/absorb.css +1 -0
  158. package/src/animable/absorbable/css/absorb.css.map +1 -1
  159. package/src/autocomplete/css/autocomplete.css +1 -0
  160. package/src/autocomplete/css/autocomplete.css.map +1 -1
  161. package/src/badge/css/badge.css +1 -0
  162. package/src/badge/css/badge.css.map +1 -1
  163. package/src/ckeditor/ckConfigurator.js +4 -0
  164. package/src/itemButtonList/css/item-button-list.css +1 -0
  165. package/src/itemButtonList/css/item-button-list.css.map +1 -1
  166. package/src/.DS_Store +0 -0
  167. package/src/css/basic.css +0 -7826
  168. package/src/css/basic.css.map +0 -1
  169. package/src/css/ckeditor/skins/tao/css/dialog.css +0 -950
  170. package/src/css/ckeditor/skins/tao/css/dialog.css.map +0 -1
  171. package/src/css/ckeditor/skins/tao/css/editor.css +0 -1850
  172. package/src/css/ckeditor/skins/tao/css/editor.css.map +0 -1
  173. package/src/scss/.DS_Store +0 -0
  174. package/src/scss/basic.scss +0 -16
  175. package/src/scss/ckeditor/skins/tao/scss/dialog.scss +0 -763
  176. package/src/scss/ckeditor/skins/tao/scss/editor.scss +0 -111
  177. package/src/scss/ckeditor/skins/tao/scss/inc/_ck-icons.scss +0 -59
  178. package/src/scss/ckeditor/skins/tao/scss/inc/_colorpanel.scss +0 -118
  179. package/src/scss/ckeditor/skins/tao/scss/inc/_elementspath.scss +0 -69
  180. package/src/scss/ckeditor/skins/tao/scss/inc/_mainui.scss +0 -194
  181. package/src/scss/ckeditor/skins/tao/scss/inc/_menu.scss +0 -181
  182. package/src/scss/ckeditor/skins/tao/scss/inc/_panel.scss +0 -200
  183. package/src/scss/ckeditor/skins/tao/scss/inc/_presets.scss +0 -32
  184. package/src/scss/ckeditor/skins/tao/scss/inc/_reset.scss +0 -101
  185. package/src/scss/ckeditor/skins/tao/scss/inc/_richcombo.scss +0 -213
  186. package/src/scss/ckeditor/skins/tao/scss/inc/_tao.scss +0 -59
  187. package/src/scss/ckeditor/skins/tao/scss/inc/_toolbar.scss +0 -301
  188. package/src/scss/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
  189. package/src/scss/font/source-sans-pro/source-sans-pro-italic.eot.b64 +0 -1
  190. package/src/scss/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
  191. package/src/scss/font/source-sans-pro/source-sans-pro-italic.woff.b64 +0 -1
  192. package/src/scss/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
  193. package/src/scss/font/source-sans-pro/source-sans-pro-regular.eot.b64 +0 -1
  194. package/src/scss/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
  195. package/src/scss/font/source-sans-pro/source-sans-pro-regular.woff.b64 +0 -1
  196. package/src/scss/font/source-sans-pro/source-sans-pro-semibold-italic.eot +0 -0
  197. package/src/scss/font/source-sans-pro/source-sans-pro-semibold-italic.eot.b64 +0 -1
  198. package/src/scss/font/source-sans-pro/source-sans-pro-semibold-italic.woff +0 -0
  199. package/src/scss/font/source-sans-pro/source-sans-pro-semibold-italic.woff.b64 +0 -1
  200. package/src/scss/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
  201. package/src/scss/font/source-sans-pro/source-sans-pro-semibold.eot.b64 +0 -1
  202. package/src/scss/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  203. package/src/scss/font/source-sans-pro/source-sans-pro-semibold.woff.b64 +0 -1
  204. package/src/scss/font/tao/tao.eot +0 -0
  205. package/src/scss/font/tao/tao.svg +0 -235
  206. package/src/scss/font/tao/tao.ttf +0 -0
  207. package/src/scss/font/tao/tao.woff +0 -0
  208. package/src/scss/inc/_base.scss +0 -496
  209. package/src/scss/inc/_bootstrap.scss +0 -6
  210. package/src/scss/inc/_buttons.scss +0 -114
  211. package/src/scss/inc/_colors.scss +0 -88
  212. package/src/scss/inc/_feedback.scss +0 -150
  213. package/src/scss/inc/_flex-grid.scss +0 -15
  214. package/src/scss/inc/_fonts.scss +0 -4
  215. package/src/scss/inc/_forms.scss +0 -827
  216. package/src/scss/inc/_functions.scss +0 -283
  217. package/src/scss/inc/_grid.scss +0 -66
  218. package/src/scss/inc/_jquery.nouislider.scss +0 -254
  219. package/src/scss/inc/_normalize.scss +0 -528
  220. package/src/scss/inc/_report.scss +0 -68
  221. package/src/scss/inc/_secondary-properties.scss +0 -89
  222. package/src/scss/inc/_select2.scss +0 -634
  223. package/src/scss/inc/_toolbars.scss +0 -155
  224. package/src/scss/inc/_tooltip.scss +0 -312
  225. package/src/scss/inc/_variables.scss +0 -21
  226. package/src/scss/inc/base/_highlight.scss +0 -5
  227. package/src/scss/inc/base/_list-style.scss +0 -59
  228. package/src/scss/inc/base/_svg.scss +0 -3
  229. package/src/scss/inc/base/_table.scss +0 -63
  230. package/src/scss/inc/fonts/_source-sans-pro.scss +0 -29
  231. package/src/scss/inc/fonts/_tao-icon-classes.scss +0 -226
  232. package/src/scss/inc/fonts/_tao-icon-def.scss +0 -12
  233. package/src/scss/inc/fonts/_tao-icon-vars.scss +0 -240
@@ -1,111 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2013, 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
-
11
- This is he heart of the skin system. This is the file loaded by the editor to
12
- style all elements inside its main interface.
13
-
14
- To make it easier to maintain, instead of including all styles here, we import
15
- other files.
16
- */
17
- @import "inc/bootstrap";
18
-
19
- /* "Reset" styles, necessary to avoid the editor UI being broken by external CSS. */
20
- @import 'inc/reset';
21
-
22
- /* Styles the main interface structure (holding box). */
23
- @import 'inc/mainui';
24
-
25
- /* Styles all "panels", which are the floating elements that appear when
26
- opening toolbar combos, menu buttons, context menus, etc. */
27
- @import 'inc/panel';
28
-
29
- /* Styles the color panel displayed by the color buttons. */
30
- @import 'inc/colorpanel';
31
-
32
- /* Styles to toolbar. */
33
- @import 'inc/toolbar';
34
-
35
- /* Styles menus, which are lists of selectable items (context menu, menu button). */
36
- @import 'inc/menu';
37
-
38
- /* Styles toolbar combos. */
39
- @import 'inc/richcombo';
40
-
41
- /* Styles the elements path bar, available at the bottom of the editor UI.*/
42
- @import 'inc/elementspath';
43
-
44
- /* Contains hard-coded presets for "configurable-like" options of the UI
45
- (e.g. display labels on specific buttons) */
46
- @import 'inc/presets';
47
-
48
- /* Tao specific stuff */
49
- @import 'inc/tao';
50
-
51
- /* Icon set */
52
- @import 'inc/ck-icons';
53
-
54
- /* Important!
55
- To avoid showing the editor UI while its styles are still not available, the
56
- editor creates it with visibility:hidden. Here, we restore the UI visibility. */
57
- .cke_chrome {
58
- visibility: inherit;
59
- }
60
-
61
- /* For accessibility purposes, several "voice labels" are present in the UI.
62
- These are usually <span> elements that show not be visible, but that are
63
- used by screen-readers to announce other elements. Here, we hide these
64
- <spans>, in fact. */
65
- .cke_voice_label {
66
- display: none;
67
- }
68
-
69
- legend.cke_voice_label {
70
- display: none;
71
- }
72
-
73
- .cke_top {
74
- display:table;
75
- }
76
-
77
- .txt-ctr {
78
- text-align: center;
79
- }
80
-
81
- .txt-lft {
82
- text-align: left;
83
- }
84
-
85
- .txt-rgt {
86
- text-align: right;
87
- }
88
-
89
- .txt-jty {
90
- text-align: justify;
91
- }
92
-
93
- // added to make _u_ in ck QTI compatible
94
- .txt-underline {
95
- text-decoration: underline;
96
- font-size : inherit;
97
- }
98
-
99
- .txt-highlight {
100
- padding: 0 5px;
101
- background: #FF6416;
102
- color: white;
103
- }
104
-
105
- .cke_editable:focus .qti-table .cke_table-faked-selection {
106
- /* We have to use !important here, as td might specify it's own background, thus table selection
107
- would not be visible. */
108
- background: #b3d4fc !important;
109
- text-shadow: none;
110
- color: $textColor;
111
- }
@@ -1,59 +0,0 @@
1
- /* Do not edit */@import "inc/bootstrap";
2
- .cke .cke_top .cke_toolbar .cke_button_icon {background-image: none!important;}
3
- .cke_button_icon, .cke_button { @include tao-icon-setup;}
4
- .cke_button__anchor_icon:before { @include icon-anchor;}
5
- .cke_button__bgcolor_icon:before { @include icon-background-color;}
6
- .cke_button__bidiltr_icon:before { @include icon-left-right;}
7
- .cke_button__bidirtl_icon:before { @include icon-right-left;}
8
- .cke_button__blockquote_icon:before { @include icon-block-quote;}
9
- .cke_button__bold_icon:before { @include icon-bold;}
10
- .cke_button__bulletedlist_icon:before { @include icon-ul;}
11
- .cke_button__copy_icon:before { @include icon-copy;}
12
- .cke_button__creatediv_icon:before { @include icon-div-container;}
13
- .cke_button__cut_icon:before { @include icon-cut;}
14
- .cke_button__find_icon:before { @include icon-find;}
15
- .cke_button__horizontalrule_icon:before { @include icon-insert-horizontal-line;}
16
- .cke_button__image_icon:before { @include icon-image;}
17
- .cke_button__indent_icon:before { @include icon-increase-indent;}
18
- .cke_button__italic_icon:before { @include icon-italic;}
19
- .cke_button__justifyblock_icon:before { @include icon-justify;}
20
- .cke_button__justifycenter_icon:before { @include icon-center;}
21
- .cke_button__justifyleft_icon:before { @include icon-align-left;}
22
- .cke_button__justifyright_icon:before { @include icon-align-right;}
23
- .cke_button__link_icon:before { @include icon-link;}
24
- .cke_button__newpage_icon:before { @include icon-new-page;}
25
- .cke_button__numberedlist_icon:before { @include icon-ol;}
26
- .cke_button__outdent_icon:before { @include icon-decrease-indent;}
27
- .cke_button__paste_icon:before { @include icon-paste;}
28
- .cke_button__pastefromword_icon:before { @include icon-paste-word;}
29
- .cke_button__pastetext_icon:before { @include icon-paste-text;}
30
- .cke_button__radio_icon:before { @include icon-radio-checked;}
31
- .cke_button__redo_icon:before { @include icon-redo;}
32
- .cke_button__replace_icon:before { @include icon-replace;}
33
- .cke_button__scayt_icon:before { @include icon-spell-check;}
34
- .cke_button__selectall_icon:before { @include icon-select-all;}
35
- .cke_button__sourcedialog_icon:before { @include icon-source;}
36
- .cke_button__specialchar_icon:before { @include icon-special-character;}
37
- .cke_button__strike_icon:before { @include icon-strike-through;}
38
- .cke_button__subscript_icon:before { @include icon-subscript;}
39
- .cke_button__superscript_icon:before { @include icon-superscript;}
40
- .cke_button__table_icon:before { @include icon-table;}
41
- .cke_button__templates_icon:before { @include icon-templates;}
42
- .cke_button__textcolor_icon:before { @include icon-text-color;}
43
- .cke_button__taohighlight_icon:before { @include icon-text-marker;}
44
- .cke_button__underline_icon:before { @include icon-underline;}
45
- .cke_button__taounderline_icon:before { @include icon-underline;}
46
- .cke_button__undo_icon:before { @include icon-undo;}
47
- .cke_button__unlink_icon:before { @include icon-unlink;}
48
- .cke_button__taomediamanager_icon:before { @include icon-media;}
49
- .cke_button__taoqtiimage_icon:before { @include icon-image;}
50
- .cke_button__taoqtimaths_icon:before { @include icon-maths;}
51
- .cke_button__taoqtimedia_icon:before { @include icon-media;}
52
- .cke_button__taoqtiinclude_icon:before { @include icon-shared-file;}
53
- .cke_button__taoqtitable_icon:before { @include icon-table;}
54
- .cke_button__taotooltip_icon:before { @include icon-tooltip;}
55
- .cke_button__taoqtiprintedvariable_icon:before { @include icon-variable;}
56
- .cke_button__taotab_icon:before { @include icon-tab;}
57
- .cke_button__taountab_icon:before { @include icon-untab;}
58
- .cke_combo_arrow:before { @include icon-down;}
59
- .cke_button_arrow:before { @include icon-down;}
@@ -1,118 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
-
6
- /*
7
- colorpanel.css (part of editor.css)
8
- =====================================
9
-
10
- The color panel is related to the contents part of the panels that are
11
- displayed when clicking the color buttons of the toolbar. See panels.css for
12
- styles related to the outer part of panels.
13
-
14
- The following is the visual representation of the color panel contents:
15
-
16
- +-- .cke_panel_block.cke_colorblock --+
17
- | +-- a.cke_colorauto --------------+ |
18
- | | | |
19
- | | AUTOMATIC COLOR | |
20
- | | | |
21
- | +---------------------------------+ |
22
- | +-- table ------------------------+ |
23
- | | | |
24
- | | COLOR PALETTE | |
25
- | | | |
26
- | |---------------------------------| |
27
- | | "More Colors" | |
28
- | +---------------------------------+ |
29
- +-------------------------------------+
30
-
31
- The AUTOMATIC COLOR section is an <a> containing a table with two cells with
32
- the following contents:
33
-
34
- +-- TD -----------------+ +-- TD -----------------+
35
- | +-- .cke_colorbox --+ | | |
36
- | | | | | "Automatic" |
37
- | +-------------------+ | | |
38
- +-----------------------+ +-----------------------+
39
-
40
- The COLOR PALETTE section instead is a table with a variable number of cells
41
- (by default 8). Each cell represents a color box, with the following structure:
42
-
43
- +-- A.cke_colorbox ---------+
44
- | +-- SPAN.cke_colorbox --+ |
45
- | | | |
46
- | +-----------------------+ |
47
- +---------------------------+
48
- */
49
-
50
- /* The container of the color palette. */
51
- .cke_colorblock {
52
- padding: 3px;
53
- font-size: 11px;
54
- font-family: 'Microsoft Sans Serif', Tahoma, Arial, Verdana, Sans-Serif;
55
- }
56
-
57
- .cke_colorblock,
58
- .cke_colorblock a {
59
- text-decoration: none;
60
- color: #000;
61
- }
62
-
63
- /* The box which is to represent a single color on the color palette.
64
- It is a small, square-shaped element which can be selected from the palette. */
65
- span.cke_colorbox {
66
- width: 10px;
67
- height: 10px;
68
- border: #808080 1px solid;
69
- float: left;
70
- }
71
-
72
- .cke_rtl span.cke_colorbox {
73
- float: right;
74
- }
75
-
76
- /* The wrapper of the span.cke_colorbox. It provides an extra border and padding. */
77
- a.cke_colorbox {
78
- border: #fff 1px solid;
79
- padding: 2px;
80
- float: left;
81
- width: 12px;
82
- height: 12px;
83
- }
84
-
85
- .cke_rtl a.cke_colorbox {
86
- float: right;
87
- }
88
-
89
- /* Different states of the a.cke_colorbox wrapper. */
90
- a:hover.cke_colorbox,
91
- a:focus.cke_colorbox,
92
- a:active.cke_colorbox {
93
- border: #b6b6b6 1px solid;
94
- background-color: #e5e5e5;
95
- }
96
-
97
- /* Buttons which are visible at the top/bottom of the color palette:
98
- - cke_colorauto (TOP) applies the automatic color.
99
- - cke_colormore (BOTTOM) executes the color dialog.
100
- */
101
- a.cke_colorauto,
102
- a.cke_colormore {
103
- border: #fff 1px solid;
104
- padding: 2px;
105
- display: block;
106
- cursor: pointer;
107
- }
108
-
109
- /* Different states of cke_colorauto/cke_colormore buttons. */
110
- a:hover.cke_colorauto,
111
- a:hover.cke_colormore,
112
- a:focus.cke_colorauto,
113
- a:focus.cke_colormore,
114
- a:active.cke_colorauto,
115
- a:active.cke_colormore {
116
- border: #b6b6b6 1px solid;
117
- background-color: #e5e5e5;
118
- }
@@ -1,69 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
-
6
- /*
7
- elementspath.css (part of editor.css)
8
- =======================================
9
-
10
- This file styles the "Elements Path", whith is the list of element names
11
- present at the the bottom bar of the CKEditor interface.
12
-
13
- The following is a visual representation of its main elements:
14
-
15
- +-- .cke_path ---------------------------------------------------------------+
16
- | +-- .cke_path_item ----+ +-- .cke_path_item ----+ +-- .cke_path_empty ---+ |
17
- | | | | | | | |
18
- | +----------------------+ +----------------------+ +----------------------+ |
19
- +----------------------------------------------------------------------------+
20
- */
21
-
22
- /* The box that holds the entire elements path. */
23
- .cke_path {
24
- float: left;
25
- margin: -2px 0 2px;
26
- }
27
-
28
- /* Each item of the elements path. */
29
- .cke_path_item,
30
- /* Empty element available at the end of the elements path, to help us keeping
31
- the proper box size when the elements path is empty. */
32
- .cke_path_empty {
33
- display: inline-block;
34
- float: left;
35
- padding: 3px 4px;
36
- margin-right: 2px;
37
- cursor: default;
38
- text-decoration: none;
39
- outline: 0;
40
- border: 0;
41
- color: #4c4c4c;
42
- text-shadow: 0 1px 0 #fff;
43
- font-weight: bold;
44
- font-size: 11px;
45
- }
46
-
47
- .cke_rtl .cke_path,
48
- .cke_rtl .cke_path_item,
49
- .cke_rtl .cke_path_empty {
50
- float: right;
51
- }
52
-
53
- /* The items are <a> elements, so we define its hover states here. */
54
- a.cke_path_item:hover,
55
- a.cke_path_item:focus,
56
- a.cke_path_item:active {
57
- background-color: #bfbfbf;
58
- color: #333;
59
- text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
60
- border-radius: 2px;
61
- box-shadow: 0 0 4px rgba(0, 0, 0, .5) inset, 0 1px 0 rgba(255, 255, 255, .5);
62
- }
63
-
64
- .cke_hc a.cke_path_item:hover,
65
- .cke_hc a.cke_path_item:focus,
66
- .cke_hc a.cke_path_item:active {
67
- border: 2px solid;
68
- padding: 1px 2px;
69
- }
@@ -1,194 +0,0 @@
1
- /*
2
- Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
3
- For licensing, see LICENSE.md or http://ckeditor.com/license
4
- */
5
-
6
- /*
7
- mainui.css (part of editor.css)
8
- =================================
9
-
10
- This file styles the basic structure of the CKEditor user interface - the box
11
- that holds everything.
12
-
13
- CKEditor offers two main editing modes. The main UI blocks that compose these
14
- modes are:
15
-
16
- For "Theme UI" mode, the one most generally used:
17
-
18
- +-- .cke_chrome ----------------------+
19
- |+-- .cke_inner ---------------------+|
20
- || +-- .cke_top -------------------+ ||
21
- || | | ||
22
- || +-------------------------------+ ||
23
- || +-- .cke_contents --------------+ ||
24
- || | | ||
25
- || +-------------------------------+ ||
26
- || +-- .cke_bottom ----------------+ ||
27
- || | | ||
28
- || +-------------------------------+ ||
29
- |+-----------------------------------+|
30
- +-------------------------------------+
31
-
32
- For "Inline Editing" mode:
33
-
34
- +-- .cke_chrome .cke_float------------+
35
- |+-- .cke_inner ---------------------+|
36
- || +-- .cke_top -------------------+ ||
37
- || | | ||
38
- || +-------------------------------+ ||
39
- |+-----------------------------------+|
40
- +-------------------------------------+
41
-
42
- Special outer level classes used in this file:
43
-
44
- .cke_hc: Available when the editor is rendered on "High Contrast".
45
-
46
- */
47
-
48
- /* The outer boundary of the interface. */
49
- .cke_chrome {
50
- /* This is <span>, so transform it into a block.*/
51
- display: block;
52
- padding: 0;
53
- }
54
-
55
- /* The inner boundary of the interface. */
56
- .cke_inner {
57
- /* This is <span>, so transform it into a block.*/
58
- display: block;
59
-
60
- -webkit-touch-callout: none;
61
-
62
- padding: 0;
63
- position: relative;
64
- z-index: 10001;
65
-
66
- }
67
-
68
- /* Added to the outer boundary of the UI when in inline editing,
69
- when the UI is floating. */
70
- .cke_float {
71
- /* Make white the space between the outer and the inner borders. */
72
- border: none;
73
- }
74
-
75
- .cke_float .cke_inner {
76
- /* As we don't have blocks following top (toolbar) we suppress the padding
77
- as the toolbar defines its own margin. */
78
- padding-bottom: 0;
79
- }
80
-
81
- /* Make the main spaces enlarge to hold potentially floated content. */
82
- .cke_top,
83
- .cke_contents,
84
- .cke_bottom {
85
- /* These are <span>s, so transform them into blocks.*/
86
- //display: block;
87
-
88
- /* Ideally this should be "auto", but it shows scrollbars in IE7. */
89
- overflow: hidden;
90
- }
91
-
92
- .cke_top {
93
- /*border: 1px solid #b2b2b2;*/
94
- /* Allow breaking toolbars when in a narrow editor. (#9947) */
95
- white-space: normal;
96
- padding: 4px 3px 0px 4px;
97
- background: $uiClickableDefaultBg;
98
- @include simple-border($uiClickableDefaultBg);
99
- @include box-shadow();
100
- }
101
-
102
- .cke_float .cke_top {
103
- border: 3px solid $uiClickableDefaultBg;
104
-
105
- }
106
-
107
- .cke_bottom {
108
- padding: 1px;
109
- position: relative;
110
- @include simple-border();
111
- /*
112
- border-top: 1px solid #bfbfbf;
113
-
114
- box-shadow: 0 1px 0 #fff inset;
115
-
116
- background: #cfd1cf;
117
- background-image: linear-gradient(top, #ebebeb, #cfd1cf);
118
- filter: progid:DXImageTransform.Microsoft.gradient(gradientType=0, startColorstr='#ebebeb', endColorstr='#cfd1cf');*/
119
- }
120
-
121
- /* On iOS we need to manually enable scrolling in the contents block. (#9945) */
122
- .cke_browser_ios .cke_contents {
123
- overflow-y: auto;
124
- -webkit-overflow-scrolling: touch;
125
- }
126
-
127
- /* The resizer is the small UI element that is rendered at the bottom right
128
- part of the editor. It makes is possible to resize the editor UI. */
129
- .cke_resizer {
130
- /* To avoid using images for the resizer, we create a small triangle,
131
- using some CSS magic. */
132
- width: 0;
133
- height: 0;
134
- overflow: hidden;
135
- width: 0;
136
- height: 0;
137
- overflow: hidden;
138
- border-width: 10px 10px 0 0;
139
- border-color: transparent #666 transparent transparent;
140
- border-style: dashed solid dashed dashed;
141
-
142
- font-size: 0;
143
- vertical-align: bottom;
144
-
145
- margin-top: 6px;
146
-
147
- /* A margin in case of no other element in the same container
148
- to keep a distance to the bottom edge. */
149
- margin-bottom: 2px;
150
-
151
- box-shadow: 0 1px 0 rgba(255, 255, 255, .3);
152
- }
153
-
154
- .cke_hc .cke_resizer {
155
- font-size: 15px;
156
- width: auto;
157
- height: auto;
158
- border-width: 0;
159
- }
160
-
161
- .cke_resizer_ltr {
162
- cursor: se-resize;
163
-
164
- float: right;
165
- margin-right: -4px;
166
- }
167
-
168
- /* This class is added in RTL mode. This is a special case for the resizer
169
- (usually the .cke_rtl class is used), because it may not necessarily be in
170
- RTL mode if the main UI is RTL. It depends instead on the context where the
171
- editor is inserted on. */
172
- .cke_resizer_rtl {
173
- border-width: 10px 0 0 10px;
174
- border-color: transparent transparent transparent #A5A5A5;
175
- border-style: dashed dashed dashed solid;
176
-
177
- cursor: sw-resize;
178
-
179
- float: left;
180
- margin-left: -4px;
181
- right: auto;
182
- }
183
-
184
- /* The editing area (where users type) can be rendered as an editable <div>
185
- element (e.g. divarea plugin). In that case, this is the class applied to
186
- that element. */
187
- .cke_wysiwyg_div {
188
- display: block;
189
- height: 100%;
190
- overflow: auto;
191
- padding: 0 8px;
192
- outline-style: none;
193
- @include border-box();
194
- }