this repo has no description
at main 5.1 kB view raw
1html, body { 2 margin: 0; 3 padding: 0; 4 font-family: sans-serif; 5 background: #191919; 6 height: 100%; 7 overflow: hidden; 8} 9 10* { 11 box-sizing: border-box; 12} 13 14body { 15 display: flex; 16 flex-direction: column; 17} 18 19.wrap { 20 display: flex; 21 width: 100vw; 22 flex-grow: 1; 23 position: relative; 24} 25 26.dropzone { 27 display: flex; 28 flex-grow: 1; 29 flex-direction: column; 30 justify-content: center; 31 align-items: center; 32} 33 34.placeholder { 35 width: 100%; 36 max-width: 500px; 37 border-radius: 0.5em; 38 background: #252525; 39 padding: 2em; 40 text-align: center; 41} 42 43.placeholder p { 44 font-size: 1.2rem; 45 color: #999; 46} 47 48.viewer { 49 width: 100%; 50 height: 100%; 51 flex-grow: 1; 52 flex-shrink: 1; 53 position: absolute; 54 top: 0; 55 z-index: 0; 56} 57 58.axes { 59 width: 100px; 60 height: 100px; 61 margin: 20px; 62 padding: 0px; 63 position: absolute; 64 left: 0px; 65 bottom: 0px; 66 z-index: 10; 67 pointer-events: none; 68} 69 70/****************************************************************************** 71 * Header 72 */ 73 74header { 75 display: flex; 76 background: #353535; 77 padding: 0 2em; 78 height: 4rem; 79 line-height: 4rem; 80 align-items: center; 81 overflow-x: auto; 82 overflow-y: hidden; 83 white-space: nowrap; 84 box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.3); 85 z-index: 1; 86 87 -webkit-app-region: drag; 88} 89 90header h1 { 91 color: #F5F5F5; 92 font-size: 1.4rem; 93 font-weight: 300; 94 line-height: 4rem; 95 margin: 0; 96} 97 98header h1 > a { 99 color: inherit; 100 font-size: inherit; 101 text-decoration: inherit; 102} 103 104.gui-wrap { 105 position: absolute; 106 top: 0; 107 right: 0; 108 bottom: 0; 109 pointer-events: none; 110} 111 112.gui-wrap > .main { 113 pointer-events: all; 114 max-height: 100%; 115 overflow: auto; 116} 117 118.dg li.gui-stats:not(.folder) { 119 height: auto; 120} 121 122@media screen and (max-width: 700px) { 123 header h1 { 124 font-size: 1em; 125 } 126} 127 128/****************************************************************************** 129 * Footer 130 */ 131 132footer { 133 position: absolute; 134 bottom: 0.5em; 135 right: 0.5em; 136 font-family: monospace; 137 color: #fff; 138} 139 140footer a { 141 color: inherit; 142 opacity: 0.5; 143 text-decoration: inherit; 144} 145 146footer a:hover { 147 opacity: 1; 148 text-decoration: underline; 149} 150 151footer .separator { 152 margin: 0 0.5em; 153 opacity: 0.2; 154} 155 156/****************************************************************************** 157 * Upload Button 158 * 159 * https://tympanus.net/Tutorials/CustomFileInputs/ 160 */ 161 162.upload-btn { 163 margin-top: 2em; 164} 165 166.upload-btn input { 167 width: 0.1px; 168 height: 0.1px; 169 opacity: 0; 170 overflow: hidden; 171 position: absolute; 172 z-index: -1; 173} 174 175.upload-btn label { 176 color: #808080; 177 border: 0; 178 border-radius: 3px; 179 transition: ease 0.2s background; 180 font-size: 1rem; 181 font-weight: 700; 182 text-overflow: ellipsis; 183 white-space: nowrap; 184 cursor: pointer; 185 display: inline-block; 186 overflow: hidden; 187 padding: 0.625rem 1.25rem; 188} 189 190.upload-btn label:hover { 191 background: #252525; 192} 193 194.upload-btn svg { 195 width: 1em; 196 height: 1em; 197 vertical-align: middle; 198 fill: currentColor; 199 margin-top: -0.25em; 200 margin-right: 0.25em; 201} 202 203 204/****************************************************************************** 205 * Validation report 206 */ 207 208.report { 209 padding: 2em; 210 max-width: 860px; 211} 212 213.report h1 { 214 margin-top: 0; 215} 216 217.report p, 218.report ul { 219 line-height: 1.5em; 220} 221 222.report-table { 223 text-align: left; 224 border-collapse: collapse; 225 width: 100%; 226} 227 228.report-table thead tr { 229 background: #404040; 230 color: #FFF; 231} 232 233.report-table th, 234.report-table td { 235 padding: 0.5em 1em; 236} 237 238.report-table tr:nth-child(2n) { 239 background: #F0F0F0; 240} 241 242/****************************************************************************** 243 * Validation toggle 244 */ 245 246.report-toggle-wrap.hidden { display: none; } 247 248.report-toggle { 249 cursor: pointer; 250 display: flex; 251 position: absolute; 252 bottom: 0; 253 left: 20px; 254 height: 30px; 255 box-shadow: 0px 0px 5px 0 rgba(0, 0, 0, 0.25); 256 background: #FFF; 257 box-sizing: border-box; 258 259 color: #f0f0f0; 260 background: #000; 261 border-left: 6px solid #000; 262} 263 264.report-toggle.level-1 { color: #444; background: #ffeda0; border-left-color: #feb24c; } 265.report-toggle.level-0 { color: #444; background: #f4c2be; border-left-color: #b10026; } 266 267.report-toggle-text { 268 line-height: 32px; 269 padding: 0 0.5em; 270 font-weight: 300; 271 font-size: 0.8em; 272} 273 274.report-toggle-close { 275 width: 30px; 276 height: 30px; 277 line-height: 30px; 278 font-size: 1.5em; 279 text-align: center; 280} 281 282/****************************************************************************** 283 * CSS Spinner 284 * 285 * http://tobiasahlin.com/spinkit/ 286 */ 287 288.spinner { 289 width: 40px; 290 height: 40px; 291 position: absolute; 292 left: 50%; 293 top: 50%; 294 margin: -20px; 295 296 background-color: #333; 297 298 border-radius: 100%; 299 -webkit-animation: sk-scaleout 1.0s infinite ease-in-out; 300 animation: sk-scaleout 1.0s infinite ease-in-out; 301} 302 303@-webkit-keyframes sk-scaleout { 304 0% { -webkit-transform: scale(0) } 305 100% { 306 -webkit-transform: scale(1.0); 307 opacity: 0; 308 } 309} 310 311@keyframes sk-scaleout { 312 0% { 313 -webkit-transform: scale(0); 314 transform: scale(0); 315 } 100% { 316 -webkit-transform: scale(1.0); 317 transform: scale(1.0); 318 opacity: 0; 319 } 320}