mywebuploader.css 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426
  1. .wu-example {
  2. position: relative;
  3. padding: 5px 15px 15px;
  4. margin: 15px 0;
  5. background-color: #fafafa;
  6. box-shadow: inset 0 3px 6px rgba(0, 0, 0, .05);
  7. border-color: #e5e5e5 #eee #eee;
  8. border-style: solid;
  9. border-width: 1px 0;
  10. }
  11. .wu-example:after {
  12. position: absolute;
  13. top: 15px;
  14. left: 15px;
  15. font-size: 12px;
  16. font-weight: bold;
  17. color: #bbb;
  18. text-transform: uppercase;
  19. letter-spacing: 1px;
  20. }
  21. @media (min-width: 768px) {
  22. .bs-example {
  23. margin-left: 0;
  24. margin-right: 0;
  25. background-color: #fff;
  26. border-width: 1px;
  27. border-color: #ddd;
  28. border-radius: 4px 4px 0 0;
  29. box-shadow: none;
  30. }
  31. }
  32. .post-toc {
  33. margin-top: 30px;
  34. margin-bottom: 30px;
  35. padding-top: 10px;
  36. padding-bottom: 10px;
  37. text-shadow: 0 1px 0 #fff;
  38. background-color: #f7f5fa;
  39. border-radius: 5px;
  40. }
  41. .post-toc .nav > li > a {
  42. display: block;
  43. color: #716b7a;
  44. padding: 5px 20px;
  45. }
  46. .post-toc .nav .nav > li > a {
  47. padding-top: 3px;
  48. padding-bottom: 3px;
  49. padding-left: 30px;
  50. font-size: 90%;
  51. }
  52. .post-toc.affix {
  53. position: static;
  54. }
  55. .post-toc .nav .nav {
  56. display: none;
  57. margin-bottom: 8px;
  58. }
  59. @media (min-width: 992px) {
  60. .post-toc.affix {
  61. position: fixed;
  62. width: 213px;
  63. top: 50px;
  64. }
  65. .post-toc .nav > .active > ul {
  66. display: block;
  67. }
  68. }
  69. @media (min-width: 1200px) {
  70. .post-toc.affix {
  71. width: 263px;
  72. }
  73. .post-toc .nav > .active > ul {
  74. display: block;
  75. }
  76. }
  77. .post-toc .nav > .active > a,
  78. .post-toc .nav > .active:hover > a,
  79. .post-toc .nav > .active:focus > a {
  80. font-weight: bold;
  81. color: #563d7c;
  82. background-color: transparent;
  83. border-right: 1px solid #563d7c;
  84. }
  85. .friends-links {
  86. margin: 0;
  87. padding: 0;
  88. list-style: none;
  89. }
  90. .weixin {
  91. text-align: center;
  92. display: inline-block;
  93. }
  94. .weixin img {
  95. width: 80px;
  96. }
  97. /********************************
  98. *
  99. * COMMENTS
  100. *
  101. ********************************/
  102. .comment {
  103. background-color: transparent;
  104. border-color: #CACACA;
  105. border-style: solid;
  106. border-width: 1px;
  107. color: black;
  108. display: block;
  109. margin-bottom: 10px;
  110. margin-top: 10px;
  111. padding: 0px;
  112. width: 100%;
  113. }
  114. .comment .commentheader {
  115. border-bottom-color: #CACACA;
  116. border-bottom-style: solid;
  117. border-bottom-width: 1px;
  118. color: black;
  119. background-image: -webkit-linear-gradient(#F8F8F8,#E1E1E1);
  120. background-image: -moz-linear-gradient(#F8F8F8,#E1E1E1);
  121. color: black;
  122. display: block;
  123. float: left;
  124. font-family: helvetica, arial, freesans, clean, sans-serif;
  125. font-size: 12px;
  126. font-style: normal;
  127. font-variant: normal;
  128. font-weight: normal;
  129. height: 33px;
  130. line-height: 33px;
  131. margin: 0px;
  132. overflow-x: hidden;
  133. overflow-y: hidden;
  134. padding: 0px;
  135. text-overflow: ellipsis;
  136. text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
  137. white-space: nowrap;
  138. width: 100%;
  139. }
  140. .comment .commentheader .commentgravatar {
  141. background-attachment: scroll;
  142. background-clip: border-box;
  143. background-color: white;
  144. background-image: none;
  145. background-origin: padding-box;
  146. border-color: #C8C8C8;
  147. border-style: solid;
  148. border-width: 1px;
  149. color: black;
  150. display: inline-block;
  151. float: none;
  152. font-family: helvetica, arial, freesans, clean, sans-serif;
  153. font-size: 1px;
  154. font-style: normal;
  155. font-variant: normal;
  156. font-weight: normal;
  157. height: 24px;
  158. line-height: 1px;
  159. margin-left: 5px;
  160. margin-right: 3px;
  161. margin-top: -2px;
  162. overflow-x: visible;
  163. overflow-y: visible;
  164. padding: 1px;
  165. text-overflow: clip;
  166. text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
  167. vertical-align: middle;
  168. white-space: nowrap;
  169. width: 24px;
  170. }
  171. .comment .commentheader a:link {
  172. text-decoration: none;
  173. }
  174. .comment .commentheader a:hover {
  175. border-bottom:1px solid;
  176. }
  177. .comment .commentheader .commentuser {
  178. background-color: transparent;
  179. color: black;
  180. display: inline;
  181. float: none;
  182. font-family: helvetica, arial, freesans, clean, sans-serif;
  183. font-size: 12px;
  184. font-style: normal;
  185. font-variant: normal;
  186. font-weight: bold;
  187. height: 0px;
  188. line-height: 16px;
  189. margin-left: 5px;
  190. margin-right: 10px;
  191. overflow-x: visible;
  192. overflow-y: visible;
  193. padding: 0px;
  194. text-overflow: clip;
  195. text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
  196. white-space: nowrap;
  197. width: 0px;
  198. }
  199. .comment .commentheader .commentdate {
  200. background-color: transparent;
  201. color: #777;
  202. display: inline;
  203. float: none;
  204. font-family: helvetica, arial, freesans, clean, sans-serif;
  205. font-size: 11px;
  206. font-style: normal;
  207. font-variant: normal;
  208. font-weight: normal;
  209. height: 0px;
  210. line-height: 33px;
  211. margin: 0px;
  212. overflow-x: visible;
  213. overflow-y: visible;
  214. padding: 0px;
  215. text-overflow: clip;
  216. text-shadow: rgba(255, 255, 255, 0.699219) 1px 1px 0px;
  217. white-space: nowrap;
  218. width: 20em;
  219. }
  220. .comment .commentbody {
  221. background-attachment: scroll;
  222. background-clip: border-box;
  223. background-color: transparent;
  224. background-image: none;
  225. background-origin: padding-box;
  226. color: #333;
  227. display: block;
  228. margin-bottom: 1em;
  229. margin-left: 1em;
  230. margin-right: 1em;
  231. margin-top: 40px;
  232. overflow-x: visible;
  233. overflow-y: visible;
  234. padding: 0em;
  235. position: static;
  236. width: 96%;
  237. word-wrap: break-word;
  238. }
  239. .comment .commentbody p {
  240. margin-bottom: 0.5em;
  241. margin-top: 0.5em;
  242. margin-left: 0em;
  243. margin-right: 0em;
  244. }
  245. .comment .commentbody pre {
  246. border: 0px solid #ddd;
  247. background-color: #eef;
  248. padding: 0 .4em;
  249. }
  250. .comment .commentbody pre code {
  251. border: 0px solid #ddd;
  252. }
  253. .comment .commentbody code {
  254. border: 1px solid #ddd;
  255. background-color: #eef;
  256. font-size: 85%;
  257. padding: 0 .2em;
  258. }
  259. /*demo样式*/
  260. #picker,.upload_picker {
  261. display: inline-block;
  262. line-height: 1.428571429;
  263. vertical-align: middle;
  264. margin: 0 12px 0 0;
  265. }
  266. #picker,.upload_picker .webuploader-pick {
  267. padding: 6px 12px;
  268. display: block;
  269. }
  270. #uploader-demo .thumbnail {
  271. width: 110px;
  272. height: 110px;
  273. }
  274. #uploader-demo .thumbnail img {
  275. width: 100%;
  276. }
  277. .uploader-list {
  278. width: 100%;
  279. overflow: hidden;
  280. }
  281. .file-item {
  282. float: left;
  283. position: relative;
  284. margin: 0 20px 20px 0;
  285. padding: 4px;
  286. }
  287. .file-item .error {
  288. position: absolute;
  289. top: 4px;
  290. left: 4px;
  291. right: 4px;
  292. background: red;
  293. color: white;
  294. text-align: center;
  295. height: 20px;
  296. font-size: 14px;
  297. line-height: 23px;
  298. }
  299. .file-item .info {
  300. position: absolute;
  301. left: 4px;
  302. bottom: 4px;
  303. right: 4px;
  304. height: 20px;
  305. line-height: 20px;
  306. text-indent: 5px;
  307. background: rgba(0, 0, 0, 0.6);
  308. color: white;
  309. overflow: hidden;
  310. white-space: nowrap;
  311. text-overflow : ellipsis;
  312. font-size: 12px;
  313. z-index: 10;
  314. }
  315. .upload-state-done:after {
  316. content:"\f00c";
  317. font-family: FontAwesome;
  318. font-style: normal;
  319. font-weight: normal;
  320. line-height: 1;
  321. -webkit-font-smoothing: antialiased;
  322. -moz-osx-font-smoothing: grayscale;
  323. font-size: 32px;
  324. position: absolute;
  325. bottom: 0;
  326. right: 4px;
  327. color: #4cae4c;
  328. z-index: 99;
  329. }
  330. .file-item .progress {
  331. position: absolute;
  332. right: 4px;
  333. bottom: 4px;
  334. height: 3px;
  335. left: 4px;
  336. height: 4px;
  337. overflow: hidden;
  338. z-index: 15;
  339. margin:0;
  340. padding: 0;
  341. border-radius: 0;
  342. background: transparent;
  343. }
  344. .file-item .progress span {
  345. display: block;
  346. overflow: hidden;
  347. width: 0;
  348. height: 100%;
  349. background: #d14 url(../images/progress.png) repeat-x;
  350. -webit-transition: width 200ms linear;
  351. -moz-transition: width 200ms linear;
  352. -o-transition: width 200ms linear;
  353. -ms-transition: width 200ms linear;
  354. transition: width 200ms linear;
  355. -webkit-animation: progressmove 2s linear infinite;
  356. -moz-animation: progressmove 2s linear infinite;
  357. -o-animation: progressmove 2s linear infinite;
  358. -ms-animation: progressmove 2s linear infinite;
  359. animation: progressmove 2s linear infinite;
  360. -webkit-transform: translateZ(0);
  361. }
  362. @-webkit-keyframes progressmove {
  363. 0% {
  364. background-position: 0 0;
  365. }
  366. 100% {
  367. background-position: 17px 0;
  368. }
  369. }
  370. @-moz-keyframes progressmove {
  371. 0% {
  372. background-position: 0 0;
  373. }
  374. 100% {
  375. background-position: 17px 0;
  376. }
  377. }
  378. @keyframes progressmove {
  379. 0% {
  380. background-position: 0 0;
  381. }
  382. 100% {
  383. background-position: 17px 0;
  384. }
  385. }
  386. a.travis {
  387. position: relative;
  388. top: -4px;
  389. right: 15px;
  390. }