upload.css 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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: 200px;
  22. margin-left: -100px;
  23. margin-top: -85px;
  24. background-image: linear-gradient(to bottom, rgb(75, 75, 75), rgb(45, 45, 45));
  25. border-radius: 5px;
  26. 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);
  27. animation-name: moveUp;
  28. animation-duration: .3s;
  29. animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  30. }
  31. /* Icon ------------------------------------------------*/
  32. .upload_message a {
  33. float: left;
  34. width: 100%;
  35. margin: 35px 0px 5px 0px;
  36. color: #fff;
  37. font-size: 70px;
  38. text-shadow: 0px 1px 2px rgba(0,0,0,.5);
  39. text-align: center;
  40. animation-name: pulse;
  41. animation-duration: 2s;
  42. animation-timing-function: ease-in-out;
  43. animation-iteration-count: infinite;
  44. }
  45. /* Text ------------------------------------------------*/
  46. .upload_message p {
  47. float: left;
  48. width: 100%;
  49. margin: 10px 0px 35px 0px;
  50. color: #fff;
  51. font-size: 14px;
  52. text-align: center;
  53. text-shadow: 0px -1px 0px rgba(0,0,0,.5);
  54. }
  55. /* Progress ------------------------------------------------*/
  56. .upload_message .progressbar {
  57. float: left;
  58. width: 170px;
  59. height: 25px;
  60. margin: 15px;
  61. background-size: 50px 25px;
  62. background-repeat: repeat-x;
  63. background-image: linear-gradient(to right, #191919 0%, #191919 47%, #1D1D1D 53%, #1D1D1D 100%);
  64. border: 1px solid #090909;
  65. box-shadow: 0 1px 0 rgba(255,255,255,.06), inset 0px 0px 2px #222;
  66. border-radius: 50px;
  67. animation-name: moveBackground;
  68. animation-duration: 1s;
  69. animation-timing-function: linear;
  70. animation-iteration-count: infinite;
  71. }
  72. .upload_message .progressbar div {
  73. float: left;
  74. width: 0%;
  75. height: 100%;
  76. box-shadow: 0 1px 0 #000, 1px 0px 2px #000;
  77. background-color: #f5f2f7;
  78. background-image: linear-gradient(to bottom, #f5f2f7, #c7c6c8);
  79. border-radius: 50px;
  80. transition: width .2s, opacity .5;
  81. }