134 lines
1.9 KiB
CSS
Raw Normal View History

2017-06-23 14:42:40 -04:00
@import "../../../../UI/theme";
2017-03-15 14:30:41 -04:00
.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);
}
2017-07-27 18:03:13 -04:00
.wrapper {
position: relative;
2017-07-31 11:37:46 -04:00
}
.editor {
position: relative;
overflow: hidden;
overflow-x: auto;
min-height: var(--richTextEditorMinHeight);
font-family: var(--fontFamily);
& h1 {
2017-07-31 11:37:46 -04:00
font-size: 32px;
margin-top: 16px;
}
2017-07-31 11:37:46 -04:00
& h2 {
2017-07-31 11:37:46 -04:00
font-size: 24px;
margin-top: 12px;
}
2017-07-31 11:37:46 -04:00
& h3 {
2017-07-31 11:37:46 -04:00
font-size: 20px;
margin-top: 8px;
}
& h4 {
font-size: 18px;
margin-top: 8px;
}
& h5,
& h6 {
font-size: 16px;
margin-top: 8px;
}
& h1, & h2, & h3, & h4, & h5, & h6 {
font-weight: 700;
2017-08-01 19:53:23 -04:00
line-height: 1;
2017-07-31 11:37:46 -04:00
}
& p,
& pre,
& blockquote,
& ul,
& ol {
margin-top: 16px;
margin-bottom: 16px;
}
2017-07-31 11:37:46 -04:00
& a {
text-decoration: underline;
}
2017-07-31 11:37:46 -04:00
& hr {
border: 1px solid;
2017-07-31 11:37:46 -04:00
margin-bottom: 16px;
}
2017-07-31 11:37:46 -04:00
& li > p {
margin: 0;
}
& 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;
}
2017-07-31 11:37:46 -04:00
& code {
background-color: var(--backgroundColorShaded);
border-radius: var(--borderRadius);
padding: 0 2px;
font-size: 85%;
}
& blockquote {
2017-07-31 11:37:46 -04:00
padding-left: 16px;
border-left: 3px solid var(--backgroundColorShaded);
margin-left: 0;
margin-right: 0;
}
& table {
border-collapse: collapse;
}
& td,
& th {
border: 2px solid black;
padding: 8px;
text-align: left;
}
2016-08-18 15:13:22 -03:00
}
2017-07-13 21:33:50 -04:00
.shortcode {
border: 2px solid black;
padding: 8px;
2017-07-31 11:37:46 -04:00
margin: 2px 0;
2017-07-13 21:33:50 -04:00
cursor: pointer;
}
.shortcodeSelected {
border-color: var(--primaryColor);
color: var(--primaryColor);
}