mail/src/sass/views/_write.scss

165 lines
3.3 KiB
SCSS
Raw Normal View History

2013-09-18 16:05:51 -04:00
.view-write {
margin: 0px;
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;
2013-09-18 16:05:51 -04:00
height: 100%;
@include respond-to(desktop) {
height: 600px;
2013-09-18 16:05:51 -04:00
}
input {
border: 0!important;
outline: none;
2013-09-18 16:05:51 -04:00
}
button {
border: 0!important;
}
.headers {
margin-top: 10px;
2014-01-13 17:54:53 -05:00
p {
margin: 0.2em 0;
padding: 0.2em 0;
cursor: text;
2014-01-13 17:54:53 -05:00
}
span {
color: $color-grey;
}
input {
margin-left: 0.3em;
width: 80%;
}
2013-09-18 16:05:51 -04:00
}
.subject-box {
2014-02-05 18:41:08 -05:00
margin: 20px 0 7px 0;
2013-09-18 16:05:51 -04:00
width: inherit;
border: 1px;
border-style: solid;
border-color: $color-grey-lighter;
height: em(44);
.subject-line {
float: left;
padding: 10px;
width: 80%;
color: $color-grey;
}
.subject {
font-weight: bold;
width: 100%;
}
2014-02-05 18:41:08 -05:00
}
.attachments-box {
position: relative;
margin: 0 0 5px 0;
width: inherit;
border: 1px;
border-style: solid;
border-color: $color-grey-lighter;
min-height: em(44);
.attachment {
line-height: 41px;
border-radius: 15px;
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;
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%);
}
}
input[type=file] {
visibility: hidden;
width: 0;
height: 0;
}
2013-09-18 16:05:51 -04:00
.btn-attachment {
2014-02-05 18:41:08 -05:00
position: absolute;
top: 0;
right: 0;
2013-09-18 16:05:51 -04:00
padding: em(7.5) em(7.5) em(4) em(7.5);
margin: em(5);
outline: none;
2014-02-05 18:41:08 -05:00
color: $color-grey-lightest;
background-color: $color-blue;
&:hover,
&:focus {
background-color: lighten($color-blue, 10%);
}
&:active,
&.active {
top: 1px;
right: -1px;
}
2013-09-18 16:05:51 -04:00
}
}
.body {
line-height: 1.5em;
cursor: text;
2013-11-14 03:13:28 -05:00
@include respond-to(desktop) {
height: 445px;
overflow-y: scroll;
}
2013-09-18 16:05:51 -04:00
*[contentEditable] {
outline: 0px;
2013-10-17 12:51:27 -04:00
cursor: text;
}
.encrypt-preview {
font-size: 0.9em;
margin-top: 3em;
font-family: monospace;
color: $color-grey-light;
word-wrap: break-word;
transition: opacity 0.5s;
}
.invisible {
opacity: 0;
}
2013-09-18 16:05:51 -04:00
}
.send-control {
position: absolute;
bottom: 15px;
right: 15px;
2013-09-18 16:05:51 -04:00
}
}