up.css 8.9 KB

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