Dotclear


Ignore:
Timestamp:
01/27/18 11:59:30 (8 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switch from jQuery background fade plugin to CSS3 animation (plugin removed from distribution)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • admin/style/scss/partials/_messages.scss

    r3638 r3685  
    6060 
    6161.error { 
    62      background: #FFBABA url(msg-error.png) no-repeat .7em .7em; 
     62     background: #ffbaba url(msg-error.png) no-repeat .7em .7em; 
    6363     color: #000; 
     64  animation-name: kf-error; 
     65  animation-duration: .5s; 
     66} 
     67@keyframes kf-error { 
     68  0% { 
     69    background-color: #fefacd; 
     70  } 
     71  100% { 
     72    background-color: #ffbaba; 
     73  } 
    6474} 
    6575 
     
    6878     background: #676e78 url(msg-std.png) no-repeat .7em .7em; 
    6979     color: #fff; 
     80} 
     81.message { 
     82  animation-name: kf-message; 
     83  animation-duration: .5s; 
     84} 
     85@keyframes kf-message { 
     86  0% { 
     87    background-color: #ccc; 
     88  } 
     89  100% { 
     90    background-color: #676e78; 
     91  } 
    7092} 
    7193 
     
    83105 
    84106.success { 
    85      background: #9bca1c url(msg-success.png) no-repeat .7em .7em; 
     107     background: #bee74b url(msg-success.png) no-repeat .7em .7em; 
     108  animation-name: kf-success; 
     109  animation-duration: .5s; 
     110} 
     111@keyframes kf-success { 
     112  0% { 
     113    background-color: #9bca1c; 
     114  } 
     115  100% { 
     116    background-color: #bee74b; 
     117  } 
    86118} 
    87119 
     
    89121     background: #ffd478 url(msg-warning.png) no-repeat .7em .7em; 
    90122     border: 1px solid #ffd478; 
     123  animation-name: kf-warning; 
     124  animation-duration: .5s; 
     125} 
     126@keyframes kf-warning { 
     127  0% { 
     128    background-color: #fefacd; 
     129  } 
     130  100% { 
     131    background-color: #ffd478; 
     132  } 
    91133} 
    92134 
Note: See TracChangeset for help on using the changeset viewer.

Sites map