Revision 1252,
1011 bytes
checked in by niltonneto, 15 years ago
(diff) |
Ticket #475 - Adição dos templates novos classic e default.
|
-
Property svn:executable set to
*
|
Line | |
---|
1 | @charset "utf-8";
|
---|
2 | /* CSS Document */
|
---|
3 |
|
---|
4 | /*
|
---|
5 | Alpha PNG support for IE
|
---|
6 | ------------------------------
|
---|
7 | Aviso, este código abaixo funciona apenas para visualização na tela. Quando este documento for impresso, o bug voltará.
|
---|
8 | O Hack Abaixo faz o código rodar apenas no IE. Sendo que os outros browsers como, Firefox, Opera e Safari já tem a transparencia de PNG nativo.
|
---|
9 | \*/
|
---|
10 | * html img/**/ {
|
---|
11 | filter:expression(
|
---|
12 | this.alphaxLoaded ? "" :
|
---|
13 | (
|
---|
14 | this.src.substr(this.src.length-4)==".png"
|
---|
15 | ?
|
---|
16 | (
|
---|
17 | (!this.complete)
|
---|
18 | ? "" :
|
---|
19 | this.runtimeStyle.filter=
|
---|
20 | ("progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+this.src+"')")+
|
---|
21 | (this.onbeforeprint="this.runtimeStyle.filter='';this.src='"+this.src+"'").substr(0,0)+
|
---|
22 | String(this.alphaxLoaded=true).substr(0,0)+
|
---|
23 | (this.src="templates/celepar/images/blank.gif").substr(0,0)
|
---|
24 | )
|
---|
25 | :
|
---|
26 | this.runtimeStyle.filter=""
|
---|
27 | )
|
---|
28 | );
|
---|
29 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.