2018-01-18 16:38:11 +01:00
|
|
|
core-rich-text-editor {
|
|
|
|
height: 40vh;
|
|
|
|
overflow: hidden;
|
|
|
|
min-height: 30vh;
|
2018-04-09 13:14:55 +02:00
|
|
|
width: 100%;
|
2018-01-18 16:38:11 +01:00
|
|
|
|
|
|
|
> div {
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
.core-rte-editor, .core-textarea {
|
|
|
|
padding: 2px;
|
|
|
|
margin: 2px;
|
|
|
|
width: 100%;
|
|
|
|
resize: none;
|
|
|
|
background-color: $white;
|
|
|
|
flex-grow: 1;
|
|
|
|
* {
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.core-rte-editor {
|
|
|
|
-webkit-user-select: auto !important;
|
|
|
|
word-wrap: break-word;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
cursor: text;
|
|
|
|
img {
|
|
|
|
padding-left: 2px;
|
|
|
|
max-width: 95%;
|
|
|
|
}
|
|
|
|
&:empty:before {
|
|
|
|
content: attr(data-placeholder-text);
|
|
|
|
display: block;
|
|
|
|
color: $gray-light;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2018-05-30 11:50:59 +02:00
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: disc;
|
|
|
|
}
|
|
|
|
ol {
|
|
|
|
list-style-type: decimal;
|
|
|
|
}
|
|
|
|
ul, ol {
|
|
|
|
-webkit-padding-start: 15px;
|
|
|
|
list-style-position: inside;
|
|
|
|
|
|
|
|
ul {
|
|
|
|
list-style-type: circle;
|
|
|
|
}
|
|
|
|
ol {
|
|
|
|
list-style-type: lower-latin;
|
|
|
|
}
|
|
|
|
ul, ol {
|
|
|
|
list-style-position: inside;
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
|
|
|
}
|
2018-01-18 16:38:11 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.core-textarea textarea {
|
|
|
|
margin: 0 !important;
|
|
|
|
padding: 0;
|
|
|
|
height: 100% !important;
|
|
|
|
width: 100% !important;
|
|
|
|
resize: none;
|
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
2018-05-29 16:56:47 +02:00
|
|
|
div.core-rte-toolbar {
|
|
|
|
background: $gray-darker;
|
|
|
|
margin: 0px 1px 15px 1px;
|
2018-01-18 16:38:11 +01:00
|
|
|
text-align: center;
|
|
|
|
flex-grow: 0;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
2018-05-29 16:56:47 +02:00
|
|
|
|
|
|
|
.core-rte-buttons {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: row;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
|
|
|
|
button {
|
|
|
|
background: $gray-darker;
|
|
|
|
color: $white;
|
|
|
|
font-size: 1.1em;
|
|
|
|
height: 35px;
|
|
|
|
min-width: 30px;
|
|
|
|
padding-left: 3px;
|
|
|
|
padding-right: 3px;
|
|
|
|
border-right: 1px solid $gray-dark;
|
|
|
|
border-bottom: 1px solid $gray-dark;
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2018-01-18 16:38:11 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|