audio.css 15 KB

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