snappymail/dev/Styles/User/Compose.less

173 lines
2.3 KiB
Text
Raw Normal View History

.b-compose {
&.modal {
width: 98%;
max-width: 1000px;
min-height: calc(100% - 52px);
2021-03-09 00:23:21 +08:00
}
2021-03-09 00:23:21 +08:00
.modal-body {
padding: 0;
}
.textAreaParent, .attachmentAreaParent {
2020-09-19 19:31:59 +08:00
box-sizing: border-box;
min-height: 200px;
2020-09-19 19:31:59 +08:00
position: relative;
}
.attachmentAreaParent {
border-top: 1px solid #ccc;
overflow-y: auto;
2021-04-23 05:34:37 +08:00
padding: 10px;
.no-attachments-desc {
2021-04-23 05:34:37 +08:00
padding-top: 50px;
text-align: center;
font-size: 24px;
color: #666;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
.attachmentList {
margin: 0;
padding: 10px;
}
}
.b-header-toolbar {
background-color: rgba(0,0,0,0.8);
.close, .minimize-custom {
2014-08-28 23:27:30 +08:00
opacity: 1;
color: #fff;
border-color: #eee;
2015-02-22 06:00:51 +08:00
2015-04-10 16:17:49 +08:00
font-size: 24px;
line-height: 24px;
}
.btn.disabled {
&.button-delete {
visibility: hidden;
}
}
.button-save, .button-delete, .saved-text {
margin-left: 8px;
}
2014-12-28 03:48:55 +08:00
.button-close, .button-skip {
margin-left: 8px;
}
.disabled.button-delete {
2020-09-12 19:57:09 +08:00
margin-left: 0;
}
}
.b-header {
padding: 10px;
2021-04-23 05:34:37 +08:00
background-color: rgba(128,128,128,0.2);;
2017-02-15 05:06:51 +08:00
.e-identity {
2021-04-23 05:34:37 +08:00
color: var(--main-color);
text-decoration: none;
font-weight: bold;
&.multiply {
cursor: pointer;
2021-04-23 05:34:37 +08:00
border-bottom: 1px dashed var(--main-color);
}
}
.e-row {
line-height: 30px;
}
.e-label {
text-align: right;
2017-02-15 05:06:51 +08:00
padding: 6px 10px;
}
.e-value {
2020-09-12 19:57:09 +08:00
padding: 2px 0;
textarea, input[type="text"] {
width: 100%;
}
textarea {
height: 40px;
}
}
.error-desc {
color: red;
}
2015-04-10 16:17:49 +08:00
.error-to {
color: red;
font-weight: bold;
}
}
.b-attachment-button {
display: inline-block;
}
.b-attachment-place {
position: absolute;
2015-03-19 05:26:52 +08:00
left: 5px;
right: 5px;
top: 5px;
bottom: 5px;
border: 2px #777 dashed;
2015-03-19 05:26:52 +08:00
z-index: 300;
line-height: 119px;
text-align: center;
2015-03-19 05:26:52 +08:00
background-color: #efefef;
font-size: 24px;
2015-03-19 05:26:52 +08:00
border-radius: 10px;
&.dragAndDropOver {
background-color: #fff;
}
}
}
2021-02-09 00:37:21 +08:00
@media screen and (max-width: 999px) {
.b-compose.modal {
border: 0;
width: 100%;
}
}
2021-02-09 00:37:21 +08:00
.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;
}
@media screen and (max-width: 700px) {
.b-compose .b-header .e-label {
padding-left: 0;
}
}