portal html css js resource

webuploader.css 3.3KB

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