Dotclear

Changeset 1516:eb9653ff7459


Ignore:
Timestamp:
08/21/13 13:00:42 (12 years ago)
Author:
Anne Kozlika <kozlika@…>
Branch:
default
Message:

Antispam: pardon my fault, css should be in plugin css only.
Messages: colors change.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • admin/js/_post.js

    r1468 r1516  
    209209                         $(div).html('<p><strong>' + dotclear.msg.xhtml_not_valid + '</strong></p>' + $(data).find('errors').text()); 
    210210                         $(div).insertAfter(h); 
    211                          $(div).backgroundFade({sColor:'#ffffff',eColor:'#ff9999',steps:50},function() { 
    212                                    $(this).backgroundFade({sColor:'#ff9999',eColor:'#ffffff'}); 
     211                         $(div).backgroundFade({sColor:'#ffffff',eColor:'#FFBABA',steps:50},function() { 
     212                                   $(this).backgroundFade({sColor:'#FFBABA',eColor:'#ffffff'}); 
    213213                         }); 
    214214                    } 
  • admin/js/_preferences.js

    r160 r1516  
    1313          if ($('#user_email').val() != user_email || $('#new_pwd').val() != '') { 
    1414               e.focus(); 
    15                $(e).backgroundFade({sColor:'#ffffff',eColor:'#ff9999',steps:50},function() { 
    16                     $(this).backgroundFade({sColor:'#ff9999',eColor:'#ffffff'}); 
     15               $(e).backgroundFade({sColor:'#ffffff',eColor:'#ffbaba',steps:50},function() { 
     16                    $(this).backgroundFade({sColor:'#ffbaba',eColor:'#ffffff'}); 
    1717               }); 
    1818               return false; 
  • admin/js/common.js

    r1395 r1516  
    348348 
    349349     $('.message').backgroundFade({sColor:'#cccccc',eColor:'#666666',steps:20}); 
    350      $('.error').backgroundFade({sColor:'#ffeee3',eColor:'#ffdec8',steps:20}); 
     350     $('.error').backgroundFade({sColor:'#ffdec8',eColor:'#ffbaba',steps:20}); 
    351351 
    352352     $('form:has(input[type=password][name=your_pwd])').submit(function() { 
     
    354354          if (e.value == '') { 
    355355               e.focus(); 
    356                $(e).backgroundFade({sColor:'#ffffff',eColor:'#ff9999',steps:50},function() { 
    357                     $(this).backgroundFade({sColor:'#ff9999',eColor:'#ffffff'}); 
     356               $(e).backgroundFade({sColor:'#ffffff',eColor:'#ffbaba',steps:50},function() { 
     357                    $(this).backgroundFade({sColor:'#ffbaba',eColor:'#ffffff'}); 
    358358               }); 
    359359               return false; 
  • admin/style/default.css

    r1514 r1516  
    884884     background: transparent url(../images/check-on.png) no-repeat 0 50%; 
    885885} 
    886 /* ----------------------------------------------------------  Antispam extensions */ 
    887 .antispam { 
    888      height: 200px; 
    889      overflow: auto; 
    890      margin-bottom: 1em; 
    891 } 
    892 .antispam p { 
    893      margin: 1px 0 0 0; 
    894      padding: 0.2em 0.5em; 
    895 } 
    896 .antispam p.global { 
    897      background: #ccff99; 
    898 } 
    899886/* ------------------------------------------------------------------ contextual help */ 
    900887#help { 
     
    991978} 
    992979/* ------------------------------------------------------------------ messages */ 
    993 div.error, p.error,  
    994 div.message, p.message,  
    995 div.static-msg, p.static-msg { 
     980.error, .message, .static-msg, .static-msg { 
    996981     padding: 0.5em 0.5em 0.5em 48px; 
    997982     margin-bottom: 1em; 
     
    1002987     padding-bottom: 1rem; 
    1003988} 
    1004 div.error, p.error { 
    1005      background: #ffdec8 url(msg-error.png) no-repeat .7em .7em; 
     989.error { 
     990     background: #FFBABA url(msg-error.png) no-repeat .7em .7em; 
    1006991     color: #000; 
    1007992} 
    1008 div.message, p.message,  
    1009 div.static-msg, p.static-msg { 
     993.message, .static-msg { 
    1010994     background: #666 url(msg-std.png) no-repeat .7em .7em; 
    1011995     color: #fff; 
    1012996} 
    1013 div.message a, p.message a,  
    1014 div.static-msg a, p.static-msg a { 
     997.success { 
     998     background-color: #cf9; 
     999     color: #000; 
     1000} 
     1001.message a, .static-msg a { 
    10151002     color: #fff; 
    10161003} 
     1004.success a { 
     1005     color: #666; 
     1006} 
     1007 
    10171008/* ------------------------------------------------------------------ navigation */ 
    10181009.anchor-nav { 
  • locales/fr/main.po

    r1514 r1516  
    797797 
    798798msgid "Show it." 
    799 msgstr "L'afficher" 
     799msgstr "L'afficher." 
    800800 
    801801#, php-format 
  • plugins/antispam/style.css

    r1511 r1516  
    3232} 
    3333.antispam p.global { 
    34      background: #ccff99; 
     34     background: #fec; 
    3535} 
Note: See TracChangeset for help on using the changeset viewer.

Sites map