photoswipe.css 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. /* For inline examples only */
  2. #PhotoSwipeTarget { width: 100%; height: 200px; }
  3. #Indicators { text-align: center; margin-top: 20px; }
  4. #Indicators span { display: inline-block; height: 10px; width: 10px; margin: 0 10px 0 0; padding: 0; -webkit-border-radius:5px; -moz-border-radius:5px; -o-border-radius:5px; border-radius:5px; background: #c5c5c5; overflow:hidden; }
  5. #Indicators span.current{ background: #EEBF02; }
  6. body.ps-active, body.ps-building, div.ps-active, div.ps-building
  7. {
  8. background: #000;
  9. overflow: hidden;
  10. }
  11. body.ps-active *, div.ps-active *
  12. {
  13. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  14. display: none;
  15. }
  16. body.ps-active *:focus, div.ps-active *:focus
  17. {
  18. outline: 0;
  19. }
  20. /* Document overlay */
  21. div.ps-document-overlay
  22. {
  23. background: #000;
  24. }
  25. /* UILayer */
  26. div.ps-uilayer {
  27. background: #000;
  28. cursor: pointer;
  29. }
  30. /* Zoom/pan/rotate layer */
  31. div.ps-zoom-pan-rotate{
  32. background: #000;
  33. }
  34. div.ps-zoom-pan-rotate * { display: block; }
  35. /* Carousel */
  36. div.ps-carousel-item-loading
  37. {
  38. background: url(../images/loader.gif) no-repeat center center;
  39. }
  40. div.ps-carousel-item-error
  41. {
  42. background: url(../images/error.gif) no-repeat center center;
  43. }
  44. /* Caption */
  45. div.ps-caption
  46. {
  47. background: #000000;
  48. background: -moz-linear-gradient(top, #303130 0%, #000101 100%);
  49. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303130), color-stop(100%,#000101));
  50. border-bottom: 1px solid #42403f;
  51. color: #ffffff;
  52. font-size: 13px;
  53. font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
  54. text-align: center;
  55. }
  56. div.ps-caption * { display: inline; }
  57. div.ps-caption-bottom
  58. {
  59. border-top: 1px solid #42403f;
  60. border-bottom: none;
  61. min-height: 44px;
  62. }
  63. div.ps-caption-content
  64. {
  65. padding: 13px;
  66. display: block;
  67. }
  68. /* Toolbar */
  69. div.ps-toolbar
  70. {
  71. background: #000000;
  72. background: -moz-linear-gradient(top, #303130 0%, #000101 100%);
  73. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#303130), color-stop(100%,#000101));
  74. border-top: 1px solid #42403f;
  75. color: #ffffff;
  76. font-size: 13px;
  77. font-family: "Lucida Grande", Helvetica, Arial,Verdana, sans-serif;
  78. text-align: center;
  79. height: 44px;
  80. display: table;
  81. table-layout: fixed;
  82. }
  83. div.ps-toolbar * {
  84. display: block;
  85. }
  86. div.ps-toolbar-top
  87. {
  88. border-bottom: 1px solid #42403f;
  89. border-top: none;
  90. }
  91. div.ps-toolbar-close, div.ps-toolbar-previous, div.ps-toolbar-next, div.ps-toolbar-play
  92. {
  93. cursor: pointer;
  94. display: table-cell;
  95. }
  96. div.ps-toolbar div div.ps-toolbar-content
  97. {
  98. width: 44px;
  99. height: 44px;
  100. margin: 0 auto 0;
  101. background-image: url(../images/icons.png);
  102. background-repeat: no-repeat;
  103. }
  104. div.ps-toolbar-close div.ps-toolbar-content
  105. {
  106. background-position: 0 0;
  107. }
  108. div.ps-toolbar-previous div.ps-toolbar-content
  109. {
  110. background-position: -44px 0;
  111. }
  112. div.ps-toolbar-previous-disabled div.ps-toolbar-content
  113. {
  114. background-position: -44px -44px;
  115. }
  116. div.ps-toolbar-next div.ps-toolbar-content
  117. {
  118. background-position: -132px 0;
  119. }
  120. div.ps-toolbar-next-disabled div.ps-toolbar-content
  121. {
  122. background-position: -132px -44px;
  123. }
  124. div.ps-toolbar-play div.ps-toolbar-content
  125. {
  126. background-position: -88px 0;
  127. }
  128. /* Hi-res display */
  129. @media only screen and (-webkit-min-device-pixel-ratio: 1.5),
  130. only screen and (min--moz-device-pixel-ratio: 1.5),
  131. only screen and (min-resolution: 240dpi)
  132. {
  133. div.ps-toolbar div div.ps-toolbar-content
  134. {
  135. -moz-background-size: 176px 88px;
  136. -o-background-size: 176px 88px;
  137. -webkit-background-size: 176px 88px;
  138. background-size: 176px 88px;
  139. background-image: url(../images/icons@2x.png);
  140. }
  141. }