You are here

video.css in UEditor - 百度编辑器 8

@charset "utf-8";
.wrapper{ width: 570px;_width:575px;margin: 10px auto; zoom:1;position: relative}
.tabbody{height: 335px;}
.tabbody .panel {
    position: absolute;
    width: 0;
    height: 0;
    background: #fff;
    overflow: hidden;
    display: none;
}
.tabbody .panel.focus {
    width: 100%;
    height: 335px;
    display: block;
}

.tabbody .panel table td{vertical-align: middle;}
#videoUrl {
    width: 490px;
    height: 21px;
    line-height: 21px;
    margin: 8px 5px;
    background: #FFF;
    border: 1px solid #d7d7d7;
}
#videoSearchTxt{margin-left:15px;background: #FFF;width:200px;height:21px;line-height:21px;border: 1px solid #d7d7d7;}
#searchList{width: 570px;overflow: auto;zoom:1;height: 270px;}
#searchList div{float: left;width: 120px;height: 135px;margin: 5px 15px;}
#searchList img{margin: 2px 8px;cursor: pointer;border: 2px solid #fff} /*不用缩略图*/
#searchList p{margin-left: 10px;}
#videoType{
    width: 65px;
    height: 23px;
    line-height: 22px;
    border: 1px solid #d7d7d7;
}
#videoSearchBtn,#videoSearchReset{
    /*width: 80px;*/
    height: 25px;
    line-height: 25px;
    background: #eee;
    border: 1px solid #d7d7d7;
    cursor: pointer;
    padding: 0 5px;
}



#preview{position: relative;width: 420px;padding:0;overflow: hidden; margin-left: 10px; _margin-left:5px; height: 280px;background-color: #ddd;float: left}
#preview .previewMsg {position:absolute;top:0;margin:0;padding:0;height:280px;width:100%;background-color: #666;}
#preview .previewMsg span{display:block;margin: 125px auto 0 auto;text-align:center;font-size:18px;color:#fff;}
#preview .previewVideo {position:absolute;top:0;margin:0;padding:0;height:280px;width:100%;}
.edui-video-wrapper fieldset{
    border: 1px solid #ddd;
    padding-left: 5px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    width: 115px;
}

#videoInfo {width: 120px;float: left;margin-left: 10px;_margin-left:7px;}
fieldset{
    border: 1px solid #ddd;
    padding-left: 5px;
    margin-bottom: 20px;
    padding-bottom: 5px;
    width: 115px;
}
fieldset legend{font-weight: bold;}
fieldset p{line-height: 30px;}
fieldset input.txt{
    width: 65px;
    height: 21px;
    line-height: 21px;
    margin: 8px 5px;
    background: #FFF;
    border: 1px solid #d7d7d7;
}
label.url{font-weight: bold;margin-left: 5px;color: #06c;}
#videoFloat div{cursor:pointer;opacity: 0.5;filter: alpha(opacity = 50);margin:9px;_margin:5px;width:38px;height:36px;float:left;}
#videoFloat .focus{opacity: 1;filter: alpha(opacity = 100)}
span.view{display: inline-block;width: 30px;float: right;cursor: pointer;color: blue}




/* upload video */
.tabbody #upload.panel {
    width: 0;
    height: 0;
    overflow: hidden;
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
    background: #fff;
    display: block;
}
.tabbody #upload.panel.focus {
    width: 100%;
    height: 335px;
    display: block;
    clip: auto;
}
#upload_alignment div{cursor:pointer;opacity: 0.5;filter: alpha(opacity = 50);margin:9px;_margin:5px;width:38px;height:36px;float:left;}
#upload_alignment .focus{opacity: 1;filter: alpha(opacity = 100)}
#upload_left { width:427px; float:left; }
#upload_left .controller { height: 30px; clear: both; }
#uploadVideoInfo{margin-top:10px;float:right;padding-right:8px;}

#upload .queueList {
    margin: 0;
}

#upload p {
    margin: 0;
}

.element-invisible {
    width: 0 !important;
    height: 0 !important;
    border: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    position: absolute !important;
    clip: rect(1px, 1px, 1px, 1px);
}

#upload .placeholder {
    margin: 10px;
    margin-right:0;
    border: 2px dashed #e6e6e6;
    *border: 0px dashed #e6e6e6;
    height: 161px;
    padding-top: 150px;
    text-align: center;
    width: 97%;
    float: left;
    background: url(./images/image.png) center 70px no-repeat;
    color: #cccccc;
    font-size: 18px;
    position: relative;
    top:0;
    *margin-left: 0;
    *left: 10px;
}

#upload .placeholder .webuploader-pick {
    font-size: 18px;
    background: #00b7ee;
    border-radius: 3px;
    line-height: 44px;
    padding: 0 30px;
    *width: 120px;
    color: #fff;
    display: inline-block;
    margin: 0 auto 20px auto;
    cursor: pointer;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

#upload .placeholder .webuploader-pick-hover {
    background: #00a2d4;
}


#filePickerContainer {
    text-align: center;
}

