fineuploader.css 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /*
  2. * Original version: 1.0 © 2010 Andrew Valums ( andrew(at)valums.com )
  3. * Current Maintainer (2.0+): 2012, Ray Nicholus ( fineuploader(at)garstasio.com )
  4. *
  5. * Licensed under MIT license, GNU GPL 2 or later, GNU LGPL 2 or later, see license.txt.
  6. */
  7. .qq-uploader {
  8. position: relative;
  9. width: 100%;
  10. }
  11. .qq-upload-button {
  12. display: block;
  13. /*or inline-block*/
  14. width: 105px;
  15. padding: 7px 0;
  16. text-align: center;
  17. /*
  18. background: #880000;
  19. border-bottom: 1px solid #DDD;
  20. color: #FFF;
  21. */
  22. }
  23. .qq-upload-button-hover {
  24. /*
  25. background: #CC0000;
  26. */
  27. }
  28. .qq-upload-button-focus {
  29. outline: 1px dotted #000000;
  30. }
  31. .qq-upload-drop-area, .qq-upload-extra-drop-area {
  32. position: absolute;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 100%;
  37. min-height: 30px;
  38. z-index: 2;
  39. /*
  40. background: #FF9797;
  41. */
  42. text-align: center;
  43. }
  44. .qq-upload-drop-area span {
  45. display: block;
  46. position: absolute;
  47. top: 50%;
  48. width: 100%;
  49. margin-top: -8px;
  50. /*
  51. font-size: 16px;
  52. */
  53. }
  54. .qq-upload-extra-drop-area {
  55. position: relative;
  56. margin-top: 50px;
  57. /*
  58. font-size: 16px;
  59. */
  60. padding-top: 30px;
  61. height: 20px;
  62. min-height: 40px;
  63. }
  64. .qq-upload-drop-area-active {
  65. background: #FF7171;
  66. }
  67. .qq-upload-list {
  68. margin: 0;
  69. padding: 0;
  70. list-style: none;
  71. }
  72. .qq-upload-list li {
  73. margin: 0;
  74. padding: 9px;
  75. line-height: 15px;
  76. font-size: 16px;
  77. background-color: #FFF0BD;
  78. }
  79. .qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-retry, .qq-upload-failed-text, .qq-upload-finished {
  80. margin-right: 12px;
  81. }
  82. .qq-upload-file {
  83. }
  84. .qq-upload-spinner {
  85. display: inline-block;
  86. background: url("loading.gif");
  87. width: 15px;
  88. height: 15px;
  89. vertical-align: text-bottom;
  90. }
  91. .qq-upload-finished {
  92. display:none;
  93. width:15px;
  94. height:15px;
  95. vertical-align:text-bottom;
  96. }
  97. .qq-upload-retry {
  98. display: none;
  99. color: #000000;
  100. }
  101. .qq-upload-cancel {
  102. color: #000000;
  103. }
  104. .qq-upload-retryable .qq-upload-retry {
  105. display: inline;
  106. }
  107. .qq-upload-size, .qq-upload-cancel, .qq-upload-retry {
  108. font-size: 12px;
  109. font-weight: normal;
  110. }
  111. .qq-upload-failed-text {
  112. display: none;
  113. font-style: italic;
  114. font-weight: bold;
  115. }
  116. .qq-upload-failed-icon {
  117. display:none;
  118. width:15px;
  119. height:15px;
  120. vertical-align:text-bottom;
  121. }
  122. .qq-upload-fail .qq-upload-failed-text {
  123. display: inline;
  124. }
  125. .qq-upload-retrying .qq-upload-failed-text {
  126. display: inline;
  127. color: #D60000;
  128. }
  129. .qq-upload-list li.qq-upload-success {
  130. background-color: #5DA30C;
  131. color: #FFFFFF;
  132. }
  133. .qq-upload-list li.qq-upload-fail {
  134. background-color: #D60000;
  135. color: #FFFFFF;
  136. }
  137. .qq-progress-bar {
  138. background: -moz-linear-gradient(top, rgba(30,87,153,1) 0%, rgba(41,137,216,1) 50%, rgba(32,124,202,1) 51%, rgba(125,185,232,1) 100%); /* FF3.6+ */
  139. background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(50%,rgba(41,137,216,1)), color-stop(51%,rgba(32,124,202,1)), color-stop(100%,rgba(125,185,232,1))); /* Chrome,Safari4+ */
  140. background: -webkit-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* Chrome10+,Safari5.1+ */
  141. background: -o-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* Opera 11.10+ */
  142. background: -ms-linear-gradient(top, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* IE10+ */
  143. background: linear-gradient(to bottom, rgba(30,87,153,1) 0%,rgba(41,137,216,1) 50%,rgba(32,124,202,1) 51%,rgba(125,185,232,1) 100%); /* W3C */
  144. width: 0%;
  145. height: 15px;
  146. border-radius: 6px;
  147. margin-bottom: 3px;
  148. display: none;
  149. }