This repository was archived by the owner on Jun 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy patheditorui.css
65 lines (53 loc) · 1.51 KB
/
editorui.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
@import "../../../mixins/_rounded.css";
@import "../../../mixins/_disabled.css";
@import "../../../mixins/_shadow.css";
@import "../../../mixins/_focus.css";
@import "../../mixins/_button.css";
:root {
--ck-color-editable-blur-selection: hsl(0, 0%, 85%);
}
.ck.ck-editor__editable:not(.ck-editor__nested-editable) {
@mixin ck-rounded-corners;
&.ck-focused {
@mixin ck-focus-ring;
@mixin ck-box-shadow var(--ck-inner-shadow);
}
}
.ck.ck-editor__editable_inline {
overflow: auto;
padding: 0 var(--ck-spacing-standard);
border: 1px solid transparent;
&[dir="ltr"] {
text-align: left;
}
&[dir="rtl"] {
text-align: right;
}
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/116 */
& > *:first-child {
margin-top: var(--ck-spacing-large);
}
/* https://github.com/ckeditor/ckeditor5/issues/847 */
& > *:last-child {
margin-bottom: var(--ck-spacing-large);
}
/* https://github.com/ckeditor/ckeditor5/issues/6517 */
&.ck-blurred ::selection {
background: var(--ck-color-editable-blur-selection);
}
}
/* https://github.com/ckeditor/ckeditor5-theme-lark/issues/111 */
.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_n"] {
&::after {
border-bottom-color: var(--ck-color-base-foreground);
}
}
.ck.ck-balloon-panel.ck-toolbar-container[class*="arrow_s"] {
&::after {
border-top-color: var(--ck-color-base-foreground);
}
}