2017-02-22 02:34:05 +01:00
|
|
|
.drafts-container {
|
|
|
|
position: relative;
|
|
|
|
height: 95%;
|
2017-11-13 16:34:06 +01:00
|
|
|
background-color: hsl(0, 0%, 100%);
|
2017-02-22 02:34:05 +01:00
|
|
|
border-radius: 4px;
|
2020-08-06 02:42:07 +02:00
|
|
|
padding: 0;
|
2019-02-13 17:40:40 +01:00
|
|
|
width: 58%;
|
2017-02-22 02:34:05 +01:00
|
|
|
overflow: hidden;
|
|
|
|
max-width: 1200px;
|
|
|
|
max-height: 1000px;
|
2019-06-12 07:39:44 +02:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2021-02-04 02:49:05 +01:00
|
|
|
@media (width < $md_min) {
|
2019-08-16 04:24:06 +02:00
|
|
|
height: 95%;
|
|
|
|
max-width: none;
|
|
|
|
width: 90%;
|
|
|
|
}
|
|
|
|
|
2019-08-16 03:42:45 +02:00
|
|
|
.drafts-header {
|
2019-08-27 01:23:48 +02:00
|
|
|
padding-top: 4px;
|
|
|
|
padding-bottom: 8px;
|
2019-08-16 03:42:45 +02:00
|
|
|
text-align: center;
|
|
|
|
border-bottom: 1px solid hsl(0, 0%, 87%);
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.1em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2019-08-16 03:58:45 +02:00
|
|
|
.exit {
|
|
|
|
font-weight: 400;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
color: hsl(0, 0%, 67%);
|
|
|
|
cursor: pointer;
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 03:59:44 +02:00
|
|
|
.exit-sign {
|
|
|
|
position: relative;
|
2021-06-11 23:14:08 +02:00
|
|
|
top: 1px;
|
2019-08-16 03:59:44 +02:00
|
|
|
margin-left: 3px;
|
|
|
|
font-size: 1.5rem;
|
2021-06-11 23:14:08 +02:00
|
|
|
line-height: 1;
|
2019-08-16 03:59:44 +02:00
|
|
|
font-weight: 600;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2019-08-16 03:58:45 +02:00
|
|
|
}
|
2019-08-16 03:23:11 +02:00
|
|
|
}
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 04:06:15 +02:00
|
|
|
.drafts-list {
|
2022-06-06 03:15:06 +02:00
|
|
|
padding: 10px 25px;
|
2019-08-16 04:06:15 +02:00
|
|
|
overflow: auto;
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 04:06:15 +02:00
|
|
|
.no-drafts {
|
|
|
|
display: block;
|
|
|
|
margin-top: calc(45vh - 30px - 1.5em);
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.5em;
|
|
|
|
color: hsl(0, 0%, 67%);
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 04:06:15 +02:00
|
|
|
.removed-drafts {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1em;
|
|
|
|
color: hsl(0, 0%, 67%);
|
|
|
|
pointer-events: none;
|
|
|
|
}
|
2022-05-17 03:13:57 +02:00
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 1.1em;
|
|
|
|
line-height: normal;
|
|
|
|
margin-bottom: 5px;
|
|
|
|
}
|
2019-08-16 03:23:11 +02:00
|
|
|
}
|
2018-02-15 17:38:31 +01:00
|
|
|
}
|
|
|
|
|
2017-02-22 02:34:05 +01:00
|
|
|
.draft-row {
|
2022-06-06 03:15:06 +02:00
|
|
|
padding: 5px 0;
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 03:38:38 +02:00
|
|
|
> div {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 03:38:38 +02:00
|
|
|
.draft-info-box {
|
|
|
|
width: 100%;
|
|
|
|
border: 1px solid hsl(0, 0%, 88%);
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
2019-08-16 04:10:11 +02:00
|
|
|
&.active {
|
|
|
|
outline: 2px solid hsl(215, 47%, 50%);
|
2022-01-28 11:44:46 +01:00
|
|
|
/* this offset ensures no gap between the blue box and the draft in active state */
|
|
|
|
outline-offset: -1px;
|
2019-08-16 04:10:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message_row {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2022-08-14 18:06:09 +02:00
|
|
|
.messagebox-content {
|
2022-12-09 10:13:09 +01:00
|
|
|
grid-template-rows: auto;
|
|
|
|
grid-template-columns: auto max-content;
|
|
|
|
padding: 10px;
|
|
|
|
|
|
|
|
.message_content {
|
|
|
|
grid-column: 1 / 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.message_top_line {
|
|
|
|
grid-column: 2 / 3;
|
|
|
|
}
|
2022-08-14 18:06:09 +02:00
|
|
|
}
|
|
|
|
|
2019-08-16 04:10:11 +02:00
|
|
|
.messagebox {
|
|
|
|
cursor: auto;
|
|
|
|
box-shadow: none;
|
|
|
|
}
|
|
|
|
|
2019-08-16 03:38:38 +02:00
|
|
|
.draft_controls {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 0.9em;
|
2019-08-16 03:33:28 +02:00
|
|
|
|
2021-06-12 12:57:02 +02:00
|
|
|
[data-tippy-root] {
|
|
|
|
width: max-content;
|
|
|
|
word-wrap: unset;
|
|
|
|
}
|
|
|
|
|
2019-08-16 04:13:45 +02:00
|
|
|
.restore-draft {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-right: 5px;
|
|
|
|
color: hsl(170, 48%, 54%);
|
|
|
|
opacity: 0.7;
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 04:13:45 +02:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 04:13:45 +02:00
|
|
|
.delete-draft {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 5px;
|
|
|
|
color: hsl(357, 52%, 57%);
|
|
|
|
opacity: 0.7;
|
2017-02-22 02:34:05 +01:00
|
|
|
|
2019-08-16 04:13:45 +02:00
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
2019-08-16 03:38:38 +02:00
|
|
|
}
|
|
|
|
}
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|