slideshow-shortcode.css 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. .slideshow-window {
  2. background-color: #222;
  3. border: 20px solid #222;
  4. border-radius: 10px;
  5. height: 0;
  6. margin-bottom: 20px;
  7. overflow: hidden;
  8. padding-top: 30px !important;
  9. padding-bottom: 56.25% !important;
  10. position: relative;
  11. z-index: 1;
  12. }
  13. .slideshow-window.slideshow-white {
  14. background-color: #fff;
  15. border-color: #fff;
  16. }
  17. .slideshow-window, .slideshow-window * {
  18. -moz-box-sizing: content-box;
  19. -webkit-box-sizing: content-box;
  20. box-sizing: content-box;
  21. }
  22. .slideshow-loading {
  23. height: 100%;
  24. text-align: center;
  25. margin: auto;
  26. }
  27. body div.slideshow-window * img {
  28. /* Override any styles that might be present in the page stylesheet */
  29. background-color: transparent !important;
  30. background-image: none !important;
  31. border-width: 0 !important;
  32. display: block;
  33. margin: 0 auto;
  34. max-width: 100%;
  35. max-height: 100%;
  36. padding: 0 !important;
  37. position: relative;
  38. -webkit-transform: translateY(-50%);
  39. -ms-transform: translateY(-50%);
  40. transform: translateY(-50%);
  41. top: 50%;
  42. }
  43. .slideshow-loading img {
  44. vertical-align: middle;
  45. }
  46. .slideshow-slide {
  47. display: none;
  48. height: 100% !important;
  49. left: 0;
  50. margin: auto;
  51. position: absolute;
  52. text-align: center;
  53. top: 0;
  54. width: 100% !important;
  55. }
  56. .slideshow-slide img {
  57. vertical-align: middle;
  58. }
  59. .slideshow-line-height-hack {
  60. overflow: hidden;
  61. width: 0px;
  62. font-size: 0px;
  63. }
  64. .slideshow-slide-caption {
  65. font-size: 13px;
  66. font-family: "Helvetica Neue", sans-serif;
  67. color: #f7f7f7;
  68. text-shadow: #222 1px 1px 2px;
  69. line-height: 25px;
  70. height: 25px;
  71. position: absolute;
  72. bottom: 5px;
  73. left: 0;
  74. z-index: 100;
  75. width: 100%;
  76. text-align: center;
  77. }
  78. /* @noflip */
  79. .slideshow-controls {
  80. z-index: 1000;
  81. position: absolute;
  82. bottom: 30px;
  83. margin: auto;
  84. text-align: center;
  85. width: 100%;
  86. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  87. opacity: 0.5;
  88. direction:ltr;
  89. -webkit-transition: 300ms opacity ease-out;
  90. -moz-transition: 300ms opacity ease-out;
  91. transition: 300ms opacity ease-out;
  92. }
  93. .slideshow-window:hover .slideshow-controls {
  94. -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  95. opacity: 1;
  96. }
  97. body div div.slideshow-controls a,
  98. body div div.slideshow-controls a:hover {
  99. border:2px solid rgba(255,255,255,0.1) !important;
  100. background-color: #000 !important;
  101. background-color: rgba(0,0,0,0.6) !important;
  102. background-image: url('../img/slideshow-controls.png') !important;
  103. background-repeat: no-repeat;
  104. background-size: 142px 16px !important;
  105. background-position: -34px 8px !important;
  106. color: #222 !important;
  107. margin: 0 5px !important;
  108. padding: 0 !important;
  109. display: inline-block !important;
  110. *display: inline;
  111. zoom: 1;
  112. height: 32px !important;
  113. width: 32px !important;
  114. line-height: 32px !important;
  115. text-align: center !important;
  116. -khtml-border-radius: 10em !important;
  117. -webkit-border-radius: 10em !important;
  118. -moz-border-radius: 10em !important;
  119. border-radius: 10em !important;
  120. -webkit-transition: 300ms border-color ease-out;
  121. -moz-transition: 300ms border-color ease-out;
  122. -o-transition: 300ms border-color ease-out;
  123. transition: 300ms border-color ease-out;
  124. }
  125. @media only screen and (-webkit-min-device-pixel-ratio: 1.5) {
  126. body div div.slideshow-controls a,
  127. body div div.slideshow-controls a:hover {
  128. background-image: url('../img/slideshow-controls-2x.png') !important;
  129. }
  130. }
  131. body div div.slideshow-controls a:hover {
  132. border-color: rgba(255,255,255,1) !important;
  133. }
  134. body div div.slideshow-controls a:first-child { background-position: -76px 8px !important;}
  135. body div div.slideshow-controls a:last-child { background-position: -117px 8px !important;}
  136. body div div.slideshow-controls a:nth-child(2) { background-position: -34px 8px !important;}
  137. body div div.slideshow-controls a.running { background-position: -34px 8px !important;}
  138. body div div.slideshow-controls a.paused { background-position: 9px 8px !important;}
  139. .slideshow-controls a img {
  140. border: 50px dotted fuchsia;
  141. }