A simple file sharing site with an easy to use API and online panel.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

250 lines
4.0KB

  1. @import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css');
  2. @import url('https://fonts.googleapis.com/css?family=Roboto');
  3. @import url('https://fonts.googleapis.com/css?family=Roboto+Mono');
  4. @import "sidebar.css";
  5. *, *:before, *:after {
  6. margin: 0;
  7. padding: 0;
  8. box-sizing: border-box;
  9. }
  10. body {
  11. font: 12px 'Roboto', sans-serif;
  12. color: #eeeeee;
  13. background: #020202;
  14. }
  15. .container {
  16. display: grid;
  17. grid-template-columns: 240px 100%;
  18. grid-template-rows: 60px 100%;
  19. width: 100vw;
  20. height: 100vh;
  21. }
  22. .view {
  23. grid-row-start: 2;
  24. grid-column-start: 2;
  25. background: #121212;
  26. padding: 20px;
  27. }
  28. .inner {
  29. display: flex;
  30. flex-direction: column;
  31. }
  32. .keys {
  33. display: flex;
  34. flex-direction: row;
  35. flex-wrap: wrap;
  36. }
  37. .key {
  38. background: #555;
  39. border: 3px solid #2a9fd6;
  40. border-radius: 5px;
  41. box-shadow: 5px 5px 10px #000;
  42. margin: 20px;
  43. width: 300px;
  44. height: 100px;
  45. cursor: pointer;
  46. display: flex;
  47. justify-content: flex-start;
  48. flex-direction: row;
  49. transition: box-shadow 0.2s;
  50. overflow: hidden;
  51. }
  52. .key:hover {
  53. box-shadow: 0 0 10px #eee;
  54. }
  55. .key i {
  56. font-size: 48px;
  57. margin: auto 0 auto 20px;
  58. }
  59. .key span {
  60. font-size: 16px;
  61. vertical-align: center;
  62. margin: auto;
  63. -moz-user-select: none;
  64. user-select: none;
  65. }
  66. .key-name {
  67. color: #2a9fd6;
  68. font-family: 'Roboto Mono', monospace;
  69. }
  70. pre {
  71. overflow: auto;
  72. line-height: 1.7em;
  73. font-family: 'Roboto Mono', monospace;
  74. border: 1px solid #666;
  75. border-radius: 4px;
  76. display: block;
  77. padding: 10px;
  78. font-size: 14px;
  79. margin: 10px 0;
  80. background: #222;
  81. color: #2a9fd6;
  82. }
  83. .modal,
  84. .modal-box {
  85. z-index: 900;
  86. }
  87. .modal-sandbox {
  88. position: fixed;
  89. width: 100%;
  90. height: 100%;
  91. top: 0;
  92. left: 0;
  93. background: transparent;
  94. }
  95. .modal {
  96. display: none;
  97. position: fixed;
  98. width: 100%;
  99. height: 100%;
  100. left: 0;
  101. top: 0;
  102. background: rgb(0,0,0);
  103. background: rgba(0,0,0,.8);
  104. overflow: auto;
  105. }
  106. .modal-box {
  107. position: relative;
  108. width: 80%;
  109. max-width: 700px;
  110. margin: 60px auto;
  111. animation-name: modalbox;
  112. animation-duration: .3s;
  113. animation-timing-function: ease;
  114. }
  115. #createKey {
  116. max-width: 920px;
  117. }
  118. .modal-header {
  119. border: 2px solid #2a9fd6;
  120. border-radius: 8px 8px 0 0;
  121. display: flex;
  122. flex-direction: row;
  123. justify-content: space-between;
  124. padding: 20px 40px;
  125. background: #000;
  126. color: #ffffff;
  127. overflow: hidden;
  128. }
  129. .modal-body {
  130. border: 2px solid #2a9fd6;
  131. border-top: none;
  132. background: #000;
  133. padding: 30px;
  134. }
  135. .modal-footer {
  136. display: flex;
  137. justify-content: flex-end;
  138. border: 2px solid #2a9fd6;
  139. border-radius: 0 0 8px 8px;
  140. border-top: none;
  141. background: #000;
  142. padding: 20px;
  143. }
  144. .close-modal {
  145. text-align: right;
  146. font-size: 24px;
  147. cursor: pointer;
  148. }
  149. @keyframes modalbox {
  150. 0% {
  151. top: -250px;
  152. opacity: 0;
  153. }
  154. 100% {
  155. top: 0;
  156. opacity: 1;
  157. }
  158. }
  159. button {
  160. margin-left: 20px;
  161. color: #d3d3d3;
  162. background: #000;
  163. border: 2px solid #2a9fd6;
  164. border-radius: 5px;
  165. padding: 10px;
  166. cursor: pointer;
  167. transition: background-color 0.25s;
  168. }
  169. button:hover {
  170. color: #fff;
  171. background-color: #2a9fd6;
  172. text-decoration: none;
  173. outline: none;
  174. }
  175. ::-moz-focus-inner {
  176. outline: none;
  177. }
  178. .btn-del {
  179. text-transform: uppercase;
  180. border: 2px solid #ff6666;
  181. color: #ccc;
  182. }
  183. .btn-del:hover {
  184. background-color: #ff6666;
  185. }
  186. em {
  187. text-transform: uppercase;
  188. font-weight: bold;
  189. }
  190. #identifier {
  191. font-size: 14px;
  192. background: #222;
  193. color: #d3d3d3;
  194. border: 1px solid #666;
  195. border-radius: 4px;
  196. padding: 10px;
  197. margin: 10px 0;
  198. }
  199. th {
  200. text-transform: uppercase;
  201. font-weight: bold;
  202. padding: 10px;
  203. }
  204. td {
  205. padding: 10px;
  206. }
  207. td input {
  208. vertical-align: middle;
  209. }
  210. td label {
  211. margin-bottom: 2px;
  212. padding-left: 3px;
  213. }