video.css 14 KB

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