video.css 15 KB

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