style.css 9.0 KB

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