css: refactor notice box css.
* Remove .ui-corner-all, .ui-state-highlight, .ui-state-error classes from notice boxes. * Use .notice, .notice-info, .notice-error classes instead. * Replace <p> elements in notices with <div>'s so that we don't have to work around the `margin-bottom: 1em` from <p> elements. * Replace <h1> elements in notices with <h2>. * Standardize info notices to use the same shade of light yellow in the light theme.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<h1>New Wiki Page</h1>
|
||||
|
||||
<% if @wiki_page.title.present? %>
|
||||
<div class="ui-corner-all ui-state-highlight notice">
|
||||
<div class="notice notice-info notice-small" id="new-wiki-page-notice">
|
||||
This wiki page does not yet exist. The form below will allow you to create a new page for <%= @wiki_page.title %>. It will act as an explanation on how to use the tag for other users on the site.
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user