audiofield.audiojs.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /*
  2. * Audio.js requires custom styling
  3. */
  4. .audiofield-audiojs audio {
  5. position: absolute;
  6. left: -1px;
  7. }
  8. .audiofield-audiojs {
  9. width: 460px;
  10. height: 36px;
  11. background: #404040;
  12. overflow: hidden;
  13. font-family: monospace;
  14. font-size: 12px;
  15. -webkit-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  16. -moz-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  17. -o-box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  18. box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.3);
  19. }
  20. .audiofield-audiojs .play-pauseZ {
  21. width: 40px;
  22. height: 40px;
  23. padding: 4px 6px;
  24. margin: 0px;
  25. float: left;
  26. overflow: hidden;
  27. border-right: 1px solid #000;
  28. }
  29. .audiofield-audiojs p {
  30. display: none;
  31. width: 25px;
  32. height: 40px;
  33. margin: 0px;
  34. cursor: pointer;
  35. }
  36. .audiofield-audiojs .playZ {
  37. display: block;
  38. }
  39. .audiofield-audiojs .scrubberZ {
  40. position: relative;
  41. float: left;
  42. width: 280px;
  43. background: #5a5a5a;
  44. height: 14px;
  45. margin: 10px;
  46. border-left: 0px;
  47. border-bottom: 0px;
  48. overflow: hidden;
  49. }
  50. .audiofield-audiojs .progressZ {
  51. position: absolute;
  52. top: 0px;
  53. left: 0px;
  54. height: 14px;
  55. width: 0px;
  56. background: #ccc;
  57. z-index: 1;
  58. }
  59. .audiofield-audiojs .loadedZ {
  60. position: absolute;
  61. top: 0px;
  62. left: 0px;
  63. height: 14px;
  64. width: 0px;
  65. background: #000;
  66. }
  67. .audiofield-audiojs .timeZ {
  68. float: left;
  69. height: 36px;
  70. line-height: 36px;
  71. margin: 0px 0px 0px 6px;
  72. padding: 0px 6px 0px 12px;
  73. border-left: 1px solid #000;
  74. color: #ddd;
  75. text-shadow: 1px 1px 0px rgba(125, 0, 0, 0.5);
  76. }
  77. .audiofield-audiojs .timeZ em {
  78. padding: 0px 2px 0px 0px;
  79. color: #f9f9f9;
  80. font-style: normal;
  81. }
  82. .audiofield-audiojs .timeZ strong {
  83. padding: 0px 0px 0px 2px;
  84. font-weight: normal;
  85. }
  86. .audiofield-audiojs .error-messageZ {
  87. float: left;
  88. display: none;
  89. margin: 0px 10px;
  90. height: 36px;
  91. width: 400px;
  92. overflow: hidden;
  93. line-height: 36px;
  94. white-space: nowrap;
  95. color: #fff;
  96. text-overflow: ellipsis;
  97. -o-text-overflow: ellipsis;
  98. -icab-text-overflow: ellipsis;
  99. -khtml-text-overflow: ellipsis;
  100. -moz-text-overflow: ellipsis;
  101. -webkit-text-overflow: ellipsis;
  102. }
  103. .audiofield-audiojs .error-messageZ a {
  104. color: #eee;
  105. text-decoration: none;
  106. padding-bottom: 1px;
  107. border-bottom: 1px solid #999;
  108. white-space: wrap;
  109. }
  110. .audiofield-audiojs .playZ {
  111. background: url('/libraries/audiojs/player-graphics.gif') -2px -1px no-repeat;
  112. }
  113. .audiofield-audiojs .loadingZ {
  114. background: url('/libraries/audiojs/player-graphics.gif') -2px -31px no-repeat;
  115. }
  116. .audiofield-audiojs .errorZ {
  117. background: url('/libraries/audiojs/player-graphics.gif') -2px -61px no-repeat;
  118. }
  119. .audiofield-audiojs .pauseZ {
  120. background: url('/libraries/audiojs/player-graphics.gif') -2px -91px no-repeat;
  121. }
  122. .audiofield-audiojs.playingZ .playZ,
  123. .audiofield-audiojs.playingZ .loadingZ,
  124. .audiofield-audiojs.playingZ .errorZ {
  125. display: none;
  126. }
  127. .audiofield-audiojs.playingZ .pauseZ {
  128. display: block;
  129. }
  130. .audiofield-audiojs.loadingZ .playZ,
  131. .audiofield-audiojs.loadingZ .pauseZ,
  132. .audiofield-audiojs.loadingZ .errorZ {
  133. display: none;
  134. }
  135. .audiofield-audiojs.loadingZ .loadingZ {
  136. display: block;
  137. }
  138. .audiofield-audiojs.errorZ .timeZ,
  139. .audiofield-audiojs.errorZ .playZ,
  140. .audiofield-audiojs.errorZ .pauseZ,
  141. .audiofield-audiojs.errorZ .scrubberZ,
  142. .audiofield-audiojs.errorZ .loadingZ {
  143. display: none;
  144. }
  145. .audiofield-audiojs.errorZ .errorZ {
  146. display: block;
  147. }
  148. .audiofield-audiojs.errorZ .play-pauseZ p {
  149. cursor: auto;
  150. }
  151. .audiofield-audiojs.errorZ .error-messageZ {
  152. display: block;
  153. }
  154. .audiofield-audiojs-frame ol {
  155. padding: 0px;
  156. margin: 0px;
  157. list-style: decimal-leading-zero inside;
  158. color: #ccc;
  159. width: 460px;
  160. border-top: 1px solid #ccc;
  161. font-size: 0.9em;
  162. }
  163. .audiofield-audiojs-frame ol li {
  164. position: relative;
  165. margin: 0px;
  166. padding: 9px 2px 10px;
  167. border-bottom: 1px solid #ccc;
  168. cursor: pointer;
  169. }
  170. .audiofield-audiojs-frame ol li a {
  171. display: block;
  172. text-indent: -3.3ex;
  173. padding: 0px 0px 0px 20px;
  174. }
  175. .audiofield-audiojs-frame li.playing {
  176. color: #aaa;
  177. text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3);
  178. }
  179. .audiofield-audiojs-frame li.playing a {
  180. color: #000;
  181. }
  182. .audiofield-audiojs-frame li.playing:before {
  183. content: '♬';
  184. width: 14px;
  185. height: 14px;
  186. padding: 3px;
  187. line-height: 14px;
  188. margin: 0px;
  189. position: absolute;
  190. left: -24px;
  191. top: 9px;
  192. color: #000;
  193. font-size: 13px;
  194. text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
  195. }