diff --git a/skins/elastic/README b/skins/elastic/README index fe971eee5..eb26c7f09 100644 --- a/skins/elastic/README +++ b/skins/elastic/README @@ -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) diff --git a/skins/elastic/meta.json b/skins/elastic/meta.json index 2bbef8880..4b89697c2 100644 --- a/skins/elastic/meta.json +++ b/skins/elastic/meta.json @@ -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" } } diff --git a/skins/elastic/styles/embed.less b/skins/elastic/styles/embed.less new file mode 100644 index 000000000..048a91cf4 --- /dev/null +++ b/skins/elastic/styles/embed.less @@ -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; +}