Changeset 5383


Ignore:
Timestamp:
Mar 26, 2010, 4:15:56 PM (14 years ago)
Author:
plg
Message:

bug 1495: use the wiki icons in errors/infos blocks + merge CSS rules.

Location:
trunk/admin/themes
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/themes/clear/theme.css

    r5366 r5383  
    1010h2 { color: #777; }
    1111
    12 .content .infos { color: #0a0; border:0; background: transparent url(icon/infos.png) no-repeat 5px 5px;
    13 padding:5px 70px 0pt 30px; min-height: 54px; background-color:#c2f5c2;}
    14 
    15 .content .infos .submit {margin-left:30px;}
    16 .content .infos li, .content .errors li { list-style-type:square; }
    17 
    18 .content .errors { color: #f22; border:0; background: transparent url(icon/errors.png) no-repeat left top;
    19 padding:5px 60px 0pt 30px; min-height: 54px; text-align:left; font-weight:bold; background-position:5px 5px; background-color: #ffd5dc;}
    2012
    2113#copyright { color:#777; margin:5px auto 0px 240px; text-align:center;
  • trunk/admin/themes/default/default-layout.css

    r5381 r5383  
    775775 * Informations box in administration
    776776 */
    777 .infos {
     777.infos, .errors {
    778778  text-align: left;
    779779  margin: 5px;
    780780  padding: 10px 50px 10px 10px;
    781781  font-weight:bold;
    782 }
    783 
    784 .errors { /* Errors display */
    785   text-align: left;
    786   margin: 5px;
    787   font-weight:bold;
    788 }
    789 
    790 .content .infos li, .content .errors li { list-style-type:square; }
     782  background-repeat: no-repeat;
     783  background-position: 5px 5px;
     784  padding:5px 70px 0pt 30px;
     785  min-height: 54px;
     786}
     787
     788.infos {
     789  color: #0a0;
     790  background-color:#c2f5c2;
     791  background-image: url(icon/infos.png);
     792}
     793
     794.errors {
     795  color: #f22;
     796  background-color: #ffd5dc;
     797  background-image: url(icon/errors.png);
     798}
     799
     800.infos li, .errors li { list-style-type:square; }
     801.infos .submit {margin-left:30px;}
    791802
    792803.checkActions {text-align:left;padding:0;margin:0;}
  • trunk/admin/themes/roma/theme.css

    r5368 r5383  
    1010input.rateButton, legend, h3 { color: #666; }
    1111h2 { color: #ccc; }
    12 
    13 /* .content .infos { color: #f70; border:0; background-color: transparent; */
    14 /* padding:5px 60px 0pt 10pt; min-height: 48px; text-align:left; background-position:left top;} */
    15 
    16 .content .infos { color: #008200; border:0; background: transparent url(../clear/icon/infos.png) no-repeat 5px 5px;
    17 padding:5px 70px 0pt 30px; min-height: 54px; background-color:#c2f5c2;}
    18 
    19 
    20 .content .infos .submit {margin-left:30px;}
    21 
    22 .content .errors { color: #f33; border:0; background: #ffd5dc url(../clear/icon/errors.png) no-repeat 5px 5px;
    23 padding:5px 60px 0pt 30px; min-height: 54px; text-align:left; }
    2412
    2513.header_notes { background: transparent url(../../icon/note.png) no-repeat right top;
Note: See TracChangeset for help on using the changeset viewer.