PCv5/app/static/css/editor.css

89 lines
1.7 KiB
CSS
Raw Normal View History

2022-04-21 23:10:54 +02:00
.editor .btn-group {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
}
.editor .btn-group .filler {
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);
}
.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-21 23:10:54 +02:00
.editor .btn-group button > svg > path,
.editor .btn-group button > svg > rect {
fill: var(--icons);
2022-04-21 23:10:54 +02:00
}
.editor .btn-group button,
.editor .btn-group .separator {
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-12-11 00:05:14 +01:00
.editor .btn-group .separator {
display: inline-block;
width: 0;
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 {
min-height: 15rem;
2022-04-22 10:50:51 +02:00
}
2022-05-19 22:42:47 +02:00
.editor #editor_content_preview {
padding: 10px;
margin-top: 5px;
2022-05-19 22:42:47 +02:00
border: var(--border);
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;
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;
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;
min-width: 30vw;
2022-12-12 19:33:56 +01:00
}
.editor .modal > div label {
margin-top: 0.4rem;
}
.editor .modal a.editor-emoji-close-btn {
display: inline-block;
margin: 0.3rem;
margin-top: 0.5rem;
}
@media screen and (max-width:849px) {
.editor .modal {
width: 80vw;
position: fixed;
left: 50vw;
transform: translateX(-50%);
top: 50vh;
}
}