| /** | |
| * The actual naming of elements is not rigid, these are just examples | |
| */ | |
| /* Zoom parent */ | |
| .zoom-container { | |
| position:relative; | |
| } | |
| /* Image to zoom */ | |
| #zoom-target { | |
| position:relative; /* Not strictly necessary but useful for positioning the loading message */ | |
| display:block; /* This is very important, the element must have metrics to provide an area to catch events */ | |
| } | |
| #zoom-target .fullsize-loading { | |
| position:absolute; | |
| top:50%; | |
| left:50%; | |
| width:40px; | |
| height:40px; | |
| margin:-20px 0 0 -20px; | |
| direction:ltr; | |
| text-indent:-9999px; | |
| background:#fff url(/media/easyzoom/loading.gif) no-repeat center center; | |
| z-index:150; | |
| -webkit-border-radius:5px; | |
| -moz-border-radius:5px; | |
| border-radius:5px; | |
| } | |
| /* Zoom panel */ | |
| #zoom-panel { | |
| position:absolute; | |
| top:160px; | |
| width:450px; | |
| height:300px; | |
| right: 10%; | |
| overflow:hidden; | |
| background:#fff; | |
| z-index:200; | |
| line-height:400px; | |
| text-align:center; | |
| border:5px solid #eee; | |
| /* Box shadow for < IE9 is defined in ie8.css and ie7.css */ | |
| -webkit-box-shadow:0 0 10px #777; | |
| -moz-box-shadow:0 0 10px #777; | |
| box-shadow:0 0 10px #777; | |
| /* Improve fluid motion of the the panel */ | |
| -webkit-transition:left, top 100ms ease-out; | |
| -moz-transition:left, top 100ms ease-out; | |
| -ms-transition:left, top 100ms ease-out; | |
| -o-transition:left, top 100ms ease-out; | |
| transition:left, top 100ms ease-out; | |
| } | |
| /* Zoom gallery */ | |
| .zoom-gallery { | |
| margin:15px 0; | |
| list-style-type:none; | |
| } | |
| .zoom-thumbnail { | |
| float:left; | |
| margin-left:15px; | |
| text-decoration:none; | |
| } | |
| li:first-child .zoom-thumbnail { | |
| margin-left:0; | |
| } | |
| .thumbnail-loading { | |
| background:#fff url(/media/easyzoom/loading.gif) no-repeat center center; | |
| } | |
| .thumbnail-loading img { | |
| opacity:0.5; | |
| -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)"; | |
| filter:alpha(opacity=50); | |
| } | |