jodit-react
Version:
Jodit is awesome and usefully wysiwyg editor with filebrowser
186 lines (152 loc) • 2.48 kB
CSS
html {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html, body {
height: 100%;
margin: 0;
}
body {
font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 16px;
-webkit-font-smoothing: antialiased;
text-rendering: optimizelegibility;
line-height: 1.5;
font-weight: 300;
}
body {
display: flex;
flex-direction: column;
}
header,
#main_container {
flex: 1 0 auto;
}
.jodit_wysiwyg {
color: #000;
padding: 10px;
overflow-x: auto;
min-height: 40px;
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.table, .p {
margin: 0 0 16px 0;
}
.table {
border: 0;
border-collapse: collapse;
empty-cells: show;
max-width: 100%;
border-spacing: 0;
*border-collapse: collapse;
}
. table tr {
user-select: none;
-o-user-select: none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
. table td, . table th {
user-select: text;
-o-user-select: text;
-moz-user-select: text;
-khtml-user-select: text;
-webkit-user-select: text;
-ms-user-select: text;
}
. table th, . table td {
box-sizing: border-box;
padding: 2px 5px;
vertical-align: top;
}
.table td, . table th {
border: 1px solid #ddd;
}
.container {
width: 1000px;
margin: 0 auto;
}
nav {
height: 30px;
background: linear-gradient(to left, #28a5f5, #1e87f0);
padding: 0;
overflow: hidden;
}
footer nav {
background: #f9f9f9;
margin-top: 20px;
}
nav > ul {
padding: 0;
margin: 0;
}
nav > ul > li {
list-style: none;
display: inline-block;
padding: 0;
margin: 0;
}
nav > ul > li + li {
margin-left: 23px;
}
nav ul li a {
color: #ddd;
text-decoration: none;
text-transform: uppercase;
font-size: 0.625rem;
line-height: 30px;
}
nav ul li a:hover {
color: #aaa;
text-decoration: underline;
}
footer nav ul li a {
color: #3f3f3f;
}
nav ul li ul {
position: absolute;
margin: 0;
padding: 0;
background-color: #208bf1;
display: none;
}
nav > ul > li:hover > ul {
display: block;
}
nav ul li ul li {
list-style: none;
display: block;
padding: 0;
margin: 0;
}
nav ul li ul li a {
padding: 5px;
}
.layout {
display: flex;
flex-direction: row;
}
.layout > * {
}
.leftside {
width: 20%;
padding: 10px 10px 10px 0;
}
.rightside {
width: 80%;
padding: 10px 0 10px 10px;
}
pre {
white-space: pre-wrap;
background-color: #3f3f3f;
color: #fff;
padding: 10px;
}
h1, h2, h3, h4, h5, h6 {
font-weight: 500;
}