Changeset 277 for trunk


Ignore:
Timestamp:
Jan 20, 2010, 6:54:51 PM (15 years ago)
Author:
gav
Message:

Add css for flash scope error messages.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/views/shared/_messages.gsp

    r182 r277  
    33</g:if>
    44<g:if test="${flash.warning}">
    5     <div class="warning">${flash.warning}</div>
     5    <div class="message_error">${flash.warning}</div>
    66</g:if>
  • trunk/web-app/css/main.css

    r229 r277  
    163163    border: 1px solid #b2d1ff;
    164164    color: #006dba;
     165    margin: 10px 0 5px 0;
     166    padding: 5px 5px 5px 0px
     167}
     168
     169.message_error {
     170    background: #fff3f3 url(../images/skin/exclamation.png) 8px 50% no-repeat;
     171    border: 1px solid red;
     172    color: #cc0000;
    165173    margin: 10px 0 5px 0;
    166174    padding: 5px 5px 5px 0px
Note: See TracChangeset for help on using the changeset viewer.