Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

87 rader
2.0 KiB

  1. @charset "UTF-8";
  2. /*
  3. * blueimp Gallery Video Factory CSS 1.3.0
  4. * https://github.com/blueimp/Gallery
  5. *
  6. * Copyright 2013, Sebastian Tschan
  7. * https://blueimp.net
  8. *
  9. * Licensed under the MIT license:
  10. * http://www.opensource.org/licenses/MIT
  11. */
  12. .blueimp-gallery > .slides > .slide > .video-content > img {
  13. position: absolute;
  14. top: 0;
  15. right: 0;
  16. bottom: 0;
  17. left: 0;
  18. margin: auto;
  19. width: auto;
  20. height: auto;
  21. max-width: 100%;
  22. max-height: 100%;
  23. /* Prevent artifacts in Mozilla Firefox: */
  24. }
  25. .blueimp-gallery > .slides > .slide > .video-content > video {
  26. position: absolute;
  27. top: 0;
  28. left: 0;
  29. width: 100%;
  30. height: 100%;
  31. }
  32. .blueimp-gallery > .slides > .slide > .video-content > iframe {
  33. position: absolute;
  34. top: 100%;
  35. left: 0;
  36. width: 100%;
  37. height: 100%;
  38. border: none;
  39. }
  40. .blueimp-gallery > .slides > .slide > .video-playing > iframe {
  41. top: 0;
  42. }
  43. .blueimp-gallery > .slides > .slide > .video-content > a {
  44. position: absolute;
  45. top: 50%;
  46. right: 0;
  47. left: 0;
  48. margin: -64px auto 0;
  49. width: 128px;
  50. height: 128px;
  51. background: url(/img/video-play.png) center no-repeat;
  52. opacity: 0.8;
  53. cursor: pointer;
  54. }
  55. .blueimp-gallery > .slides > .slide > .video-content > a:hover {
  56. opacity: 1;
  57. }
  58. .blueimp-gallery > .slides > .slide > .video-playing > a,
  59. .blueimp-gallery > .slides > .slide > .video-playing > img {
  60. display: none;
  61. }
  62. .blueimp-gallery > .slides > .slide > .video-content > video {
  63. display: none;
  64. }
  65. .blueimp-gallery > .slides > .slide > .video-playing > video {
  66. display: block;
  67. }
  68. .blueimp-gallery > .slides > .slide > .video-loading > a {
  69. background: url(/img/loading.gif) center no-repeat;
  70. background-size: 64px 64px;
  71. }
  72. /* Replace PNGs with SVGs for capable browsers (excluding IE<9) */
  73. body:last-child .blueimp-gallery > .slides > .slide > .video-content:not(.video-loading) > a {
  74. background-image: url(/img/video-play.svg);
  75. }
  76. /* IE7 fixes */
  77. *+html .blueimp-gallery > .slides > .slide > .video-content {
  78. height: 100%;
  79. }
  80. *+html .blueimp-gallery > .slides > .slide > .video-content > a {
  81. left: 50%;
  82. margin-left: -64px;
  83. }