Support embed style for attachment preview

pull/5742/merge
Aleksander Machniak 8 years ago
parent 5c95771fc3
commit 528404ff96

@ -41,6 +41,7 @@ RPM package which depends on nodejs.
$ lessc -x styles/styles.less > styles/styles.css
$ lessc -x styles/print.less > styles/print.css
$ lessc -x styles/embed.less > styles/embed.css
(the -x option minifies the CSS code)

@ -4,6 +4,7 @@
"license": "Creative Commons Attribution-ShareAlike",
"license-url": "http://creativecommons.org/licenses/by-sa/3.0/",
"config": {
"layout": "widescreen"
"layout": "widescreen",
"embed_css_location": "/styles/embed.css"
}
}

@ -0,0 +1,29 @@
/* Style for embedded inline warning */
/* TODO: review */
.rcmail-inline-message {
font-family: sans-serif;
font-size: 11px;
font-weight: bold;
color: #996600;
border: 1px solid #ffdf0e;
background: url("images/messages.png") no-repeat scroll 5px -83px #fef893;
padding: 6px 12px 4px 30px;
margin-bottom: 0.8em;
}
.rcmail-inline-message em {
font-size: 90%;
}
.rcmail-inline-buttons {
margin-bottom: 0;
display: inline;
}
.rcmail-inline-buttons > button {
margin-left: 1em;
vertical-align: baseline;
line-height: 12px;
}
Loading…
Cancel
Save