lightbox.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. /* $Id: lightbox.css,v 1.1.4.28 2010/09/22 10:47:15 snpower Exp $ */
  2. #lightbox {
  3. position: absolute;
  4. top: 40px;
  5. left: 0;
  6. width: 100%;
  7. z-index: 100;
  8. text-align: center;
  9. line-height: 0;
  10. }
  11. #lightbox a img {
  12. border: none;
  13. }
  14. #outerImageContainer {
  15. position: relative;
  16. background-color: #fff;
  17. width: 250px;
  18. height: 250px;
  19. margin: 0 auto;
  20. min-width: 240px;
  21. overflow: hidden;
  22. }
  23. #imageContainer, #frameContainer, #modalContainer {
  24. padding: 10px;
  25. }
  26. #modalContainer {
  27. line-height: 1em;
  28. overflow: auto;
  29. }
  30. #loading {
  31. height: 25%;
  32. width: 100%;
  33. text-align: center;
  34. line-height: 0;
  35. position: absolute;
  36. top: 40%;
  37. left: 45%;
  38. /* left: 0%; */
  39. }
  40. #hoverNav {
  41. position: absolute;
  42. top: 0;
  43. left: 0;
  44. height: 100%;
  45. width: 100%;
  46. z-index: 10;
  47. }
  48. #imageContainer>#hoverNav {
  49. left: 0;
  50. }
  51. #frameHoverNav {
  52. z-index: 10;
  53. margin-left: auto;
  54. margin-right: auto;
  55. width: 20%;
  56. position: absolute;
  57. bottom: 0px;
  58. height: 45px;
  59. }
  60. #imageData>#frameHoverNav {
  61. left: 0;
  62. }
  63. #hoverNav a, #frameHoverNav a {
  64. outline: none;
  65. }
  66. #prevLink, #nextLink {
  67. width: 49%;
  68. height: 100%;
  69. background: transparent url(../images/blank.gif) no-repeat; /* Trick IE into showing hover */
  70. display: block;
  71. }
  72. #prevLink, #framePrevLink {
  73. left: 0;
  74. float: left;
  75. }
  76. #nextLink, #frameNextLink {
  77. right: 0;
  78. float: right;
  79. }
  80. #prevLink:hover, #prevLink:visited:hover, #prevLink.force_show_nav, #framePrevLink {
  81. background: url(../images/prev.gif) left 15% no-repeat;
  82. }
  83. #nextLink:hover, #nextLink:visited:hover, #nextLink.force_show_nav, #frameNextLink {
  84. background: url(../images/next.gif) right 15% no-repeat;
  85. }
  86. #prevLink:hover.force_show_nav, #prevLink:visited:hover.force_show_nav,
  87. #framePrevLink:hover, #framePrevLink:visited:hover {
  88. background: url(../images/prev_hover.gif) left 15% no-repeat;
  89. }
  90. #nextLink:hover.force_show_nav, #nextLink:visited:hover.force_show_nav,
  91. #frameNextLink:hover, #frameNextLink:visited:hover {
  92. background: url(../images/next_hover.gif) right 15% no-repeat;
  93. }
  94. #framePrevLink, #frameNextLink {
  95. width: 45px;
  96. height: 45px;
  97. display: block;
  98. position: absolute;
  99. bottom: 0px;
  100. }
  101. #imageDataContainer {
  102. font: 10px Verdana, Helvetica, sans-serif;
  103. background-color: #fff;
  104. margin: 0 auto;
  105. line-height: 1.4em;
  106. min-width: 240px;
  107. }
  108. #imageData {
  109. padding: 0 10px;
  110. }
  111. #imageData #imageDetails {
  112. width: 70%;
  113. float: left;
  114. text-align: left;
  115. }
  116. #imageData #caption {
  117. font-weight: bold;
  118. }
  119. #imageData #numberDisplay {
  120. display: block;
  121. clear: left;
  122. padding-bottom: 1.0em;
  123. }
  124. #imageData #lightbox2-node-link-text {
  125. display: block;
  126. padding-bottom: 1.0em;
  127. }
  128. #imageData #bottomNav {
  129. height: 66px;
  130. }
  131. .lightbox2-alt-layout #imageData #bottomNav,
  132. .lightbox2-alt-layout-data #bottomNav {
  133. margin-bottom: 60px;
  134. }
  135. #lightbox2-overlay {
  136. position: absolute;
  137. top: 0;
  138. left: 0;
  139. z-index: 90;
  140. width: 100%;
  141. height: 500px;
  142. background-color: #000;
  143. }
  144. #overlay_default {
  145. opacity: 0.6;
  146. }
  147. #overlay_macff2 {
  148. background: transparent url(../images/overlay.png) repeat;
  149. }
  150. .clearfix:after {
  151. content: ".";
  152. display: block;
  153. height: 0;
  154. clear: both;
  155. visibility: hidden;
  156. }
  157. * html>body .clearfix {
  158. display: inline;
  159. width: 100%;
  160. }
  161. * html .clearfix {
  162. /* Hides from IE-mac \*/
  163. height: 1%;
  164. /* End hide from IE-mac */
  165. }
  166. /* Image location mod */
  167. #bottomNavClose {
  168. display: block;
  169. background: url(../images/close.gif) left no-repeat;
  170. margin-top: 33px;
  171. float: right;
  172. padding-top: 0.7em;
  173. height: 26px;
  174. width: 26px;
  175. }
  176. #bottomNavClose:hover {
  177. background-position: right;
  178. }
  179. #loadingLink {
  180. display: block;
  181. background: url(../images/loading.gif) no-repeat;
  182. width: 32px;
  183. height: 32px;
  184. }
  185. #bottomNavZoom {
  186. display: none;
  187. background: url(../images/expand.gif) no-repeat;
  188. width: 34px;
  189. height: 34px;
  190. position: relative;
  191. left: 30px;
  192. float: right;
  193. }
  194. #bottomNavZoomOut {
  195. display: none;
  196. background: url(../images/contract.gif) no-repeat;
  197. width: 34px;
  198. height: 34px;
  199. position: relative;
  200. left: 30px;
  201. float: right;
  202. }
  203. #lightshowPlay {
  204. margin-top: 42px;
  205. float: right;
  206. margin-right: 5px;
  207. margin-bottom: 1px;
  208. height: 20px;
  209. width: 20px;
  210. background: url(../images/play.png) no-repeat;
  211. }
  212. #lightshowPause {
  213. margin-top: 42px;
  214. float: right;
  215. margin-right: 5px;
  216. margin-bottom: 1px;
  217. height: 20px;
  218. width: 20px;
  219. background: url(../images/pause.png) no-repeat;
  220. }
  221. .lightbox2-alt-layout-data #bottomNavClose,
  222. .lightbox2-alt-layout #bottomNavClose {
  223. margin-top: 93px;
  224. }
  225. .lightbox2-alt-layout-data #bottomNavZoom,
  226. .lightbox2-alt-layout-data #bottomNavZoomOut,
  227. .lightbox2-alt-layout #bottomNavZoom,
  228. .lightbox2-alt-layout #bottomNavZoomOut {
  229. margin-top: 93px;
  230. }
  231. .lightbox2-alt-layout-data #lightshowPlay,
  232. .lightbox2-alt-layout-data #lightshowPause,
  233. .lightbox2-alt-layout #lightshowPlay,
  234. .lightbox2-alt-layout #lightshowPause {
  235. margin-top: 102px;
  236. }
  237. .lightbox_hide_image {
  238. display: none;
  239. }
  240. #lightboxImage {
  241. -ms-interpolation-mode: bicubic;
  242. }