Use monospace font for plain text messages, fix some spacing

pull/5742/merge
Aleksander Machniak 7 years ago
parent 892b788f5a
commit 4c7612e8ae

@ -105,7 +105,12 @@
.message-part, .message-part,
.message-htmlpart { .message-htmlpart {
// TODO padding-top: .5rem;
&:not(:first-child) {
border-top: 1px solid lighten(@color-mail-headers, 50%);
margin-top: .5rem;
}
div.rcmBody { div.rcmBody {
// Remove margins that can be set by the mail message styles // Remove margins that can be set by the mail message styles
@ -176,11 +181,15 @@
span.sig { span.sig {
color: @color-mail-signature; color: @color-mail-signature;
} }
div.pre {
font-family: monospace;
}
} }
.message-partheaders { .message-partheaders {
padding: .5rem 0; padding: .5rem 0;
margin: .5rem 0; margin: .5rem 0 0 0;
font-size: 90%; font-size: 90%;
border-top: 1px solid lighten(@color-mail-headers, 50%); border-top: 1px solid lighten(@color-mail-headers, 50%);
border-bottom: 1px solid lighten(@color-mail-headers, 50%); border-bottom: 1px solid lighten(@color-mail-headers, 50%);
@ -195,4 +204,10 @@
.subject { .subject {
font-weight: bold; font-weight: bold;
} }
& + .message-part,
& + .message-htmlpart {
border-top: 0;
margin: 0;
}
} }

@ -49,7 +49,6 @@
.ui.alert { .ui.alert {
margin: 0; margin: 0;
margin-bottom: .2em;
opacity: .95; opacity: .95;
float: left; float: left;
width: 100%; width: 100%;
@ -62,7 +61,6 @@
align-items: center; align-items: center;
@media screen and (max-width: @screen-width-xs) { @media screen and (max-width: @screen-width-xs) {
margin-bottom: 0;
box-shadow: none; box-shadow: none;
border: 0; border: 0;
border-top: 2px solid #fff; border-top: 2px solid #fff;
@ -70,6 +68,12 @@
min-height: 4.2rem; min-height: 4.2rem;
} }
@media screen and (min-width: (@screen-width-xs + 1px)) {
&:not(:last-child) {
margin-bottom: .2rem;
}
}
span { span {
margin: auto 0; margin: auto 0;
} }

Loading…
Cancel
Save