-
Notifications
You must be signed in to change notification settings - Fork 29
/
Copy pathtoast-ui.scss
101 lines (86 loc) · 1.72 KB
/
toast-ui.scss
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
@import "@toast-ui/editor/dist/toastui-editor.css";
@import "@toast-ui/editor/dist/theme/toastui-editor-dark.css";
.markdown-editor {
* {
box-sizing: content-box;
}
&__wrapper {
position: relative;
}
&__resize-btn {
box-sizing: border-box;
position: absolute;
bottom: 30px;
right: 0;
background: transparent;
border: 1px solid transparent;
color: var(--bs-secondary-text-emphasis);
z-index: 100;
&::after {
content: "\f065";
}
&--with-scrollbar {
right: 18px;
}
&--collapse {
right: 0;
&::after {
content: "\f066";
}
}
&:hover {
background: var(--bs-secondary-bg);
}
}
}
// /*------------------------------------*\
// $ToastUI overrides
// \*------------------------------------*/
// Overrides for the preview section to match real output styles
.toastui-editor-contents {
font-size: 14px;
h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0.5em 0 0.5em 0;
padding: 0;
border-bottom: 0;
font-weight: normal;
}
blockquote {
border-left: 4px solid var(--bs-secondary-bg);
p {
color: var(--bs-secondary-text-emphasis);
}
}
ul > li::before {
content: none;
}
ul {
list-style-type: disc;
}
ul ul {
list-style-type: circle;
}
ol > li::before {
color: black;
}
code {
color: var(--bs-code-color);
background-color: transparent !important;
}
pre {
border: 1px solid var(--bs-border-color-translucent);
}
del {
color: var(--bs-secondary-color);
}
}
// Ensure multiline backquotes have same text color in "write" mode
.toastui-editor-md-marked-text,
.toastui-editor-md-block-quote {
color: var(--bs-secondary-text-emphasis);
}