2017-02-22 02:34:05 +01:00
|
|
|
.drafts {
|
|
|
|
margin-top: 55px;
|
|
|
|
padding-left: 15px;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-container {
|
|
|
|
position: relative;
|
|
|
|
height: 95%;
|
|
|
|
background-color: #fff;
|
|
|
|
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;
|
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
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;
|
|
|
|
color: #AAA;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.drafts-container .exit-sign {
|
|
|
|
position: relative;
|
|
|
|
top: 3px;
|
|
|
|
margin-left: 3px;
|
|
|
|
font-size: 1.7em;
|
|
|
|
font-weight: 300;
|
|
|
|
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;
|
|
|
|
color: #aaa;
|
|
|
|
pointer-events: none;
|
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row {
|
|
|
|
padding: 5px 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row.active {
|
|
|
|
background-color: #eee;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row > div {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: top;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-row .draft-info-box {
|
|
|
|
width: 100%;
|
|
|
|
background: #f1f1f1;
|
|
|
|
border-bottom: 1px solid #e2e2e2;
|
|
|
|
border-top: 1px solid #e2e2e2;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-info-box .messagebox {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft-info-box .message_content {
|
|
|
|
line-height: 1;
|
|
|
|
padding-top: 10px;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
padding-left: 0px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.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-02-23 21:59:43 +01:00
|
|
|
color: #52c2af;
|
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-02-23 21:59:43 +01:00
|
|
|
color: #cc5a60;
|
2017-02-22 02:34:05 +01:00
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.draft_controls .delete-draft:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#draft_overlay {
|
|
|
|
pointer-events: none;
|
|
|
|
opacity: 0;
|
|
|
|
position: fixed;
|
|
|
|
top: 0px;
|
|
|
|
left: 0px;
|
|
|
|
width: 100vw;
|
|
|
|
height: 100vh;
|
|
|
|
background-color: rgba(0,0,0,0.8);
|
|
|
|
overflow: auto;
|
|
|
|
z-index: 102;
|
|
|
|
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#draft_overlay.show {
|
|
|
|
display: block;
|
|
|
|
pointer-events: all;
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
#draft_overlay .drafts-container {
|
|
|
|
-webkit-transform: scale(0.5);
|
|
|
|
transform: scale(0.5);
|
|
|
|
transition: all 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
#draft_overlay.show .drafts-container {
|
|
|
|
-webkit-transform: scale(1);
|
|
|
|
transform: scale(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
|
|
|
}
|
|
|
|
}
|