mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 08:21:14 +00:00
Adds style to the empty preview message (#27758).
git-svn-id: http://svn.redmine.org/redmine/trunk@17541 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7620870874
commit
3a35613fe3
@ -1,5 +1,5 @@
|
|||||||
<% unless @text.blank? %>
|
<% unless @text.blank? %>
|
||||||
<%= textilizable @text, :attachments => @attachments, :object => @previewed %>
|
<%= textilizable @text, :attachments => @attachments, :object => @previewed %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<p><%= l(:label_nothing_to_preview) %></p>
|
<p class="empty-preview"><%= l(:label_nothing_to_preview) %></p>
|
||||||
<% end %>
|
<% end %>
|
||||||
@ -449,6 +449,7 @@ blockquote { font-style: italic; border-left: 3px solid #e0e0e0; padding-left: 0
|
|||||||
blockquote blockquote { margin-left: 0;}
|
blockquote blockquote { margin-left: 0;}
|
||||||
abbr, span.field-description[title] { border-bottom: 1px dotted #aaa; cursor: help; }
|
abbr, span.field-description[title] { border-bottom: 1px dotted #aaa; cursor: help; }
|
||||||
textarea.wiki-edit {width:99%; resize:vertical;}
|
textarea.wiki-edit {width:99%; resize:vertical;}
|
||||||
|
.wiki-preview p.empty-preview {color:#999; font-style:italic; margin-top:1em; text-align:center;}
|
||||||
body.textarea-monospace textarea.wiki-edit {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px;}
|
body.textarea-monospace textarea.wiki-edit {font-family: Consolas, Menlo, "Liberation Mono", Courier, monospace; font-size: 12px;}
|
||||||
body.textarea-proportional textarea.wiki-edit {font-family: Verdana, sans-serif; font-size: 12px;}
|
body.textarea-proportional textarea.wiki-edit {font-family: Verdana, sans-serif; font-size: 12px;}
|
||||||
li p {margin-top: 0;}
|
li p {margin-top: 0;}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user