#upload .placeholder .flashTip {
    color: #666666;
    font-size: 12px;
    position: absolute;
    width: 100%;
    text-align: center;
    bottom: 20px;
}

#upload .placeholder .flashTip a {
    color: #0785d1;
    text-decoration: none;
}

#upload .placeholder .flashTip a:hover {
    text-decoration: underline;
}

#upload .placeholder.webuploader-dnd-over {
    border-color: #999999;
}

#upload .filelist {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    height: 285px;
}

#upload .filelist:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
    clear: both;
}

#upload .filelist li {
    width: 113px;
    height: 113px;
    background: url(./images/bg.png);
    text-align: center;
    margin: 15px 0 0 20px;
    *margin: 15px 0 0 15px;
    position: relative;
    display: block;
    float: left;
    overflow: hidden;
    font-size: 12px;
}

#upload .filelist li p.log {
    position: relative;
    top: -45px;
}

#upload .filelist li p.title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    top: 5px;
    text-indent: 5px;
    text-align: left;
}

#upload .filelist li p.progress {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    height: 8px;
    overflow: hidden;
    z-index: 50;
    margin: 0;
    border-radius: 0;
    background: none;
    -webkit-box-shadow: 0 0 0;
}

#upload .filelist li p.progress span {
    display: none;
    overflow: hidden;
    width: 0;
    height: 100%;
    background: #1483d8 url(./images/progress.png) repeat-x;

    -webit-transition: width 200ms linear;
    -moz-transition: width 200ms linear;
    -o-transition: width 200ms linear;
    -ms-transition: width 200ms linear;
    transition: width 200ms linear;

    -webkit-animation: progressmove 2s linear infinite;
    -moz-animation: progressmove 2s linear infinite;
    -o-animation: progressmove 2s linear infinite;
    -ms-animation: progressmove 2s linear infinite;
    animation: progressmove 2s linear infinite;

    -webkit-transform: translateZ(0);
}

@-webkit-keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

@-moz-keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

@keyframes progressmove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 17px 0;
    }
}

#upload .filelist li p.imgWrap {
    position: relative;
    z-index: 2;
    line-height: 113px;
    vertical-align: middle;
    overflow: hidden;
    width: 113px;
    height: 113px;

    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;

    -webit-transition: 200ms ease-out;
    -moz-transition: 200ms ease-out;
    -o-transition: 200ms ease-out;
    -ms-transition: 200ms ease-out;
    transition: 200ms ease-out;
}
#upload .filelist li p.imgWrap.notimage {
    margin-top: 0;
    width: 111px;
    height: 111px;
    border: 1px #eeeeee solid;
}
#upload .filelist li p.imgWrap.notimage i.file-preview {
    margin-top: 15px;
}

#upload .filelist li img {
    width: 100%;
}

#upload .filelist li p.error {
    background: #f43838;
    color: #fff;
    position: absolute;
    bottom: 0;
    left: 0;
    height: 28px;
    line-height: 28px;
    width: 100%;
    z-index: 100;
    display:none;
}

#upload .filelist li .success {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 40px;
    width: 100%;
    z-index: 200;
    background: url(./images/success.png) no-repeat right bottom;
    background-image: url(./images/success.gif) \9;
}

#upload .filelist li.filePickerBlock {
    width: 113px;
    height: 113px;
    background: url(./images/image.png) no-repeat center 12px;
    border: 1px solid #eeeeee;
    border-radius: 0;
}
#upload .filelist li.filePickerBlock div.webuploader-pick  {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    opacity: 0;
    background: none;
    font-size: 0;
}

#upload .filelist div.file-panel {
    position: absolute;
    height: 0;
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr='#80000000', endColorstr='#80000000') \0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 300;
}

#upload .filelist div.file-panel span {
    width: 24px;
    height: 24px;
    display: inline;
    float: right;
    text-indent: -9999px;
    overflow: hidden;
    background: url(./images/icons.png) no-repeat;
    background: url(./images/icons.gif) no-repeat \9;
    margin: 5px 1px 1px;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

#upload .filelist div.file-panel span.rotateLeft {
    display:none;
    background-position: 0 -24px;
}

#upload .filelist div.file-panel span.rotateLeft:hover {
    background-position: 0 0;
}

#upload .filelist div.file-panel span.rotateRight {
    display:none;
    background-position: -24px -24px;
}

#upload .filelist div.file-panel span.rotateRight:hover {
    background-position: -24px 0;
}

#upload .filelist div.file-panel span.cancel {
    background-position: -48px -24px;
}

#upload .filelist div.file-panel span.cancel:hover {
    background-position: -48px 0;
}

#upload .statusBar {
    height: 45px;
    border-bottom: 1px solid #dadada;
    margin: 0 10px;
    padding: 0;
    line-height: 45px;
    vertical-align: middle;
    position: relative;
}

