You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

141 lines
3.2 KiB

  1. .bss-slides{
  2. position: relative;
  3. display: block;
  4. line-height: 0;/*removes the gap if you put a border on the slideshow div*/
  5. }
  6. figcaption {
  7. line-height: 1.5; /* restores line-height to the child element*/
  8. }
  9. .bss-slides:focus{
  10. outline: 0;
  11. }
  12. .bss-slides figure{
  13. position: absolute;
  14. top: 0;
  15. width: 100%;
  16. }
  17. .bss-slides figure:first-child{
  18. position: relative;
  19. }
  20. .bss-slides figure img{
  21. opacity: 0;
  22. -webkit-transition: opacity 1.2s;
  23. transition: opacity 1.2s;
  24. -webkit-backface-visibility: hidden;
  25. backface-visibility: hidden;
  26. }
  27. .bss-slides .bss-show{
  28. z-index: 2;
  29. }
  30. .bss-slides .bss-show img{
  31. opacity: 1;
  32. -webkit-backface-visibility: hidden;
  33. backface-visibility: hidden;
  34. position: relative;
  35. }
  36. .bss-slides figcaption{
  37. position: absolute;
  38. font-family: sans-serif;
  39. font-size: .8em;
  40. bottom: .75em;
  41. right: .35em;
  42. padding: .25em;
  43. color: #fff;
  44. background: #000;
  45. background: rgba(0,0,0, .25);
  46. border-radius: 2px;
  47. opacity: 0;
  48. -webkit-transition: opacity 1.2s;
  49. transition: opacity 1.2s;
  50. }
  51. .bss-slides .bss-show figcaption{
  52. z-index: 3;
  53. opacity: 1;
  54. }
  55. .bss-slides figcaption a{
  56. color: #fff;
  57. }
  58. .bss-next, .bss-prev{
  59. color: #fff;
  60. position: absolute;
  61. background: #000;
  62. background: rgba(0,0,0, .6);
  63. top: 50%;
  64. z-index: 4;
  65. font-size: 2em;
  66. margin-top: -1.2em;
  67. opacity: .3;
  68. -webkit-user-select: none;
  69. -moz-user-select: none;
  70. -ms-user-select: none;
  71. user-select: none;
  72. }
  73. .bss-next:hover, .bss-prev:hover{
  74. cursor: pointer;
  75. opacity: 1;
  76. }
  77. .bss-next{
  78. right: -1px;
  79. padding: 10px 5px 15px 10px;
  80. border-top-left-radius: 3px;
  81. border-bottom-left-radius: 3px;
  82. }
  83. .bss-prev{
  84. left: 0;
  85. padding: 10px 10px 15px 5px;
  86. border-top-right-radius: 3px;
  87. border-bottom-right-radius: 3px;
  88. }
  89. .bss-fullscreen{
  90. display: block;
  91. width: 32px;
  92. height: 32px;
  93. background: rgba(0,0,0,.4) url(../img/arrows-alt_ffffff_64.png);
  94. -webkit-background-size: contain;
  95. background-size: contain;
  96. position: absolute;
  97. top: 5px;
  98. left: 5px;
  99. cursor: pointer;
  100. opacity: .3;
  101. }
  102. .bss-fullscreen:hover{
  103. opacity: .8;
  104. }
  105. :-webkit-full-screen .bss-fullscreen{
  106. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  107. -webkit-background-size: contain;
  108. background-size: contain;
  109. }
  110. :-moz-full-screen .bss-fullscreen{
  111. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  112. background-size: contain;
  113. }
  114. :-ms-fullscreen .bss-fullscreen{
  115. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  116. background-size: contain;
  117. }
  118. :full-screen .bss-fullscreen{
  119. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  120. -webkit-background-size: contain;
  121. background-size: contain;
  122. }
  123. :-webkit-full-screen .bss-fullscreen{
  124. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  125. -webkit-background-size: contain;
  126. background-size: contain;
  127. }
  128. :-moz-full-screen .bss-fullscreen{
  129. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  130. background-size: contain;
  131. }
  132. :-ms-fullscreen .bss-fullscreen{
  133. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  134. background-size: contain;
  135. }
  136. :fullscreen .bss-fullscreen{
  137. background: rgba(0,0,0,.4) url(../img/compress_ffffff_64.png);
  138. -webkit-background-size: contain;
  139. background-size: contain;
  140. }