jplayer.audio-preview.blue.monday.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653
  1. /*
  2. * Skin for jPlayer Plugin (jQuery JavaScript Library)
  3. * http://www.happyworm.com/jquery/jplayer
  4. *
  5. * Skin Name: Blue Monday
  6. *
  7. * Copyright (c) 2010-2011 Happyworm Ltd
  8. * Dual licensed under the MIT and GPL licenses.
  9. * - http://www.opensource.org/licenses/mit-license.php
  10. * - http://www.gnu.org/copyleft/gpl.html
  11. *
  12. * Author: Silvia Benvenuti
  13. * Skin Version: 4.0 (jPlayer 2.1.0)
  14. * Date: 1st September 2011
  15. */
  16. div.jp-audio,
  17. div.jp-video {
  18. /* Edit the font-size to counteract inherited font sizing.
  19. * Eg. 1.25em = 1 / 0.8em
  20. */
  21. font-size:1em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */
  22. font-family:Verdana, Arial, sans-serif;
  23. line-height:1.6;
  24. color: #666;
  25. border:1px solid #009be3;
  26. background-color:#eee;
  27. position:relative;
  28. }
  29. div.jp-audio {
  30. width:420px;
  31. }
  32. div.jp-video-270p {
  33. width:480px;
  34. }
  35. div.jp-video-360p {
  36. width:640px;
  37. }
  38. div.jp-video-full {
  39. /* Rules for IE6 (full-screen) */
  40. width:480px;
  41. height:270px;
  42. /* Rules for IE7 (full-screen) - Otherwise the relative container causes other page items that are not position:static (default) to appear over the video/gui. */
  43. position:static !important; position:relative
  44. }
  45. div.jp-video-full div.jp-jplayer {
  46. top: 0;
  47. left: 0;
  48. position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
  49. overflow: hidden;
  50. z-index:1000;
  51. }
  52. div.jp-video-full div.jp-gui {
  53. position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
  54. top: 0;
  55. left: 0;
  56. width:100%;
  57. height:100%;
  58. z-index:1000;
  59. }
  60. div.jp-video-full div.jp-interface {
  61. position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
  62. bottom: 0;
  63. left: 0;
  64. z-index:1000;
  65. }
  66. div.jp-interface {
  67. position: relative;
  68. background-color:#eee;
  69. width:100%;
  70. }
  71. div.jp-audio div.jp-type-single div.jp-interface {
  72. height:80px;
  73. }
  74. div.jp-audio div.jp-type-playlist div.jp-interface {
  75. height:80px;
  76. }
  77. div.jp-video div.jp-interface {
  78. border-top:1px solid #009be3;
  79. }
  80. /* Used to hide non-ui fields **/
  81. span.audioFileID {
  82. display:none;
  83. }
  84. span.audioFileTitle {
  85. display:none;
  86. }
  87. span.audioFileArtist {
  88. display:none;
  89. }
  90. span.playlistID {
  91. display:none;
  92. }
  93. span.playlistIndex {
  94. display:none;
  95. }
  96. /* Not sure if this should be here. Daniel Franklin added this but not
  97. * sure if it is actually needed. Commenting out for now...
  98. span.showID {
  99. display:none;
  100. }
  101. span.showIndex {
  102. display:none;
  103. }
  104. * */
  105. /* @group CONTROLS */
  106. div.jp-controls-holder {
  107. clear: both;
  108. width:440px;
  109. margin:0 auto;
  110. position: relative;
  111. overflow:hidden;
  112. top:-8px; /* This negative value depends on the size of the text in jp-currentTime and jp-duration */
  113. }
  114. div.jp-interface ul.jp-controls {
  115. list-style-type:none;
  116. margin:0;
  117. padding: 0;
  118. overflow:hidden;
  119. }
  120. div.jp-audio ul.jp-controls {
  121. width: 380px;
  122. padding:20px 20px 0 20px;
  123. }
  124. div.jp-video div.jp-type-single ul.jp-controls {
  125. width: 78px;
  126. margin-left: 200px;
  127. }
  128. div.jp-video div.jp-type-playlist ul.jp-controls {
  129. width: 134px;
  130. margin-left: 172px;
  131. }
  132. div.jp-video ul.jp-controls,
  133. div.jp-interface ul.jp-controls li {
  134. display:inline;
  135. float: left;
  136. }
  137. div.jp-interface ul.jp-controls a {
  138. display:block;
  139. overflow:hidden;
  140. text-indent:-9999px;
  141. }
  142. a.jp-play,
  143. a.jp-pause {
  144. width:40px;
  145. height:40px;
  146. }
  147. a.jp-play {
  148. background: url("jplayer.blue.monday.jpg") 0 0 no-repeat;
  149. }
  150. a.jp-play:hover {
  151. background: url("jplayer.blue.monday.jpg") -41px 0 no-repeat;
  152. }
  153. a.jp-pause {
  154. background: url("jplayer.blue.monday.jpg") 0 -42px no-repeat;
  155. display: none;
  156. }
  157. a.jp-pause:hover {
  158. background: url("jplayer.blue.monday.jpg") -41px -42px no-repeat;
  159. }
  160. a.jp-stop, a.jp-previous, a.jp-next {
  161. width:28px;
  162. height:28px;
  163. margin-top:6px;
  164. }
  165. a.jp-stop {
  166. background: url("jplayer.blue.monday.jpg") 0 -83px no-repeat;
  167. margin-left:10px;
  168. }
  169. a.jp-stop:hover {
  170. background: url("jplayer.blue.monday.jpg") -29px -83px no-repeat;
  171. }
  172. a.jp-previous {
  173. background: url("jplayer.blue.monday.jpg") 0 -112px no-repeat;
  174. }
  175. a.jp-previous:hover {
  176. background: url("jplayer.blue.monday.jpg") -29px -112px no-repeat;
  177. }
  178. a.jp-next {
  179. background: url("jplayer.blue.monday.jpg") 0 -141px no-repeat;
  180. }
  181. a.jp-next:hover {
  182. background: url("jplayer.blue.monday.jpg") -29px -141px no-repeat;
  183. }
  184. /* @end */
  185. /* @group progress bar */
  186. div.jp-progress {
  187. overflow:hidden;
  188. background-color: #ddd;
  189. }
  190. div.jp-audio div.jp-progress {
  191. position: absolute;
  192. top:32px;
  193. height:15px;
  194. }
  195. div.jp-audio div.jp-type-single div.jp-progress {
  196. left:110px;
  197. width:186px;
  198. }
  199. div.jp-audio div.jp-type-playlist div.jp-progress {
  200. left:166px;
  201. width:130px;
  202. }
  203. div.jp-video div.jp-progress {
  204. top:0px;
  205. left:0px;
  206. width:100%;
  207. height:10px;
  208. }
  209. div.jp-seek-bar {
  210. background: url("jplayer.blue.monday.jpg") 0 -202px repeat-x;
  211. width:0px;
  212. height:100%;
  213. cursor: pointer;
  214. }
  215. div.jp-play-bar {
  216. background: url("jplayer.blue.monday.jpg") 0 -218px repeat-x ;
  217. width:0px;
  218. height:100%;
  219. }
  220. /* The seeking class is added/removed inside jPlayer */
  221. div.jp-seeking-bg {
  222. background: url("jplayer.blue.monday.seeking.gif");
  223. }
  224. /* @end */
  225. /* @group volume controls */
  226. a.jp-mute,
  227. a.jp-unmute,
  228. a.jp-volume-max {
  229. width:18px;
  230. height:15px;
  231. margin-top:12px;
  232. }
  233. div.jp-audio div.jp-type-single a.jp-mute,
  234. div.jp-audio div.jp-type-single a.jp-unmute {
  235. margin-left: 210px;
  236. }
  237. div.jp-audio div.jp-type-playlist a.jp-mute,
  238. div.jp-audio div.jp-type-playlist a.jp-unmute {
  239. margin-left: 154px;
  240. }
  241. div.jp-audio a.jp-volume-max {
  242. margin-left: 56px;
  243. }
  244. div.jp-video a.jp-mute,
  245. div.jp-video a.jp-unmute,
  246. div.jp-video a.jp-volume-max {
  247. position: absolute;
  248. top:12px;
  249. margin-top:0;
  250. }
  251. div.jp-video a.jp-mute,
  252. div.jp-video a.jp-unmute {
  253. left: 50px;
  254. }
  255. div.jp-video a.jp-volume-max {
  256. left: 134px;
  257. }
  258. a.jp-mute {
  259. background: url("jplayer.blue.monday.jpg") 0 -170px no-repeat;
  260. }
  261. a.jp-mute:hover {
  262. background: url("jplayer.blue.monday.jpg") -19px -170px no-repeat;
  263. }
  264. a.jp-unmute {
  265. background: url("jplayer.blue.monday.jpg") -60px -170px no-repeat;
  266. display: none;
  267. }
  268. a.jp-unmute:hover {
  269. background: url("jplayer.blue.monday.jpg") -79px -170px no-repeat;
  270. }
  271. a.jp-volume-max {
  272. background: url("jplayer.blue.monday.jpg") 0 -186px no-repeat;
  273. }
  274. a.jp-volume-max:hover {
  275. background: url("jplayer.blue.monday.jpg") -19px -186px no-repeat;
  276. }
  277. div.jp-volume-bar {
  278. position: absolute;
  279. overflow:hidden;
  280. background: url("jplayer.blue.monday.jpg") 0 -250px repeat-x;
  281. width:46px;
  282. height:5px;
  283. cursor: pointer;
  284. }
  285. div.jp-audio div.jp-volume-bar {
  286. top:37px;
  287. left:330px;
  288. }
  289. div.jp-video div.jp-volume-bar {
  290. top:17px;
  291. left:72px;
  292. }
  293. div.jp-volume-bar-value {
  294. background: url("jplayer.blue.monday.jpg") 0 -256px repeat-x;
  295. width:0px;
  296. height:5px;
  297. }
  298. /* @end */
  299. /* @group current time and duration */
  300. div.jp-audio div.jp-time-holder {
  301. position:absolute;
  302. top:50px;
  303. }
  304. div.jp-audio div.jp-type-single div.jp-time-holder {
  305. left:110px;
  306. width:186px;
  307. }
  308. div.jp-audio div.jp-type-playlist div.jp-time-holder {
  309. left:166px;
  310. width:130px;
  311. }
  312. div.jp-current-time,
  313. div.jp-duration {
  314. width:60px;
  315. font-size:.64em;
  316. font-style:oblique;
  317. }
  318. div.jp-current-time {
  319. float: left;
  320. display:inline;
  321. }
  322. div.jp-duration {
  323. float: right;
  324. display:inline;
  325. text-align: right;
  326. }
  327. div.jp-video div.jp-current-time {
  328. margin-left:20px;
  329. }
  330. div.jp-video div.jp-duration {
  331. margin-right:20px;
  332. }
  333. /* @end */
  334. /* @group playlist */
  335. div.jp-title {
  336. font-weight:bold;
  337. text-align:center;
  338. }
  339. div.jp-title,
  340. div.jp-playlist {
  341. width:100%;
  342. background-color:#ccc;
  343. border-top:1px solid #009be3;
  344. }
  345. div.jp-type-single div.jp-title,
  346. div.jp-type-playlist div.jp-title,
  347. div.jp-type-single div.jp-playlist {
  348. border-top:none;
  349. }
  350. div.jp-title ul,
  351. div.jp-playlist ul {
  352. list-style-type:none;
  353. margin:0;
  354. padding:0 20px;
  355. font-size:.72em;
  356. }
  357. div.jp-title li {
  358. padding:5px 0;
  359. font-weight:bold;
  360. }
  361. div.jp-playlist li {
  362. padding:5px 0 4px 20px;
  363. border-bottom:1px solid #eee;
  364. }
  365. div.jp-playlist li div {
  366. display:inline;
  367. }
  368. /* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */
  369. div.jp-type-playlist div.jp-playlist li:last-child {
  370. padding:5px 0 5px 20px;
  371. border-bottom:none;
  372. }
  373. div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
  374. list-style-type:square;
  375. list-style-position:inside;
  376. padding-left:7px;
  377. }
  378. div.jp-type-playlist div.jp-playlist a {
  379. color: #333;
  380. text-decoration: none;
  381. }
  382. div.jp-type-playlist div.jp-playlist a:hover {
  383. color:#0d88c1;
  384. }
  385. div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
  386. color:#0d88c1;
  387. }
  388. div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove {
  389. float:right;
  390. display:inline;
  391. text-align:right;
  392. margin-right:10px;
  393. font-weight:bold;
  394. color:#666;
  395. }
  396. div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover {
  397. color:#0d88c1;
  398. }
  399. div.jp-type-playlist div.jp-playlist span.jp-free-media {
  400. float:right;
  401. display:inline;
  402. text-align:right;
  403. margin-right:10px;
  404. }
  405. div.jp-type-playlist div.jp-playlist span.jp-free-media a{
  406. color:#666;
  407. }
  408. div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{
  409. color:#0d88c1;
  410. }
  411. span.jp-artist {
  412. font-size:.8em;
  413. color:#666;
  414. }
  415. /* @end */
  416. div.jp-video-play {
  417. position:absolute;
  418. top:0;
  419. left:0;
  420. width:100%;
  421. cursor:pointer;
  422. background-color:rgba(0,0,0,0); /* Makes IE9 work with the active area over the whole video area. IE6/7/8 only have the button as active area. */
  423. }
  424. div.jp-video-270p div.jp-video-play {
  425. height:270px;
  426. }
  427. div.jp-video-360p div.jp-video-play {
  428. height:360px;
  429. }
  430. div.jp-video-full div.jp-video-play {
  431. height:100%;
  432. z-index:1000;
  433. }
  434. a.jp-video-play-icon {
  435. position:relative;
  436. display:block;
  437. width: 112px;
  438. height: 100px;
  439. margin-left:-56px;
  440. margin-top:-50px;
  441. left:50%;
  442. top:50%;
  443. background: url("jplayer.blue.monday.video.play.png") 0 0 no-repeat;
  444. text-indent:-9999px;
  445. }
  446. div.jp-video-play:hover a.jp-video-play-icon {
  447. background: url("jplayer.blue.monday.video.play.png") 0 -100px no-repeat;
  448. }
  449. div.jp-jplayer audio,
  450. div.jp-jplayer {
  451. width:0px;
  452. height:0px;
  453. }
  454. div.jp-jplayer {
  455. background-color: #000000;
  456. }
  457. /* @group TOGGLES */
  458. /* The audio toggles are nested inside jp-time-holder */
  459. ul.jp-toggles {
  460. list-style-type:none;
  461. padding:0;
  462. margin:0 auto;
  463. overflow:hidden;
  464. }
  465. div.jp-audio .jp-type-single ul.jp-toggles {
  466. width:25px;
  467. }
  468. div.jp-audio .jp-type-playlist ul.jp-toggles {
  469. width:55px;
  470. margin: 0;
  471. position: absolute;
  472. left: 325px;
  473. top: 50px;
  474. }
  475. div.jp-video ul.jp-toggles {
  476. margin-top:10px;
  477. width:100px;
  478. }
  479. ul.jp-toggles li {
  480. display:block;
  481. float:right;
  482. }
  483. ul.jp-toggles li a {
  484. display:block;
  485. width:25px;
  486. height:18px;
  487. text-indent:-9999px;
  488. line-height:100%; /* need this for IE6 */
  489. }
  490. a.jp-full-screen {
  491. background: url("jplayer.blue.monday.jpg") 0 -310px no-repeat;
  492. margin-left: 20px;
  493. }
  494. a.jp-full-screen:hover {
  495. background: url("jplayer.blue.monday.jpg") -30px -310px no-repeat;
  496. }
  497. a.jp-restore-screen {
  498. background: url("jplayer.blue.monday.jpg") -60px -310px no-repeat;
  499. margin-left: 20px;
  500. }
  501. a.jp-restore-screen:hover {
  502. background: url("jplayer.blue.monday.jpg") -90px -310px no-repeat;
  503. }
  504. a.jp-repeat {
  505. background: url("jplayer.blue.monday.jpg") 0 -290px no-repeat;
  506. }
  507. a.jp-repeat:hover {
  508. background: url("jplayer.blue.monday.jpg") -30px -290px no-repeat;
  509. }
  510. a.jp-repeat-off {
  511. background: url("jplayer.blue.monday.jpg") -60px -290px no-repeat;
  512. }
  513. a.jp-repeat-off:hover {
  514. background: url("jplayer.blue.monday.jpg") -90px -290px no-repeat;
  515. }
  516. a.jp-shuffle {
  517. background: url("jplayer.blue.monday.jpg") 0 -270px no-repeat;
  518. margin-left: 5px;
  519. }
  520. a.jp-shuffle:hover {
  521. background: url("jplayer.blue.monday.jpg") -30px -270px no-repeat;
  522. }
  523. a.jp-shuffle-off {
  524. background: url("jplayer.blue.monday.jpg") -60px -270px no-repeat;
  525. margin-left: 5px;
  526. }
  527. a.jp-shuffle-off:hover {
  528. background: url("jplayer.blue.monday.jpg") -90px -270px no-repeat;
  529. }
  530. /* @end */
  531. /* @group NO SOLUTION error feedback */
  532. .jp-no-solution {
  533. position:absolute;
  534. width:390px;
  535. margin-left:-202px;
  536. left:50%;
  537. top: 10px;
  538. padding:5px;
  539. font-size:.8em;
  540. background-color:#eee;
  541. border:2px solid #009be3;
  542. color:#000;
  543. display:none;
  544. }
  545. .jp-no-solution a {
  546. color:#000;
  547. }
  548. .jp-no-solution span {
  549. font-size:1em;
  550. display:block;
  551. text-align:center;
  552. font-weight:bold;
  553. }
  554. /* @end */