fit-ui 2.9.1 → 2.9.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.
- package/dist/Documentation.html +3 -3
- package/dist/Fit.UI.css +519 -10
- package/dist/Fit.UI.js +4267 -77
- package/dist/Fit.UI.min.css +1 -1
- package/dist/Fit.UI.min.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +2468 -351
package/dist/Fit.UI.css
CHANGED
|
@@ -4,19 +4,19 @@ Stacking context, Z-index:
|
|
|
4
4
|
|
|
5
5
|
- Error indicator : 500
|
|
6
6
|
- Drop down : 1000
|
|
7
|
-
- Dialog : 1200
|
|
8
|
-
- Modal BG layer : 1200
|
|
7
|
+
- Dialog : 1200 - changed to 2001200 in Dialog.css if html[data-fitui-companion="fluent-ui"]
|
|
8
|
+
- Modal BG layer : 1200 - changed to 2001200 in Dialog.css if html[data-fitui-companion="fluent-ui"]
|
|
9
9
|
- Context menu : 1300 (mounted in <body>)
|
|
10
10
|
- Calendar : 1300 (mounted in <body>, might be re-mounted next to control) - changed to 2000000 in DatePicker.css if html[data-fitui-companion="fluent-ui"]
|
|
11
|
-
- Dragging : 10000 (incremented by 1 every time draggable is being dragged)
|
|
11
|
+
- Dragging : 10000 (incremented by 1 every time draggable is being dragged) - changed to start from 2010000 in DragDrop.js if html[data-fitui-companion="fluent-ui"]
|
|
12
12
|
- CKEditor
|
|
13
13
|
- Tags context menu : 9997 (mounted in <body>, might be re-mounted next to control) - changed to 2000000 in Input.css if html[data-fitui-companion="fluent-ui"]
|
|
14
14
|
- Image resize handlers : 9999 (mounted in <body>) - changed to 2000000 in Input.css if html[data-fitui-companion="fluent-ui"]
|
|
15
15
|
- Emoji panel : 10001 (mounted in <body>) - changed to 2000000 in Input.css if html[data-fitui-companion="fluent-ui"]
|
|
16
16
|
- Dialogs : 10010 (mounted in <body>, might be re-mounted next to control) - changed to 2000020 in Input.css (+10 compared to modal BG layer) if html[data-fitui-companion="fluent-ui"]
|
|
17
17
|
- Modal BG layer : 10000 (mounted in <body>) - changed to 2000010 in Input.css (+10 compared to image resize handlers) if html[data-fitui-companion="fluent-ui"]
|
|
18
|
-
- Alert, Confirm, Prompt : 50000 (must stay on top of draggable dialogs with z-index 10000+)
|
|
19
|
-
- Modal BG layer : 50000
|
|
18
|
+
- Alert, Confirm, Prompt : 50000 (must stay on top of draggable dialogs with z-index 10000+) - changed to 2050000 in Dialog.css if html[data-fitui-companion="fluent-ui"]
|
|
19
|
+
- Modal BG layer : 50000 - changed to 2050000 in Dialog.css if html[data-fitui-companion="fluent-ui"]
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
.FitUiStyleCheck
|
|
@@ -3493,6 +3493,20 @@ div.FitUiControlDialogBase
|
|
|
3493
3493
|
{
|
|
3494
3494
|
z-index: 50000; /* Remain on top of draggable dialogs with z-index 10000+ */
|
|
3495
3495
|
}
|
|
3496
|
+
|
|
3497
|
+
/* Fluent UI compatibility */
|
|
3498
|
+
|
|
3499
|
+
html[data-fitui-companion="fluent-ui"] div.FitUiControlDialog,
|
|
3500
|
+
html[data-fitui-companion="fluent-ui"] div.FitUiControlDialogModalLayer
|
|
3501
|
+
{
|
|
3502
|
+
z-index: 2001200;
|
|
3503
|
+
}
|
|
3504
|
+
|
|
3505
|
+
html[data-fitui-companion="fluent-ui"] div.FitUiControlDialogBaseModalLayer,
|
|
3506
|
+
html[data-fitui-companion="fluent-ui"] div.FitUiControlDialogBase
|
|
3507
|
+
{
|
|
3508
|
+
z-index: 2050000; /* Remain on top of draggable dialogs with z-index 2010000+ */
|
|
3509
|
+
}
|
|
3496
3510
|
div.FitUiControlDropDown
|
|
3497
3511
|
{
|
|
3498
3512
|
min-width: 50px; /* In case width is set to 100% and control is squeezed */
|
|
@@ -3987,6 +4001,501 @@ div.FitUiControlInput
|
|
|
3987
4001
|
height: auto\9; /* Undo equal height for all controls in IE9 and below - assume height of content in legacy IE which does not render properly when input height is set to 100% of container */
|
|
3988
4002
|
}
|
|
3989
4003
|
|
|
4004
|
+
div.FitUiControlInput input:first-child,
|
|
4005
|
+
div.FitUiControlInput textarea:first-child,
|
|
4006
|
+
div.FitUiControlInput[data-dialogmode="true"] > div
|
|
4007
|
+
{
|
|
4008
|
+
width: 100%;
|
|
4009
|
+
height: 100%;
|
|
4010
|
+
padding: 0.2em;
|
|
4011
|
+
padding-left: 0.3em;
|
|
4012
|
+
padding-right: 0.3em;
|
|
4013
|
+
margin: 0px;
|
|
4014
|
+
text-align: inherit;
|
|
4015
|
+
font-size: inherit;
|
|
4016
|
+
border: 0.065em solid #BBBBBB;
|
|
4017
|
+
border-width: 1px\9;
|
|
4018
|
+
border-radius: 2px;
|
|
4019
|
+
display: block; /* Remove annoying spacing above input when outline is applied (when value is invalid) */
|
|
4020
|
+
|
|
4021
|
+
/* Make it look decent on iOS Safari */
|
|
4022
|
+
-moz-appearance: none;
|
|
4023
|
+
-webkit-appearance: none;
|
|
4024
|
+
appearance: none;
|
|
4025
|
+
}
|
|
4026
|
+
|
|
4027
|
+
/* Default height for ordinary multi line input control (textarea) */
|
|
4028
|
+
div.FitUiControlInput[data-multiline="true"][data-designmode="false"]
|
|
4029
|
+
{
|
|
4030
|
+
height: 150px;
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
|
+
/* Make control container adjust to textarea or HTML editor when it has been resized */
|
|
4034
|
+
div.FitUiControlInput[data-resized="true"][data-resizable="enabled"]
|
|
4035
|
+
{
|
|
4036
|
+
width: auto !important; /* Using !important since dimensions are set as inline styles */
|
|
4037
|
+
height: auto !important; /* Using !important since dimensions are set as inline styles */
|
|
4038
|
+
}
|
|
4039
|
+
div.FitUiControlInput[data-resized="true"][data-resizable="vertical"]
|
|
4040
|
+
{
|
|
4041
|
+
height: auto !important;
|
|
4042
|
+
}
|
|
4043
|
+
div.FitUiControlInput[data-resized="true"][data-resizable="horizontal"]
|
|
4044
|
+
{
|
|
4045
|
+
width: auto !important;
|
|
4046
|
+
}
|
|
4047
|
+
div.FitUiControlInput[data-resized="true"] textarea:first-child
|
|
4048
|
+
{
|
|
4049
|
+
margin: 0px !important; /* Remove odd margin (inline style) added by Chrome when resizing */
|
|
4050
|
+
}
|
|
4051
|
+
|
|
4052
|
+
/* Hide clear button within input fields in IE */
|
|
4053
|
+
div.FitUiControlInput input:first-child::-ms-clear
|
|
4054
|
+
{
|
|
4055
|
+
display: none;
|
|
4056
|
+
}
|
|
4057
|
+
|
|
4058
|
+
/* Error indication */
|
|
4059
|
+
div.FitUiControlInput[data-enabled="true"][data-valid="false"]
|
|
4060
|
+
{
|
|
4061
|
+
outline: none;
|
|
4062
|
+
}
|
|
4063
|
+
div.FitUiControlInput[data-enabled="true"][data-valid="false"] input:first-child,
|
|
4064
|
+
div.FitUiControlInput[data-enabled="true"][data-valid="false"] textarea:first-child,
|
|
4065
|
+
div.FitUiControlInput[data-enabled="true"][data-valid="false"] > div
|
|
4066
|
+
{
|
|
4067
|
+
border-color: red;
|
|
4068
|
+
}
|
|
4069
|
+
|
|
4070
|
+
/* Maximize button */
|
|
4071
|
+
div.FitUiControlInput > span.fa
|
|
4072
|
+
{
|
|
4073
|
+
position: absolute;
|
|
4074
|
+
bottom: -0.65em;
|
|
4075
|
+
left: 50%;
|
|
4076
|
+
margin-left: -0.67em; /* transform: translateX(-50%); */
|
|
4077
|
+
cursor: pointer;
|
|
4078
|
+
background-color: white;
|
|
4079
|
+
border: 0.065em solid #BBBBBB;
|
|
4080
|
+
border-width: 1px\9;
|
|
4081
|
+
border-radius: 1em;
|
|
4082
|
+
padding: 0.1em;
|
|
4083
|
+
font-size: 0.8em;
|
|
4084
|
+
color: #BBBBBB;
|
|
4085
|
+
}
|
|
4086
|
+
div.FitUiControlInput[data-designmode="true"][data-autogrow="true"] > span.fa /* Maximize button does nothing (disabled) when auto grow is enabled in DesignMode */
|
|
4087
|
+
{
|
|
4088
|
+
border-color: #DEDEDE;
|
|
4089
|
+
color: #DEDEDE;
|
|
4090
|
+
cursor: not-allowed;
|
|
4091
|
+
}
|
|
4092
|
+
div.FitUiControlInput > span.fa:focus
|
|
4093
|
+
{
|
|
4094
|
+
outline: none;
|
|
4095
|
+
}
|
|
4096
|
+
div.FitUiControlInput[data-maximizable="true"] textarea:first-child
|
|
4097
|
+
{
|
|
4098
|
+
padding-bottom: 0.65em; /* Add spacing at the bottom to prevent text from colliding with the maximize button */
|
|
4099
|
+
}
|
|
4100
|
+
|
|
4101
|
+
/* Remove outline when input has focus */
|
|
4102
|
+
div.FitUiControlInput input:first-child:focus,
|
|
4103
|
+
div.FitUiControlInput textarea:first-child:focus,
|
|
4104
|
+
div.FitUiControlInput[data-designmode="true"]:focus /* Prevent outline if toolbar is clicked */
|
|
4105
|
+
{
|
|
4106
|
+
outline: none;
|
|
4107
|
+
}
|
|
4108
|
+
|
|
4109
|
+
div.FitUiControlInput[data-dialogmode="true"]:focus
|
|
4110
|
+
{
|
|
4111
|
+
outline: 2px solid #4484C7;
|
|
4112
|
+
outline-offset: 2px;
|
|
4113
|
+
border: 1px solid #4484C7\9; /* Legacy IE (9 and earlier) which does not support outline */
|
|
4114
|
+
}
|
|
4115
|
+
|
|
4116
|
+
/* Textarea resizing */
|
|
4117
|
+
div.FitUiControlInput textarea:first-child
|
|
4118
|
+
{
|
|
4119
|
+
resize: none;
|
|
4120
|
+
}
|
|
4121
|
+
div.FitUiControlInput[data-resizable="enabled"] textarea:first-child
|
|
4122
|
+
{
|
|
4123
|
+
resize: both;
|
|
4124
|
+
}
|
|
4125
|
+
div.FitUiControlInput[data-resizable="vertical"] textarea:first-child
|
|
4126
|
+
{
|
|
4127
|
+
resize: vertical;
|
|
4128
|
+
}
|
|
4129
|
+
div.FitUiControlInput[data-resizable="horizontal"] textarea:first-child
|
|
4130
|
+
{
|
|
4131
|
+
resize: horizontal;
|
|
4132
|
+
}
|
|
4133
|
+
|
|
4134
|
+
/* DesignMode dialog mode */
|
|
4135
|
+
|
|
4136
|
+
div.FitUiControlInput[data-dialogmode="true"]
|
|
4137
|
+
{
|
|
4138
|
+
padding: 0px;
|
|
4139
|
+
xxwidth: auto;
|
|
4140
|
+
xxheight: 100%;
|
|
4141
|
+
}
|
|
4142
|
+
|
|
4143
|
+
xxxdiv.FitUiControlInput[data-dialogmode="true"][data-autogrow="true"]
|
|
4144
|
+
{
|
|
4145
|
+
height: auto;
|
|
4146
|
+
}
|
|
4147
|
+
|
|
4148
|
+
div.FitUiControlInput[data-dialogmode="true"][data-resizable="enabled"] > div
|
|
4149
|
+
{
|
|
4150
|
+
resize: both;
|
|
4151
|
+
}
|
|
4152
|
+
div.FitUiControlInput[data-dialogmode="true"][data-resizable="vertical"] > div
|
|
4153
|
+
{
|
|
4154
|
+
resize: vertical;
|
|
4155
|
+
}
|
|
4156
|
+
div.FitUiControlInput[data-dialogmode="true"][data-resizable="horizontal"] > div
|
|
4157
|
+
{
|
|
4158
|
+
resize: horizontal;
|
|
4159
|
+
}
|
|
4160
|
+
|
|
4161
|
+
div.FitUiControlInput[data-dialogmode="true"] > div
|
|
4162
|
+
{
|
|
4163
|
+
height: 100%;
|
|
4164
|
+
min-height: 2em;
|
|
4165
|
+
min-height: auto\9;
|
|
4166
|
+
padding: 0 0.75em;
|
|
4167
|
+
overflow: auto;
|
|
4168
|
+
}
|
|
4169
|
+
|
|
4170
|
+
div.FitUiControlInput[data-dialogmode="true"] textarea:first-child
|
|
4171
|
+
{
|
|
4172
|
+
display: none;
|
|
4173
|
+
}
|
|
4174
|
+
|
|
4175
|
+
div.FitUiControlInput[data-dialogmode="true"] > div[data-placeholder]:before
|
|
4176
|
+
{
|
|
4177
|
+
content: attr(data-placeholder);
|
|
4178
|
+
display: block;
|
|
4179
|
+
position: absolute; /* Take out of flow to prevent it from affecting auto grow (editor height) */
|
|
4180
|
+
margin: 1em 0em;
|
|
4181
|
+
}
|
|
4182
|
+
|
|
4183
|
+
/* CKEditor */
|
|
4184
|
+
|
|
4185
|
+
/* Make control container adjust to the height of CKEditor when auto grow is enabled */
|
|
4186
|
+
div.FitUiControlInput[data-designmode="true"][data-autogrow="true"]
|
|
4187
|
+
{
|
|
4188
|
+
height: auto;
|
|
4189
|
+
}
|
|
4190
|
+
|
|
4191
|
+
/* Hide empty labels in dialogs (make controls align properly in Base64Image dialog) */
|
|
4192
|
+
.cke_dialog_contents label:empty
|
|
4193
|
+
{
|
|
4194
|
+
display: none;
|
|
4195
|
+
}
|
|
4196
|
+
|
|
4197
|
+
/* Override: Do not hide content overflow when a dialog is open - it remove scrollbars on page
|
|
4198
|
+
which affects available space and positioning slightly, which might trigger OnScroll, and might
|
|
4199
|
+
result in re-rendering. One downside of this change is that the user can now scroll the content
|
|
4200
|
+
behind the dialog, which is probably why overflow:hidden was applied. */
|
|
4201
|
+
.cke_dialog_open /* Class is added to <body> when a dialog is open */
|
|
4202
|
+
{
|
|
4203
|
+
overflow: auto !important; /* Using !mportant since CKEditor styles load on demand after Fit.UI styles */
|
|
4204
|
+
}
|
|
4205
|
+
|
|
4206
|
+
/* Reduce z-index for image resize handlers to allow modal image dialog background layer to stay on top */
|
|
4207
|
+
div#ckimgrsz
|
|
4208
|
+
{
|
|
4209
|
+
z-index: 9999; /* Defaults to 10001 but modal dialog background layer has z-index 10000 */
|
|
4210
|
+
}
|
|
4211
|
+
|
|
4212
|
+
/* Reduce flickering while editor is loading by hiding components */
|
|
4213
|
+
div.FitUiControlInput[data-designmode="true"] textarea:first-child
|
|
4214
|
+
{
|
|
4215
|
+
visibility: hidden; /* Hide textarea but preserve space consumed */
|
|
4216
|
+
}
|
|
4217
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome
|
|
4218
|
+
{
|
|
4219
|
+
visibility: hidden; /* Hide editor but preserve space consumed - changed back to "visible" in Input.js when editor is done loading */
|
|
4220
|
+
}
|
|
4221
|
+
|
|
4222
|
+
/* Placeholder (not enabled on IE8/9) */
|
|
4223
|
+
/* Placeholder attributes are only set when placeholder is supposed to
|
|
4224
|
+
be displayed. The text color for placeholders is defined i Styles.css. */
|
|
4225
|
+
div.FitUiControlInput[data-designmode="true"] .cke_editable[data-placeholder]:before
|
|
4226
|
+
{
|
|
4227
|
+
content: attr(data-placeholder);
|
|
4228
|
+
display: block;
|
|
4229
|
+
position: absolute; /* Take out of flow to prevent it from affecting auto grow (editor height) */
|
|
4230
|
+
/*margin: 1em 0em;*/
|
|
4231
|
+
}
|
|
4232
|
+
|
|
4233
|
+
/* Set identical margins for paragraphs and placeholder in HTML editor to ensure proper alignment,
|
|
4234
|
+
in case default margin for paragraphs have been changed, or if they differ across different browsers. */
|
|
4235
|
+
div.FitUiControlInput[data-designmode="true"] .cke_editable p,
|
|
4236
|
+
div.FitUiControlInput[data-designmode="true"] .cke_editable[data-placeholder]:before
|
|
4237
|
+
{
|
|
4238
|
+
margin: 1em 0em;
|
|
4239
|
+
}
|
|
4240
|
+
|
|
4241
|
+
/* CKEditor - moono-lisa skin overrides */
|
|
4242
|
+
|
|
4243
|
+
/* Apply rounded corners */
|
|
4244
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome[data-skin="moono-lisa"],
|
|
4245
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome[data-skin="moono-lisa"] .cke_inner
|
|
4246
|
+
{
|
|
4247
|
+
border-radius: 2px;
|
|
4248
|
+
}
|
|
4249
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome[data-skin="moono-lisa"] .cke_top
|
|
4250
|
+
{
|
|
4251
|
+
border-top-left-radius: 2px;
|
|
4252
|
+
border-top-right-radius: 2px;
|
|
4253
|
+
}
|
|
4254
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome[data-skin="moono-lisa"] .cke_contents
|
|
4255
|
+
{
|
|
4256
|
+
border-top-left-radius: 2px;
|
|
4257
|
+
border-top-right-radius: 2px;
|
|
4258
|
+
}
|
|
4259
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome[data-skin="moono-lisa"] .cke_editable
|
|
4260
|
+
{
|
|
4261
|
+
border-radius: 2px;
|
|
4262
|
+
}
|
|
4263
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome[data-skin="moono-lisa"] .cke_bottom
|
|
4264
|
+
{
|
|
4265
|
+
border-bottom-left-radius: 2px;
|
|
4266
|
+
border-bottom-right-radius: 2px;
|
|
4267
|
+
}
|
|
4268
|
+
|
|
4269
|
+
/* CKEditor - bootstrapck skin overrides */
|
|
4270
|
+
|
|
4271
|
+
/* Override: The bootstrapck skin define margins for content
|
|
4272
|
+
areas in dialogs which makes the vertical scrollbar appear. */
|
|
4273
|
+
.cke_dialog_container[data-skin="bootstrapck"] .cke_dialog_ui_vbox
|
|
4274
|
+
{
|
|
4275
|
+
margin-top: 0px !important; /* Using !mportant since CKEditor styles load on demand after Fit.UI styles */
|
|
4276
|
+
}
|
|
4277
|
+
.cke_dialog_container[data-skin="bootstrapck"] .cke_dialog_body label
|
|
4278
|
+
{
|
|
4279
|
+
margin-bottom: 0px !important; /* Using !mportant since CKEditor styles load on demand after Fit.UI styles */
|
|
4280
|
+
}
|
|
4281
|
+
|
|
4282
|
+
/* Override: The bootstrapck skin does not align checkboxes and labels properly */
|
|
4283
|
+
.cke_dialog_container[data-skin="bootstrapck"] .cke_dialog_ui_checkbox .cke_dialog_ui_checkbox_input,
|
|
4284
|
+
.cke_dialog_container[data-skin="bootstrapck"] .cke_dialog_ui_checkbox .cke_dialog_ui_checkbox_input+label,
|
|
4285
|
+
.cke_dialog_container[data-skin="bootstrapck"] .cke_dialog fieldset .cke_dialog_ui_vbox .cke_dialog_ui_checkbox .cke_dialog_ui_checkbox_input,
|
|
4286
|
+
.cke_dialog_container[data-skin="bootstrapck"] .cke_dialog fieldset .cke_dialog_ui_vbox .cke_dialog_ui_checkbox .cke_dialog_ui_checkbox_input+label
|
|
4287
|
+
{
|
|
4288
|
+
vertical-align: top !important; /* Using !mportant since CKEditor styles load on demand after Fit.UI styles */
|
|
4289
|
+
}
|
|
4290
|
+
|
|
4291
|
+
/* Override: The bootstrapck skin has too little spacing in the bottom part of its chrome when the bottom panel (with the resize handle) is not present */
|
|
4292
|
+
div.FitUiControlInput[data-resizable="disabled"] .cke_chrome[data-skin="bootstrapck"] /* cke_chrome is a <div> on modern browsers, a <span> in IE */
|
|
4293
|
+
{
|
|
4294
|
+
padding: 0px 3px 3px 3px;
|
|
4295
|
+
}
|
|
4296
|
+
|
|
4297
|
+
/* Override: Add missing spacing to editor chrome when toolbar is hidden or positioned at the bottom */
|
|
4298
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar="false"] .cke_chrome[data-skin="bootstrapck"],
|
|
4299
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"] .cke_chrome[data-skin="bootstrapck"]
|
|
4300
|
+
{
|
|
4301
|
+
padding-top: 3px;
|
|
4302
|
+
}
|
|
4303
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar="false"][data-toolbar-position="bottom"] .cke_chrome[data-skin="bootstrapck"]
|
|
4304
|
+
{
|
|
4305
|
+
padding-bottom: 3px;
|
|
4306
|
+
}
|
|
4307
|
+
|
|
4308
|
+
/* CKEditor - bottom panel, resize handle, and information panel */
|
|
4309
|
+
|
|
4310
|
+
/* Opimize resize handle when toolbar is placed at the top */
|
|
4311
|
+
|
|
4312
|
+
/* Allow positioning of cke_resizer outside of bottom container */
|
|
4313
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="enabled"] .cke_chrome .cke_bottom,
|
|
4314
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="vertical"] .cke_chrome .cke_bottom,
|
|
4315
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="horizontal"] .cke_chrome .cke_bottom
|
|
4316
|
+
{
|
|
4317
|
+
overflow: visible;
|
|
4318
|
+
}
|
|
4319
|
+
/* Remove/collapse bottom panel - resize handle is just placed in the lower right corner */
|
|
4320
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="enabled"] .cke_chrome[data-skin="moono-lisa"] .cke_bottom,
|
|
4321
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="vertical"] .cke_chrome[data-skin="moono-lisa"] .cke_bottom,
|
|
4322
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="horizontal"] .cke_chrome[data-skin="moono-lisa"] .cke_bottom
|
|
4323
|
+
{
|
|
4324
|
+
padding: 0px;
|
|
4325
|
+
border-top: none;
|
|
4326
|
+
}
|
|
4327
|
+
/* Position resize handle */
|
|
4328
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="enabled"] .cke_chrome .cke_resizer,
|
|
4329
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="vertical"] .cke_chrome .cke_resizer,
|
|
4330
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="horizontal"] .cke_chrome .cke_resizer
|
|
4331
|
+
{
|
|
4332
|
+
border-color: transparent #A0A0A0 transparent transparent;
|
|
4333
|
+
margin: 0;
|
|
4334
|
+
position: absolute;
|
|
4335
|
+
color: gray;
|
|
4336
|
+
}
|
|
4337
|
+
/* Position resize handle (moona-lisa skin) */
|
|
4338
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="enabled"] .cke_chrome[data-skin="moono-lisa"] .cke_resizer,
|
|
4339
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="vertical"] .cke_chrome[data-skin="moono-lisa"] .cke_resizer,
|
|
4340
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="horizontal"] .cke_chrome[data-skin="moono-lisa"] .cke_resizer
|
|
4341
|
+
{
|
|
4342
|
+
top: -9px;
|
|
4343
|
+
right: -1px;
|
|
4344
|
+
}
|
|
4345
|
+
/* Position resize handle (bootstrapck skin) */
|
|
4346
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="enabled"] .cke_chrome[data-skin="bootstrapck"] .cke_resizer,
|
|
4347
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="vertical"] .cke_chrome[data-skin="bootstrapck"] .cke_resizer,
|
|
4348
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"][data-resizable="horizontal"] .cke_chrome[data-skin="bootstrapck"] .cke_resizer
|
|
4349
|
+
{
|
|
4350
|
+
top: -6px;
|
|
4351
|
+
right: -4px;
|
|
4352
|
+
}
|
|
4353
|
+
|
|
4354
|
+
/* Opimize resize handle when toolbar is placed at the bottom */
|
|
4355
|
+
|
|
4356
|
+
/* Position resize handle (bootstrapck skin) */
|
|
4357
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"][data-resizable="enabled"] .cke_chrome[data-skin="bootstrapck"] .cke_resizer,
|
|
4358
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"][data-resizable="vertical"] .cke_chrome[data-skin="bootstrapck"] .cke_resizer,
|
|
4359
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"][data-resizable="horizontal"] .cke_chrome[data-skin="bootstrapck"] .cke_resizer
|
|
4360
|
+
{
|
|
4361
|
+
position: absolute;
|
|
4362
|
+
margin: 0px;
|
|
4363
|
+
bottom: 3px;
|
|
4364
|
+
right: -3px;
|
|
4365
|
+
}
|
|
4366
|
+
/* Position resize handle (moono-lisa skin) */
|
|
4367
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"][data-resizable="enabled"] .cke_chrome[data-skin="moono-lisa"] .cke_resizer,
|
|
4368
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"][data-resizable="vertical"] .cke_chrome[data-skin="moono-lisa"] .cke_resizer,
|
|
4369
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"][data-resizable="horizontal"] .cke_chrome[data-skin="moono-lisa"] .cke_resizer
|
|
4370
|
+
{
|
|
4371
|
+
position: absolute;
|
|
4372
|
+
margin: 0px;
|
|
4373
|
+
bottom: 2px;
|
|
4374
|
+
right: 2px;
|
|
4375
|
+
}
|
|
4376
|
+
|
|
4377
|
+
/* Make editor toolbar sticky if enabled */
|
|
4378
|
+
@supports (position: sticky)
|
|
4379
|
+
{
|
|
4380
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-sticky="true"][data-toolbar-position="top"] .cke_top
|
|
4381
|
+
{
|
|
4382
|
+
position: sticky;
|
|
4383
|
+
top: 0px;
|
|
4384
|
+
}
|
|
4385
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-sticky="true"][data-toolbar-position="bottom"] .cke_bottom
|
|
4386
|
+
{
|
|
4387
|
+
position: sticky;
|
|
4388
|
+
bottom: 0px;
|
|
4389
|
+
}
|
|
4390
|
+
}
|
|
4391
|
+
|
|
4392
|
+
/* Editor information panel at the bottom of editor (moono-lisa skin) */
|
|
4393
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome[data-skin="moono-lisa"] div.FitUiControlInputInfoPanel
|
|
4394
|
+
{
|
|
4395
|
+
font-size: 0.8em;
|
|
4396
|
+
padding-top: 0.2em;
|
|
4397
|
+
padding-bottom: 0.2em;
|
|
4398
|
+
color: #585858;
|
|
4399
|
+
}
|
|
4400
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"] .cke_chrome[data-skin="moono-lisa"] div.FitUiControlInputInfoPanel
|
|
4401
|
+
{
|
|
4402
|
+
border-top: 1px solid #D1D1D1;
|
|
4403
|
+
}
|
|
4404
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"] .cke_chrome[data-skin="moono-lisa"] div.FitUiControlInputInfoPanel
|
|
4405
|
+
{
|
|
4406
|
+
border-bottom: 1px solid #D1D1D1;
|
|
4407
|
+
}
|
|
4408
|
+
|
|
4409
|
+
/* Editor information panel at the bottom of editor (bootstrapck skin) */
|
|
4410
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome[data-skin="bootstrapck"] div.FitUiControlInputInfoPanel
|
|
4411
|
+
{
|
|
4412
|
+
font-size: 0.8em;
|
|
4413
|
+
color: #585858;
|
|
4414
|
+
}
|
|
4415
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="top"] .cke_chrome[data-skin="bootstrapck"] div.FitUiControlInputInfoPanel
|
|
4416
|
+
{
|
|
4417
|
+
padding-top: 0.2em;
|
|
4418
|
+
}
|
|
4419
|
+
div.FitUiControlInput[data-designmode="true"][data-toolbar-position="bottom"] .cke_chrome[data-skin="bootstrapck"] div.FitUiControlInputInfoPanel
|
|
4420
|
+
{
|
|
4421
|
+
padding-bottom: 0.2em;
|
|
4422
|
+
}
|
|
4423
|
+
|
|
4424
|
+
/* CKEditor - tags/mentions support */
|
|
4425
|
+
|
|
4426
|
+
div.FitUiControlInput[data-designmode="true"] .cke_chrome a[data-tag-id]
|
|
4427
|
+
{
|
|
4428
|
+
background-color: #F5FbFF;
|
|
4429
|
+
border: 0.065em solid #C6dAE1;
|
|
4430
|
+
border-radius: 0.2em;
|
|
4431
|
+
text-decoration: none;
|
|
4432
|
+
font-size: 0.95em;
|
|
4433
|
+
color: blue;
|
|
4434
|
+
cursor: default;
|
|
4435
|
+
}
|
|
4436
|
+
|
|
4437
|
+
.cke_autocomplete_panel.cke_autocomplete_opened /* Using both .cke_autocomplete_panel and .cke_autocomplete_opened to increase specificity */
|
|
4438
|
+
{
|
|
4439
|
+
width: 225px;
|
|
4440
|
+
}
|
|
4441
|
+
|
|
4442
|
+
/* Detached and maximizable editor hosted in a modal dialog */
|
|
4443
|
+
|
|
4444
|
+
div.FitUiControlDialog.FitUiControlInputDetached div.FitUiControlDialogContent
|
|
4445
|
+
{
|
|
4446
|
+
padding: 0px;
|
|
4447
|
+
overflow: hidden; /* Make sure scrollbars do not emerge when resizing dialog (reducing height) - editor has scrollbars */
|
|
4448
|
+
}
|
|
4449
|
+
|
|
4450
|
+
div.FitUiControlDialog.FitUiControlInputDetached .cke_chrome
|
|
4451
|
+
{
|
|
4452
|
+
border: none;
|
|
4453
|
+
}
|
|
4454
|
+
|
|
4455
|
+
div.FitUiControlDialog.FitUiControlInputDetached .cke_wysiwyg_div
|
|
4456
|
+
{
|
|
4457
|
+
padding: 0.5em 1.5em;
|
|
4458
|
+
}
|
|
4459
|
+
|
|
4460
|
+
/* Fluent UI compatibility */
|
|
4461
|
+
|
|
4462
|
+
/* The following elements are mounted in document root - make sure they stay on
|
|
4463
|
+
top of everything else in Fluent UI which use very aggressive z-index values. */
|
|
4464
|
+
|
|
4465
|
+
/* Image resize handlers */
|
|
4466
|
+
html[data-fitui-companion="fluent-ui"] #ckimgrsz
|
|
4467
|
+
{
|
|
4468
|
+
z-index: 2100000;
|
|
4469
|
+
}
|
|
4470
|
+
|
|
4471
|
+
/* Tags/mentions/autocomplete context menu */
|
|
4472
|
+
html[data-fitui-companion="fluent-ui"] .cke_autocomplete_panel
|
|
4473
|
+
{
|
|
4474
|
+
z-index: 2100000 !important; /* Using !important to override inline style */
|
|
4475
|
+
}
|
|
4476
|
+
|
|
4477
|
+
/* Panels such as the toolbar's emoji panel/callout */
|
|
4478
|
+
html[data-fitui-companion="fluent-ui"] .cke_panel
|
|
4479
|
+
{
|
|
4480
|
+
z-index: 2100000 !important; /* Using !important to override inline style */
|
|
4481
|
+
}
|
|
4482
|
+
|
|
4483
|
+
/* Dialogs (e.g. link and image dialogs) */
|
|
4484
|
+
html[data-fitui-companion="fluent-ui"] .cke_dialog_background_cover
|
|
4485
|
+
{
|
|
4486
|
+
z-index: 2100010 !important; /* Using !important to override inline style */
|
|
4487
|
+
}
|
|
4488
|
+
html[data-fitui-companion="fluent-ui"] .cke_dialog_container
|
|
4489
|
+
{
|
|
4490
|
+
z-index: 2100020 !important; /* Using !important to override inline style */
|
|
4491
|
+
}
|
|
4492
|
+
|
|
4493
|
+
div.FitUiControlInput
|
|
4494
|
+
{
|
|
4495
|
+
height: 2em; /* Equal height for all controls */
|
|
4496
|
+
height: auto\9; /* Undo equal height for all controls in IE9 and below - assume height of content in legacy IE which does not render properly when input height is set to 100% of container */
|
|
4497
|
+
}
|
|
4498
|
+
|
|
3990
4499
|
div.FitUiControlInput input:first-child,
|
|
3991
4500
|
div.FitUiControlInput textarea:first-child
|
|
3992
4501
|
{
|
|
@@ -4385,29 +4894,29 @@ div.FitUiControlDialog.FitUiControlInputDetached .cke_wysiwyg_div
|
|
|
4385
4894
|
/* Image resize handlers */
|
|
4386
4895
|
html[data-fitui-companion="fluent-ui"] #ckimgrsz
|
|
4387
4896
|
{
|
|
4388
|
-
z-index:
|
|
4897
|
+
z-index: 2050000;
|
|
4389
4898
|
}
|
|
4390
4899
|
|
|
4391
4900
|
/* Tags/mentions/autocomplete context menu */
|
|
4392
4901
|
html[data-fitui-companion="fluent-ui"] .cke_autocomplete_panel
|
|
4393
4902
|
{
|
|
4394
|
-
z-index:
|
|
4903
|
+
z-index: 2050000 !important; /* Using !important to override inline style */
|
|
4395
4904
|
}
|
|
4396
4905
|
|
|
4397
4906
|
/* Panels such as the toolbar's emoji panel/callout */
|
|
4398
4907
|
html[data-fitui-companion="fluent-ui"] .cke_panel
|
|
4399
4908
|
{
|
|
4400
|
-
z-index:
|
|
4909
|
+
z-index: 2050000 !important; /* Using !important to override inline style */
|
|
4401
4910
|
}
|
|
4402
4911
|
|
|
4403
4912
|
/* Dialogs (e.g. link and image dialogs) */
|
|
4404
4913
|
html[data-fitui-companion="fluent-ui"] .cke_dialog_background_cover
|
|
4405
4914
|
{
|
|
4406
|
-
z-index:
|
|
4915
|
+
z-index: 2050010 !important; /* Using !important to override inline style */
|
|
4407
4916
|
}
|
|
4408
4917
|
html[data-fitui-companion="fluent-ui"] .cke_dialog_container
|
|
4409
4918
|
{
|
|
4410
|
-
z-index:
|
|
4919
|
+
z-index: 2050020 !important; /* Using !important to override inline style */
|
|
4411
4920
|
}
|
|
4412
4921
|
|
|
4413
4922
|
div.FitUiControlListView
|