2017-02-22 02:34:05 +01:00
|
|
|
.drafts-container {
|
2019-08-16 04:06:15 +02:00
|
|
|
.drafts-list {
|
|
|
|
.removed-drafts {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1em;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(0deg 0% 67%);
|
2019-08-16 04:06:15 +02:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
2022-05-17 03:13:57 +02:00
|
|
|
|
2023-03-17 22:10:10 +01:00
|
|
|
& h2 {
|
2022-05-17 03:13:57 +02:00
|
|
|
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%;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
|
2019-08-16 04:10:11 +02:00
|
|
|
&.active {
|
2023-03-20 22:08:47 +01:00
|
|
|
outline: 2px solid hsl(215deg 47% 50%);
|
2023-04-08 02:48:02 +02:00
|
|
|
border-radius: 7px;
|
2019-08-16 04:10:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.message_row {
|
2023-04-08 02:48:02 +02:00
|
|
|
border-radius: 0 0 7px 7px;
|
|
|
|
border: 1px solid var(--color-message-list-border);
|
|
|
|
border-top: 0;
|
2019-08-16 04:10:11 +02:00
|
|
|
}
|
|
|
|
|
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;
|
2023-03-06 21:34:20 +01:00
|
|
|
/* to space from restore draft button */
|
|
|
|
margin-right: 5px;
|
2022-12-09 10:13:09 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2023-04-08 02:48:02 +02:00
|
|
|
border-radius: 0 0 7px 7px;
|
2019-08-16 04:10:11 +02:00
|
|
|
}
|
|
|
|
|
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;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(170deg 48% 54%);
|
2019-08-16 04:13:45 +02:00
|
|
|
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;
|
2023-03-20 22:08:47 +01:00
|
|
|
color: hsl(357deg 52% 57%);
|
2019-08-16 04:13:45 +02:00
|
|
|
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
|
|
|
}
|
2023-04-08 02:48:02 +02:00
|
|
|
|
|
|
|
.message_header {
|
|
|
|
/* We don't need these effects applied for message list in the drafts overlay. */
|
|
|
|
box-shadow: none !important;
|
|
|
|
border: 0 !important;
|
|
|
|
background: transparent;
|
|
|
|
}
|
2019-08-16 03:38:38 +02:00
|
|
|
}
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|