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;
|
|
|
|
padding: 0px;
|
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
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-container .exit {
|
|
|
|
font-weight: 400;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
2018-10-12 07:22:46 +02:00
|
|
|
color: hsl(0, 0%, 67%);
|
2017-02-22 02:34:05 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-container .exit-sign {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
margin-left: 3px;
|
2017-03-13 22:44:50 +01:00
|
|
|
font-size: 1.5rem;
|
|
|
|
font-weight: 600;
|
2017-02-22 02:34:05 +01:00
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2019-08-16 03:16:45 +02:00
|
|
|
.drafts-header {
|
|
|
|
padding: {
|
|
|
|
top: 4px;
|
|
|
|
bottom: 8px;
|
|
|
|
}
|
|
|
|
text-align: center;
|
|
|
|
border-bottom: 1px solid hsl(0, 0%, 87%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-header h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.1em;
|
|
|
|
text-transform: uppercase;
|
|
|
|
}
|
|
|
|
|
2017-02-22 02:34:05 +01:00
|
|
|
.drafts-list {
|
2019-06-12 07:39:44 +02:00
|
|
|
padding: 10px 0;
|
2017-02-22 02:34:05 +01:00
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-list .no-drafts {
|
|
|
|
display: block;
|
|
|
|
margin-top: calc(45vh - 30px - 1.5em);
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.5em;
|
2018-10-12 07:22:46 +02:00
|
|
|
color: hsl(0, 0%, 67%);
|
2017-02-22 02:34:05 +01:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2018-02-15 17:38:31 +01:00
|
|
|
.drafts-list .removed-drafts {
|
|
|
|
display: block;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1em;
|
2018-10-12 07:22:46 +02:00
|
|
|
color: hsl(0, 0%, 67%);
|
2018-02-15 17:38:31 +01:00
|
|
|
pointer-events: none;
|
|
|
|
}
|
|
|
|
|
2017-02-22 02:34:05 +01:00
|
|
|
.draft-row {
|
2019-02-13 17:37:19 +01:00
|
|
|
padding: 5px 25px;
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|
|
|
|
|
2018-12-16 20:17:17 +01:00
|
|
|
.draft-info-box.active {
|
2019-02-14 17:52:32 +01:00
|
|
|
outline: 2px solid hsl(215, 47%, 50%);
|
2018-12-16 20:17:17 +01:00
|
|
|
}
|
|
|
|
|
2017-02-22 02:34:05 +01:00
|
|
|
.draft-row > div {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row .draft-info-box {
|
|
|
|
width: 100%;
|
2019-02-14 17:42:26 +01:00
|
|
|
border: 1px solid hsl(0, 0%, 88%);
|
2017-02-22 02:34:05 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
2019-02-14 17:42:26 +01:00
|
|
|
.draft-info-box .message_row {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2017-02-22 02:34:05 +01:00
|
|
|
.draft-info-box .messagebox {
|
|
|
|
cursor: auto;
|
2019-05-02 08:45:40 +02:00
|
|
|
box-shadow: none;
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.draft-info-box .message_content {
|
|
|
|
line-height: 1;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
2017-06-25 00:43:43 +02:00
|
|
|
margin-left: 0px;
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row .draft-info-box .draft_controls {
|
|
|
|
display: inline-block;
|
|
|
|
position: absolute;
|
2017-02-23 21:59:43 +01:00
|
|
|
top: 9px;
|
|
|
|
right: -80px;
|
|
|
|
font-size: 0.9em;
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.draft_controls .restore-draft {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-right: 5px;
|
2018-10-12 07:22:46 +02:00
|
|
|
color: hsl(170, 48%, 54%);
|
2017-02-22 02:34:05 +01:00
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft_controls .restore-draft:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft_controls .delete-draft {
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: 5px;
|
2017-06-21 08:51:09 +02:00
|
|
|
color: hsl(357, 52%, 57%);
|
2017-02-22 02:34:05 +01:00
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft_controls .delete-draft:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 1130px) {
|
|
|
|
.drafts-container {
|
|
|
|
max-width: 60%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-13 23:25:30 +01:00
|
|
|
@media (max-width: 500px) {
|
|
|
|
.draft-row .draft-info-box .draft_controls {
|
|
|
|
right: 0px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-02-22 02:34:05 +01:00
|
|
|
@media (max-width: 700px) {
|
|
|
|
#draft_overlay .drafts-container {
|
|
|
|
height: 95%;
|
2017-03-13 23:25:30 +01:00
|
|
|
max-width: none;
|
|
|
|
width: 90%;
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|
|
|
|
}
|