You are here

360player.css in SoundManager2 6.2

/* General warning: Beta-ish. Code could be a bit cleaner. */

.ui360,
.ui360 * {
 position:relative;
}

.ui360,
.sm2-360ui {
 /* size of the container for the circle, etc. */
 width:50px;
 height:50px;
}

.ui360 {
 position:relative;
 /* a little extra spacing */
 padding-top:1px;
 padding-bottom:1px;
 /*margin-bottom:-18px; /* approximate "line height" we want */
 margin-bottom:0px; /* approximate "line height" we want */
 margin-left:42px; /* 50px, with a few off */
 /*height: 256px;*/
 height: 300px;
}

.ui360 a {
 line-height:50px;
 display:none;
}

.sm2-360ui {
 margin-left:-50px;
}

.ui360 {
 width:auto;
}

.ui360,
.ui360 * {
 vertical-align:middle;
}

.sm2-360ui {
 position:relative;
 display:inline-block; /* firefox 3 et al */
 float:left; /* firefox 2 needs this, inline-block would work with fx3 and others */
 *float:left; /* IE 6+7 */
 *display:inline;
 *clear:left;
}

.sm2-360ui.sm2_playing,
.sm2-360ui.sm2_paused {
 /* bump on top when active */
 z-index:10;
}

.ui360 a.sm2_link { /* this class added to playable links by SM2 */
 position:relative;
}

.ui360 a {
 color:#000;
 text-decoration:none;
}

.ui360 a,
.ui360 a:hover,
.ui360 a:focus {
 padding:2px;
 margin-left:-2px;
 margin-top:-2px;
}

.ui360 a:hover,
.ui360 a:focus {
 background:#eee;
 -moz-border-radius:3px;
 -webkit-border-radius:3px;
 -khtml-border-radius:3px;
 border-radius:3px;
 outline:none;
}

.ui360 .sm2-canvas {
 position:absolute;
 left:0px;
 top:0px;
}

.ui360 .sm2-timing {
 position:absolute;
 display:block;
 left:0px;
 top:0px;
 width:100%;
 height:100%;
 margin:0px;
 font:11px "helvetica neue",helvetica,monaco,lucida,terminal,monospace;
 /*color:#666;*/
 color:#aaa;
 text-align:center;
 line-height:50px;
}

.ui360 .sm2-timing.alignTweak {
 text-indent:1px; /* devious center-alignment tweak for Safari (might break things for others.) */
}

.ui360 .sm2-cover {
 position:absolute;
 left:0px;
 top:0px;
 z-index:2;
 display:none;
}

.ui360 .sm2-360btn {
 position:absolute;
 top:50%;
 left:50%;
 width:22px;
 height:22px;
 margin-left:-11px;
 margin-top:-11px;
 cursor:pointer;
 z-index:3;
}

.ui360 .sm2-360btn-default {
}

.ui360 .sm2-360data {
 display:inline-block;
 font-family:helvetica;
}

.ui360 .sm2-360ui.sm2_playing .sm2-cover,
.ui360 .sm2-360ui.sm2_paused .sm2-cover {
 display:block;
}

/* this could be optimized a fair bit. */

.ui360 .sm2-360btn-default {
 background:transparent url(360-button-play.png) no-repeat 50% 50%;
 _background:transparent url(360-button-play.gif) no-repeat 50% 50%; /* IE 6-only: special crap GIF */
 cursor:pointer;
}

.ui360 .sm2-360ui.sm2_paused .sm2-360btn {
 background:transparent url(360-button-play.png) no-repeat 50% 50%;
 _background:transparent url(360-button-play.gif) no-repeat 50% 50%;
 cursor:pointer;
}

.ui360 .sm2-360btn-default:hover,
.ui360 .sm2-360ui.sm2_paused .sm2-360btn:hover {
 background:transparent url(360-button-play-light.png) no-repeat 50% 50%;
 _background:transparent url(360-button-play.gif) no-repeat 50% 50%;
 cursor:pointer;
}

.ui360 .sm2-360ui.sm2_playing .sm2-360btn:hover,
.ui360 .sm2-360btn-playing:hover {
 background:transparent url(360-button-pause-light.png) no-repeat 50% 50%;
 _background:transparent url(360-button-pause-light.gif) no-repeat 50% 50%;
 cursor:pointer;
}


.ui360 .sm2-360ui.sm2_playing .sm2-timing {
 visibility:visible;
 color: #aaa;
}

.ui360 .sm2-360ui.sm2_buffering .sm2-timing {
 visibility:hidden;
}

.ui360 .sm2-360ui .sm2-timing,
.ui360 .sm2-360ui .sm2-360btn:hover + .sm2-timing,
.ui360 .sm2-360ui.sm2_paused .sm2-timing {
 visibility:hidden;
}

