_upload.scss 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. /**
  2. * @copyright 2014 by Tobias Reich
  3. */
  4. #upload {
  5. display: none;
  6. }
  7. .upload_overlay {
  8. position: fixed;
  9. width: 100%;
  10. height: 100%;
  11. top: 0;
  12. left: 0;
  13. background-color: rgba(0, 0, 0, .85);
  14. z-index: 1000;
  15. }
  16. .upload_message {
  17. position: absolute;
  18. display: inline-block;
  19. width: 450px;
  20. margin-left: -225px;
  21. margin-top: -170px;
  22. background-image: linear-gradient(to bottom, rgb(75, 75, 75), rgb(45, 45, 45));
  23. border-radius: 5px;
  24. box-shadow: 0 0 5px #000, inset 0 1px 0 rgba(255, 255, 255, .08);
  25. animation-name: moveUp;
  26. animation-duration: .3s;
  27. animation-timing-function: cubic-bezier(0.51,.92,.24,1.15);
  28. /* Header ------------------------------------------------*/
  29. h1 {
  30. float: left;
  31. width: 100%;
  32. padding: 12px 0;
  33. color: #fff;
  34. font-size: 16px;
  35. font-weight: bold;
  36. text-shadow: 0px -1px 0px rgba(0, 0, 0, .3);
  37. text-align: center;
  38. }
  39. .close {
  40. display: none;
  41. position: absolute;
  42. top: 0;
  43. right: 0;
  44. padding: 11px 14px 6px 7px;
  45. color: #aaa;
  46. font-size: 20px;
  47. text-shadow: 0px -1px 0px rgba(0, 0, 0, .3);
  48. cursor: pointer;
  49. &:hover { color: #fff; }
  50. }
  51. /* Rows ------------------------------------------------*/
  52. .rows {
  53. float: left;
  54. margin: 3px 8px 8px 8px;
  55. width: calc(100% - 16px);
  56. height: 300px;
  57. background-color: rgba(0, 0, 0, .5);
  58. overflow: hidden;
  59. overflow-y: scroll;
  60. border-radius: 3px;
  61. box-shadow: inset 0 0 3px rgba(0, 0, 0, .8);
  62. }
  63. /* Row ------------------------------------------------*/
  64. .rows .row {
  65. float: left;
  66. display: inline-block;
  67. padding: 8px 0;
  68. width: 100%;
  69. background-color: rgba(255, 255, 255, .02);
  70. &:nth-child(2n) { background-color: rgba(255, 255, 255, 0); }
  71. a.name {
  72. float: left;
  73. padding: 5px 10px;
  74. width: calc(70% - 20px);
  75. color: #fff;
  76. font-size: 14px;
  77. white-space: nowrap;
  78. overflow: hidden;
  79. }
  80. a.status {
  81. float: left;
  82. padding: 5px 10px;
  83. width: calc(30% - 20px);
  84. color: rgba(255, 255, 255, .5);
  85. font-size: 14px;
  86. text-align: right;
  87. animation-name: pulse;
  88. animation-duration: 2s;
  89. animation-timing-function: ease-in-out;
  90. animation-iteration-count: infinite;
  91. &.error,
  92. &.success { animation: none; }
  93. &.error { color: rgb(213, 24, 24); }
  94. &.success { color: rgb(42, 213, 0); }
  95. }
  96. p.notice {
  97. display: none;
  98. float: left;
  99. padding: 2px 10px 5px;
  100. width: calc(100% - 20px);
  101. color: rgba(255, 255, 255, .5);
  102. font-size: 12px;
  103. overflow: hidden;
  104. line-height: 16px;
  105. }
  106. }
  107. }