snappymail/dev/Styles/User/Compose.less

181 lines
2.6 KiB
Text

#V-PopupsCompose {
height: calc(100vh - 52px);
max-width: 1000px;
width: 98%;
.modal-body {
padding: 0;
display: flex;
flex-direction: column;
height: 100%;
}
.textAreaParent, .attachmentAreaParent {
box-sizing: border-box;
height: 100%;
min-height: 200px;
position: relative;
}
.textAreaParent {
display: flex;
flex-direction: column;
}
.attachmentAreaParent {
border-top: 1px solid #ccc;
overflow-y: auto;
padding: 10px;
}
.attachmentName {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.no-attachments-desc {
padding-top: 50px;
text-align: center;
font-size: 24px;
color: #666;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
header {
background-color: rgba(0,0,0,0.8);
.close, .minimize-custom {
opacity: 1;
color: #fff;
border-color: #eee;
font-size: 24px;
line-height: 24px;
}
.btn.disabled {
&.button-delete {
visibility: hidden;
}
}
.button-save, .button-delete, .saved-text {
margin-left: 8px;
}
.button-close, .button-skip {
margin-left: 8px;
}
.disabled.button-delete {
margin-left: 0;
}
}
.b-header {
padding: 10px;
background-color: rgba(128,128,128,0.2);;
table {
border-collapse: collapse;
width: 100%;
}
td {
vertical-align: baseline;
padding: 2px 0;
}
td:first-child {
padding: 0 10px 0 0;
text-align: right;
width: 4em;
}
.e-identity {
color: var(--main-color);
font-weight: bold;
line-height: @baseLineHeight;
padding: 4px 0;
text-decoration: none;
&.multiply {
cursor: pointer;
border-bottom: 1px dashed var(--main-color);
}
&.multiply::after {
content: ' ▼';
}
}
> div {
line-height: 30px;
}
textarea, input[type="text"] {
width: 100%;
}
textarea {
height: 40px;
}
.error-desc {
color: red;
}
.error-to {
color: red;
font-weight: bold;
}
}
.b-attachment-button {
display: inline-block;
}
.b-attachment-place {
position: absolute;
left: 5px;
right: 5px;
top: 5px;
bottom: 5px;
border: 2px #777 dashed;
z-index: 300;
line-height: 119px;
text-align: center;
background-color: #efefef;
font-size: 24px;
border-radius: 10px;
&.dragAndDropOver {
background-color: #fff;
}
}
}
@media screen and (max-width: 999px) {
#V-PopupsCompose {
border: 0;
width: 100%;
}
}
.minimize-custom {
border: 0 solid #333;
border-bottom-width: 3px;
display: inline-block;
float: right;
height: 20px;
width: 16px;
font-size: 20px;
font-weight: bold;
line-height: 20px;
margin-right: 15px;
cursor: pointer;
}