webuploader.css 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .webuploader-container {
  2. position: relative;
  3. }
  4. .webuploader-element-invisible {
  5. position: absolute !important;
  6. clip: rect(1px,1px,1px,1px);
  7. }
  8. .webuploader-pick {
  9. position: relative;
  10. display: inline-block;
  11. cursor: pointer;
  12. color: #444;
  13. background: #fafafa;
  14. border: 1px solid #bbb;
  15. background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%);
  16. background-repeat: repeat-x;
  17. border-radius: 5px;
  18. padding: 6px 10px;
  19. text-align: center;
  20. overflow: hidden;
  21. }
  22. .webuploader-pick-hover {
  23. background: #eaf2ff;
  24. color: #000000;
  25. border: 1px solid #b7d2ff;
  26. }
  27. .webuploader-pick-disable {
  28. opacity: 0.6;
  29. pointer-events:none;
  30. }
  31. .webuploader-list {
  32. width: 700px;
  33. overflow: hidden;
  34. box-sizing: border-box;
  35. }
  36. .webuploader-thumbnail {
  37. width: 110px;
  38. height: 110px;
  39. box-shadow: 0 1px 2px rgba(0,0,0,0.075);
  40. display: block;
  41. padding: 4px;
  42. margin-bottom: 20px;
  43. line-height: 1.428571429;
  44. background-color: #fff;
  45. border: 1px solid #ddd;
  46. border-radius: 4px;
  47. transition: all .2s ease-in-out;
  48. }
  49. .webuploader-thumbnail img {
  50. width: 100%;
  51. height: 100%;
  52. }
  53. .webuploader-file-item {
  54. float: left;
  55. position: relative;
  56. margin: 0 20px 20px 0;
  57. padding: 4px;
  58. }
  59. .webuploader-tip {
  60. position: absolute;
  61. top: 50px;
  62. left: 30px;
  63. color: #666;
  64. }
  65. .webuploader-file-item .webuploader-info {
  66. position: absolute;
  67. left: 4px;
  68. bottom: 4px;
  69. right: 4px;
  70. height: 20px;
  71. line-height: 20px;
  72. text-indent: 5px;
  73. background: rgba(0, 0, 0, 0.6);
  74. color: white;
  75. overflow: hidden;
  76. white-space: nowrap;
  77. text-overflow: ellipsis;
  78. font-size: 12px;
  79. z-index: 10;
  80. }
  81. .webuploader-file-item .webuploader-error {
  82. position: absolute;
  83. top: 4px;
  84. left: 4px;
  85. right: 4px;
  86. background: red;
  87. color: white;
  88. text-align: center;
  89. height: 20px;
  90. font-size: 14px;
  91. line-height: 23px;
  92. }
  93. .webuploader-file-item .webuploader-done {
  94. position: absolute;
  95. top: 4px;
  96. left: 4px;
  97. right: 4px;
  98. background: #4cae4c;
  99. color: white;
  100. text-align: center;
  101. height: 20px;
  102. font-size: 14px;
  103. line-height: 23px;
  104. }
  105. .webuploader-file-item .webuploader-progress {
  106. position: absolute;
  107. right: 4px;
  108. bottom: 4px;
  109. left: 4px;
  110. height: 4px;
  111. overflow: hidden;
  112. z-index: 15;
  113. margin:0;
  114. padding: 0;
  115. border-radius: 0;
  116. background: transparent;
  117. }
  118. .webuploader-file-item .webuploader-progress span {
  119. display: block;
  120. overflow: hidden;
  121. width: 0;
  122. height: 100%;
  123. background: #4cae4c url(progress.png) repeat-x;
  124. transition: width 200ms linear;
  125. animation: progressmove 2s linear infinite;
  126. }
  127. .webuploader-opt{
  128. position: absolute;
  129. top: 4px;
  130. right: 4px;
  131. background: rgba(255,255,255,0.8);
  132. width: 45px;
  133. height: 22px;
  134. line-height: 22px;
  135. text-align: center;
  136. }
  137. .webuploader-del{
  138. color: #23A8E0;
  139. text-shadow: 1px 1px 3px rgba(255,255,255,.9);
  140. cursor: pointer;
  141. }
  142. .webuploader-del:hover{
  143. color:#EB1C27;
  144. }