upload.css 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  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: -170px;
  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. /* Header ------------------------------------------------*/
  32. .upload_message h1 {
  33. float: left;
  34. width: 100%;
  35. padding: 12px 0px;
  36. color: #fff;
  37. font-size: 16px;
  38. font-weight: bold;
  39. text-shadow: 0px -1px 0px #222;
  40. text-align: center;
  41. }
  42. .upload_message .close {
  43. position: absolute;
  44. top: 0px;
  45. right: 0px;
  46. padding: 11px 14px 6px 7px;
  47. color: #aaa;
  48. font-size: 20px;
  49. text-shadow: 0px -1px 0px #222;
  50. cursor: pointer;
  51. }
  52. .upload_message .close:hover {
  53. color: #fff;
  54. }
  55. /* Rows ------------------------------------------------*/
  56. .upload_message .rows {
  57. float: left;
  58. margin: 3px 8px 8px 8px;
  59. width: calc(100% - 16px);
  60. height: 300px;
  61. background-color: rgba(0, 0, 0, .5);
  62. overflow: hidden;
  63. overflow-y: scroll;
  64. border-radius: 3px;
  65. box-shadow: inset 0px 0px 3px rgba(0, 0, 0, .8);
  66. }
  67. /* Row ------------------------------------------------*/
  68. .upload_message .rows .row {
  69. float: left;
  70. display: inline-block;
  71. padding: 8px 0px;
  72. width: 100%;
  73. background-color: rgba(255, 255, 255, .02);
  74. }
  75. .upload_message .rows .row:nth-child(2n) {
  76. background-color: rgba(255, 255, 255, 0);
  77. }
  78. .upload_message .rows .row a.name {
  79. float: left;
  80. width: 70%;
  81. padding: 5px 10px;
  82. color: #fff;
  83. font-size: 14px;
  84. white-space: nowrap;
  85. overflow: hidden;
  86. }
  87. .upload_message .rows .row a.status {
  88. float: right;
  89. padding: 5px 10px;
  90. color: rgba(255, 255, 255, .5);
  91. font-size: 14px;
  92. }
  93. .upload_message .rows .row a.status {
  94. animation-name: pulse;
  95. animation-duration: 2s;
  96. animation-timing-function: ease-in-out;
  97. animation-iteration-count: infinite;
  98. }
  99. .upload_message .rows .row a.status.error,
  100. .upload_message .rows .row a.status.success {
  101. animation: none;
  102. }
  103. .upload_message .rows .row a.status.error {
  104. color: rgb(213, 24, 24);
  105. }
  106. .upload_message .rows .row a.status.success {
  107. color: rgb(42, 213, 0);
  108. }