.ui360 .sm2-360ui.sm2_dragging .sm2-timing,
.ui360 .sm2-360ui.sm2_dragging .sm2-360btn:hover + .sm2-timing {
 /* paused + dragging */
 visibility:visible;
}

.ui360 .sm2-360ui.sm2_playing .sm2-360btn,
x.ui360 .sm2-360btn-playing,
.ui360 .sm2-360ui.sm2_dragging .sm2-360btn,
.ui360 .sm2-360ui.sm2_dragging .sm2-360btn:hover,
.ui360 .sm2-360ui.sm2_dragging .sm2-360btn-playing:hover {
 /* don't let pause button show on hover when dragging (or paused and dragging) */
 background:transparent;
 cursor:auto;
}

.ui360 .sm2-360ui.sm2_buffering .sm2-360btn,
.ui360 .sm2-360ui.sm2_buffering .sm2-360btn:hover {
  background:transparent url(icon_loading_spinner.gif) no-repeat 50% 50%;
  opacity:0.5;
  visibility:visible;
}

/* inline list style */

.sm2-inline-list .ui360,
.sm2-inline-block .ui360 {
 position:relative;
 display:inline-block;
 float:left;
 _display:inline;
 margin-bottom:-15px;
}

.sm2-inline-list .ui360 {
 margin-bottom:0px;
}

.sm2-inline-block .ui360 {
 margin-right:8px;
}

.sm2-inline-list .ui360 a {
 display:none;
}

/* annotations */

ul.ui360playlist {
 list-style-type:none;
}

ul.ui360playlist,
ul.ui360playlist li {
 margin:0px;
 padding:0px;
}

div.ui360 div.metadata {
 display:none;
}

div.ui360 a span.metadata,
div.ui360 a span.metadata * {
 /* name of track, note etc. */
 vertical-align:baseline;
}

File

