player.css 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975
  1. @charset "utf-8";
  2. /**************************************************
  3. * MKOnlinePlayer v2.41
  4. * 播放器样式表文件
  5. * 编写:mengkun(https://mkblog.cn)
  6. * 时间:2018-3-13
  7. *************************************************/
  8. blockquote, body, button, dd, dl, dt, fieldset, form, h1, h2, h3, h4, h5, h6, hr, html, input, lengend, li, ol, p, pre, td, textarea, th, ul {
  9. margin: 0;
  10. padding: 0
  11. }
  12. img{width:100px; height:100px; border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;}
  13. body, button, input, select, textarea, th {
  14. color: #2fb3ff;
  15. background-color: #fff;
  16. font-size: 14px;
  17. line-height: 1.5;
  18. font-family: poppin, 'PingFang SC', Tahoma, Arial, \5FAE\8F6F\96C5\9ED1, sans-serif;
  19. font-family: Tahoma, Arial, \5FAE\8F6F\96C5\9ED1, sans-serif/9
  20. }
  21. h1, h2, h3, h4, h5, h6 {
  22. font-size: 100%
  23. }
  24. li {
  25. list-style: none
  26. }
  27. img {
  28. border: 0 none;
  29. -ms-interpolation-mode: bicubic;
  30. image-rendering: optimizeQuality
  31. }
  32. input[type=button], input[type=submit] {
  33. cursor: pointer
  34. }
  35. button {
  36. cursor: pointer
  37. }
  38. table {
  39. border-collapse: collapse;
  40. border-spacing: 0
  41. }
  42. a {
  43. color: #333;
  44. text-decoration: none
  45. }
  46. a:hover {
  47. color: #31c27c;
  48. text-decoration: none
  49. }
  50. a:focus, button:focus, input:focus {
  51. outline: 0
  52. }
  53. .text-center {text-align: center;}
  54. .clear-fix {zoom: 1;}
  55. .clear-fix:before, .clear-fix:after {display: table;line-height: 0;content: "";}
  56. .clear-fix:after {clear: both; }
  57. .hidden {display: none !important;}
  58. /* 彩色主题颜色 */
  59. /* 图片中间圆点 */
  60. .centerCircle {
  61. width: 30px;
  62. height: 30px;
  63. position: absolute;
  64. top: 39%;
  65. margin-left: 73px;
  66. border-radius: 50%;
  67. background: #b3b3b3;
  68. border: 5px solid #fff;
  69. opacity: 0.4;
  70. }
  71. /*滚动条美化*/
  72. .mCSB_container::-webkit-scrollbar{width:0;height:0}
  73. #lyric::-webkit-scrollbar{width:0;height:0}
  74. html,body{
  75. height: 100%;
  76. width: 100%;
  77. background-color: #777970;
  78. overflow: hidden;
  79. }
  80. body {
  81. /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ba43a8+0,ea4fce+62,537bad+100&0.38+0,0.17+61,0.8+100 */
  82. /* IE9 SVG, needs conditional override of 'filter' to 'none' */
  83. background: linear-gradient(312deg,#e9defa 0,#fbfcdb 100%);
  84. /* filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#ffffff');
  85. background-image: -webkit-linear-gradient(200deg, #ffffff, #ffffff);
  86. background-image: -moz-linear-gradient(200deg, #ffffff, #ffffff);
  87. background-image: -o-linear-gradient(200deg, #ffffff, #ffffff);
  88. background-image: -ms-linear-gradient(200deg, #ffffff, #ffffff);
  89. background-image: linear-gradient(200deg, #ffffff, #ffffff);
  90. overflow: hidden;
  91. background: url(../images/beijing.jpg);
  92. background-size: 100% 100%;*/
  93. }
  94. /* 模糊图像层 */
  95. #blur-img {
  96. position: fixed;
  97. height: 100%;
  98. left: -10%;
  99. width: 120%;
  100. overflow: hidden;
  101. }
  102. /* 移动端使用的模糊图像层 */
  103. #mobile-blur {
  104. -webkit-filter: blur(50px);
  105. filter: blur(50px);
  106. -webkit-transform: scale(1.15);
  107. transform: scale(1.15);
  108. position: absolute;
  109. top: 0;
  110. bottom: 0;
  111. left: 0;
  112. z-index: 1;
  113. width: 100%;
  114. background-size: cover;
  115. background-position: bottom center;
  116. }
  117. /* 图像遮罩层 */
  118. .blur-mask {
  119. display: none;
  120. position: absolute;
  121. width: 100%;
  122. height: 100%;
  123. background-color: #000;
  124. filter:alpha(opacity=30);
  125. -moz-opacity:0.3;
  126. opacity:0.3;
  127. top: 0;
  128. left: 0;
  129. overflow: hidden;
  130. }
  131. .mobile-mask {
  132. filter:alpha(opacity=60);
  133. -moz-opacity:0.6;
  134. opacity:0.6;
  135. }
  136. #mkplayer{
  137. display: none;
  138. }
  139. .header {
  140. height: 50px;
  141. position: absolute;
  142. }
  143. .logo {
  144. transition: all 0.25s ease;
  145. -webkit-transition: all 0.25s ease;
  146. -moz-transition: all 0.25s ease;
  147. -o-transition: all 0.25s ease;
  148. -ms-transition: all 0.25s ease;
  149. display: inline-block;
  150. font-size: 23px;
  151. color: #829194;
  152. cursor: pointer;
  153. margin: 10px 20px;
  154. }
  155. .logo:hover {
  156. color: #fff;
  157. }
  158. /* 宽度约束容器 */
  159. .container{
  160. position: relative;
  161. width: 100%;
  162. height: 100%;
  163. max-width: 1200px;
  164. margin: 0 auto;
  165. }
  166. /* 中部主要容器 */
  167. .center{
  168. position: absolute;
  169. width: 100%;
  170. top: 20px;
  171. bottom: 100px;
  172. }
  173. /* 顶部按钮条 */
  174. .btn-bar {
  175. position: absolute;
  176. display: inline-block;
  177. left: 0;
  178. right: 400px;
  179. height: 55px;
  180. }
  181. /* 顶部按钮区域 */
  182. .btn-box {
  183. position: absolute;
  184. top: 10px;
  185. bottom: 10px;
  186. left: 160px;
  187. right: 10px;
  188. }
  189. /* 常规按钮 */
  190. .btn {
  191. transition: all 0.25s ease;
  192. -webkit-transition: all 0.25s ease;
  193. -moz-transition: all 0.25s ease;
  194. -o-transition: all 0.25s ease;
  195. -ms-transition: all 0.25s ease;
  196. -webkit-user-select: none;
  197. -moz-user-select: none;
  198. -ms-user-select: none;
  199. user-select: none;
  200. display: inline-block;
  201. position: relative;
  202. border-radius: 30px;
  203. border: 1px solid #18b4ed;
  204. border: 1px solid rgba(150,150,150,.5);
  205. color: #18b4ed;
  206. opacity: .8;
  207. filter: alpha(opacity=80);
  208. cursor: pointer;
  209. font-size: 14px;
  210. padding: 6px 25px;
  211. margin: 0 2px;
  212. box-shadow: -1px 5px 6px rgb(150, 217, 241);
  213. }
  214. .btn:hover {
  215. border: 1px solid #18b4ed;
  216. opacity: 1;
  217. filter: alpha(opacity=100);
  218. }
  219. .btn[data-action='player'] {
  220. display: none;
  221. }
  222. /* 搜索工具样式 */
  223. #search-area {
  224. padding: 25px 15px;
  225. }
  226. .search-group {
  227. font-size: 0;
  228. padding-bottom: 10px;
  229. }
  230. .search-group>input, .search-group>button {
  231. -webkit-box-sizing: border-box;
  232. -moz-box-sizing: border-box;
  233. box-sizing: border-box;
  234. }
  235. .radio-group>label {
  236. margin-right: 10px;
  237. cursor: pointer;
  238. }
  239. .radio-group>label>input {
  240. vertical-align: -2px;
  241. }
  242. /*搜索*/
  243. .radio-group {
  244. margin-left: -15px;
  245. margin-bottom: -35px;
  246. }
  247. .search-group>input {
  248. color: #555;
  249. border: 2px solid #fff;
  250. background: #fff;
  251. transition: .3s linear;
  252. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  253. padding: 5px;
  254. border-radius: 20px;
  255. height: 35px;
  256. width: 100%;
  257. }
  258. .search-group>button {
  259. border:none;
  260. }
  261. .search-group span {
  262. position: fixed;
  263. font-size: 20px;
  264. margin-left: -33px;
  265. margin-top: -18px;
  266. width: 25px;
  267. height: 25px;
  268. background: url(../images/sou.png);
  269. background-size: 100% 100%;
  270. }
  271. .leo-img {
  272. border-radius:10px;
  273. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  274. width: 30px;
  275. height: 30px;
  276. padding-top:0px;
  277. position: absolute;
  278. margin-top: -2px;
  279. }
  280. /*搜索选中*/
  281. .leo-label {
  282. -webkit-tap-highlight-color: transparent;
  283. margin:15px 30px;
  284. display:inline-block
  285. }
  286. .leo-radio {
  287. display:none
  288. }
  289. .leo-radioInput {
  290. background-color:#fff;
  291. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  292. border-radius:100%;
  293. display:inline-block;
  294. height:16px;
  295. margin-right:10px;
  296. margin-top:-1px;
  297. vertical-align:middle;
  298. width:16px;
  299. line-height:1
  300. }
  301. .leo-radio:checked + .leo-radioInput:after {
  302. background: linear-gradient(to left, #fa6567 0, #fa8587 100%);
  303. box-shadow: 0 2px 6px rgba(228, 63, 66, 0.2);
  304. border-radius:100%;
  305. content:"";
  306. display:inline-block;
  307. height:12px;
  308. margin:2px;
  309. width:12px
  310. }
  311. /* 左侧主体数据区 */
  312. .data-area {
  313. position: absolute;
  314. left: 0;
  315. right: 400px;
  316. top: 60px;
  317. bottom: 0;
  318. overflow: hidden;
  319. }
  320. /* 数据区域容器 */
  321. .data-box {
  322. position: absolute;
  323. left: 10px;
  324. right: 10px;
  325. top: 10px;
  326. bottom: 10px;
  327. overflow-y: auto;
  328. }
  329. /*以下是播放列表 css 样式*/
  330. /* 列表头 */
  331. .list-head {
  332. height: 40px;
  333. }
  334. /* 一项数据 */
  335. .list-item {
  336. width: 100%;
  337. height: 40px;
  338. line-height: 40px;
  339. color: #000;
  340. color: rgb(6, 6, 6);
  341. font-size: 14px;
  342. overflow: hidden;
  343. border-bottom: 1px solid #96d9f1;
  344. cursor: default;
  345. position: relative;
  346. }
  347. /* 正在播放的那项 */
  348. .list-playing {
  349. color: #ff55fa;
  350. }
  351. /* 列表数字 */
  352. .list-num {
  353. display: block;
  354. width: 30px;
  355. text-align: center;
  356. float: left;
  357. overflow: hidden;
  358. }
  359. /* 正在播放的那项数字 */
  360. .list-playing .list-num {
  361. background: url("../images/wave.gif") 10px 20px no-repeat;
  362. text-indent: -99px;
  363. }
  364. /* 音乐名字 */
  365. .music-name {
  366. position: relative;
  367. display: block;
  368. width: auto;
  369. margin-left: 40px;
  370. margin-right: 300px;
  371. height: 100%;
  372. -webkit-user-select: none;
  373. -moz-user-select: none; /*禁止双击选定*/
  374. -ms-user-select: none;
  375. -o-user-select: none;
  376. user-select: none;
  377. }
  378. /* 鼠标滑过时音乐名字被截断 */
  379. .music-name-cult {
  380. display: block;
  381. word-break: keep-all;
  382. white-space: nowrap;
  383. overflow: hidden;
  384. text-overflow: ellipsis;
  385. }
  386. .list-item:hover .music-name-cult {
  387. padding-right: 150px;
  388. }
  389. .list-playing:hover .music-name-cult {
  390. padding-right: 100px;
  391. }
  392. /* 作者名称与音乐专辑 */
  393. .auth-name,.music-album {
  394. position: relative;
  395. display: block;
  396. width: 150px;
  397. float: right;
  398. height: 100%;
  399. word-break: keep-all;
  400. white-space: nowrap;
  401. overflow: hidden;
  402. text-overflow: ellipsis;
  403. }
  404. /* 移动端的菜单图标 */
  405. .list-mobile-menu {
  406. display: none;
  407. }
  408. /*列表中滑动出现的菜单*/
  409. .list-menu {
  410. position: absolute;
  411. right: 10px;
  412. top: 50%;
  413. overflow: hidden;
  414. font-size: 0;
  415. height: 36px;
  416. margin-top: -18px;
  417. float: right;
  418. display: none;
  419. }
  420. .list-item:hover .list-menu {
  421. display: block;
  422. }
  423. .list-head:hover .list-menu {
  424. display: none;
  425. }
  426. /* 列表中滑动出现的小图标 */
  427. .list-icon {
  428. display: block;
  429. width: 36px;
  430. height: 36px;
  431. background-image: url("../images/icon_list_menu.png");
  432. float: left;
  433. margin-left: 10px;
  434. cursor: pointer;
  435. }
  436. .list-playing .icon-play{
  437. display: none;
  438. }
  439. .icon-play {
  440. background-position: -80px 0;
  441. }
  442. .icon-play:hover {
  443. background-position: -120px 0;
  444. }
  445. .icon-download {
  446. background-position: -80px -120px;
  447. }
  448. .icon-download:hover {
  449. background-position: -120px -120px;
  450. }
  451. .icon-share {
  452. background-position: -80px -40px;
  453. }
  454. .icon-share:hover {
  455. background-position: -120px -40px;
  456. }
  457. /* 分享弹窗中的链接框 */
  458. .share-url {
  459. width: 100%;
  460. margin-top: 10px;
  461. margin-bottom: 10px;
  462. line-height: 30px;
  463. box-sizing: border-box;
  464. padding: 0 5px;
  465. border: 1px solid #ccc;
  466. box-shadow: 1px 1px 5px rgba(0,0,0,.1) inset;
  467. color: #333;
  468. height: 35px;
  469. }
  470. .share-tips {
  471. font-size: 12px;
  472. color: #a9a9a9;
  473. }
  474. /* 列表中可以被点击的横条 */
  475. .list-clickable {
  476. cursor: pointer;
  477. }
  478. /* 以下是歌单 css 样式 */
  479. /* 歌单中的一项 */
  480. .sheet-item {
  481. position: relative;
  482. display: block;
  483. width: 25%;
  484. float: left;
  485. text-align: center;
  486. }
  487. /* 歌单封面 */
  488. .sheet-cover {
  489. display: block;
  490. width: 100px;
  491. height: 100px;
  492. margin: 10px auto;
  493. cursor: pointer;
  494. }
  495. /* 正在播放的列表 */
  496. .sheet-playing:before {
  497. content: url(../images/wave.gif);
  498. position: absolute;
  499. top: 90px;
  500. left: 50%;
  501. margin-left: -45px;
  502. }
  503. /* 歌单名字 */
  504. .sheet-name {
  505. /*padding: 0 5px;*/
  506. display: inline-block;
  507. max-width: 120px;
  508. white-space: nowrap;
  509. text-overflow: ellipsis;
  510. -o-text-overflow: ellipsis;
  511. overflow: hidden;
  512. margin-bottom: 10px;
  513. color: #000;
  514. cursor: pointer;
  515. font-size: 12px;
  516. }
  517. /* 播放列表分割标题栏 */
  518. .sheet-title-bar {
  519. margin: 20px 40px;
  520. color: #fff;
  521. border-radius: 45px;
  522. background: linear-gradient(to left, #fa6567 0, #fa8587 100%);
  523. box-shadow: 0 2px 6px rgba(228, 63, 66, 0.2);
  524. text-align: center;
  525. line-height: 40px;
  526. height: 40px;
  527. }
  528. .login-btn {
  529. cursor: pointer;
  530. }
  531. .login-btn:hover {
  532. color: #31c27c;
  533. }
  534. /* 以下是界面右侧 css 样式 */
  535. /* 播放器主体(歌词和封面) */
  536. .player {
  537. height: 98%;
  538. width: 400px;
  539. float: right;
  540. position: relative;
  541. box-shadow: 0px 0px 6px rgb(150, 217, 241);
  542. border-radius: 50px;
  543. }
  544. /* 歌曲封面区域 */
  545. .cover {
  546. /* animation:wml 7s linear infinite;
  547. -moz-animation:wml 7s linear infinite;
  548. -webkit-animation:wml 7s linear infinite;
  549. -o-animation:wml 7s linear infinite
  550. */
  551. position: relative;
  552. display: block;
  553. width: 186px;
  554. height: 186px;
  555. margin: auto;
  556. top: 10px;
  557. }
  558. @keyframes wml {
  559. to {
  560. transform:rotate(360deg);
  561. -ms-transform:rotate(360deg);
  562. -webkit-transform:rotate(360deg);
  563. -o-transform:rotate(360deg);
  564. -moz-transform:rotate(360deg)
  565. }
  566. }
  567. /* 歌曲封面图片 */
  568. .music-cover {
  569. vertical-align: middle;
  570. width: 176px;
  571. height: 176px;
  572. }
  573. /* 歌词显示区域 */
  574. .lyric {
  575. position: absolute;
  576. left: 10px;
  577. right: 10px;
  578. top: 195px;
  579. bottom: 10px;
  580. overflow: hidden;
  581. text-align: center;
  582. color: #18b4ed;
  583. color: #18b4ed;
  584. line-height: 28px;
  585. padding: 20px 0;
  586. }
  587. /* 歌词ul */
  588. #lyric {
  589. position: absolute;
  590. width: 100%;
  591. top: 0;
  592. bottom: 0;
  593. overflow: hidden;
  594. }
  595. #lyric>li {
  596. word-break: keep-all;
  597. white-space: nowrap;
  598. overflow: hidden;
  599. text-overflow: ellipsis;
  600. }
  601. /* 正在播放的那一句歌词 */
  602. #lyric .lplaying {
  603. background: linear-gradient(to right,#feac5e,#c779d0,#4bc0c8 100%);
  604. -webkit-background-clip: text;
  605. color: transparent;
  606. }
  607. /* 歌词显示区显示的提示语(如加载中、无歌词等) */
  608. .lyric-tip {
  609. position: absolute;
  610. width: 100%;
  611. top: 50%;
  612. }
  613. /* 歌曲信息按钮 */
  614. #music-info {
  615. transition: all 0.25s ease;
  616. -webkit-transition: all 0.25s ease;
  617. -moz-transition: all 0.25s ease;
  618. -o-transition: all 0.25s ease;
  619. -ms-transition: all 0.25s ease;
  620. position: absolute;
  621. width: 27px;
  622. height: 26px;
  623. border-radius: 13px;
  624. right: 10px;
  625. bottom: 10px;
  626. cursor: pointer;
  627. color: #000;
  628. text-align: center;
  629. line-height: 26px;
  630. font-weight: bold;
  631. background-image: url(../images/player.png);
  632. background-position: -28px -367px;
  633. background-color: #FFEB3B;
  634. opacity: 0.3;
  635. filter: Alpha(opacity=30);
  636. }
  637. #music-info:hover {
  638. opacity: 1;
  639. filter: Alpha(opacity=100);
  640. }
  641. /* 标题 */
  642. .info-title {
  643. color: #B2AFAF
  644. }
  645. .info-btn {
  646. cursor: pointer;
  647. color: #31c27c;
  648. }
  649. .info-btn:hover {
  650. text-decoration: underline;
  651. }
  652. /* 底部 */
  653. .footer {
  654. height: 100px;
  655. bottom: 0;
  656. width: 100%;
  657. position: absolute;
  658. box-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  659. background: url(../images/dtbj2.gif);
  660. }
  661. /* 带图片的按钮 */
  662. .player-btn {
  663. background: url(../images/stopm.png);
  664. opacity: .8;
  665. filter: alpha(opacity=80)
  666. }
  667. .player-btn:hover {
  668. opacity: 1;
  669. filter: alpha(opacity=100)
  670. }
  671. /* 暂停状态 */
  672. .btn-state-paused {
  673. width: 40px;
  674. height: 40px;
  675. margin-top: -22px;
  676. margin-left: -20px;
  677. background: url(../images/playm.png);
  678. background-size: 100% 100%;
  679. }
  680. /* 控制按钮(上一首、播放、下一首)区域 */
  681. .con-btn {
  682. float: left;
  683. width: 130px;
  684. height: 106%;
  685. position: relative;
  686. margin: 0 10px;
  687. }
  688. .con-btn a{
  689. display: inline-block;
  690. position: absolute;
  691. top: 50%;
  692. }
  693. .btn-prev{
  694. width: 36px;
  695. height: 36px;
  696. margin-top: -20px;
  697. margin-left: -8px;
  698. background: url(../images/prev.png);
  699. background-size: 100% 100%;
  700. }
  701. .btn-xz{
  702. -webkit-animation: wml 7s linear infinite;
  703. }
  704. .btn-play{
  705. width: 50px;
  706. height: 50px;
  707. margin-top: -26px;
  708. margin-left: -26px;
  709. background-size: 100% 100%;
  710. left: 36%;
  711. }
  712. .btn-next{
  713. width: 36px;
  714. height: 36px;
  715. margin-top: -20px;
  716. margin-right: -8px;
  717. background: url(../images/next.png);
  718. background-size: 100% 100%;
  719. right: 30%;
  720. }
  721. .btn-order{
  722. width: 26px;
  723. height: 26px;
  724. margin-top: -16px;
  725. margin-right: 2px;
  726. background: url(../images/list.png);
  727. background-size: 100% 100%;
  728. right: 0;
  729. }
  730. .btn-order-single {
  731. background: url(../images/one.png);
  732. background-size: 100% 100%;
  733. }
  734. .btn-order-random {
  735. background: url(../images/random.png);
  736. background-size: 100% 100%;
  737. }
  738. /* 音乐进度条区域 */
  739. .progress {
  740. width: auto;
  741. margin-left: 150px;
  742. margin-right: 200px;
  743. height: 100%;
  744. position: relative;
  745. }
  746. /* 限制进度条的盒子 */
  747. .progress-box {
  748. position: absolute;
  749. height: 20px;
  750. left: 10px;
  751. right: 0;
  752. top: 50%;
  753. margin-top: -9px;
  754. }
  755. /* 音量控制区域 */
  756. .vol {
  757. float: right;
  758. width: 200px;
  759. height: 100%;
  760. right: 0;
  761. position: relative;
  762. }
  763. .quiet {
  764. width: 60px;
  765. height: 100%;
  766. position: relative;
  767. float: left;
  768. }
  769. .btn-quiet{
  770. display: inline-block;
  771. position: absolute;
  772. width: 50px;
  773. height: 45px;
  774. margin-top: 27px;
  775. margin-left: 21px;
  776. background: url(../images/kai.png);
  777. background-size: 100% 100%;
  778. }
  779. .btn-state-quiet {
  780. background: url(../images/guan.png);
  781. background-size: 100% 100%;
  782. /* background-position: 0 -182px;*/
  783. }
  784. .volume {
  785. position: relative;
  786. margin-left: 60px;
  787. height: 100%;
  788. overflow: hidden;
  789. }
  790. /* 限制声音进度条的盒子 */
  791. .volume-box {
  792. position: absolute;
  793. height: 20px;
  794. left: 10px;
  795. right: 10px;
  796. top: 50%;
  797. margin-top: -10px;
  798. }
  799. /* 以下是孟坤进度条控件样式区域 */
  800. /* 进度条可点击区域 */
  801. .mkpgb-area {
  802. position: relative;
  803. cursor: pointer;
  804. height: 100%;
  805. }
  806. /* 进度条有背景区域 */
  807. .mkpgb-bar {
  808. position: absolute;
  809. top: 50%;
  810. left: 0;
  811. right: 0;
  812. height: 2px;
  813. margin-top: -1px;
  814. border-radius: 2px;
  815. background-color: #000;
  816. overflow: hidden;
  817. }
  818. /* 进度条已完成区域 */
  819. .mkpgb-cur {
  820. margin-top: -5px;
  821. background: linear-gradient(to right,#FFEB3B,#FF5722,#FFEB3B 100%);
  822. box-shadow: 0 2px 6px rgba(216,137,172,0.2);
  823. }
  824. .mkpgb-cur {
  825. position: absolute;
  826. width: 0;
  827. height: 2px;
  828. top: 50%;
  829. margin-top: -1px;
  830. border-radius: 2px;
  831. transition: all 0.25s ease;
  832. -webkit-transition: all 0.25s ease;
  833. -moz-transition: all 0.25s ease;
  834. -o-transition: all 0.25s ease;
  835. -ms-transition: all 0.25s ease;
  836. }
  837. /* 进度条小点 */
  838. .mkpgb-dot {
  839. width: 10px;
  840. height: 10px;
  841. background-color: #18b4ed;
  842. border-radius: 5px;
  843. overflow: hidden;
  844. position: absolute;
  845. left: 0px;
  846. margin-left: -5px;
  847. top: 50%;
  848. margin-top: -5px;
  849. transition: all 0.25s ease;
  850. -webkit-transition: all 0.25s ease;
  851. -moz-transition: all 0.25s ease;
  852. -o-transition: all 0.25s ease;
  853. -ms-transition: all 0.25s ease;
  854. }
  855. /* 进度条禁止点击样式 */
  856. .mkpgb-locked {
  857. cursor: default;
  858. }
  859. /* 闪动效果作者:qiuye */
  860. .dot-move {
  861. -webkit-box-shadow: 0 0 20px #fff;
  862. -moz-animation: dot-move 3s linear 2s infinite;
  863. -webkit-animation: dot-move 3s linear 2s infinite;
  864. -o-animation: dot-move 3s linear 2s infinite;
  865. -ms-animation: dot-move 3s linear 2s infinite;
  866. }
  867. @-webkit-keyframes dot-move{0%{-webkit-box-shadow: 0 0 20px #fff;}25%{-webkit-box-shadow: 0 0 10px #fff;}50%{-webkit-box-shadow: 0 0 0px #fff;}75%{-webkit-box-shadow: 0 0 10px #fff;}100%{-webkit-box-shadow: 0 0 20px #fff;}}
  868. @keyframes dot-move{0%{-webkit-box-shadow: 0 0 10px #363333;}25%{-webkit-box-shadow: 0 0 7px #363333;}50%{-webkit-box-shadow: 0 0 0px #fff;}75%{-webkit-box-shadow: 0 0 6px #fff;}100%{-webkit-box-shadow: 0 0 10px #363333;}}
  869. /*呼吸灯效果*/
  870. img {
  871. border:none;
  872. }
  873. ol,ul {
  874. list-style:none;
  875. }
  876. em {
  877. font-style:normal;
  878. }
  879. a {
  880. text-decoration:none;
  881. }
  882. .clearfix {
  883. #zoom:1;
  884. }
  885. .clearfix:after {
  886. content:' ';
  887. display:block;
  888. height:0;
  889. clear:both;
  890. color:#fff;
  891. }
  892. .breathe-btn {
  893. /*position:relative;
  894. width:100px;
  895. height:10px;
  896. margin:40px auto;
  897. line-height:40px;
  898. border:1px solid #2b92d4;
  899. border-radius:5px;
  900. color:#fff;
  901. font-size:20px;
  902. text-align:center;
  903. cursor:pointer;
  904. box-shadow:0 1px 2px rgba(0,0,0,.3);
  905. overflow:hidden;
  906. background-image:-webkit-gradient(linear,left top,left bottom,from(#6cc3fe),to(#21a1d0));*/
  907. -webkit-animation-timing-function:ease-in-out;
  908. -webkit-animation-name:breathe;
  909. -webkit-animation-duration:2700ms;
  910. -webkit-animation-iteration-count:infinite;
  911. -webkit-animation-direction:alternate;
  912. }
  913. @-webkit-keyframes breathe {
  914. /*0% {
  915. opacity:.2;
  916. box-shadow:0 1px 2px rgba(255,255,255,0.1);
  917. }*/
  918. 100% {
  919. opacity:1;
  920. /*border:1px solid rgba(59,235,235,1);*/
  921. box-shadow:0 1px 30px rgba(59,255,255,1);
  922. }
  923. }