2013-09-18 16:05:51 -04:00
|
|
|
.view-write {
|
2014-07-21 08:08:10 -04:00
|
|
|
height: 100%;
|
2013-09-18 16:05:51 -04:00
|
|
|
margin: 0px;
|
2013-10-18 20:58:53 -04:00
|
|
|
padding: 0px;
|
2013-09-18 16:05:51 -04:00
|
|
|
color: $color-grey-dark;
|
2013-10-05 10:07:42 -04:00
|
|
|
overflow-y: hidden;
|
2014-07-21 08:08:10 -04:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2013-09-18 16:05:51 -04:00
|
|
|
|
2013-10-18 20:58:53 -04:00
|
|
|
@include respond-to(desktop) {
|
2014-04-23 11:45:49 -04:00
|
|
|
// this number depends on max-height set on .lightbox
|
|
|
|
height: 590px; // magic number
|
2013-09-18 16:05:51 -04:00
|
|
|
}
|
|
|
|
|
2014-06-17 11:39:28 -04:00
|
|
|
p[field] input {
|
|
|
|
border: 0;
|
2013-10-04 13:25:11 -04:00
|
|
|
outline: none;
|
2013-09-18 16:05:51 -04:00
|
|
|
}
|
|
|
|
|
2014-04-22 13:39:29 -04:00
|
|
|
.mail-addresses {
|
2014-04-22 07:03:54 -04:00
|
|
|
flex-shrink: 0;
|
2013-10-18 20:58:53 -04:00
|
|
|
margin-top: 10px;
|
2014-09-15 10:56:25 -04:00
|
|
|
|
|
|
|
.tags-input {
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
min-width: 15em;
|
|
|
|
}
|
2014-04-22 10:41:07 -04:00
|
|
|
}
|
|
|
|
|
2014-04-22 13:39:29 -04:00
|
|
|
.mail-addresses-more {
|
2014-04-22 10:41:07 -04:00
|
|
|
float: right;
|
|
|
|
margin: 0.4em 0;
|
|
|
|
|
|
|
|
button {
|
|
|
|
display: inline-block;
|
|
|
|
background: none;
|
|
|
|
padding: 0 0.5em;
|
|
|
|
margin: 0;
|
|
|
|
text-decoration: none;
|
|
|
|
color: $color-black;
|
|
|
|
transition: color 0.3s;
|
2014-06-17 11:39:28 -04:00
|
|
|
border: 0;
|
2014-04-22 10:41:07 -04:00
|
|
|
outline: 0;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: $color-blue;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2013-09-19 06:36:57 -04:00
|
|
|
}
|
2013-09-18 16:05:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.subject-box {
|
2014-04-22 07:03:54 -04:00
|
|
|
flex-shrink: 0;
|
2014-02-06 03:13:31 -05:00
|
|
|
position: relative;
|
2014-02-05 18:41:08 -05:00
|
|
|
margin: 20px 0 7px 0;
|
2014-02-06 03:13:31 -05:00
|
|
|
|
|
|
|
input[type=file] {
|
|
|
|
visibility: hidden;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
2014-06-17 11:39:28 -04:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
.input-text {
|
|
|
|
font-weight: bold;
|
|
|
|
width: 100%;
|
|
|
|
height: 40px;
|
|
|
|
padding-right: 10px + 5px + 30px;
|
2014-02-06 03:13:31 -05:00
|
|
|
}
|
|
|
|
.btn-attachment {
|
|
|
|
position: absolute;
|
2014-06-17 11:39:28 -04:00
|
|
|
top: 5px;
|
|
|
|
right: 5px;
|
|
|
|
padding: 0;
|
|
|
|
line-height: 30px;
|
|
|
|
width: 30px;
|
|
|
|
height: 30px;
|
2014-02-28 07:50:00 -05:00
|
|
|
font-size: 1em;
|
|
|
|
outline: 0;
|
2014-02-06 03:13:31 -05:00
|
|
|
|
2014-06-17 11:39:28 -04:00
|
|
|
&:before {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2014-02-06 03:13:31 -05:00
|
|
|
&:active,
|
|
|
|
&.active {
|
2014-06-17 13:49:28 -04:00
|
|
|
top: 6px;
|
|
|
|
right: 4px;
|
2014-02-06 03:13:31 -05:00
|
|
|
}
|
|
|
|
}
|
2014-02-05 18:41:08 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
.attachments-box {
|
2014-04-22 07:03:54 -04:00
|
|
|
flex-shrink: 0;
|
2014-02-05 18:41:08 -05:00
|
|
|
position: relative;
|
|
|
|
margin: 0 0 5px 0;
|
|
|
|
width: inherit;
|
|
|
|
border: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: $color-grey-lighter;
|
|
|
|
min-height: em(44);
|
|
|
|
|
|
|
|
.attachment {
|
2014-02-06 03:13:31 -05:00
|
|
|
height: 32px;
|
|
|
|
border-radius: 16px;
|
2014-02-05 18:41:08 -05:00
|
|
|
vertical-align: middle;
|
|
|
|
margin: 5px 0 5px 5px;
|
|
|
|
padding: 5px 5px 5px 10px;
|
|
|
|
border: 1px;
|
|
|
|
border-style: solid;
|
|
|
|
border-color: $color-grey-lighter;
|
|
|
|
cursor: default;
|
2014-02-06 03:13:31 -05:00
|
|
|
display: inline-block;
|
2014-02-05 18:41:08 -05:00
|
|
|
|
|
|
|
span {
|
|
|
|
font-size: 14px;
|
|
|
|
color: $color-grey-input;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.close {
|
|
|
|
margin-left: 5px;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: darken($color-grey, 10%);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background-color: darken($color-white, 2%);
|
|
|
|
}
|
|
|
|
}
|
2013-09-18 16:05:51 -04:00
|
|
|
}
|
|
|
|
|
2013-09-18 17:59:04 -04:00
|
|
|
.body {
|
2014-04-22 07:03:54 -04:00
|
|
|
flex-grow: 1;
|
2013-09-18 17:59:04 -04:00
|
|
|
line-height: 1.5em;
|
2014-06-17 11:23:36 -04:00
|
|
|
user-select: text;
|
2014-07-21 08:08:10 -04:00
|
|
|
overflow-y: scroll;
|
|
|
|
// allow scrolling on iOS
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
// put layer on GPU
|
|
|
|
transform: translatez(0);
|
2013-09-18 16:05:51 -04:00
|
|
|
|
2013-09-18 17:59:04 -04:00
|
|
|
*[contentEditable] {
|
|
|
|
outline: 0px;
|
2013-10-17 12:51:27 -04:00
|
|
|
cursor: text;
|
2013-09-18 17:59:04 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.encrypt-preview {
|
|
|
|
font-size: 0.9em;
|
|
|
|
margin-top: 3em;
|
|
|
|
font-family: monospace;
|
|
|
|
color: $color-grey-light;
|
|
|
|
word-wrap: break-word;
|
2013-11-27 05:34:24 -05:00
|
|
|
transition: opacity 0.5s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.invisible {
|
|
|
|
opacity: 0;
|
2013-09-18 17:59:04 -04:00
|
|
|
}
|
2013-09-18 16:05:51 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.send-control {
|
|
|
|
position: absolute;
|
2013-10-18 20:58:53 -04:00
|
|
|
bottom: 15px;
|
|
|
|
right: 15px;
|
2013-09-18 16:05:51 -04:00
|
|
|
}
|
|
|
|
}
|