webuploader.css 8.0 KB

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