style.css 7.7 KB

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