@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,213 +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
- richcombo.css (part of editor.css)
8
- =================================
9
-
10
- This file holds the style set of the "Rich Combo" widget which is commonly used
11
- in the toolbar. It doesn't, however, styles the panel that is displayed when
12
- clicking on the combo, which is instead styled by panel.css.
13
-
14
- The visual representation of a rich combo widget looks as follows:
15
-
16
- +-- .cke_combo----------------------------------------------------------------------+
17
- | +-- .cke_combo_label --+ +-- .cke_combo_button ---------------------------------+ |
18
- | | | | +-- .cke_combo_text --+ +-- .cke_combo_open -------+ | |
19
- | | | | | | | +-- .cke_combo_arrow --+ | | |
20
- | | | | | | | | | | | |
21
- | | | | | | | +----------------------+ | | |
22
- | | | | +---------------------+ +--------------------------+ | |
23
- | +----------------------+ +------------------------------------------------------+ |
24
- +-----------------------------------------------------------------------------------+
25
- */
26
- @import "inc/bootstrap";
27
- /* The box that hold the entire combo widget */
28
- .cke_combo {
29
- display: inline-block;
30
- }
31
-
32
- .cke_rtl .cke_combo {
33
- float: right;
34
- }
35
-
36
- .cke_hc .cke_combo {
37
- margin-top: -2px;
38
- }
39
-
40
- /* The label of the combo widget. It is invisible by default, yet
41
- it's important for semantics and accessibility. */
42
- .cke_combo_label {
43
- display: none;
44
- float: left;
45
- line-height: 26px;
46
- vertical-align: top;
47
- margin-right: 5px;
48
- }
49
-
50
- .cke_rtl .cke_combo_label {
51
- float: right;
52
- margin-left: 5px;
53
- margin-right: 0;
54
- }
55
-
56
- /* The container for combo text and arrow. */
57
- .cke_combo_button {
58
- display: inline-block;
59
- margin: 0 2px 0 0;
60
-
61
- @include simple-border();
62
- @include border-radius();
63
-
64
- background: white();
65
- max-height: 26px;
66
- white-space: nowrap;
67
- }
68
-
69
- /* Different states of the container. */
70
- .cke_combo_off a.cke_combo_button:hover,
71
- .cke_combo_off a.cke_combo_button:focus {
72
-
73
- outline: none;
74
- }
75
-
76
-
77
- .cke_combo_off a.cke_combo_button:hover,
78
- .cke_combo_off a.cke_combo_button:focus,
79
- .cke_combo_off a.cke_combo_button:active {
80
- background-color: $uiClickableActiveBg;
81
- text-shadow: none;
82
- }
83
-
84
- .cke_rtl .cke_combo_button {
85
- float: right;
86
- margin-left: 5px;
87
- margin-right: 0;
88
- }
89
-
90
- .cke_hc a.cke_combo_button {
91
- padding: 3px;
92
- }
93
-
94
- .cke_hc .cke_combo_on a.cke_combo_button,
95
- .cke_hc .cke_combo_off a.cke_combo_button:hover,
96
- .cke_hc .cke_combo_off a.cke_combo_button:focus,
97
- .cke_hc .cke_combo_off a.cke_combo_button:active {
98
- border-width: 3px;
99
- padding: 1px;
100
- }
101
-
102
- /* The label that shows the current value of the rich combo.
103
- By default, it holds the name of the property.
104
- See: .cke_combo_inlinelabel */
105
- .cke_combo_text {
106
- line-height: 26px;
107
- padding : {
108
- left: 10px;
109
- }
110
- text-overflow: ellipsis;
111
- overflow: hidden;
112
- float: left;
113
- cursor: default;
114
- color: #474747;
115
- text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
116
- width: 60px;
117
- }
118
-
119
- .cke_rtl .cke_combo_text {
120
- float: right;
121
- text-align: right;
122
- padding-left: 0;
123
- padding-right: 10px;
124
- }
125
-
126
- .cke_hc .cke_combo_text {
127
- line-height: 18px;
128
- font-size: 12px;
129
- }
130
-
131
- /* The handler which opens the panel of rich combo properties.
132
- It holds an arrow as a visual indicator. */
133
- .cke_combo_open {
134
- display: inline-block;
135
- font-size: 0;
136
- height: 26px;
137
- line-height: 17px;
138
- margin: 0;
139
- text-align: center;
140
- width: 20px;
141
- cursor: pointer;
142
- &:hover {
143
- color: $textHighlight;
144
- background: $uiClickableHoverBg;
145
- }
146
- }
147
-
148
- .cke_combo_button:hover {
149
- color: $textHighlight !important;
150
- background: $uiClickableHoverBg !important;
151
- .cke_combo_text{
152
- color: $darkBarTxt !important;
153
- }
154
- }
155
-
156
- .cke_combo_on {
157
- .cke_combo_button {
158
- background-color: $info;
159
- .cke_combo_text {
160
- color: $darkBarTxt !important;
161
- }
162
- }
163
- }
164
-
165
- .cke_hc .cke_combo_open {
166
- cursor: default;
167
- display: inline-block;
168
- font-size: 0;
169
- height: 26px;
170
- line-height: 17px;
171
- margin: 0;
172
- text-align: center;
173
- width: 20px;
174
- }
175
-
176
- /* The arrow which is displayed inside of the .cke_combo_open handler. */
177
- .cke_combo_arrow, .cke_button_arrow {
178
- margin: 8px 0 0;
179
- float: left;
180
- left: 7px;
181
- position: relative;
182
- font-family: 'tao';
183
- speak: none;
184
- font-style: normal;
185
- font-weight: normal;
186
- font-variant: normal;
187
- text-transform: none;
188
- line-height: 1;
189
-
190
- /* Better Font Rendering =========== */
191
- -webkit-font-smoothing: antialiased;
192
- -moz-osx-font-smoothing: grayscale;
193
- cursor: pointer;
194
- font-size: 1rem;
195
- }
196
-
197
- .cke_combo_arrow, .cke_button_arrow {
198
- @include tao-icon-setup;
199
- @include icon-down;
200
- }
201
-
202
- .cke_hc .cke_combo_arrow {
203
- font-size: 10px;
204
- width: auto;
205
- border: 0;
206
- margin-top: 3px;
207
- }
208
-
209
- /* Disabled combo button styles. */
210
- .cke_combo_disabled .cke_combo_inlinelabel,
211
- .cke_combo_disabled .cke_combo_open {
212
- opacity: 0.3;
213
- }
@@ -1,59 +0,0 @@
1
- @import "inc/bootstrap";
2
-
3
- [class^="icon-"], [class*=" icon-"] {
4
- text-shadow: 0 1px 0 white(.5);
5
- }
6
-
7
- .cke_button {
8
- min-width: 14px;
9
- text-decoration: none !important;
10
- text-align: center;
11
- }
12
-
13
- .cke_top,
14
- .cke_top:before,
15
- .cke_top:after,
16
- .cke_top *,
17
- .cke_top *:before,
18
- .cke_top *:after {
19
- box-sizing: content-box !important;
20
- }
21
-
22
- .cke_button_icon, .cke_button {
23
- padding-top: 1px;
24
- line-height: 0.9;
25
- font-size: 16px;
26
- }
27
-
28
- .cke_nose {
29
- position: absolute;
30
- bottom: -6px;
31
- transform: rotate(45deg);
32
- border: 1px $uiClickableDefaultBg solid;
33
- border-left: none;
34
- border-top: none;
35
- width: 12px;
36
- height: 12px;
37
- background: $uiClickableDefaultBg;
38
- box-shadow: 2px 1px 1px 0 rgba(0, 0, 0, 0.1);
39
- opacity: 0;
40
- &.float-space-left {
41
- opacity: 1;
42
- transition: opacity .1s ease-in-out;
43
- right: auto;
44
- left: 5px;
45
- }
46
- &.float-space-right {
47
- opacity: 1;
48
- transition: opacity .1s ease-in-out;
49
- right: 5px;
50
- left: auto;
51
- }
52
- &.float-space-bottom {
53
- top: -6px;
54
- box-shadow: none;
55
- }
56
- &.float-space-top {
57
- bottom: -6px;
58
- }
59
- }
@@ -1,301 +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
- toolbar.css (part of editor.css)
8
- ==================================
9
-
10
- This files styles the CKEditor toolbar and its buttons. For toolbar combo
11
- styles, check richcombo.css.
12
-
13
- The toolbar is rendered as a big container (called toolbox), which contains
14
- smaller "toolbars". Each toolbar represents a group of items that cannot be
15
- separated. The following is the visual representation of the toolbox.
16
-
17
- +-- .cke_toolbox ----------------------------------------------------------+
18
- | +-- .cke_toolbar --+ +-- .cke_toolbar --+ ... +-- .cke_toolbar_break --+ |
19
- | | | | | | | |
20
- | +------------------+ +------------------+ +------------------------+ |
21
- | +-- .cke_toolbar --+ +-- .cke_toolbar --+ ... |
22
- | | | | | |
23
- | +------------------+ +------------------+ |
24
- +--------------------------------------------------------------------------+
25
-
26
- The following instead is the visual representation of a single toolbar:
27
-
28
- +-- .cke_toolbar ----------------------------------------------------------------+
29
- | +-- .cke_toolbar_start --+ +-- .cke_toolgroup (*) --+ +-- .cke_toolbar_end --+ |
30
- | | | | | | | |
31
- | +------------------------+ +------------------------+ +----------------------+ |
32
- +--------------------------------------------------------------------------------+
33
- (*) .cke_toolgroup is available only when the toolbar items can be grouped
34
- (buttons). If the items can't be group (combos), this box is not available
35
- and the items are rendered straight in that place.
36
-
37
- This file also styles toolbar buttons, which are rendered inside the above
38
- .cke_toolgroup containers. This is the visual representation of a button:
39
-
40
- +-- .cke_button -------------------------------------+
41
- | +-- .cke_button_icon --+ +-- .cke_button_label --+ |
42
- | | | | | |
43
- | +----------------------+ +-----------------------+ |
44
- +----------------------------------------------------+
45
-
46
- Special outer level classes used in this file:
47
-
48
- .cke_hc: Available when the editor is rendered on "High Contrast".
49
- .cke_rtl: Available when the editor UI is on RTL.
50
- */
51
- @import "inc/bootstrap";
52
- /* The box that holds each toolbar. */
53
- .cke_toolbar {
54
- float: left;
55
- position: relative;
56
- z-index: 10005
57
- }
58
-
59
- .cke_rtl .cke_toolbar {
60
- float: right;
61
- }
62
-
63
- @media (pointer:coarse) {
64
- .cke .cke_toolbar .cke_button_off.cke_button_off:hover {
65
- background: white !important;
66
- color: $textColor !important;
67
- }
68
- }
69
-
70
- /* The box that holds buttons. */
71
- .cke_toolgroup {
72
- float: left;
73
- margin: 0 2px 2px 0;
74
- @include simple-border();
75
- @include border-radius(1);
76
-
77
- background: white();
78
- }
79
-
80
- .cke_hc .cke_toolgroup {
81
- border: 0;
82
- margin-right: 10px;
83
- margin-bottom: 10px;
84
- }
85
-
86
- .cke_rtl .cke_toolgroup {
87
- float: right;
88
- margin-left: 6px;
89
- margin-right: 0;
90
- }
91
-
92
- /* A toolbar button . */
93
- .cke .cke_toolbar .cke_button {
94
- display: inline-block;
95
- height: 18px;
96
- padding: 4px 6px;
97
- outline: none;
98
- cursor: pointer;
99
- border: 0;
100
- color: $textColor;
101
- }
102
-
103
- .cke .cke_toolbar .cke_button:hover {
104
- background: $uiClickableHoverBg !important;
105
- color: $textHighlight !important;
106
- }
107
-
108
- .cke_reset_all, .cke_reset_all *
109
- .cke .cke_top .cke_toolbar .cke_button_disabled:hover {
110
- background: white !important;
111
- cursor: default !important;
112
- }
113
-
114
- .cke_rtl .cke_button {
115
- float: right;
116
- }
117
-
118
- .cke_hc .cke_button {
119
- border: 1px solid black;
120
-
121
- /* Compensate the added border */
122
- padding: 3px 5px;
123
- margin: -2px 4px 0 -2px;
124
- }
125
-
126
- /* This class is applied to the button when it is "active" (pushed).
127
- This style indicates that the feature associated with the button is active
128
- i.e. currently writing in bold or when spell checking is enabled. */
129
- .cke .cke_toolbar a.cke_button_on {
130
- background-color: $info;
131
- color: $textHighlight;
132
- }
133
-
134
- .cke_button_disabled span {
135
- opacity: 0.4 !important;
136
- }
137
-
138
- a.cke_button_on:hover,
139
- a.cke_button_on:focus,
140
- a.cke_button_on:active {
141
-
142
- cursor: pointer;
143
- }
144
-
145
- a.cke_button_off:hover,
146
- a.cke_button_off:focus,
147
- a.cke_button_off:active,
148
- a.cke_button_disabled:hover,
149
- a.cke_button_disabled:focus,
150
- a.cke_button_disabled:active {
151
-
152
- background-color: $uiClickableActiveBg;
153
-
154
- cursor: default;
155
- text-shadow: none;
156
- }
157
-
158
- /* The icon which is a visual representation of the button. */
159
- .cke_button_icon {
160
- cursor: inherit;
161
- background-repeat: no-repeat;
162
- margin-top: 1px;
163
- width: 16px;
164
- height: 16px;
165
- float: left;
166
- }
167
-
168
- .cke_rtl .cke_button_icon {
169
- float: right;
170
- }
171
-
172
- .cke_hc .cke_button_icon {
173
- display: none;
174
- }
175
-
176
- /* The label of the button that stores the name of the feature. By default,
177
- labels are invisible. They can be revealed on demand though. */
178
- .cke_button_label {
179
- display: none;
180
- padding-left: 3px;
181
- margin-top: 1px;
182
- line-height: 17px;
183
- vertical-align: middle;
184
- float: left;
185
- cursor: default;
186
- color: #474747;
187
- text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
188
- }
189
-
190
- .cke_rtl .cke_button_label {
191
- padding-right: 3px;
192
- padding-left: 0;
193
- float: right;
194
- }
195
-
196
- .cke_hc .cke_button_label {
197
- padding: 0;
198
- display: inline-block;
199
- font-size: 12px;
200
- }
201
-
202
- .cke_rtl .cke_button_arrow {
203
- margin-right: 5px;
204
- margin-left: 0;
205
- }
206
-
207
- .cke_hc .cke_button_arrow {
208
- font-size: 10px;
209
- margin: 3px -2px 0 3px;
210
- width: auto;
211
- border: 0;
212
- }
213
-
214
- .cke_button_arrow {
215
- padding: 0 8px 5px 0;
216
- position: relative;
217
- top: -4px;
218
- opacity: .8
219
- }
220
-
221
- /* The vertical separator which is used within a single toolbar to split
222
- buttons into sub-groups. */
223
- .cke_toolbar_separator {
224
- float: left;
225
- background-color: #c0c0c0;
226
- background-color: rgba(0, 0, 0, .2);
227
- margin: 5px 2px 0;
228
- height: 18px;
229
- width: 1px;
230
- }
231
-
232
- .cke_rtl .cke_toolbar_separator {
233
- float: right;
234
- }
235
-
236
- .cke_hc .cke_toolbar_separator {
237
- width: 0;
238
- border-left: 1px solid;
239
- margin: 1px 5px 0 0px;
240
- }
241
-
242
- /* The dummy element that breaks toolbars.
243
- Once it is placed, the very next toolbar is moved to the new row. */
244
- .cke_toolbar_break {
245
- display: block;
246
- clear: left;
247
- }
248
-
249
- .cke_rtl .cke_toolbar_break {
250
- clear: right;
251
- }
252
-
253
- /* The button, which when clicked hides (collapses) all the toolbars. */
254
- .cke_toolbox_collapser {
255
- width: 12px;
256
- height: 11px;
257
- float: right;
258
- margin: 11px 0 0;
259
- font-size: 0;
260
- cursor: default;
261
- text-align: center;
262
- border: 1px solid #a6a6a6;
263
- border-bottom-color: #979797;
264
- border-radius: 3px;
265
- background: #fff;
266
- }
267
-
268
- .cke_toolbox_collapser.cke_toolbox_collapser_min {
269
- margin: 0 2px 4px;
270
- }
271
-
272
- .cke_rtl .cke_toolbox_collapser {
273
- float: left;
274
- }
275
-
276
- /* The CSS arrow, which belongs to the toolbar collapser. */
277
- .cke_toolbox_collapser .cke_arrow {
278
- display: inline-block;
279
- height: 0;
280
- width: 0;
281
- font-size: 0;
282
- margin-top: 1px;
283
- border-left: 3px solid transparent;
284
- border-right: 3px solid transparent;
285
- border-bottom: 3px solid #474747;
286
- border-top: 3px solid transparent;
287
- }
288
-
289
- .cke_toolbox_collapser.cke_toolbox_collapser_min .cke_arrow {
290
- margin-top: 4px;
291
- border-bottom-color: transparent;
292
- border-top-color: #474747;
293
- }
294
-
295
- .cke_hc .cke_toolbox_collapser .cke_arrow {
296
- font-size: 8px;
297
- width: auto;
298
- border: 0;
299
- margin-top: 0;
300
- margin-right: 2px;
301
- }