106 lines
1.7 KiB
CSS
Raw Normal View History

2017-03-15 14:30:41 -04:00
@import "../../../UI/theme";
.editorControlBar {
z-index: 1;
2017-05-04 15:19:43 -04:00
border: 2px solid transparent;
border-top: 0;
background-color: var(--controlBGColor);
}
.editorControlBarSticky {
border-color: var(--textFieldBorderColor);
}
.editor {
position: relative;
& h1, & h2, & h3 {
padding: 0;
color: #7c8382;
text-decoration: none;
border-bottom: none;
margin-bottom: 20px;
line-height: 1.45;
}
& h1 {
font-size: 2.5rem;
}
& h2 {
font-size: 2rem;
}
& h3 {
font-size: 1.8rem;
}
& p {
margin-top: 20px;
margin-bottom: 20px;
}
& hr {
border: 1px solid;
margin-bottom: 20px;
}
& li > p {
margin: 0;
}
2016-11-01 23:31:20 -07:00
& div[data-plugin] {
background: #fff;
border: 1px solid #aaa;
padding: 10px;
margin-bottom: 20px;
}
2016-08-02 23:25:45 -03:00
}
2016-08-18 15:13:22 -03:00
.dragging { }
.shim {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: none;
border: 2px dashed #aaa;
background: rgba(0,0,0,0.2);
}
.dragging .shim {
z-index: 1000;
display: block;
pointer-events: none;
}
.slateEditor {
position: relative;
background-color: var(--controlBGColor);
padding: 12px;
overflow: hidden;
border-radius: var(--borderRadius);
overflow-x: auto;
border: var(--textFieldBorder);
min-height: var(--richTextEditorMinHeight);
& ul,
& ol {
padding-left: 30px;
}
2016-08-18 15:13:22 -03:00
& pre {
white-space: pre-wrap;
}
2016-08-18 15:13:22 -03:00
& pre > code {
display: block;
width: 100%;
overflow-y: auto;
background-color: #000;
color: #ccc;
border-radius: var(--borderRadius);
padding: 10px;
}
& blockquote {
padding-left: 1em;
border-left: 3px solid #eee;
margin-left: 0; margin-right: 0;
}
2016-08-18 15:13:22 -03:00
}