style.css 8.7 KB

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