2020-06-10 22:03:00 +02:00
|
|
|
.styledRte {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar {
|
|
|
|
display: block;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid var(--borderLightest);
|
|
|
|
background: var(--backgroundLightest);
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row {
|
2020-08-10 16:45:30 +02:00
|
|
|
padding: 0 0 var(--rte-indent) 0;
|
2020-06-10 22:03:00 +02:00
|
|
|
display: flex;
|
2020-08-10 16:45:30 +02:00
|
|
|
margin: 0 var(--rte-indent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row:first-child {
|
|
|
|
padding: var(--rte-indent) 0;
|
2020-06-10 22:03:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row > .group {
|
2020-08-10 16:45:30 +02:00
|
|
|
padding: 0 var(--rte-indent) 0 0;
|
2020-06-10 22:03:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row > .group:first-child {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row > .group:last-child {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row > .group > .styledRteButton > .styledButton,
|
|
|
|
.styledRte > .bar > .row > .group > .styledButton,
|
|
|
|
.styledRte > .bar > .row > .group > span.headingList {
|
2020-08-10 16:45:30 +02:00
|
|
|
margin-right: var(--rte-indent);
|
|
|
|
font-size: var(--small-font-size);
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row > .group.font > span.headingList > .headingOption {
|
|
|
|
margin-right: var(--rte-indent);
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row > .group > .styledRteButton > .styledButton,
|
|
|
|
.styledRte > .bar > .row > .group > .styledRteButton > .styledButton > .styledIcon,
|
|
|
|
.styledRte > .bar > .row > .group > span.headingList > .headingOption > .styledButton,
|
|
|
|
.styledRte > .bar > .row > .group > span.headingList > .headingOption > .styledButton > span {
|
|
|
|
font-size: var(--small-font-size);
|
|
|
|
line-height: calc(2 * var(--small-font-size));
|
|
|
|
height: calc(2 * var(--small-font-size));
|
2020-06-10 22:03:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .bar > .row > .group > .headingList {
|
|
|
|
height: 32px;
|
|
|
|
min-width: 40px;
|
|
|
|
overflow-y: visible;
|
|
|
|
overflow-x: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .editorWrapper {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border-radius: 3px;
|
|
|
|
border: 1px solid var(--borderLightest);
|
|
|
|
background: var(--backgroundLightest);
|
|
|
|
font-family: var(--font-regular);
|
|
|
|
color: var(--textDarkest);
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 15px;
|
|
|
|
resize: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .editorWrapper > .editor {
|
|
|
|
display: block;
|
|
|
|
margin: 8px 12px 9px;
|
|
|
|
min-height: 60px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .editorWrapper > .editor ul,
|
|
|
|
.styledRte > .editorWrapper > .editor ol {
|
|
|
|
margin-left: 25px;
|
|
|
|
}
|
|
|
|
|
2020-08-10 16:45:30 +02:00
|
|
|
.styledRte > .editorWrapper > .editor ul > li {
|
|
|
|
list-style: square;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .editorWrapper > .editor ol > li {
|
|
|
|
list-style: decimal;
|
|
|
|
}
|
|
|
|
|
2020-06-16 21:15:08 +02:00
|
|
|
.styledRte > .editorWrapper > .editor table {
|
|
|
|
table-layout: fixed;
|
|
|
|
border-spacing: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.styledRte > .editorWrapper > .editor table > tbody > tr > td {
|
|
|
|
min-width: 24px;
|
|
|
|
min-height: 24px;
|
|
|
|
text-align: center;
|
2020-08-10 16:45:30 +02:00
|
|
|
padding: var(--rte-indent);
|
2020-06-16 21:15:08 +02:00
|
|
|
border-bottom: 1px solid var(--borderLight);
|
|
|
|
border-right: 1px solid var(--borderLight);
|
|
|
|
border-left: 1px solid var(--borderLight);
|
|
|
|
border-top: 1px solid var(--borderLight);
|
|
|
|
}
|
|
|
|
|
2020-08-10 16:45:30 +02:00
|
|
|
.styledRte > .editorWrapper > .editor *:focus {
|
|
|
|
background: var(--secondary);
|
|
|
|
}
|
|
|
|
|
2020-06-10 22:03:00 +02:00
|
|
|
/**********************************************************/
|
|
|
|
/* Table tooltip */
|
|
|
|
/**********************************************************/
|
|
|
|
|
|
|
|
.tableTooltip {
|
2020-06-16 21:15:08 +02:00
|
|
|
min-width: 136px;
|
2020-06-10 22:03:00 +02:00
|
|
|
padding: 15px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tableTooltip > h2 {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
2020-06-16 21:15:08 +02:00
|
|
|
.tableTooltip > .tablePreview {
|
|
|
|
display: flex;
|
|
|
|
align-items: flex-end;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tableTooltip > .tablePreview > table {
|
2020-06-10 22:03:00 +02:00
|
|
|
table-layout: fixed;
|
|
|
|
border-spacing: 0;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2020-06-16 21:15:08 +02:00
|
|
|
.tableTooltip > .tablePreview > table > tbody > tr > td {
|
2020-06-10 22:03:00 +02:00
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
text-align: center;
|
2020-08-10 16:45:30 +02:00
|
|
|
padding: var(--rte-indent);
|
2020-06-10 22:03:00 +02:00
|
|
|
border-bottom: 1px solid var(--borderLight);
|
|
|
|
border-right: 1px solid var(--borderLight);
|
|
|
|
border-left: 1px solid var(--borderLight);
|
|
|
|
border-top: 1px solid var(--borderLight);
|
|
|
|
}
|
|
|
|
|
2020-06-16 21:15:08 +02:00
|
|
|
.tableTooltip > .tablePreview > input {
|
|
|
|
height: 32px;
|
|
|
|
align-self: flex-end;
|
|
|
|
margin-left: 15px;
|
|
|
|
}
|
|
|
|
|
2020-06-10 22:03:00 +02:00
|
|
|
.tableTooltip > .inputs {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
2020-08-15 00:55:40 +02:00
|
|
|
|
|
|
|
/**********************************************************/
|
|
|
|
/* Code tooltip */
|
|
|
|
/**********************************************************/
|
|
|
|
|
|
|
|
.codeTooltip {
|
|
|
|
min-width: 336px;
|
|
|
|
padding: 15px;
|
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 800px) {
|
|
|
|
.codeTooltip {
|
|
|
|
min-width: 636px;
|
|
|
|
left: calc(100% / 2 - 318px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1024px) {
|
|
|
|
.codeTooltip {
|
|
|
|
min-width: 836px;
|
|
|
|
left: calc(100% / 2 - 418px);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.codeTooltip > h2 {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codeTooltip > select {
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid var(--borderLightest);
|
|
|
|
margin: var(--rte-indent) 0;
|
|
|
|
min-height: 1rem;
|
|
|
|
background: var(--backgroundLightest);
|
|
|
|
}
|
|
|
|
|
|
|
|
.codeTooltip > select > option {
|
|
|
|
}
|
|
|
|
|
|
|
|
.codeTooltip > textarea {
|
|
|
|
border: 1px solid var(--borderLightest);
|
|
|
|
width: 100%;
|
|
|
|
min-height: 200px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.codeTooltip > textarea:focus {
|
|
|
|
border: 1px solid var(--borderInputFocus);
|
|
|
|
}
|