You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
roundcubemail/skins/elastic/styles/widgets/mail.less

126 lines
2.6 KiB
Plaintext

/**
* Roundcube webmail styles for the Elastic skin
*
* Copyright (c) 2017, The Roundcube Dev Team
*
* The contents are subject to the Creative Commons Attribution-ShareAlike
* License. It is allowed to copy, distribute, transmit and to adapt the work
7 years ago
* by keeping credits to the original authors in the README.md file.
* See http://creativecommons.org/licenses/by-sa/3.0/ for details.
*/
/*** Mail message body elements ***/
@mail-header-photo-height: 4rem;
.content #message-header {
margin-bottom: 1rem;
.subject {
font-size: 1.5rem;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.short-header {
display: flex;
img.contactphoto {
margin: 0 1rem 0 0;
border-radius: 50%;
width: @mail-header-photo-height;
height: @mail-header-photo-height;
}
div {
line-height: @mail-header-photo-height;
& > span {
line-height: normal;
display: inline-block;
vertical-align: middle;
}
}
}
}
#message-objects {
i.icon {
font-size: 2em !important;
}
.ui {
float: none;
border-radius: 0;
}
}
#messagebody {
/* TODO */
&.mailvelope {
margin: 0;
}
}
div.message-part,
div.message-htmlpart {
/* TODO */
blockquote {
color: @color-blockquote-0;
border-left: 2px solid @color-blockquote-0-border;
border-right: 2px solid @color-blockquote-0-border;
background-color: @color-blockquote-background;
margin: 2px 0;
padding: 0 .4em;
overflow: hidden;
text-overflow: ellipsis;
blockquote {
color: @color-blockquote-1;
border-left: 2px solid @color-blockquote-1-border;
border-right: 2px solid @color-blockquote-1-border;
blockquote {
color: @color-blockquote-2;
border-left: 2px solid @color-blockquote-2-border;
border-right: 2px solid @color-blockquote-2-border;
}
}
}
}
div.message-partheaders {
/* TODO */
}
#messagepartframe {
border: 0;
width: 100%;
height: 100%;
}
#messagepartheader {
table {
table-layout: fixed;
overflow: hidden;
td {
text-overflow: ellipsis;
overflow: hidden;
&.title {
width: 60px;
padding-right: 0;
}
}
}
}