mail/src/sass/views/_read.scss

169 lines
3.7 KiB
SCSS

.view-read {
margin: 0px;
padding: 10px 15px;
height: 100%;
color: $color-grey-dark;
.headers {
margin-bottom: 1em;
p {
margin: 0px;
padding: 0px;
}
.subject {
font-size: $font-size-bigger;
}
.date {
color: $color-grey-medium;
font-size: $font-size-small;
margin-top: 0.25em;
margin-bottom: 1.5em;
padding: 0px;
}
.address {
color: $color-grey;
padding: 0.2em 0;
.label {
margin-left: 0.3em;
&:hover {
cursor: pointer;
}
}
}
}
.attachments {
position: relative;
width: inherit;
border: 1px;
border-style: solid;
border-color: $color-grey-lighter;
min-height: em(44);
.attachment {
height: 32px;
border-radius: 16px;
vertical-align: middle;
margin: 5px 0 5px 5px;
padding: 5px 10px 5px 10px;
border: 1px;
border-style: solid;
border-color: $color-grey-lighter;
display: inline-block;
span {
font-size: 14px;
color: $color-grey-input;
vertical-align: middle;
}
&:hover,
&:focus {
background-color: darken($color-white, 2%);
cursor: pointer;
}
}
}
.seperator-line {
height: 1px;
color: $color-grey-lighter;
background-color: $color-grey-lighter;
}
.body {
margin-top: 1.75em;
cursor: text;
padding-bottom: 250px;
line-height: 1.5em;
height: 100%;
overflow-y: scroll;
user-select: text;
.working {
margin: 0 auto;
height: 100%;
width: 230px;
display: table;
.container {
display: table-cell;
vertical-align: middle;
.spinner {
position: relative;
div {
position: absolute;
top: 0;
left: 0;
height: 30px;
width: 30px;
animation: rotation .6s linear infinite;
border-left: 5px solid $color-grey-light;
border-right: 5px solid $color-grey-light;
border-bottom: 5px solid $color-grey-light;
border-top: 5px solid $color-grey;
border-radius: 100%;
}
}
h1 {
margin: 0;
padding-left: 40px;
line-height: 30px;
color: $color-grey-input;
}
}
}
.line {
word-wrap: break-word;
a {
color: $color-blue;
}
&.empty-line {
line-height: 1em;
}
}
}
iframe {
width: 100%;
}
.reply-selection {
.popover-content {
padding: 0;
}
.option {
padding: 7px 30px;
color: $color-blue;
user-select: none;
&:hover,
&:focus {
background-color: darken($color-white, 2%);
cursor: pointer;
}
}
}
}
.controls {
float: right;
margin: 10px 15px;
button {
margin-left: 7px;
}
}