players/ui360/360player.css
View source
  1. /* General warning: Beta-ish. Code could be a bit cleaner. */
  2. .ui360,
  3. .ui360 * {
  4. position:relative;
  5. }
  6. .ui360,
  7. .sm2-360ui {
  8. /* size of the container for the circle, etc. */
  9. width:50px;
  10. height:50px;
  11. }
  12. .ui360 {
  13. position:relative;
  14. /* a little extra spacing */
  15. padding-top:1px;
  16. padding-bottom:1px;
  17. /*margin-bottom:-18px; /* approximate "line height" we want */
  18. margin-bottom:0px; /* approximate "line height" we want */
  19. margin-left:42px; /* 50px, with a few off */
  20. /*height: 256px;*/
  21. height: 300px;
  22. }
  23. .ui360 a {
  24. line-height:50px;
  25. display:none;
  26. }
  27. .sm2-360ui {
  28. margin-left:-50px;
  29. }
  30. .ui360 {
  31. width:auto;
  32. }
  33. .ui360,
  34. .ui360 * {
  35. vertical-align:middle;
  36. }
  37. .sm2-360ui {
  38. position:relative;
  39. display:inline-block; /* firefox 3 et al */
  40. float:left; /* firefox 2 needs this, inline-block would work with fx3 and others */
  41. *float:left; /* IE 6+7 */
  42. *display:inline;
  43. *clear:left;
  44. }
  45. .sm2-360ui.sm2_playing,
  46. .sm2-360ui.sm2_paused {
  47. /* bump on top when active */
  48. z-index:10;
  49. }
  50. .ui360 a.sm2_link { /* this class added to playable links by SM2 */
  51. position:relative;
  52. }
  53. .ui360 a {
  54. color:#000;
  55. text-decoration:none;
  56. }
  57. .ui360 a,
  58. .ui360 a:hover,
  59. .ui360 a:focus {
  60. padding:2px;
  61. margin-left:-2px;
  62. margin-top:-2px;
  63. }
  64. .ui360 a:hover,
  65. .ui360 a:focus {
  66. background:#eee;
  67. -moz-border-radius:3px;
  68. -webkit-border-radius:3px;
  69. -khtml-border-radius:3px;
  70. border-radius:3px;
  71. outline:none;
  72. }
  73. .ui360 .sm2-canvas {
  74. position:absolute;
  75. left:0px;
  76. top:0px;
  77. }
  78. .ui360 .sm2-timing {
  79. position:absolute;
  80. display:block;
  81. left:0px;
  82. top:0px;
  83. width:100%;
  84. height:100%;
  85. margin:0px;
  86. font:11px "helvetica neue",helvetica,monaco,lucida,terminal,monospace;
  87. /*color:#666;*/
  88. color:#aaa;
  89. text-align:center;
  90. line-height:50px;
  91. }
  92. .ui360 .sm2-timing.alignTweak {
  93. text-indent:1px; /* devious center-alignment tweak for Safari (might break things for others.) */
  94. }
  95. .ui360 .sm2-cover {
  96. position:absolute;
  97. left:0px;
  98. top:0px;
  99. z-index:2;
  100. display:none;
  101. }
  102. .ui360 .sm2-360btn {
  103. position:absolute;
  104. top:50%;
  105. left:50%;
  106. width:22px;
  107. height:22px;
  108. margin-left:-11px;
  109. margin-top:-11px;
  110. cursor:pointer;
  111. z-index:3;
  112. }
  113. .ui360 .sm2-360btn-default {
  114. }
  115. .ui360 .sm2-360data {
  116. display:inline-block;
  117. font-family:helvetica;
  118. }
  119. .ui360 .sm2-360ui.sm2_playing .sm2-cover,
  120. .ui360 .sm2-360ui.sm2_paused .sm2-cover {
  121. display:block;
  122. }
  123. /* this could be optimized a fair bit. */
  124. .ui360 .sm2-360btn-default {
  125. background:transparent url(360-button-play.png) no-repeat 50% 50%;
  126. _background:transparent url(360-button-play.gif) no-repeat 50% 50%; /* IE 6-only: special crap GIF */
  127. cursor:pointer;
  128. }
  129. .ui360 .sm2-360ui.sm2_paused .sm2-360btn {
  130. background:transparent url(360-button-play.png) no-repeat 50% 50%;
  131. _background:transparent url(360-button-play.gif) no-repeat 50% 50%;
  132. cursor:pointer;
  133. }
  134. .ui360 .sm2-360btn-default:hover,
  135. .ui360 .sm2-360ui.sm2_paused .sm2-360btn:hover {
  136. background:transparent url(360-button-play-light.png) no-repeat 50% 50%;
  137. _background:transparent url(360-button-play.gif) no-repeat 50% 50%;
  138. cursor:pointer;
  139. }
  140. .ui360 .sm2-360ui.sm2_playing .sm2-360btn:hover,
  141. .ui360 .sm2-360btn-playing:hover {
  142. background:transparent url(360-button-pause-light.png) no-repeat 50% 50%;
  143. _background:transparent url(360-button-pause-light.gif) no-repeat 50% 50%;
  144. cursor:pointer;
  145. }
  146. .ui360 .sm2-360ui.sm2_playing .sm2-timing {
  147. visibility:visible;
  148. color: #aaa;
  149. }
  150. .ui360 .sm2-360ui.sm2_buffering .sm2-timing {
  151. visibility:hidden;
  152. }
  153. .ui360 .sm2-360ui .sm2-timing,
  154. .ui360 .sm2-360ui .sm2-360btn:hover + .sm2-timing,
  155. .ui360 .sm2-360ui.sm2_paused .sm2-timing {
  156. visibility:hidden;
  157. }
  158. .ui360 .sm2-360ui.sm2_dragging .sm2-timing,
  159. .ui360 .sm2-360ui.sm2_dragging .sm2-360btn:hover + .sm2-timing {
  160. /* paused + dragging */
  161. visibility:visible;
  162. }
  163. .ui360 .sm2-360ui.sm2_playing .sm2-360btn,
  164. x.ui360 .sm2-360btn-playing,
  165. .ui360 .sm2-360ui.sm2_dragging .sm2-360btn,
  166. .ui360 .sm2-360ui.sm2_dragging .sm2-360btn:hover,
  167. .ui360 .sm2-360ui.sm2_dragging .sm2-360btn-playing:hover {
  168. /* don't let pause button show on hover when dragging (or paused and dragging) */
  169. background:transparent;
  170. cursor:auto;
  171. }
  172. .ui360 .sm2-360ui.sm2_buffering .sm2-360btn,
  173. .ui360 .sm2-360ui.sm2_buffering .sm2-360btn:hover {
  174. background:transparent url(icon_loading_spinner.gif) no-repeat 50% 50%;
  175. opacity:0.5;
  176. visibility:visible;
  177. }
  178. /* inline list style */
  179. .sm2-inline-list .ui360,
  180. .sm2-inline-block .ui360 {
  181. position:relative;
  182. display:inline-block;
  183. float:left;
  184. _display:inline;
  185. margin-bottom:-15px;
  186. }
  187. .sm2-inline-list .ui360 {
  188. margin-bottom:0px;
  189. }
  190. .sm2-inline-block .ui360 {
  191. margin-right:8px;
  192. }
  193. .sm2-inline-list .ui360 a {
  194. display:none;
  195. }
  196. /* annotations */
  197. ul.ui360playlist {
  198. list-style-type:none;
  199. }
  200. ul.ui360playlist,
  201. ul.ui360playlist li {
  202. margin:0px;
  203. padding:0px;
  204. }
  205. div.ui360 div.metadata {
  206. display:none;
  207. }
  208. div.ui360 a span.metadata,
  209. div.ui360 a span.metadata * {
  210. /* name of track, note etc. */
  211. vertical-align:baseline;
  212. }