video.css 15KB

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