You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 8 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. /* Preload images */
  2. body:after {
  3. content: url(../img/close.png) url(../img/loading.gif) url(../img/prev.png) url(../img/next.png);
  4. display: none;
  5. }
  6. .lightboxOverlay {
  7. position: absolute;
  8. top: 0;
  9. left: 0;
  10. z-index: 9999;
  11. background-color: black;
  12. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
  13. opacity: 0.8;
  14. display: none;
  15. }
  16. .lightbox {
  17. position: absolute;
  18. left: 0;
  19. width: 100%;
  20. z-index: 10000;
  21. text-align: center;
  22. line-height: 0;
  23. font-weight: normal;
  24. }
  25. .lightbox .lb-image {
  26. display: block;
  27. height: auto;
  28. max-width: inherit;
  29. -webkit-border-radius: 3px;
  30. -moz-border-radius: 3px;
  31. -ms-border-radius: 3px;
  32. -o-border-radius: 3px;
  33. border-radius: 3px;
  34. }
  35. .lightbox a img {
  36. border: none;
  37. }
  38. .lb-outerContainer {
  39. position: relative;
  40. background-color: white;
  41. *zoom: 1;
  42. width: 250px;
  43. height: 250px;
  44. margin: 0 auto;
  45. -webkit-border-radius: 4px;
  46. -moz-border-radius: 4px;
  47. -ms-border-radius: 4px;
  48. -o-border-radius: 4px;
  49. border-radius: 4px;
  50. }
  51. .lb-outerContainer:after {
  52. content: "";
  53. display: table;
  54. clear: both;
  55. }
  56. .lb-container {
  57. padding: 4px;
  58. }
  59. .lb-loader {
  60. position: absolute;
  61. top: 43%;
  62. left: 0;
  63. height: 25%;
  64. width: 100%;
  65. text-align: center;
  66. line-height: 0;
  67. }
  68. .lb-cancel {
  69. display: block;
  70. width: 32px;
  71. height: 32px;
  72. margin: 0 auto;
  73. background: url(../img/loading.gif) no-repeat;
  74. }
  75. .lb-nav {
  76. position: absolute;
  77. top: 0;
  78. left: 0;
  79. height: 100%;
  80. width: 100%;
  81. z-index: 10;
  82. }
  83. .lb-container > .nav {
  84. left: 0;
  85. }
  86. .lb-nav a {
  87. outline: none;
  88. background-image: url('data:image/gif;base64,R0lGODlhAQABAPAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==');
  89. }
  90. .lb-prev, .lb-next {
  91. height: 100%;
  92. cursor: pointer;
  93. display: block;
  94. }
  95. .lb-nav a.lb-prev {
  96. width: 34%;
  97. left: 0;
  98. float: left;
  99. background: url(../img/prev.png) left 48% no-repeat;
  100. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  101. opacity: 0;
  102. -webkit-transition: opacity 0.6s;
  103. -moz-transition: opacity 0.6s;
  104. -o-transition: opacity 0.6s;
  105. transition: opacity 0.6s;
  106. }
  107. .lb-nav a.lb-prev:hover {
  108. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  109. opacity: 1;
  110. }
  111. .lb-nav a.lb-next {
  112. width: 64%;
  113. right: 0;
  114. float: right;
  115. background: url(../img/next.png) right 48% no-repeat;
  116. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
  117. opacity: 0;
  118. -webkit-transition: opacity 0.6s;
  119. -moz-transition: opacity 0.6s;
  120. -o-transition: opacity 0.6s;
  121. transition: opacity 0.6s;
  122. }
  123. .lb-nav a.lb-next:hover {
  124. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  125. opacity: 1;
  126. }
  127. .lb-dataContainer {
  128. margin: 0 auto;
  129. padding-top: 5px;
  130. *zoom: 1;
  131. width: 100%;
  132. -moz-border-radius-bottomleft: 4px;
  133. -webkit-border-bottom-left-radius: 4px;
  134. border-bottom-left-radius: 4px;
  135. -moz-border-radius-bottomright: 4px;
  136. -webkit-border-bottom-right-radius: 4px;
  137. border-bottom-right-radius: 4px;
  138. }
  139. .lb-dataContainer:after {
  140. content: "";
  141. display: table;
  142. clear: both;
  143. }
  144. .lb-data {
  145. padding: 0 4px;
  146. color: #ccc;
  147. }
  148. .lb-data .lb-details {
  149. width: 85%;
  150. float: left;
  151. text-align: left;
  152. line-height: 1.1em;
  153. }
  154. .lb-data .lb-caption {
  155. font-size: 13px;
  156. font-weight: bold;
  157. line-height: 1em;
  158. }
  159. .lb-data .lb-number {
  160. display: block;
  161. clear: left;
  162. padding-bottom: 1em;
  163. font-size: 12px;
  164. color: #999999;
  165. }
  166. .lb-data .lb-close {
  167. display: block;
  168. float: right;
  169. width: 30px;
  170. height: 30px;
  171. background: url(../img/close.png) top right no-repeat;
  172. text-align: right;
  173. outline: none;
  174. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=70);
  175. opacity: 0.7;
  176. -webkit-transition: opacity 0.2s;
  177. -moz-transition: opacity 0.2s;
  178. -o-transition: opacity 0.2s;
  179. transition: opacity 0.2s;
  180. }
  181. .lb-data .lb-close:hover {
  182. cursor: pointer;
  183. filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
  184. opacity: 1;
  185. }