#upload .statusBar .progress {
    border: 1px solid #1483d8;
    width: 198px;
    background: #fff;
    height: 18px;
    position: absolute;
    top: 12px;
    display: none;
    text-align: center;
    line-height: 18px;
    color: #6dbfff;
    margin: 0 10px 0 0;
}
#upload .statusBar .progress span.percentage {
    width: 0;
    height: 100%;
    left: 0;
    top: 0;
    background: #1483d8;
    position: absolute;
}
#upload .statusBar .progress span.text {
    position: relative;
    z-index: 10;
}

#upload .statusBar .info {
    display: inline-block;
    font-size: 14px;
    color: #666666;
}

#upload .statusBar .btns {
    position: absolute;
    top: 7px;
    right: 0;
    line-height: 30px;
}

#filePickerBtn {
    display: inline-block;
    float: left;
}
#upload .statusBar .btns .webuploader-pick,
#upload .statusBar .btns .uploadBtn,
#upload .statusBar .btns .uploadBtn.state-uploading,
#upload .statusBar .btns .uploadBtn.state-paused {
    background: #ffffff;
    border: 1px solid #cfcfcf;
    color: #565656;
    padding: 0 18px;
    display: inline-block;
    border-radius: 3px;
    margin-left: 10px;
    cursor: pointer;
    font-size: 14px;
    float: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#upload .statusBar .btns .webuploader-pick-hover,
#upload .statusBar .btns .uploadBtn:hover,
#upload .statusBar .btns .uploadBtn.state-uploading:hover,
#upload .statusBar .btns .uploadBtn.state-paused:hover {
    background: #f0f0f0;
}

#upload .statusBar .btns .uploadBtn,
#upload .statusBar .btns .uploadBtn.state-paused{
    background: #00b7ee;
    color: #fff;
    border-color: transparent;
}
#upload .statusBar .btns .uploadBtn:hover,
#upload .statusBar .btns .uploadBtn.state-paused:hover{
    background: #00a2d4;
}

#upload .statusBar .btns .uploadBtn.disabled {
    pointer-events: none;
    filter:alpha(opacity=60);
    -moz-opacity:0.6;
    -khtml-opacity: 0.6;
    opacity: 0.6;
}


/* 在线文件的文件预览图标 */
i.file-preview {
    display: block;
    margin: 10px auto;
    width: 70px;
    height: 70px;
    background-image: url("./images/file-icons.png");
    background-image: url("./images/file-icons.gif") \9;
    background-position: -140px center;
    background-repeat: no-repeat;
}
i.file-preview.file-type-dir{
    background-position: 0 center;
}
i.file-preview.file-type-file{
    background-position: -140px center;
}
i.file-preview.file-type-filelist{
    background-position: -210px center;
}
i.file-preview.file-type-zip,
i.file-preview.file-type-rar,
i.file-preview.file-type-7z,
i.file-preview.file-type-tar,
i.file-preview.file-type-gz,
i.file-preview.file-type-bz2{
    background-position: -280px center;
}
i.file-preview.file-type-xls,
i.file-preview.file-type-xlsx{
    background-position: -350px center;
}
i.file-preview.file-type-doc,
i.file-preview.file-type-docx{
    background-position: -420px center;
}
i.file-preview.file-type-ppt,
i.file-preview.file-type-pptx{
    background-position: -490px center;
}
i.file-preview.file-type-vsd{
    background-position: -560px center;
}
i.file-preview.file-type-pdf{
    background-position: -630px center;
}
i.file-preview.file-type-txt,
i.file-preview.file-type-md,
i.file-preview.file-type-json,
i.file-preview.file-type-htm,
i.file-preview.file-type-xml,
i.file-preview.file-type-html,
i.file-preview.file-type-js,
i.file-preview.file-type-css,
i.file-preview.file-type-php,
i.file-preview.file-type-jsp,
i.file-preview.file-type-asp{
    background-position: -700px center;
}
i.file-preview.file-type-apk{
    background-position: -770px center;
}
i.file-preview.file-type-exe{
    background-position: -840px center;
}
i.file-preview.file-type-ipa{
    background-position: -910px center;
}
i.file-preview.file-type-mp4,
i.file-preview.file-type-swf,
i.file-preview.file-type-mkv,
i.file-preview.file-type-avi,
i.file-preview.file-type-flv,
i.file-preview.file-type-mov,
i.file-preview.file-type-mpg,
i.file-preview.file-type-mpeg,
i.file-preview.file-type-ogv,
i.file-preview.file-type-webm,
i.file-preview.file-type-rm,
i.file-preview.file-type-rmvb{
    background-position: -980px center;
}
i.file-preview.file-type-ogg,
i.file-preview.file-type-wav,
i.file-preview.file-type-wmv,
i.file-preview.file-type-mid,
i.file-preview.file-type-mp3{
    background-position: -1050px center;
}
i.file-preview.file-type-jpg,
i.file-preview.file-type-jpeg,
i.file-preview.file-type-gif,
i.file-preview.file-type-bmp,
i.file-preview.file-type-png,
i.file-preview.file-type-psd{
    background-position: -140px center;
}

File

lib/dialogs/video/video.css
View source
  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. }