upload.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. /**
  2. * @name upload.css
  3. * @author Tobias Reich
  4. * @copyright 2014 by Tobias Reich
  5. */
  6. #upload {
  7. display: none;
  8. }
  9. .upload_overlay {
  10. position: fixed;
  11. width: 100%;
  12. height: 100%;
  13. top: 0px;
  14. left: 0px;
  15. background-color: rgba(0,0,0,.85);
  16. z-index: 1000;
  17. }
  18. .upload_message {
  19. position: absolute;
  20. display: inline-block;
  21. width: 450px;
  22. margin-left: -225px;
  23. margin-top: -160px;
  24. background-color: #444;
  25. background-image: -webkit-linear-gradient(top, rgb(75, 75, 75), rgb(45, 45, 45));
  26. background-image: -moz-linear-gradient(top, rgb(75, 75, 75), rgb(45, 45, 45));
  27. background-image: -ms-linear-gradient(top, rgb(75, 75, 75), rgb(45, 45, 45));
  28. background-image: linear-gradient(top, rgb(75, 75, 75), rgb(45, 45, 45));
  29. border-radius: 5px;
  30. box-shadow: 0px 0px 5px #000, inset 0px 1px 0px rgba(255,255,255,.08), inset 1px 0px 0px rgba(255,255,255,.03), inset -1px 0px 0px rgba(255,255,255,.03);
  31. /* Animation */
  32. -webkit-animation-name: moveUp;
  33. -webkit-animation-duration: .3s;
  34. -webkit-animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  35. -moz-animation-name: moveUp;
  36. -moz-animation-duration: .3s;
  37. -moz-animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  38. animation-name: moveUp;
  39. animation-duration: .3s;
  40. animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  41. }
  42. /* Header ------------------------------------------------*/
  43. .upload_message h1 {
  44. float: left;
  45. width: 100%;
  46. padding: 12px 0px;
  47. color: #fff;
  48. font-size: 16px;
  49. font-weight: bold;
  50. text-shadow: 0px -1px 0px #222;
  51. text-align: center;
  52. }
  53. .upload_message .close {
  54. position: absolute;
  55. top: 0px;
  56. right: 0px;
  57. padding: 11px 14px 6px 7px;
  58. color: #aaa;
  59. font-size: 20px;
  60. text-shadow: 0px -1px 0px #222;
  61. cursor: pointer;
  62. }
  63. .upload_message .close:hover {
  64. color: #fff;
  65. }
  66. /* Rows ------------------------------------------------*/
  67. .upload_message .rows {
  68. float: left;
  69. margin: 3px 8px 8px 8px;
  70. width: calc(100% - 16px);
  71. height: 300px;
  72. background-color: rgba(0, 0, 0, .5);
  73. overflow: hidden;
  74. overflow-y: scroll;
  75. border-radius: 3px;
  76. box-shadow: inset 0px 0px 3px rgba(0, 0, 0, .8);
  77. }
  78. /* Row ------------------------------------------------*/
  79. .upload_message .rows .row {
  80. display: inline-block;
  81. padding: 13px 0px;
  82. width: 100%;
  83. background-color: rgba(255, 255, 255, .02);
  84. }
  85. .upload_message .rows .row:nth-child(2n) {
  86. background-color: rgba(255, 255, 255, 0);
  87. }
  88. .upload_message .rows .row a.name {
  89. float: left;
  90. padding: 0px 10px;
  91. color: #fff;
  92. font-size: 14px;
  93. }
  94. .upload_message .rows .row a.status {
  95. float: right;
  96. padding: 0px 10px;
  97. color: rgba(255, 255, 255, .5);
  98. font-size: 14px;
  99. }
  100. .upload_message .rows .row a.status.error {
  101. color: rgb(213, 24, 24);
  102. }
  103. .upload_message .rows .row a.status.success {
  104. color: rgb(42, 213, 0);
  105. }
  106. /* Icon ------------------------------------------------
  107. .upload_message a {
  108. float: left;
  109. width: 100%;
  110. margin: 35px 0px 5px 0px;
  111. color: #fff;
  112. font-size: 70px;
  113. text-shadow: 0px 1px 2px rgba(0,0,0,.5);
  114. text-align: center;
  115. -webkit-animation-name: pulse;
  116. -webkit-animation-duration: 2s;
  117. -webkit-animation-timing-function: ease-in-out;
  118. -webkit-animation-iteration-count: infinite;
  119. -moz-animation-name: pulse;
  120. -moz-animation-duration: 2s;
  121. -moz-animation-timing-function: ease-in-out;
  122. -moz-animation-iteration-count: infinite;
  123. animation-name: pulse;
  124. animation-duration: 2s;
  125. animation-timing-function: ease-in-out;
  126. animation-iteration-count: infinite;
  127. }*/
  128. /* Text ------------------------------------------------
  129. .upload_message p {
  130. float: left;
  131. width: 100%;
  132. margin: 10px 0px 35px 0px;
  133. color: #fff;
  134. font-size: 14px;
  135. text-align: center;
  136. text-shadow: 0px -1px 0px rgba(0,0,0,.5);*/
  137. }
  138. /* Progress ------------------------------------------------
  139. .upload_message .progressbar {
  140. float: left;
  141. width: 170px;
  142. height: 25px;
  143. margin: 15px;
  144. background-size: 50px 25px;
  145. background-repeat: repeat-x;
  146. background-image: -webkit-linear-gradient(left, #191919 0%, #191919 47%, #1D1D1D 53%, #1D1D1D 100%);
  147. background-image: -moz-linear-gradient(left, #191919 0%, #191919 47%, #1D1D1D 53%, #1D1D1D 100%);
  148. background-image: linear-gradient(left right, #191919 0%, #191919 47%, #1D1D1D 53%, #1D1D1D 100%);
  149. border: 1px solid #090909;
  150. box-shadow: 0 1px 0 rgba(255,255,255,.06), inset 0px 0px 2px #222;
  151. border-radius: 50px;
  152. -webkit-animation-name: moveBackground;
  153. -webkit-animation-duration: 1s;
  154. -webkit-animation-timing-function: linear;
  155. -webkit-animation-iteration-count: infinite;
  156. -moz-animation-name: moveBackground;
  157. -moz-animation-duration: 1s;
  158. -moz-animation-timing-function: linear;
  159. -moz-animation-iteration-count: infinite;
  160. animation-name: moveBackground;
  161. animation-duration: 1s;
  162. animation-timing-function: linear;
  163. animation-iteration-count: infinite;
  164. }
  165. .upload_message .progressbar div {
  166. float: left;
  167. width: 0%;
  168. height: 100%;
  169. box-shadow: 0 1px 0 #000, 1px 0px 2px #000;
  170. background-color: #f5f2f7;
  171. background-image: -webkit-linear-gradient(top, #f5f2f7, #c7c6c8);
  172. background-image: -moz-linear-gradient(top, #f5f2f7, #c7c6c8);
  173. background-image: -ms-linear-gradient(top, #f5f2f7, #c7c6c8);
  174. background-image: linear-gradient(top, #f5f2f7, #c7c6c8);
  175. border-radius: 50px;
  176. -webkit-transition: width .2s, opacity .5;
  177. -moz-transition: width .2s, opacity .5;
  178. transition: width .2s, opacity .5;
  179. }*/