2018-10-04 22:08:21 +03:00
|
|
|
.writing-header {
|
|
|
|
position: sticky;
|
|
|
|
top: 0;
|
2019-01-25 02:23:00 +03:00
|
|
|
padding: 15px 0;
|
|
|
|
margin-top: calc(-1 * var(--layout-padding-vertical));
|
2018-10-04 22:08:21 +03:00
|
|
|
background: #fff;
|
|
|
|
box-shadow: 0 3px 10px #fff;
|
2019-01-25 02:23:00 +03:00
|
|
|
z-index: 2;
|
2019-02-18 11:15:03 +03:00
|
|
|
font-size: 14px;
|
2018-10-04 22:08:21 +03:00
|
|
|
|
|
|
|
&__save {
|
|
|
|
@apply --button;
|
2019-01-25 06:19:37 +03:00
|
|
|
@apply --button-primary;
|
2019-02-18 11:15:03 +03:00
|
|
|
margin: auto;
|
2018-10-04 22:08:21 +03:00
|
|
|
}
|
|
|
|
|
2022-07-12 00:11:08 +09:00
|
|
|
&__inner-container {
|
2018-10-04 22:08:21 +03:00
|
|
|
margin: auto 0;
|
2022-07-12 00:11:08 +09:00
|
|
|
display: flex;
|
2018-10-04 22:08:21 +03:00
|
|
|
color: var(--color-text-second);
|
2022-07-12 00:11:08 +09:00
|
|
|
gap: 10px;
|
2019-01-19 17:09:11 +03:00
|
|
|
|
2022-07-12 00:11:08 +09:00
|
|
|
@media(--mobile) {
|
|
|
|
flex-flow: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > * {
|
|
|
|
flex: 0 1 33.3%;
|
|
|
|
}
|
|
|
|
|
|
|
|
label {
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 6px;
|
2019-01-19 17:09:11 +03:00
|
|
|
}
|
2019-02-18 11:15:03 +03:00
|
|
|
|
2022-07-12 00:11:08 +09:00
|
|
|
select {
|
|
|
|
@apply --select;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
@apply --input;
|
|
|
|
}
|
2019-02-18 11:15:03 +03:00
|
|
|
}
|
2018-10-04 22:08:21 +03:00
|
|
|
}
|
2019-01-25 02:23:00 +03:00
|
|
|
|
2019-01-25 06:19:37 +03:00
|
|
|
.writing-buttons {
|
2022-05-24 12:49:06 +08:00
|
|
|
display: flex;
|
|
|
|
|
|
|
|
button:not(:last-child) {
|
|
|
|
margin-right: 20px;
|
2019-01-25 06:19:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-02-18 11:15:03 +03:00
|
|
|
.writing-editor {
|
2019-03-13 12:25:43 +03:00
|
|
|
font-size: 15px;
|
|
|
|
line-height: 1.6;
|
|
|
|
letter-spacing: 0.005em;
|
|
|
|
|
|
|
|
.ce-code__textarea {
|
|
|
|
color: #41314e;
|
|
|
|
line-height: 1.6em;
|
|
|
|
font-size: 12px;
|
|
|
|
background: var(--color-bg-light);
|
|
|
|
border: 1px solid #f1f1f4;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ce-paragraph a {
|
|
|
|
color: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ce-header {
|
|
|
|
@apply --font-serif;
|
|
|
|
}
|
2019-02-18 11:15:03 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.codex-editor__redactor .ce-block:first-of-type .ce-header {
|
|
|
|
font-size: 32px;
|
|
|
|
}
|