Line | |
---|
1 | [(#REM) |
---|
2 | Ce fond est surchargeable dans vos squelettes. |
---|
3 | Code source : https://zone.spip.org/trac/spip-zone/browser/_plugins_/alerte_urgence/trunk/inclure/alerte_urgence.html |
---|
4 | |
---|
5 | ]<div id="alerte_urgence"><strong>[(#VAL{_alerte_MESSAGE}|constant|sinon{[(#VAL{info_texte_message}|_T)]}|propre|PtoBR)]</strong></div> |
---|
6 | <style type="text/css"> |
---|
7 | @-webkit-keyframes alerte_urgence-pulse { from, 66% { background: #f06; } 33%, to { background: gray; } } |
---|
8 | @-moz-keyframes alerte_urgence-pulse { from, 66% { background: #f06; } 33%, to { background: gray; } } |
---|
9 | @keyframes alerte_urgence-pulse { from, 66% { background: #f06; } 33%, to { background: gray; } } |
---|
10 | div#alerte_urgence { |
---|
11 | position: fixed; |
---|
12 | top: 0; |
---|
13 | right: 0; |
---|
14 | left: 0; |
---|
15 | z-index: 999; |
---|
16 | font-size: 100%; |
---|
17 | line-height: 1; |
---|
18 | padding: .75em; |
---|
19 | background: #f06; |
---|
20 | color: #fff; |
---|
21 | font-weight: bold; |
---|
22 | text-align: center; |
---|
23 | /*white-space: nowrap;*/ |
---|
24 | overflow: hidden; |
---|
25 | text-shadow: 1px 1px 2px rgba(0,0,0,.3); |
---|
26 | box-shadow: 0 8px 8px -5px rgba(0,0,0,.3); |
---|
27 | -moz-animation: alerte_urgence-pulse 3s 1s forwards; |
---|
28 | -webkit-animation: alerte_urgence-pulse 3s 1s forwards; |
---|
29 | animation: alerte_urgence-pulse 3s 1s forwards; |
---|
30 | } |
---|
31 | div#alerte_urgence * { font-size: inherit; color: inherit; } |
---|
32 | body { padding-top: 2.5em; } |
---|
33 | .spip-admin-bloc, |
---|
34 | .spip-admin-float { top: 2.5em; } |
---|
35 | </style> |
---|
Note: See
TracBrowser
for help on using the repository browser.