style.css 8.8 KB

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