forked from xdan/jodit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjodit.less
59 lines (53 loc) · 1.07 KB
/
jodit.less
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
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* License https://xdsoft.net/jodit/license.html
* Copyright 2013-2018 Valeriy Chupurnov xdsoft.net
*/
@import (reference) "variables";
.jodit_container {
background: #fff;
&, * {
box-sizing: border-box;
}
.jodit_workplace {
border: 1px solid @color-border;
position: relative;
height: ~'calc(100% - 23px)';
overflow: auto;
//width: 100%;
//display: table;
display: flex;
.jodit_wysiwyg,
.jodit_wysiwyg_iframe {
height: 100%;
width: 100%;
}
.jodit_wysiwyg {
margin : 0;
padding: @padding-default;
outline: 0;
overflow-x: auto;
position: relative;
img {
position: relative;
}
p, pre {
margin: 0 0 10px;
}
h1,h2,h3,h4,h5 {
margin-top: 0;
}
&::selection,
*::selection {
background: @color-background-selection;
color: @color-selection;
}
}
}
}
.jodit_disabled {
user-select: none !important;
}
.jodit_hidden {
display: none !important;
}