webuploader.css 7.8 KB

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