audio.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818
  1. @charset "utf-8";
  2. .wrapper {
  3. width: 570px;
  4. _width: 575px;
  5. margin: 10px auto;
  6. zoom: 1;
  7. position: relative
  8. }
  9. .tabbody {
  10. height: 355px;
  11. }
  12. .tabbody .panel {
  13. position: absolute;
  14. width: 0;
  15. height: 0;
  16. background: #fff;
  17. overflow: hidden;
  18. display: none;
  19. }
  20. .tabbody .panel.focus {
  21. width: 100%;
  22. height: 355px;
  23. display: block;
  24. }
  25. .tabbody .panel table td {
  26. vertical-align: middle;
  27. }
  28. #audioUrl {
  29. width: 380px;
  30. height: 26px;
  31. line-height: 26px;
  32. margin: 8px 5px;
  33. background: #FFF;
  34. border: 1px solid #d7d7d7;
  35. outline: none;
  36. border-radius: 3px;
  37. padding: 0 5px;
  38. }
  39. #audioSelect {
  40. width: 100px;
  41. display: inline-block;
  42. background: #FFF;
  43. border: 1px solid #EEE;
  44. line-height: 26px;
  45. text-align: center;
  46. color: #333;
  47. text-decoration: none;
  48. border-radius: 3px;
  49. vertical-align: middle;
  50. }
  51. #audioSearchTxt {
  52. margin-left: 15px;
  53. background: #FFF;
  54. width: 200px;
  55. height: 21px;
  56. line-height: 21px;
  57. border: 1px solid #d7d7d7;
  58. }
  59. #searchList {
  60. width: 570px;
  61. overflow: auto;
  62. zoom: 1;
  63. height: 270px;
  64. }
  65. #searchList div {
  66. float: left;
  67. width: 120px;
  68. height: 135px;
  69. margin: 5px 15px;
  70. }
  71. #searchList img {
  72. margin: 2px 8px;
  73. cursor: pointer;
  74. border: 2px solid #fff
  75. }
  76. /*不用缩略图*/
  77. #searchList p {
  78. margin-left: 10px;
  79. }
  80. #audioType {
  81. width: 65px;
  82. height: 23px;
  83. line-height: 22px;
  84. border: 1px solid #d7d7d7;
  85. }
  86. #audioSearchBtn, #audioSearchReset {
  87. /*width: 80px;*/
  88. height: 25px;
  89. line-height: 25px;
  90. background: #eee;
  91. border: 1px solid #d7d7d7;
  92. cursor: pointer;
  93. padding: 0 5px;
  94. }
  95. #preview {
  96. position: relative;
  97. width: 420px;
  98. padding: 0;
  99. overflow: hidden;
  100. margin-left: 10px;
  101. _margin-left: 5px;
  102. height: 280px;
  103. background-color: #ddd;
  104. float: left
  105. }
  106. #preview .previewMsg {
  107. position: absolute;
  108. top: 0;
  109. margin: 0;
  110. padding: 0;
  111. height: 280px;
  112. width: 100%;
  113. background-color: #666;
  114. }
  115. #preview .previewMsg span {
  116. display: block;
  117. margin: 125px auto 0 auto;
  118. text-align: center;
  119. font-size: 18px;
  120. color: #fff;
  121. }
  122. #preview .previewaudio {
  123. position: absolute;
  124. top: 0;
  125. margin: 0;
  126. padding: 0;
  127. height: 280px;
  128. width: 100%;
  129. }
  130. .edui-audio-wrapper fieldset {
  131. border: 1px solid #ddd;
  132. padding-left: 5px;
  133. margin-bottom: 20px;
  134. padding-bottom: 5px;
  135. width: 115px;
  136. }
  137. #audioInfo {
  138. width: 120px;
  139. float: left;
  140. margin-left: 10px;
  141. _margin-left: 7px;
  142. }
  143. fieldset {
  144. border: 1px solid #ddd;
  145. padding-left: 5px;
  146. margin-bottom: 20px;
  147. padding-bottom: 5px;
  148. width: 115px;
  149. }
  150. fieldset legend {
  151. font-weight: bold;
  152. }
  153. fieldset p {
  154. line-height: 30px;
  155. }
  156. fieldset input.txt {
  157. width: 65px;
  158. height: 21px;
  159. line-height: 21px;
  160. margin: 8px 5px;
  161. background: #FFF;
  162. border: 1px solid #d7d7d7;
  163. }
  164. label.url {
  165. font-weight: bold;
  166. margin-left: 5px;
  167. }
  168. #audioFloat div {
  169. cursor: pointer;
  170. opacity: 0.5;
  171. filter: alpha(opacity=50);
  172. margin: 9px;
  173. _margin: 5px;
  174. width: 38px;
  175. height: 36px;
  176. float: left;
  177. }
  178. #audioFloat .focus {
  179. opacity: 1;
  180. filter: alpha(opacity=100)
  181. }
  182. span.view {
  183. display: inline-block;
  184. width: 30px;
  185. float: right;
  186. cursor: pointer;
  187. color: blue
  188. }
  189. /* upload audio */
  190. .tabbody #upload.panel {
  191. width: 0;
  192. height: 0;
  193. overflow: hidden;
  194. position: absolute !important;
  195. clip: rect(1px, 1px, 1px, 1px);
  196. background: #fff;
  197. display: block;
  198. }
  199. .tabbody #upload.panel.focus {
  200. width: 100%;
  201. height: 335px;
  202. display: block;
  203. clip: auto;
  204. }
  205. #upload_alignment div {
  206. cursor: pointer;
  207. opacity: 0.5;
  208. filter: alpha(opacity=50);
  209. margin: 9px;
  210. _margin: 5px;
  211. width: 38px;
  212. height: 36px;
  213. float: left;
  214. }
  215. #upload_alignment .focus {
  216. opacity: 1;
  217. filter: alpha(opacity=100)
  218. }
  219. #upload_left {
  220. width: 427px;
  221. float: left;
  222. }
  223. #upload_left .controller {
  224. height: 30px;
  225. clear: both;
  226. }
  227. #uploadaudioInfo {
  228. margin-top: 10px;
  229. float: right;
  230. padding-right: 8px;
  231. }
  232. #upload .queueList {
  233. margin: 0;
  234. }
  235. #upload p {
  236. margin: 0;
  237. }
  238. .element-invisible {
  239. width: 0 !important;
  240. height: 0 !important;
  241. border: 0;
  242. padding: 0;
  243. margin: 0;
  244. overflow: hidden;
  245. position: absolute !important;
  246. clip: rect(1px, 1px, 1px, 1px);
  247. }
  248. #upload .placeholder {
  249. margin: 10px;
  250. margin-right: 0;
  251. border: 2px dashed #e6e6e6;
  252. *border: 0px dashed #e6e6e6;
  253. height: 161px;
  254. padding-top: 150px;
  255. text-align: center;
  256. width: 97%;
  257. float: left;
  258. background: url(./images/image.png) center 70px no-repeat;
  259. color: #cccccc;
  260. font-size: 18px;
  261. position: relative;
  262. top: 0;
  263. *margin-left: 0;
  264. *left: 10px;
  265. }
  266. #upload .placeholder .webuploader-pick {
  267. font-size: 18px;
  268. background: #00b7ee;
  269. border-radius: 3px;
  270. line-height: 44px;
  271. padding: 0 30px;
  272. *width: 120px;
  273. color: #fff;
  274. display: inline-block;
  275. margin: 0 auto 20px auto;
  276. cursor: pointer;
  277. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  278. }
  279. #upload .placeholder .webuploader-pick-hover {
  280. background: #00a2d4;
  281. }
  282. #filePickerContainer {
  283. text-align: center;
  284. }
  285. #upload .placeholder .flashTip {
  286. color: #666666;
  287. font-size: 12px;
  288. position: absolute;
  289. width: 100%;
  290. text-align: center;
  291. bottom: 20px;
  292. }
  293. #upload .placeholder .flashTip a {
  294. color: #0785d1;
  295. text-decoration: none;
  296. }
  297. #upload .placeholder .flashTip a:hover {
  298. text-decoration: underline;
  299. }
  300. #upload .placeholder.webuploader-dnd-over {
  301. border-color: #999999;
  302. }
  303. #upload .filelist {
  304. list-style: none;
  305. margin: 0;
  306. padding: 0;
  307. overflow-x: hidden;
  308. overflow-y: auto;
  309. position: relative;
  310. height: 285px;
  311. }
  312. #upload .filelist:after {
  313. content: '';
  314. display: block;
  315. width: 0;
  316. height: 0;
  317. overflow: hidden;
  318. clear: both;
  319. }
  320. #upload .filelist li {
  321. width: 113px;
  322. height: 113px;
  323. background: url(./images/bg.png);
  324. text-align: center;
  325. margin: 15px 0 0 20px;
  326. *margin: 15px 0 0 15px;
  327. position: relative;
  328. display: block;
  329. float: left;
  330. overflow: hidden;
  331. font-size: 12px;
  332. }
  333. #upload .filelist li p.log {
  334. position: relative;
  335. top: -45px;
  336. }
  337. #upload .filelist li p.title {
  338. position: absolute;
  339. top: 0;
  340. left: 0;
  341. width: 100%;
  342. overflow: hidden;
  343. white-space: nowrap;
  344. text-overflow: ellipsis;
  345. top: 5px;
  346. text-indent: 5px;
  347. text-align: left;
  348. }
  349. #upload .filelist li p.progress {
  350. position: absolute;
  351. width: 100%;
  352. bottom: 0;
  353. left: 0;
  354. height: 8px;
  355. overflow: hidden;
  356. z-index: 50;
  357. margin: 0;
  358. border-radius: 0;
  359. background: none;
  360. -webkit-box-shadow: 0 0 0;
  361. }
  362. #upload .filelist li p.progress span {
  363. display: none;
  364. overflow: hidden;
  365. width: 0;
  366. height: 100%;
  367. background: #1483d8 url(./images/progress.png) repeat-x;
  368. -webit-transition: width 200ms linear;
  369. -moz-transition: width 200ms linear;
  370. -o-transition: width 200ms linear;
  371. -ms-transition: width 200ms linear;
  372. transition: width 200ms linear;
  373. -webkit-animation: progressmove 2s linear infinite;
  374. -moz-animation: progressmove 2s linear infinite;
  375. -o-animation: progressmove 2s linear infinite;
  376. -ms-animation: progressmove 2s linear infinite;
  377. animation: progressmove 2s linear infinite;
  378. -webkit-transform: translateZ(0);
  379. }
  380. @-webkit-keyframes progressmove {
  381. 0% {
  382. background-position: 0 0;
  383. }
  384. 100% {
  385. background-position: 17px 0;
  386. }
  387. }
  388. @-moz-keyframes progressmove {
  389. 0% {
  390. background-position: 0 0;
  391. }
  392. 100% {
  393. background-position: 17px 0;
  394. }
  395. }
  396. @keyframes progressmove {
  397. 0% {
  398. background-position: 0 0;
  399. }
  400. 100% {
  401. background-position: 17px 0;
  402. }
  403. }
  404. #upload .filelist li p.imgWrap {
  405. position: relative;
  406. z-index: 2;
  407. line-height: 113px;
  408. vertical-align: middle;
  409. overflow: hidden;
  410. width: 113px;
  411. height: 113px;
  412. -webkit-transform-origin: 50% 50%;
  413. -moz-transform-origin: 50% 50%;
  414. -o-transform-origin: 50% 50%;
  415. -ms-transform-origin: 50% 50%;
  416. transform-origin: 50% 50%;
  417. -webit-transition: 200ms ease-out;
  418. -moz-transition: 200ms ease-out;
  419. -o-transition: 200ms ease-out;
  420. -ms-transition: 200ms ease-out;
  421. transition: 200ms ease-out;
  422. }
  423. #upload .filelist li p.imgWrap.notimage {
  424. margin-top: 0;
  425. width: 111px;
  426. height: 111px;
  427. border: 1px #eeeeee solid;
  428. }
  429. #upload .filelist li p.imgWrap.notimage i.file-preview {
  430. margin-top: 15px;
  431. }
  432. #upload .filelist li img {
  433. width: 100%;
  434. }
  435. #upload .filelist li p.error {
  436. background: #f43838;
  437. color: #fff;
  438. position: absolute;
  439. bottom: 0;
  440. left: 0;
  441. height: 28px;
  442. line-height: 28px;
  443. width: 100%;
  444. z-index: 100;
  445. display: none;
  446. }
  447. #upload .filelist li .success {
  448. display: block;
  449. position: absolute;
  450. left: 0;
  451. bottom: 0;
  452. height: 40px;
  453. width: 100%;
  454. z-index: 200;
  455. background: url(./images/success.png) no-repeat right bottom;
  456. background-image: url(./images/success.gif) \9;
  457. }
  458. #upload .filelist li.filePickerBlock {
  459. width: 113px;
  460. height: 113px;
  461. background: url(./images/image.png) no-repeat center 12px;
  462. border: 1px solid #eeeeee;
  463. border-radius: 0;
  464. }
  465. #upload .filelist li.filePickerBlock div.webuploader-pick {
  466. width: 100%;
  467. height: 100%;
  468. margin: 0;
  469. padding: 0;
  470. opacity: 0;
  471. background: none;
  472. font-size: 0;
  473. }
  474. #upload .filelist div.file-panel {
  475. position: absolute;
  476. height: 0;
  477. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
  478. background: rgba(0, 0, 0, 0.5);
  479. width: 100%;
  480. top: 0;
  481. left: 0;
  482. overflow: hidden;
  483. z-index: 300;
  484. }
  485. #upload .filelist div.file-panel span {
  486. width: 24px;
  487. height: 24px;
  488. display: inline;
  489. float: right;
  490. text-indent: -9999px;
  491. overflow: hidden;
  492. background: url(./images/icons.png) no-repeat;
  493. background: url(./images/icons.gif) no-repeat \9;
  494. margin: 5px 1px 1px;
  495. cursor: pointer;
  496. -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  497. -webkit-user-select: none;
  498. -moz-user-select: none;
  499. -ms-user-select: none;
  500. user-select: none;
  501. }
  502. #upload .filelist div.file-panel span.rotateLeft {
  503. display: none;
  504. background-position: 0 -24px;
  505. }
  506. #upload .filelist div.file-panel span.rotateLeft:hover {
  507. background-position: 0 0;
  508. }
  509. #upload .filelist div.file-panel span.rotateRight {
  510. display: none;
  511. background-position: -24px -24px;
  512. }
  513. #upload .filelist div.file-panel span.rotateRight:hover {
  514. background-position: -24px 0;
  515. }
  516. #upload .filelist div.file-panel span.cancel {
  517. background-position: -48px -24px;
  518. }
  519. #upload .filelist div.file-panel span.cancel:hover {
  520. background-position: -48px 0;
  521. }
  522. #upload .statusBar {
  523. height: 45px;
  524. border-bottom: 1px solid #dadada;
  525. margin: 0 10px;
  526. padding: 0;
  527. line-height: 45px;
  528. vertical-align: middle;
  529. position: relative;
  530. }
  531. #upload .statusBar .progress {
  532. border: 1px solid #1483d8;
  533. width: 198px;
  534. background: #fff;
  535. height: 18px;
  536. position: absolute;
  537. top: 12px;
  538. display: none;
  539. text-align: center;
  540. line-height: 18px;
  541. color: #6dbfff;
  542. margin: 0 10px 0 0;
  543. }
  544. #upload .statusBar .progress span.percentage {
  545. width: 0;
  546. height: 100%;
  547. left: 0;
  548. top: 0;
  549. background: #1483d8;
  550. position: absolute;
  551. }
  552. #upload .statusBar .progress span.text {
  553. position: relative;
  554. z-index: 10;
  555. }
  556. #upload .statusBar .info {
  557. display: inline-block;
  558. font-size: 14px;
  559. color: #666666;
  560. }
  561. #upload .statusBar .btns {
  562. position: absolute;
  563. top: 7px;
  564. right: 0;
  565. line-height: 30px;
  566. }
  567. #filePickerBtn {
  568. display: inline-block;
  569. float: left;
  570. }
  571. #upload .statusBar .btns .webuploader-pick,
  572. #upload .statusBar .btns .uploadBtn,
  573. #upload .statusBar .btns .uploadBtn.state-uploading,
  574. #upload .statusBar .btns .uploadBtn.state-paused {
  575. background: #ffffff;
  576. border: 1px solid #cfcfcf;
  577. color: #565656;
  578. padding: 0 18px;
  579. display: inline-block;
  580. border-radius: 3px;
  581. margin-left: 10px;
  582. cursor: pointer;
  583. font-size: 14px;
  584. float: left;
  585. -webkit-user-select: none;
  586. -moz-user-select: none;
  587. -ms-user-select: none;
  588. user-select: none;
  589. }
  590. #upload .statusBar .btns .webuploader-pick-hover,
  591. #upload .statusBar .btns .uploadBtn:hover,
  592. #upload .statusBar .btns .uploadBtn.state-uploading:hover,
  593. #upload .statusBar .btns .uploadBtn.state-paused:hover {
  594. background: #f0f0f0;
  595. }
  596. #upload .statusBar .btns .uploadBtn,
  597. #upload .statusBar .btns .uploadBtn.state-paused {
  598. background: #00b7ee;
  599. color: #fff;
  600. border-color: transparent;
  601. }
  602. #upload .statusBar .btns .uploadBtn:hover,
  603. #upload .statusBar .btns .uploadBtn.state-paused:hover {
  604. background: #00a2d4;
  605. }
  606. #upload .statusBar .btns .uploadBtn.disabled {
  607. pointer-events: none;
  608. filter: alpha(opacity=60);
  609. -moz-opacity: 0.6;
  610. -khtml-opacity: 0.6;
  611. opacity: 0.6;
  612. }
  613. /* 在线文件的文件预览图标 */
  614. i.file-preview {
  615. display: block;
  616. margin: 10px auto;
  617. width: 70px;
  618. height: 70px;
  619. background-image: url("./images/file-icons.png");
  620. background-image: url("./images/file-icons.gif") \9;
  621. background-position: -140px center;
  622. background-repeat: no-repeat;
  623. }
  624. i.file-preview.file-type-dir {
  625. background-position: 0 center;
  626. }
  627. i.file-preview.file-type-file {
  628. background-position: -140px center;
  629. }
  630. i.file-preview.file-type-filelist {
  631. background-position: -210px center;
  632. }
  633. i.file-preview.file-type-zip,
  634. i.file-preview.file-type-rar,
  635. i.file-preview.file-type-7z,
  636. i.file-preview.file-type-tar,
  637. i.file-preview.file-type-gz,
  638. i.file-preview.file-type-bz2 {
  639. background-position: -280px center;
  640. }
  641. i.file-preview.file-type-xls,
  642. i.file-preview.file-type-xlsx {
  643. background-position: -350px center;
  644. }
  645. i.file-preview.file-type-doc,
  646. i.file-preview.file-type-docx {
  647. background-position: -420px center;
  648. }
  649. i.file-preview.file-type-ppt,
  650. i.file-preview.file-type-pptx {
  651. background-position: -490px center;
  652. }
  653. i.file-preview.file-type-vsd {
  654. background-position: -560px center;
  655. }
  656. i.file-preview.file-type-pdf {
  657. background-position: -630px center;
  658. }
  659. i.file-preview.file-type-txt,
  660. i.file-preview.file-type-md,
  661. i.file-preview.file-type-json,
  662. i.file-preview.file-type-htm,
  663. i.file-preview.file-type-xml,
  664. i.file-preview.file-type-html,
  665. i.file-preview.file-type-js,
  666. i.file-preview.file-type-css,
  667. i.file-preview.file-type-php,
  668. i.file-preview.file-type-jsp,
  669. i.file-preview.file-type-asp {
  670. background-position: -700px center;
  671. }
  672. i.file-preview.file-type-apk {
  673. background-position: -770px center;
  674. }
  675. i.file-preview.file-type-exe {
  676. background-position: -840px center;
  677. }
  678. i.file-preview.file-type-ipa {
  679. background-position: -910px center;
  680. }
  681. i.file-preview.file-type-mp4,
  682. i.file-preview.file-type-swf,
  683. i.file-preview.file-type-mkv,
  684. i.file-preview.file-type-avi,
  685. i.file-preview.file-type-flv,
  686. i.file-preview.file-type-mov,
  687. i.file-preview.file-type-mpg,
  688. i.file-preview.file-type-mpeg,
  689. i.file-preview.file-type-ogv,
  690. i.file-preview.file-type-webm,
  691. i.file-preview.file-type-rm,
  692. i.file-preview.file-type-rmvb {
  693. background-position: -980px center;
  694. }
  695. i.file-preview.file-type-ogg,
  696. i.file-preview.file-type-wav,
  697. i.file-preview.file-type-wmv,
  698. i.file-preview.file-type-mid,
  699. i.file-preview.file-type-mp3 {
  700. background-position: -1050px center;
  701. }
  702. i.file-preview.file-type-jpg,
  703. i.file-preview.file-type-jpeg,
  704. i.file-preview.file-type-gif,
  705. i.file-preview.file-type-bmp,
  706. i.file-preview.file-type-png,
  707. i.file-preview.file-type-psd {
  708. background-position: -140px center;
  709. }