X-Git-Url: https://dev.renevier.net/gitweb.cgi?p=syp.git;a=blobdiff_plain;f=media%2Fsyp.css;h=1a9fa058b952d0cd45595ef59c775fb63f1f2bca;hp=3cee0d2d23bd32538f3d35e9079227cee9a94e9f;hb=e57c166b46cf9c5961bca1b2241783944277cef5;hpb=ae3851e4befcc7f6bee6d161dc77ac2e4e9c6515 diff --git a/media/syp.css b/media/syp.css index 3cee0d2..1a9fa05 100644 --- a/media/syp.css +++ b/media/syp.css @@ -14,25 +14,15 @@ width: 50%; } -.olPopup p { - width: 400px; -} -.olPopup img { - margin: 20px; - max-height: 400px; - max-width: 400px; - - /* for IE (does not understand max-heigth max-width) */ - _height: expression((this.offsetHeight>this.offsetWidth) ? - Math.min(parseInt(this.offsetHeight), 400 ) : true); - _width: expression((this.offsetWidth>=this.offsetHeight) ? - Math.min(parseInt(this.offsetWidth), 400 ) : true); -} .olPopup { text-align: center; border: 3px double black; background-color: white; } +.olPopup img { + margin: 20px; +} + /* for IE (does not understand double borders */ #popup_contentDiv { _border: 2px solid black; @@ -50,3 +40,48 @@ font-weight: bold; background-color: white; } + +#bigimg_container { + z-index: 2001; + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: none; + text-align: center; + overflow: hidden; +} +#bigimg_transparency { + z-index: -1; + position: absolute; + top: 0px; + left: 0px; + right: 0px; + bottom; 0px; + width: 100%; + height: 100%; + background-color: #000; + opacity: 0.6; + filter: alpha(opacity = 60); +} +#bigimg_content { + display: table-cell; + vertical-align: middle; + _position: absolute; + _top: 50%; + _left: 50%; +} +#bigimg { + -moz-user-select: none; + -webkit-user-select: none; + _position: relative; + _left: -50%; + _top: -50%; +} +#bigimg_close { + position: absolute; + top: 0; + left: 0; + cursor: pointer; +}