webuploader-demo.css 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. #container {
  2. color: #838383;
  3. font-size: 12px;
  4. }
  5. #uploader .queueList {
  6. margin: 20px;
  7. border: 3px dashed #e6e6e6;
  8. }
  9. #uploader .queueList.filled {
  10. padding: 17px;
  11. margin: 0;
  12. border: 3px dashed transparent;
  13. }
  14. #uploader .queueList.webuploader-dnd-over {
  15. border: 3px dashed #999999;
  16. }
  17. #uploader p {margin: 0;}
  18. .element-invisible {
  19. position: absolute !important;
  20. clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  21. clip: rect(1px,1px,1px,1px);
  22. }
  23. #uploader .placeholder {
  24. min-height: 350px;
  25. padding-top: 178px;
  26. text-align: center;
  27. color: #cccccc;
  28. font-size: 18px;
  29. position: relative;
  30. }
  31. #uploader .placeholder .webuploader-pick {
  32. font-size: 18px;
  33. background: #00b7ee;
  34. border-radius: 3px;
  35. line-height: 44px;
  36. padding: 0 30px;
  37. *width: 120px;
  38. color: #fff;
  39. display: inline-block;
  40. margin: 0 auto 20px auto;
  41. cursor: pointer;
  42. box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
  43. }
  44. #uploader .placeholder .webuploader-pick-hover {
  45. background: #00a2d4;
  46. }
  47. #uploader .placeholder .flashTip {
  48. color: #666666;
  49. font-size: 12px;
  50. position: absolute;
  51. width: 100%;
  52. text-align: center;
  53. bottom: 20px;
  54. }
  55. #uploader .placeholder .flashTip a {
  56. color: #0785d1;
  57. text-decoration: none;
  58. }
  59. #uploader .placeholder .flashTip a:hover {
  60. text-decoration: underline;
  61. }
  62. #uploader .filelist {
  63. list-style: none;
  64. margin: 0;
  65. padding: 0;
  66. }
  67. #uploader .filelist:after {
  68. content: '';
  69. display: block;
  70. width: 0;
  71. height: 0;
  72. overflow: hidden;
  73. clear: both;
  74. }
  75. #uploader .filelist li {
  76. width: 110px;
  77. height: 110px;
  78. background: url("../../img/bg.png"/*tpa=http://www.zi-han.net/theme/hplus/img/bg.png*/) no-repeat;
  79. text-align: center;
  80. margin: 0 8px 20px 0;
  81. position: relative;
  82. display: inline;
  83. float: left;
  84. overflow: hidden;
  85. font-size: 12px;
  86. }
  87. #uploader .filelist li p.log {
  88. position: relative;
  89. top: -45px;
  90. }
  91. #uploader .filelist li p.title {
  92. position: absolute;
  93. top: 0;
  94. left: 0;
  95. width: 100%;
  96. overflow: hidden;
  97. white-space: nowrap;
  98. text-overflow : ellipsis;
  99. top: 5px;
  100. text-indent: 5px;
  101. text-align: left;
  102. }
  103. #uploader .filelist li p.progress {
  104. position: absolute;
  105. width: 100%;
  106. bottom: 0;
  107. left: 0;
  108. height: 8px;
  109. overflow: hidden;
  110. z-index: 50;
  111. margin: 0;
  112. border-radius: 0;
  113. background: none;
  114. -webkit-box-shadow: 0 0 0;
  115. }
  116. #uploader .filelist li p.progress span {
  117. display: none;
  118. overflow: hidden;
  119. width: 0;
  120. height: 100%;
  121. background: #1483d8 url("../../img/progress.png"/*tpa=http://www.zi-han.net/theme/hplus/img/progress.png*/) repeat-x;
  122. -webit-transition: width 200ms linear;
  123. -moz-transition: width 200ms linear;
  124. -o-transition: width 200ms linear;
  125. -ms-transition: width 200ms linear;
  126. transition: width 200ms linear;
  127. -webkit-animation: progressmove 2s linear infinite;
  128. -moz-animation: progressmove 2s linear infinite;
  129. -o-animation: progressmove 2s linear infinite;
  130. -ms-animation: progressmove 2s linear infinite;
  131. animation: progressmove 2s linear infinite;
  132. -webkit-transform: translateZ(0);
  133. }
  134. @-webkit-keyframes progressmove {
  135. 0% {
  136. background-position: 0 0;
  137. }
  138. 100% {
  139. background-position: 17px 0;
  140. }
  141. }
  142. @-moz-keyframes progressmove {
  143. 0% {
  144. background-position: 0 0;
  145. }
  146. 100% {
  147. background-position: 17px 0;
  148. }
  149. }
  150. @keyframes progressmove {
  151. 0% {
  152. background-position: 0 0;
  153. }
  154. 100% {
  155. background-position: 17px 0;
  156. }
  157. }
  158. #uploader .filelist li p.imgWrap {
  159. position: relative;
  160. z-index: 2;
  161. line-height: 110px;
  162. vertical-align: middle;
  163. overflow: hidden;
  164. width: 110px;
  165. height: 110px;
  166. -webkit-transform-origin: 50% 50%;
  167. -moz-transform-origin: 50% 50%;
  168. -o-transform-origin: 50% 50%;
  169. -ms-transform-origin: 50% 50%;
  170. transform-origin: 50% 50%;
  171. -webit-transition: 200ms ease-out;
  172. -moz-transition: 200ms ease-out;
  173. -o-transition: 200ms ease-out;
  174. -ms-transition: 200ms ease-out;
  175. transition: 200ms ease-out;
  176. }
  177. #uploader .filelist li img {
  178. width: 100%;
  179. }
  180. #uploader .filelist li p.error {
  181. background: #f43838;
  182. color: #fff;
  183. position: absolute;
  184. bottom: 0;
  185. left: 0;
  186. height: 28px;
  187. line-height: 28px;
  188. width: 100%;
  189. z-index: 100;
  190. }
  191. #uploader .filelist li .success {
  192. display: block;
  193. position: absolute;
  194. left: 0;
  195. bottom: 0;
  196. height: 40px;
  197. width: 100%;
  198. z-index: 200;
  199. background: url("../../img/success.png"/*tpa=http://www.zi-han.net/theme/hplus/img/success.png*/) no-repeat right bottom;
  200. }
  201. #uploader .filelist div.file-panel {
  202. position: absolute;
  203. height: 0;
  204. filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#80000000', endColorstr='#80000000')\0;
  205. background: rgba( 0, 0, 0, 0.5 );
  206. width: 100%;
  207. top: 0;
  208. left: 0;
  209. overflow: hidden;
  210. z-index: 300;
  211. }
  212. #uploader .filelist div.file-panel span {
  213. width: 24px;
  214. height: 24px;
  215. display: inline;
  216. float: right;
  217. text-indent: -9999px;
  218. overflow: hidden;
  219. background: url("../../img/icons.png"/*tpa=http://www.zi-han.net/theme/hplus/img/icons.png*/) no-repeat;
  220. margin: 5px 1px 1px;
  221. cursor: pointer;
  222. }
  223. #uploader .filelist div.file-panel span.rotateLeft {
  224. background-position: 0 -24px;
  225. }
  226. #uploader .filelist div.file-panel span.rotateLeft:hover {
  227. background-position: 0 0;
  228. }
  229. #uploader .filelist div.file-panel span.rotateRight {
  230. background-position: -24px -24px;
  231. }
  232. #uploader .filelist div.file-panel span.rotateRight:hover {
  233. background-position: -24px 0;
  234. }
  235. #uploader .filelist div.file-panel span.cancel {
  236. background-position: -48px -24px;
  237. }
  238. #uploader .filelist div.file-panel span.cancel:hover {
  239. background-position: -48px 0;
  240. }
  241. #uploader .statusBar {
  242. height: 63px;
  243. border-top: 1px solid #dadada;
  244. padding: 0 20px;
  245. line-height: 63px;
  246. vertical-align: middle;
  247. position: relative;
  248. }
  249. #uploader .statusBar .progress {
  250. border: 1px solid #1483d8;
  251. width: 198px;
  252. background: #fff;
  253. height: 18px;
  254. position: relative;
  255. display: inline-block;
  256. text-align: center;
  257. line-height: 20px;
  258. color: #6dbfff;
  259. position: relative;
  260. margin: 0 10px 0 0;
  261. }
  262. #uploader .statusBar .progress span.percentage {
  263. width: 0;
  264. height: 100%;
  265. left: 0;
  266. top: 0;
  267. background: #1483d8;
  268. position: absolute;
  269. }
  270. #uploader .statusBar .progress span.text {
  271. position: relative;
  272. z-index: 10;
  273. }
  274. #uploader .statusBar .info {
  275. display: inline-block;
  276. font-size: 14px;
  277. color: #666666;
  278. }
  279. #uploader .statusBar .btns {
  280. position: absolute;
  281. top: 10px;
  282. right: 20px;
  283. line-height: 40px;
  284. }
  285. #filePicker2 {
  286. display: inline-block;
  287. float: left;
  288. }
  289. #uploader .statusBar .btns .webuploader-pick,
  290. #uploader .statusBar .btns .uploadBtn,
  291. #uploader .statusBar .btns .doneBtn,
  292. #uploader .statusBar .btns .uploadBtn.state-uploading,
  293. #uploader .statusBar .btns .uploadBtn.state-paused {
  294. background: #ffffff;
  295. border: 1px solid #cfcfcf;
  296. color: #565656;
  297. padding: 0 18px;
  298. display: inline-block;
  299. border-radius: 3px;
  300. margin-left: 10px;
  301. cursor: pointer;
  302. font-size: 14px;
  303. float: left;
  304. }
  305. #uploader .statusBar .btns .webuploader-pick-hover,
  306. #uploader .statusBar .btns .uploadBtn:hover,
  307. #uploader .statusBar .btns .uploadBtn.state-uploading:hover,
  308. #uploader .statusBar .btns .uploadBtn.state-paused:hover {
  309. background: #f0f0f0;
  310. }
  311. #uploader .statusBar .btns .uploadBtn,#uploader .statusBar .btns .doneBtn {
  312. background: #00b7ee;
  313. color: #fff;
  314. border-color: transparent;
  315. }
  316. #uploader .statusBar .btns .uploadBtn:hover,#uploader .statusBar .btns .doneBtn:hover {
  317. background: #00a2d4;
  318. }
  319. #uploader .statusBar .btns .uploadBtn.disabled,#uploader .statusBar .btns .doneBtndisabled {
  320. pointer-events: none;
  321. opacity: 0.6;
  322. }