webuploader-demo.css 7.5 KB

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