2022-04-21 23:10:54 +02:00
|
|
|
.editor .btn-group {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
2022-04-28 20:13:52 +02:00
|
|
|
flex-wrap: wrap;
|
2023-05-16 13:50:47 +02:00
|
|
|
align-items: center;
|
2022-04-27 11:44:37 +02:00
|
|
|
}
|
2024-03-09 13:38:43 +01:00
|
|
|
.editor .btn-group .filler {
|
2022-04-27 11:44:37 +02:00
|
|
|
flex-grow: 1;
|
2022-04-21 23:10:54 +02:00
|
|
|
}
|
|
|
|
.editor .btn-group button {
|
2022-04-27 20:18:29 +02:00
|
|
|
padding: 6px;
|
2022-04-21 23:10:54 +02:00
|
|
|
background-color: var(--background);
|
|
|
|
}
|
2022-04-27 11:44:37 +02:00
|
|
|
.editor .btn-group button:hover {
|
|
|
|
background: var(--background-hover);
|
|
|
|
}
|
2022-04-21 23:10:54 +02:00
|
|
|
.editor .btn-group button > svg {
|
2022-04-27 20:18:29 +02:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
2022-04-14 23:03:06 +02:00
|
|
|
}
|
2022-04-21 23:10:54 +02:00
|
|
|
.editor .btn-group button > svg > path,
|
|
|
|
.editor .btn-group button > svg > rect {
|
2022-04-14 23:03:06 +02:00
|
|
|
fill: var(--icons);
|
2022-04-21 23:10:54 +02:00
|
|
|
}
|
2022-04-27 11:44:37 +02:00
|
|
|
.editor .btn-group button,
|
|
|
|
.editor .btn-group .separator {
|
2022-04-28 20:13:52 +02:00
|
|
|
margin: 0 8px 8px 0;
|
2022-04-28 20:49:42 +02:00
|
|
|
height: 32px;
|
2022-12-11 00:05:14 +01:00
|
|
|
position: relative;
|
2022-04-28 20:49:42 +02:00
|
|
|
}
|
|
|
|
.editor .btn-group > a {
|
|
|
|
margin: 0 0 8px 0;
|
2022-04-27 11:44:37 +02:00
|
|
|
}
|
2022-12-11 00:05:14 +01:00
|
|
|
.editor .btn-group .separator {
|
|
|
|
display: inline-block;
|
|
|
|
width: 0;
|
2023-05-14 22:41:59 +02:00
|
|
|
border: 1px solid var(--text);
|
2022-12-11 00:05:14 +01:00
|
|
|
color: transparent;
|
|
|
|
text-indent: -10px;
|
|
|
|
}
|
2022-04-22 10:50:51 +02:00
|
|
|
.editor textarea {
|
2022-04-27 11:44:37 +02:00
|
|
|
min-height: 15rem;
|
2022-04-22 10:50:51 +02:00
|
|
|
}
|
2022-05-19 22:42:47 +02:00
|
|
|
.editor #editor_content_preview {
|
2023-05-16 13:50:47 +02:00
|
|
|
padding: 10px;
|
|
|
|
margin-top: 5px;
|
2022-05-19 22:42:47 +02:00
|
|
|
border: var(--border);
|
2022-12-15 12:05:58 +01:00
|
|
|
background-color: rgba(0,0,0,0.2);
|
2022-05-19 22:42:47 +02:00
|
|
|
}
|
2022-12-11 00:05:14 +01:00
|
|
|
.editor .modal {
|
|
|
|
position: absolute;
|
|
|
|
left: 0px;
|
|
|
|
width: auto;
|
2023-06-06 20:57:05 +02:00
|
|
|
min-width: min-content;
|
2022-12-11 00:05:14 +01:00
|
|
|
text-align: left;
|
|
|
|
right: inherit;
|
2022-12-12 19:33:56 +01:00
|
|
|
background: var(--background-hover);
|
|
|
|
border: var(--border);
|
|
|
|
color: var(--text);
|
2022-12-11 00:05:14 +01:00
|
|
|
padding: .2rem;
|
2023-06-06 20:57:05 +02:00
|
|
|
top: 2.3rem;
|
2022-12-11 00:05:14 +01:00
|
|
|
z-index: 100;
|
|
|
|
list-style-position: initial;
|
|
|
|
list-style-type: none;
|
2022-12-12 19:33:56 +01:00
|
|
|
}
|
|
|
|
.editor .modal > div {
|
|
|
|
margin: 0.8rem;
|
|
|
|
margin-top: 0.4rem;
|
|
|
|
margin-bottom: 1rem;
|
2023-06-06 20:57:05 +02:00
|
|
|
min-width: 30vw;
|
2022-12-12 19:33:56 +01:00
|
|
|
}
|
|
|
|
.editor .modal > div label {
|
|
|
|
margin-top: 0.4rem;
|
2022-12-14 09:56:22 +01:00
|
|
|
}
|
2023-06-06 20:57:05 +02:00
|
|
|
.editor .modal a.editor-emoji-close-btn {
|
|
|
|
display: inline-block;
|
|
|
|
margin: 0.3rem;
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
}
|
2022-12-14 09:56:22 +01:00
|
|
|
@media screen and (max-width:849px) {
|
|
|
|
.editor .modal {
|
|
|
|
width: 80vw;
|
|
|
|
position: fixed;
|
|
|
|
left: 50vw;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
top: 50vh;
|
|
|
|
}
|
2024-03-09 13:38:43 +01:00
|
|
|
}
|