PageRenderTime 133ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 1ms

/templates/jplayer.midnight.black.css

https://gitlab.com/x33n/ampache
CSS | 749 lines | 604 code | 105 blank | 40 comment | 0 complexity | 8821ccfd04345beff941565e15e091d7 MD5 | raw file
  1. /*
  2. * Skin for jPlayer Plugin (jQuery JavaScript Library)
  3. * http://www.jplayer.org
  4. *
  5. * Skin Name: Midnight Black
  6. *
  7. * Copyright (c) 2010-2012 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: Per Sandström (https://github.com/persand)
  13. * Maintainer: Kasim Ahmic (https://github.com/TheInfection)
  14. * Skin Version: 2.6.3 (jPlayer 2.1.x, 2.2.x, 2.3.x, 2.4.x)
  15. * Date: October 2nd, 2013
  16. */
  17. body {
  18. background: none;
  19. background-color: rgb(25, 25, 25);
  20. }
  21. div.jp-area {
  22. margin-left: 230px;
  23. margin-right: auto;
  24. margin-top: 10px;
  25. width: 500px;
  26. min-width: 500px;
  27. }
  28. a:active, a:focus {
  29. outline: none; /* To keep Google Chrome from adding that ugly yellow border/outlune on buttons when clicked */
  30. }
  31. div.jp-audio,
  32. div.jp-audio-stream,
  33. div.jp-video {
  34. /* Edit the font-size to counteract inherited font sizing.
  35. * Eg. 1.25em = 1 / 0.8em
  36. */
  37. font-size: 1.25em; /* 1.25em for testing in site pages */ /* No parent CSS that can effect the size in the demos ZIP */
  38. font-family: 'Verdana', Arial, sans-serif;
  39. line-height: 1.6;
  40. color: #999;
  41. border:1px solid #191919;
  42. background-color: #eee;
  43. }
  44. div.jp-audio {
  45. width: 480px;
  46. }
  47. div.jp-audio-stream {
  48. width: 150px;
  49. }
  50. div.jp-video-270p {
  51. width: 480px;
  52. }
  53. div.jp-video-360p {
  54. width: 640px;
  55. }
  56. div.jp-video-full {
  57. /* Rules for IE6 (full-screen) */
  58. width: 480px;
  59. height: 270px;
  60. /* 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. */
  61. position: static !important;
  62. position: relative;
  63. }
  64. /* The z-index rule is defined in this manner to enable Popcorn plugins that add overlays to video area. EG. Subtitles. */
  65. div.jp-video-full div div {
  66. z-index: 1000;
  67. }
  68. div.jp-video-full div.jp-jplayer {
  69. top: 0;
  70. left: 0;
  71. position: fixed !important; position: relative; /* Rules for IE6 (full-screen) */
  72. overflow: hidden;
  73. }
  74. div.jp-video-full div.jp-gui {
  75. position: fixed !important; position: static; /* Rules for IE6 (full-screen) */
  76. top: 0;
  77. left: 0;
  78. width: 100%;
  79. height: 100%;
  80. z-index: 1001; /* 1 layer above the others. */
  81. }
  82. div.jp-video-full div.jp-interface {
  83. position: absolute !important; position: relative; /* Rules for IE6 (full-screen) */
  84. bottom: 0;
  85. left: 0;
  86. }
  87. div.jp-interface {
  88. position: relative;
  89. /*background: #191919 url("../modules/jquery-jplayer-midnight-black/jplayer.midnight.black.interface.png") repeat-x;*/
  90. background-color: rgb(25, 25, 25);
  91. width: 100%;
  92. }
  93. div.jp-audio div.jp-type-single div.jp-interface {
  94. height: 75px;
  95. }
  96. div.jp-audio div.jp-type-playlist div.jp-interface {
  97. height: 70px;
  98. }
  99. div.jp-audio-stream div.jp-type-single div.jp-interface {
  100. height: 50px;
  101. }
  102. div.jp-video div.jp-interface {
  103. border-top: 1px solid #191919;
  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. position: absolute;
  122. top: 15px;
  123. left: 15px;
  124. right: 15px;
  125. padding: 0;
  126. }
  127. div.jp-audio-stream ul.jp-controls {
  128. position: absolute;
  129. top: 5px;
  130. left: 5px;
  131. right: 5px;
  132. }
  133. div.jp-video div.jp-type-single ul.jp-controls {
  134. width: 78px;
  135. margin-left: 200px;
  136. }
  137. div.jp-video div.jp-type-playlist ul.jp-controls {
  138. width: 134px;
  139. margin-left: 172px;
  140. }
  141. div.jp-video ul.jp-controls,
  142. div.jp-interface ul.jp-controls li {
  143. display: inline;
  144. float: left;
  145. }
  146. div.jp-interface ul.jp-controls a {
  147. display: block;
  148. overflow: hidden;
  149. text-indent: -9999px;
  150. }
  151. a.jp-play,
  152. a.jp-pause {
  153. width: 40px;
  154. height: 40px;
  155. }
  156. a.jp-play, a.jp-play:hover, a.jp-pause, a.jp-pause:hover, a.jp-stop, a.jp-stop:hover, a.jp-previous, a.jp-previous:hover, a.jp-next, a.jp-next:hover, div.jp-seek-bar, div.jp-play-bar, a.jp-mute, a.jp-mute:hover, a.jp-unmute, a.jp-unmute:hover, a.jp-volume-max, a.jp-volume-max:hover, div.jp-volume-bar, div.jp-audio, div.jp-volume-bar, div.jp-volume-bar-value, a.jp-full-screen, a.jp-full-screen:hover, a.jp-restore-screen, a.jp-restore-screen:hover, a.jp-repeat, a.jp-repeat:hover, a.jp-repeat-off, a.jp-repeat-off:hover, a.jp-shuffle, a.jp-shuffle:hover, a.jp-shuffle-off, a.jp-shuffle-off:hover {
  157. background: url("../modules/jquery-jplayer-midnight-black/jplayer.midnight.black.png") no-repeat;
  158. }
  159. a.jp-play {
  160. background-position: 0 0;
  161. }
  162. a.jp-play:hover {
  163. background-position: -41px 0;
  164. }
  165. a.jp-pause {
  166. background-position: 0 -42px;
  167. display: none;
  168. }
  169. a.jp-pause:hover {
  170. background-position: -41px -42px;
  171. }
  172. a.jp-stop, a.jp-previous, a.jp-next {
  173. width: 28px;
  174. height: 28px;
  175. margin-top: 6px;
  176. }
  177. a.jp-stop {
  178. background-position: 0 -83px;
  179. margin-left: 10px;
  180. }
  181. a.jp-stop:hover {
  182. background-position: -29px -83px;
  183. }
  184. a.jp-previous {
  185. background-position: 0 -112px;
  186. }
  187. a.jp-previous:hover {
  188. background-position: -29px -112px;
  189. }
  190. a.jp-next {
  191. background-position: 0 -141px;
  192. }
  193. a.jp-next:hover {
  194. background-position: -29px -141px;
  195. }
  196. /* @end */
  197. /* @group progress bar */
  198. div.jp-progress {
  199. overflow: hidden;
  200. position: absolute;
  201. background: transparent;
  202. }
  203. div.jp-audio div.jp-progress {
  204. top: 27px;
  205. height: 15px;
  206. }
  207. div.jp-audio div.jp-type-single div.jp-progress {
  208. top: 27px;
  209. left: 110px;
  210. right: 112px;
  211. }
  212. div.jp-audio div.jp-type-playlist div.jp-progress {
  213. left: 166px;
  214. right: 179px;
  215. }
  216. div.jp-video div.jp-progress {
  217. top: 0;
  218. left: 0;
  219. width: 100%;
  220. height: 10px;
  221. }
  222. div.jp-seek-bar {
  223. background-repeat: repeat-x;
  224. background-position: 0 -202px;
  225. width: 0;
  226. height: 100%;
  227. cursor: pointer;
  228. border-radius: 5px;
  229. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.25);
  230. overflow: hidden;
  231. }
  232. div.jp-play-bar {
  233. background-repeat: repeat-x;
  234. background-position: 0 -218px;
  235. width:0;
  236. height:100%;
  237. border-radius: 4px;
  238. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.25), 2px 0 5px -2px rgba(0,0,0,0.3);
  239. }
  240. div.jp-video div.jp-seek-bar,
  241. div.jp-video div.jp-play-bar {
  242. border-radius: 0;
  243. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  244. }
  245. /* The seeking class is added/removed inside jPlayer */
  246. div.jp-seeking-bg {
  247. background: url("../modules/jquery-jplayer-midnight-black/jplayer.midnight.black.seeking.gif");
  248. }
  249. /* @end */
  250. /* @group volume controls */
  251. a.jp-mute,
  252. a.jp-unmute,
  253. a.jp-volume-max {
  254. position: absolute;
  255. width:18px;
  256. height:15px;
  257. }
  258. div.jp-audio div.jp-type-single a.jp-mute,
  259. div.jp-audio div.jp-type-single a.jp-unmute {
  260. top: 12px;
  261. right: 66px;
  262. }
  263. div.jp-audio div.jp-type-playlist a.jp-mute,
  264. div.jp-audio div.jp-type-playlist a.jp-unmute {
  265. top: 12px;
  266. right: 133px;
  267. }
  268. div.jp-audio-stream div.jp-type-single a.jp-mute,
  269. div.jp-audio-stream div.jp-type-single a.jp-unmute {
  270. top: 12px;
  271. right: 67px;
  272. }
  273. div.jp-audio-stream div.jp-type-single a.jp-volume-max,
  274. div.jp-audio div.jp-type-single a.jp-volume-max {
  275. top: 12px;
  276. right: 0;
  277. }
  278. div.jp-audio div.jp-type-playlist a.jp-volume-max {
  279. top: 12px;
  280. right: 66px;
  281. }
  282. div.jp-video a.jp-mute,
  283. div.jp-video a.jp-unmute,
  284. div.jp-video a.jp-volume-max {
  285. position: absolute;
  286. top:12px;
  287. }
  288. div.jp-video a.jp-mute,
  289. div.jp-video a.jp-unmute {
  290. left: 50px;
  291. }
  292. div.jp-video a.jp-volume-max {
  293. left: 130px;
  294. }
  295. a.jp-mute {
  296. background-position: 0 -170px;
  297. }
  298. a.jp-mute:hover {
  299. background-position: -19px -170px;
  300. }
  301. a.jp-unmute {
  302. background-position: -39px -170px;
  303. display: none;
  304. }
  305. a.jp-unmute:hover {
  306. background-position: -60px -170px;
  307. }
  308. a.jp-volume-max {
  309. background-position: 0 -186px;
  310. }
  311. a.jp-volume-max:hover {
  312. background-position: -19px -186px;
  313. }
  314. div.jp-volume-bar {
  315. position: absolute;
  316. overflow: hidden;
  317. background-repeat: repeat-x;
  318. background-position: 0 -250px;
  319. width: 45px;
  320. height: 5px;
  321. cursor: pointer;
  322. border-radius: 5px;
  323. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
  324. }
  325. div.jp-audio div.jp-type-single div.jp-volume-bar {
  326. top: 32px;
  327. right: 38px;
  328. }
  329. div.jp-audio div.jp-type-playlist div.jp-volume-bar {
  330. top: 32px;
  331. right: 104px;
  332. }
  333. div.jp-audio-stream div.jp-volume-bar {
  334. top: 22px;
  335. right: 28px;
  336. }
  337. div.jp-video div.jp-volume-bar {
  338. top: 17px;
  339. left: 72px;
  340. }
  341. div.jp-volume-bar-value {
  342. background-repeat: repeat-x;
  343. background-position: 0 -256px;
  344. width: 0;
  345. height: 5px;
  346. border-radius: 5px;
  347. box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), inset 0 -1px 0 rgba(0,0,0,0.25);
  348. }
  349. /* @end */
  350. /* @group current time and duration */
  351. div.jp-audio div.jp-time-holder {
  352. position: absolute;
  353. top: 45px;
  354. }
  355. div.jp-audio div.jp-type-single div.jp-time-holder {
  356. left: 110px;
  357. right: 112px;
  358. }
  359. div.jp-audio div.jp-type-playlist div.jp-time-holder {
  360. left: 166px;
  361. right: 179px;
  362. }
  363. div.jp-current-time,
  364. div.jp-duration {
  365. width: auto;
  366. font-size: 10px;
  367. font-style: italic;
  368. }
  369. div.jp-current-time {
  370. float: left;
  371. display: inline;
  372. text-align: left;
  373. }
  374. div.jp-duration {
  375. float: right;
  376. display: inline;
  377. text-align: right;
  378. }
  379. div.jp-video div.jp-current-time {
  380. margin-top: 10px;
  381. margin-left: 10px;
  382. }
  383. div.jp-video div.jp-duration {
  384. margin-top: 10px;
  385. margin-right: 10px;
  386. }
  387. /* @end */
  388. /* @group playlist */
  389. div.jp-title {
  390. font-weight: bold;
  391. text-align: center;
  392. color: #FFF;
  393. background: #343433 url("../modules/jquery-jplayer-midnight-black/jplayer.midnight.black.playlist.png") repeat-x
  394. }
  395. div.playing_info {
  396. position: absolute;
  397. left: 10px;
  398. top: 220px;
  399. font-size: 1.5em;
  400. font-family: 'Verdana',Arial,sans-serif;
  401. width: 220px;
  402. }
  403. div.playing_artist {
  404. font-size:0.8em;
  405. }
  406. div.playing_title {
  407. font-size:1.1em;
  408. }
  409. div.jp-title,
  410. div.jp-playlist {
  411. width: 100%;
  412. height: 200px;
  413. background-color: #343433;
  414. border-top: 1px solid #191919;
  415. overflow: auto;
  416. text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  417. z-index: 0;
  418. }
  419. div.jp-type-single div.jp-title,
  420. div.jp-type-playlist div.jp-title,
  421. div.jp-type-single div.jp-playlist {
  422. border-top: none;
  423. }
  424. div.jp-title ul,
  425. div.jp-playlist ul {
  426. list-style-type: none;
  427. margin: 0;
  428. padding: 0;
  429. font-size: .62em;
  430. }
  431. div.jp-title li {
  432. padding: 5px 0;
  433. font-weight: bold;
  434. }
  435. div.jp-playlist li {
  436. padding: 6px 15px;
  437. border-bottom: 1px solid #121212;
  438. background: #343433 url("../modules/jquery-jplayer-midnight-black/jplayer.midnight.black.playlist.png") repeat-x;
  439. text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  440. }
  441. div.jp-playlist li div {
  442. display: inline;
  443. }
  444. /* Note that the first-child (IE6) and last-child (IE6/7/8) selectors do not work on IE */
  445. div.jp-type-playlist div.jp-playlist li:last-child {
  446. border-bottom: none;
  447. }
  448. div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
  449. padding-left: 20px;
  450. }
  451. div.jp-type-playlist div.jp-playlist a {
  452. color: #BBB;
  453. text-decoration: none;
  454. }
  455. div.jp-type-playlist div.jp-playlist a:hover {
  456. color: #FFF;
  457. }
  458. div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
  459. color: #FFF;
  460. font-weight: bold;
  461. }
  462. div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove {
  463. float: right;
  464. display: inline;
  465. text-align: right;
  466. margin-right: 10px;
  467. font-weight: bold;
  468. color: #666;
  469. }
  470. div.jp-type-playlist div.jp-playlist a.jp-playlist-item-remove:hover {
  471. color: #FFF;
  472. }
  473. div.jp-type-playlist div.jp-playlist span.jp-free-media {
  474. float: right;
  475. display: inline;
  476. text-align: right;
  477. margin-right: 10px;
  478. }
  479. div.jp-type-playlist div.jp-playlist span.jp-free-media a{
  480. color: #666;
  481. }
  482. div.jp-type-playlist div.jp-playlist span.jp-free-media a:hover{
  483. color: #FFF;
  484. }
  485. span.jp-artist {
  486. font-size: .8em;
  487. color: #666;
  488. }
  489. /* @end */
  490. div.jp-video-play {
  491. width: 100%;
  492. overflow: hidden; /* Important for nested negative margins to work in modern browsers */
  493. cursor: pointer;
  494. 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. */
  495. }
  496. div.jp-video-270p div.jp-video-play {
  497. margin-top: -270px;
  498. height: 270px;
  499. }
  500. div.jp-video-360p div.jp-video-play {
  501. margin-top: -360px;
  502. height: 360px;
  503. }
  504. div.jp-video-full div.jp-video-play {
  505. height: 100%;
  506. }
  507. a.jp-video-play-icon {
  508. position:relative;
  509. display:block;
  510. width: 112px;
  511. height: 100px;
  512. margin-left: -56px;
  513. margin-top: -50px;
  514. left: 50%;
  515. top: 50%;
  516. background: url("../modules/jquery-jplayer-midnight-black/jplayer.midnight.black.video.play.png") 0 0 no-repeat;
  517. text-indent: -9999px;
  518. }
  519. div.jp-video-play:hover a.jp-video-play-icon {
  520. background: url("../modules/jquery-jplayer-midnight-black/jplayer.midnight.black.video.play.png") 0 -100px no-repeat;
  521. }
  522. div.jp-jplayer audio,
  523. div.jp-jplayer {
  524. width: 0;
  525. height: 0;
  526. }
  527. div.jp-jplayer {
  528. background-color: #000000;
  529. position: absolute;
  530. top: 10px;
  531. left: 10px;
  532. }
  533. /* @group TOGGLES */
  534. /* The audio toggles are nested inside jp-time-holder */
  535. ul.jp-toggles {
  536. list-style-type: none;
  537. padding: 0;
  538. margin: 0 auto;
  539. overflow: hidden;
  540. }
  541. div.jp-audio .jp-type-single ul.jp-toggles {
  542. width: auto;
  543. position: absolute;
  544. left: 50%;
  545. margin: 0 0 0 -14px;
  546. }
  547. div.jp-audio .jp-type-playlist ul.jp-toggles {
  548. width: auto;
  549. margin: 0;
  550. position: absolute;
  551. right: 15px;
  552. top: 22px;
  553. }
  554. div.jp-video ul.jp-toggles {
  555. width: auto;
  556. position: absolute;
  557. right: 15px;
  558. top: 6px;
  559. }
  560. ul.jp-toggles li {
  561. display: block;
  562. float: right;
  563. }
  564. ul.jp-toggles li a {
  565. display: block;
  566. width: 28px;
  567. height: 28px;
  568. text-indent: -9999px;
  569. line-height: 100%; /* need this for IE6 */
  570. }
  571. a.jp-full-screen {
  572. background-position: 0 -317px;
  573. margin-left: 20px;
  574. }
  575. a.jp-full-screen:hover {
  576. background-position: -30px -317px;
  577. }
  578. a.jp-restore-screen {
  579. background-position: -60px -317px;
  580. margin-left: 20px;
  581. }
  582. a.jp-restore-screen:hover {
  583. background-position: -90px -317px;
  584. }
  585. a.jp-repeat {
  586. background-position: 0 -289px;
  587. }
  588. a.jp-repeat:hover {
  589. background-position: -30px -289px;
  590. }
  591. a.jp-repeat-off {
  592. background-position: -60px -289px;
  593. }
  594. a.jp-repeat-off:hover {
  595. background-position: -90px -289px;
  596. }
  597. a.jp-shuffle {
  598. background-position: 0 -261px;
  599. margin-left: 5px;
  600. }
  601. a.jp-shuffle:hover {
  602. background-position: -30px -261px;
  603. }
  604. a.jp-shuffle-off {
  605. background-position: -60px -261px;
  606. margin-left: 5px;
  607. }
  608. a.jp-shuffle-off:hover {
  609. background-position: -90px -261px;
  610. }
  611. /* @end */
  612. /* @group NO SOLUTION error feedback */
  613. .jp-no-solution {
  614. padding: 5px;
  615. font-size: .67em;
  616. background: #121112 url("../modules/jquery-jplayer-midnight-black/jplayer.midnight.black.interface.png") repeat-x;
  617. border-top: 1px solid #191919;
  618. color: #CCC;
  619. display: none;
  620. text-align: center;
  621. }
  622. .jp-no-solution a {
  623. color: #CCC;
  624. }
  625. .jp-no-solution span {
  626. font-size: 1em;
  627. display: block;
  628. text-align: center;
  629. font-weight: bold;
  630. }
  631. .broadcast {
  632. position: absolute;
  633. top: 2px;
  634. margin-right: 2px;
  635. left:210px;
  636. font-size: 0.67em;
  637. }
  638. .broadcast-info {
  639. display: inline;
  640. }
  641. .broadcast-action {
  642. display: inline;
  643. }
  644. /* @end */