fileupload.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. #picker {
  2. display: inline-block;
  3. line-height: 1.428571429;
  4. vertical-align: middle;
  5. margin: 0 12px 0 0;
  6. }
  7. #picker .webuploader-pick {
  8. padding: 6px 12px;
  9. display: block;
  10. }
  11. #uploader-demo .thumbnail {
  12. width: 110px;
  13. height: 110px;
  14. }
  15. #uploader-demo .thumbnail img {
  16. width: 100%;
  17. }
  18. .uploader-list {
  19. position: relative;
  20. width: 100%;
  21. height: calc(100% - 41px);
  22. border: 1px solid #ddd;
  23. border-radius: 4px;
  24. overflow: auto;
  25. }
  26. .wu-example{
  27. position: relative;
  28. width: 90%;
  29. height: 70%;
  30. }
  31. .fa-success{
  32. color: #5cb85c;
  33. }
  34. .fa-danger, .fa-danger:hover{
  35. color: #b94a48;
  36. }
  37. .text-info:hover{
  38. color:#5bc0de;
  39. }
  40. .list-item{
  41. margin: 2px;
  42. border-bottom: 1px solid #ddd;
  43. }
  44. .file-item {
  45. line-height: 50px;
  46. }
  47. .file-item .error {
  48. position: absolute;
  49. top: 4px;
  50. left: 4px;
  51. right: 4px;
  52. background: red;
  53. color: white;
  54. text-align: center;
  55. height: 20px;
  56. font-size: 14px;
  57. line-height: 23px;
  58. }
  59. .file-item .info {
  60. position: absolute;
  61. left: 4px;
  62. bottom: 4px;
  63. right: 4px;
  64. height: 20px;
  65. line-height: 20px;
  66. text-indent: 5px;
  67. background: rgba(0, 0, 0, 0.6);
  68. color: white;
  69. overflow: hidden;
  70. white-space: nowrap;
  71. text-overflow : ellipsis;
  72. font-size: 12px;
  73. z-index: 10;
  74. }
  75. .upload-state-done:after {
  76. content:"\f00c";
  77. font-family: FontAwesome;
  78. font-style: normal;
  79. font-weight: normal;
  80. line-height: 1;
  81. -webkit-font-smoothing: antialiased;
  82. -moz-osx-font-smoothing: grayscale;
  83. font-size: 32px;
  84. position: absolute;
  85. bottom: 0;
  86. right: 4px;
  87. color: #4cae4c;
  88. z-index: 99;
  89. }
  90. .file-item .progress {
  91. position: absolute;
  92. right: 4px;
  93. bottom: 4px;
  94. height: 3px;
  95. left: 4px;
  96. height: 4px;
  97. overflow: hidden;
  98. z-index: 15;
  99. margin:0;
  100. padding: 0;
  101. border-radius: 0;
  102. background: transparent;
  103. }
  104. .file-item .progress span {
  105. display: block;
  106. overflow: hidden;
  107. width: 0;
  108. height: 100%;
  109. background: #d14 repeat-x;
  110. -webit-transition: width 200ms linear;
  111. -moz-transition: width 200ms linear;
  112. -o-transition: width 200ms linear;
  113. -ms-transition: width 200ms linear;
  114. transition: width 200ms linear;
  115. -webkit-animation: progressmove 2s linear infinite;
  116. -moz-animation: progressmove 2s linear infinite;
  117. -o-animation: progressmove 2s linear infinite;
  118. -ms-animation: progressmove 2s linear infinite;
  119. animation: progressmove 2s linear infinite;
  120. -webkit-transform: translateZ(0);
  121. }
  122. @-webkit-keyframes progressmove {
  123. 0% {
  124. background-position: 0 0;
  125. }
  126. 100% {
  127. background-position: 17px 0;
  128. }
  129. }
  130. @-moz-keyframes progressmove {
  131. 0% {
  132. background-position: 0 0;
  133. }
  134. 100% {
  135. background-position: 17px 0;
  136. }
  137. }
  138. @keyframes progressmove {
  139. 0% {
  140. background-position: 0 0;
  141. }
  142. 100% {
  143. background-position: 17px 0;
  144. }
  145. }
  146. a.travis {
  147. position: relative;
  148. top: -4px;
  149. right: 15px;
  150. }
  151. .uploader{
  152. height: 100%;
  153. padding: 5px;
  154. }
  155. .btns{
  156. padding-bottom: 5px;
  157. }
  158. .file-desc{
  159. top: 45%;
  160. text-align: center;
  161. color: #cccccc;
  162. font-size: 18px;
  163. position: relative;
  164. }