jquery.fancybox.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. /*! fancyBox v2.1.4 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. .fancybox-wrap {
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. z-index: 8020;
  24. }
  25. .fancybox-skin {
  26. position: relative;
  27. background: #2F3238;
  28. color: #565656;
  29. text-shadow: none;
  30. -webkit-border-radius: 0;
  31. -moz-border-radius: 0;
  32. border-radius: 0;
  33. }
  34. .fancybox-opened {
  35. z-index: 8030;
  36. }
  37. .fancybox-opened .fancybox-skin {
  38. -webkit-box-shadow: none;
  39. -moz-box-shadow: none;
  40. box-shadow: none;
  41. }
  42. .fancybox-outer, .fancybox-inner {
  43. position: relative;
  44. }
  45. .fancybox-inner {
  46. overflow: hidden;
  47. }
  48. .fancybox-type-iframe .fancybox-inner {
  49. -webkit-overflow-scrolling: touch;
  50. }
  51. .fancybox-error {
  52. color: #444;
  53. font-size: 14px;
  54. line-height: 20px;
  55. margin: 0;
  56. padding: 15px;
  57. white-space: nowrap;
  58. }
  59. .fancybox-image, .fancybox-iframe {
  60. display: block;
  61. width: 100%;
  62. height: 100%;
  63. }
  64. .fancybox-image {
  65. max-width: 100%;
  66. max-height: 100%;
  67. }
  68. #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  69. background-image: url('fancybox_sprite.png') !important;
  70. }
  71. #fancybox-loading {
  72. position: fixed;
  73. top: 50%;
  74. left: 50%;
  75. margin-top: -22px;
  76. margin-left: -22px;
  77. background-position: 0 -108px;
  78. opacity: 0.8;
  79. cursor: pointer;
  80. z-index: 8060;
  81. }
  82. #fancybox-loading div {
  83. width: 44px;
  84. height: 44px;
  85. background: url('fancybox_loading.gif') center center no-repeat;
  86. }
  87. .fancybox-close {
  88. position: absolute;
  89. right: 0;
  90. top: 0;
  91. width: 40px;
  92. height: 38px;
  93. cursor: pointer;
  94. z-index: 9000;
  95. background-image: none;
  96. opacity: 0.5;
  97. -webkit-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  98. -moz-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  99. -o-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  100. transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  101. }
  102. .fancybox-close i {
  103. left: 50%;
  104. top: 50%;
  105. margin: -11px 0 0 -11px;
  106. font-size: 22px;
  107. line-height: 1em;
  108. position: absolute;
  109. color: #FFFFFF;
  110. }
  111. .fancybox-close:hover {
  112. opacity: 1;
  113. }
  114. .fancybox-nav {
  115. position: absolute;
  116. top: 0;
  117. height: 100%;
  118. cursor: pointer;
  119. text-decoration: none;
  120. background: transparent url('blank.gif'); /* helps IE */
  121. -webkit-tap-highlight-color: rgba(0,0,0,0);
  122. z-index: 8040;
  123. }
  124. .fancybox-prev,
  125. .fancybox-prev span {
  126. left: 0;
  127. }
  128. .fancybox-next,
  129. .fancybox-next span {
  130. right: 0;
  131. }
  132. .fancybox-nav span {
  133. position: absolute;
  134. top: 50%;
  135. width: 44px;
  136. height: 32px;
  137. margin-top: -25px;
  138. cursor: pointer;
  139. z-index: 8040;
  140. background-image: none;
  141. background-color: #26292E;
  142. background-position-y: -38px;
  143. opacity: 0.5;
  144. -webkit-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  145. -moz-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  146. -o-transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  147. transition: background 0.1s linear 0s, opacity 0.1s linear 0s;
  148. }
  149. .fancybox-next span {
  150. background-position-y: -72px;
  151. }
  152. .fancybox-prev span i {
  153. left: 50%;
  154. top: 50%;
  155. margin: -15px 0 0 -17px;
  156. font-size: 30px;
  157. line-height: 1em;
  158. position: absolute;
  159. color: #FFFFFF;
  160. }
  161. .fancybox-next span i {
  162. left: 50%;
  163. top: 50%;
  164. margin: -15px 0 0 -15px;
  165. font-size: 30px;
  166. line-height: 1em;
  167. position: absolute;
  168. color: #FFFFFF;
  169. }
  170. .fancybox-nav:hover span {
  171. opacity: 1;
  172. }
  173. .fancybox-tmp {
  174. position: absolute;
  175. top: -99999px;
  176. left: -99999px;
  177. visibility: hidden;
  178. max-width: 99999px;
  179. max-height: 99999px;
  180. overflow: visible !important;
  181. }
  182. /* Overlay helper */
  183. .fancybox-lock {
  184. margin: 0!important;
  185. }
  186. .fancybox-overlay {
  187. position: absolute;
  188. top: 0;
  189. left: 0;
  190. overflow: hidden !important;
  191. display: none;
  192. z-index: 8010;
  193. background: url('fancybox_overlay.png');
  194. }
  195. .fancybox-overlay-fixed {
  196. position: fixed;
  197. bottom: 0;
  198. right: 0;
  199. }
  200. .fancybox-lock .fancybox-overlay {
  201. overflow: auto;
  202. overflow-y: scroll;
  203. }
  204. /* Title helper */
  205. .fancybox-title {
  206. visibility: hidden;
  207. position: relative;
  208. text-shadow: none;
  209. z-index: 8050;
  210. }
  211. .fancybox-opened .fancybox-title {
  212. visibility: visible;
  213. }
  214. .fancybox-opened .fancybox-title h4{
  215. font-size: 24px;
  216. color:#fff;
  217. font-weight: 300;
  218. margin-bottom: 10px;
  219. }
  220. .fancybox-opened .fancybox-title p{
  221. font-size: 16px;
  222. font-weight: 300;
  223. color:#bbb;
  224. line-height:1.6em;
  225. margin-bottom: 0;
  226. }
  227. .fancybox-title-float-wrap {
  228. position: absolute;
  229. bottom: 0;
  230. right: 50%;
  231. margin-bottom: -35px;
  232. z-index: 8050;
  233. text-align: center;
  234. }
  235. .fancybox-title-float-wrap .child {
  236. display: inline-block;
  237. margin-right: -100%;
  238. padding: 2px 20px;
  239. background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  240. background: rgba(0, 0, 0, 0.8);
  241. -webkit-border-radius: 15px;
  242. -moz-border-radius: 15px;
  243. border-radius: 15px;
  244. text-shadow: 0 1px 2px #222;
  245. color: #FFF;
  246. font-weight: bold;
  247. line-height: 24px;
  248. white-space: nowrap;
  249. }
  250. .fancybox-title-outside-wrap {
  251. position: relative;
  252. margin-top: 10px;
  253. color: #fff;
  254. }
  255. .fancybox-title-inside-wrap {
  256. padding: 3px 30px 6px;
  257. background:#61B331;
  258. }
  259. .fancybox-title-over-wrap {
  260. position: absolute;
  261. bottom: 0;
  262. left: 0;
  263. color: #fff;
  264. padding: 10px;
  265. background: #000;
  266. background: rgba(0, 0, 0, .8);
  267. }
  268. @media (max-width: 480px) {
  269. .fancybox-nav span,
  270. .fancybox-nav:hover span,
  271. .fancybox-close,
  272. .fancybox-close:hover {
  273. background: transparent;
  274. }
  275. .fancybox-close i {
  276. left: 70px;
  277. top: 10px;
  278. }
  279. }
  280. @media (max-width: 320px) {
  281. .fancybox-close i {
  282. left: 30px;
  283. top: 20px;
  284. }
  285. }