jquery.fancybox.css 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. /*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
  2. .fancybox-wrap,
  3. .fancybox-skin,
  4. .fancybox-outer,
  5. .fancybox-inner,
  6. .fancybox-image,
  7. .fancybox-wrap iframe,
  8. .fancybox-wrap object,
  9. .fancybox-nav,
  10. .fancybox-nav span,
  11. .fancybox-tmp
  12. {
  13. padding: 0;
  14. margin: 0;
  15. border: 0;
  16. outline: none;
  17. vertical-align: top;
  18. }
  19. /* Ray: modified for raylib examples */
  20. .fancybox-inner
  21. {
  22. overflow: hidden!important;
  23. min-height: 520px!important;
  24. }
  25. /* Ray: modified for raylib examples */
  26. .fancybox-wrap {
  27. width: 860px!important;
  28. }
  29. .fancybox-wrap {
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. z-index: 8020;
  34. border: 4px solid;
  35. }
  36. .fancybox-skin {
  37. position: relative;
  38. background: #f9f9f9;
  39. color: #444;
  40. text-shadow: none;
  41. }
  42. .fancybox-opened {
  43. z-index: 8030;
  44. }
  45. .fancybox-opened .fancybox-skin {
  46. -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  47. -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  48. box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  49. }
  50. .fancybox-outer, .fancybox-inner {
  51. position: relative;
  52. }
  53. /* Ray: modified for raylib examples */
  54. .fancybox-inner {
  55. overflow: hidden;
  56. width: 850px!important;
  57. }
  58. .fancybox-type-iframe .fancybox-inner {
  59. -webkit-overflow-scrolling: touch;
  60. }
  61. .fancybox-error {
  62. color: #444;
  63. font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  64. margin: 0;
  65. padding: 15px;
  66. white-space: nowrap;
  67. }
  68. /* Ray: modified for raylib examples */
  69. .fancybox-image, .fancybox-iframe {
  70. display: block;
  71. width: 830px;
  72. height: 100%;
  73. }
  74. .fancybox-image {
  75. max-width: 100%;
  76. max-height: 100%;
  77. }
  78. #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  79. background-image: url('fancybox_sprite.png');
  80. }
  81. #fancybox-loading {
  82. position: fixed;
  83. top: 50%;
  84. left: 50%;
  85. margin-top: -22px;
  86. margin-left: -22px;
  87. background-position: 0 -108px;
  88. opacity: 0.8;
  89. cursor: pointer;
  90. z-index: 8060;
  91. }
  92. #fancybox-loading div {
  93. width: 44px;
  94. height: 44px;
  95. background: url('fancybox_loading.gif') center center no-repeat;
  96. }
  97. .fancybox-close {
  98. position: absolute;
  99. top: -18px;
  100. right: -18px;
  101. width: 36px;
  102. height: 36px;
  103. cursor: pointer;
  104. z-index: 8040;
  105. }
  106. .fancybox-nav {
  107. position: absolute;
  108. top: 0;
  109. width: 40%;
  110. height: 100%;
  111. cursor: pointer;
  112. text-decoration: none;
  113. background: transparent url('blank.gif'); /* helps IE */
  114. -webkit-tap-highlight-color: rgba(0,0,0,0);
  115. z-index: 8040;
  116. }
  117. .fancybox-prev {
  118. left: 0;
  119. }
  120. .fancybox-next {
  121. right: 0;
  122. }
  123. .fancybox-nav span {
  124. position: absolute;
  125. top: 50%;
  126. width: 36px;
  127. height: 34px;
  128. margin-top: -18px;
  129. cursor: pointer;
  130. z-index: 8040;
  131. visibility: hidden;
  132. }
  133. .fancybox-prev span {
  134. left: 10px;
  135. background-position: 0 -36px;
  136. }
  137. .fancybox-next span {
  138. right: 10px;
  139. background-position: 0 -72px;
  140. }
  141. .fancybox-nav:hover span {
  142. visibility: visible;
  143. }
  144. .fancybox-tmp {
  145. position: absolute;
  146. top: -99999px;
  147. left: -99999px;
  148. visibility: hidden;
  149. max-width: 99999px;
  150. max-height: 99999px;
  151. overflow: visible !important;
  152. }
  153. /* Overlay helper */
  154. .fancybox-lock {
  155. overflow: hidden !important;
  156. width: auto;
  157. }
  158. .fancybox-lock body {
  159. overflow: hidden !important;
  160. }
  161. .fancybox-lock-test {
  162. overflow-y: hidden !important;
  163. }
  164. .fancybox-overlay {
  165. position: absolute;
  166. top: 0;
  167. left: 0;
  168. overflow: hidden;
  169. display: none;
  170. z-index: 8010;
  171. background: url('fancybox_overlay.png');
  172. }
  173. .fancybox-overlay-fixed {
  174. position: fixed;
  175. bottom: 0;
  176. right: 0;
  177. }
  178. .fancybox-lock .fancybox-overlay {
  179. overflow: auto;
  180. overflow-y: scroll;
  181. }
  182. /* Title helper */
  183. .fancybox-title {
  184. visibility: hidden;
  185. font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  186. position: relative;
  187. text-shadow: none;
  188. z-index: 8050;
  189. }
  190. .fancybox-opened .fancybox-title {
  191. visibility: visible;
  192. }
  193. .fancybox-title-float-wrap {
  194. position: absolute;
  195. bottom: 0;
  196. right: 50%;
  197. margin-bottom: -35px;
  198. z-index: 8050;
  199. text-align: center;
  200. }
  201. .fancybox-title-float-wrap .child {
  202. display: inline-block;
  203. margin-right: -100%;
  204. padding: 2px 20px;
  205. background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  206. background: rgba(0, 0, 0, 0.8);
  207. text-shadow: 0 1px 2px #222;
  208. color: #FFF;
  209. font-size: 10px;
  210. line-height: 24px;
  211. white-space: nowrap;
  212. }
  213. .fancybox-title-outside-wrap {
  214. position: relative;
  215. margin-top: 10px;
  216. color: #fff;
  217. }
  218. .fancybox-title-inside-wrap {
  219. padding-top: 10px;
  220. }
  221. .fancybox-title-over-wrap {
  222. position: absolute;
  223. bottom: 0;
  224. left: 0;
  225. color: #fff;
  226. padding: 10px;
  227. background: #000;
  228. background: rgba(0, 0, 0, .8);
  229. }
  230. /*Retina graphics!*/
  231. @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  232. only screen and (min--moz-device-pixel-ratio: 1.5),
  233. only screen and (min-device-pixel-ratio: 1.5){
  234. #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  235. background-image: url('[email protected]');
  236. background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
  237. }
  238. #fancybox-loading div {
  239. background-image: url('[email protected]');
  240. background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
  241. }
  242. }