2017-02-22 02:34:05 +01:00
|
|
|
.drafts {
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
|
|
|
width: 60%;
|
|
|
|
overflow: hidden;
|
|
|
|
max-width: 1200px;
|
|
|
|
max-height: 1000px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-header {
|
2017-02-23 21:59:43 +01:00
|
|
|
padding-top: 4px;
|
2017-02-22 02:34:05 +01:00
|
|
|
text-align: center;
|
|
|
|
text-transform: uppercase;
|
2017-06-21 08:51:09 +02:00
|
|
|
border-bottom: 1px solid hsl(0, 0%, 86%);
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|
|
|
|
|
2017-02-23 21:59:43 +01:00
|
|
|
.drafts-header h1 {
|
|
|
|
margin: 0;
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
|
2017-02-22 02:34:05 +01:00
|
|
|
.drafts-container .exit {
|
|
|
|
font-weight: 400;
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
2017-06-21 08:51:09 +02:00
|
|
|
color: hsl(0, 0%, 66%);
|
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;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-list {
|
|
|
|
overflow: auto;
|
2017-03-13 23:25:30 +01:00
|
|
|
height: calc(100% - 55px);
|
2017-02-22 02:34:05 +01:00
|
|
|
width: 100%;
|
2017-02-23 21:59:43 +01:00
|
|
|
margin-top: 10px;
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-list .no-drafts {
|
|
|
|
display: block;
|
|
|
|
margin-top: calc(45vh - 30px - 1.5em);
|
|
|
|
text-align: center;
|
|
|
|
font-size: 1.5em;
|
2017-06-21 08:51:09 +02:00
|
|
|
color: hsl(0, 0%, 66%);
|
2017-02-22 02:34:05 +01:00
|
|
|
pointer-events: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row {
|
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row.active {
|
2017-06-21 08:51:09 +02:00
|
|
|
background-color: hsl(0, 0%, 93%);
|
2017-02-22 02:34:05 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row > div {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row .draft-info-box {
|
|
|
|
width: 100%;
|
2017-06-21 08:51:09 +02:00
|
|
|
border-bottom: 1px solid hsl(0, 0%, 88%);
|
|
|
|
border-top: 1px solid hsl(0, 0%, 88%);
|
2017-02-22 02:34:05 +01:00
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-info-box .messagebox {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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;
|
2017-06-21 08:51:09 +02:00
|
|
|
color: hsl(170, 47%, 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
|
|
|
}
|
|
|
|
}
|