stylesheet.css 6.1 KB
Newer Older
1 2
html,
body {
J
Jason Park 已提交
3 4 5 6 7 8
    margin: 0;
    padding: 0;
    overflow: hidden;
}

body {
9
    background: rgb(63, 63, 63);
J
Jason Park 已提交
10 11
    font-family: 'Roboto', sans-serif;
    color: rgb(187, 187, 187);
J
Jason Park 已提交
12
    -webkit-font-smoothing: subpixel-antialiased;
J
Jason Park 已提交
13 14
}

G
Gautam krishna.R 已提交
15
*::-webkit-scrollbar {
16
    display: none;
G
Gautam krishna.R 已提交
17 18
}

J
Jason Park 已提交
19 20 21 22 23
a {
    text-decoration: none;
}

* {
24 25 26 27
    color: inherit;
}

*:not(input) {
J
Jason Park 已提交
28 29 30 31 32 33 34 35
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

J
Jason Park 已提交
36 37 38 39 40 41 42 43 44 45
.btn {
    display: inline-table;
}

.btn > .wrapper {
    display: table-cell;
    vertical-align: middle;
}

.btn,
J
Jason Park 已提交
46
button {
J
Jason Park 已提交
47
    vertical-align: top;
J
Jason Park 已提交
48 49 50 51 52 53 54
    border: none;
    height: 100%;
    padding: 0 12px;
    margin: 0;
    background: none;
    font-size: 12px;
    outline: none;
J
Jason Park 已提交
55 56 57
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
J
Jason Park 已提交
58 59
}

J
Jason Park 已提交
60
.btn:hover,
J
Jason Park 已提交
61
button:not([disabled]):hover {
62
    background: rgba(0, 0, 0, .15) !important;
63
    cursor: pointer;
J
Jason Park 已提交
64 65
}

J
Jason Park 已提交
66
.btn.active,
J
Jason Park 已提交
67
button.active {
J
Jason Park 已提交
68
    background: rgb(38, 38, 38);
J
Jason Park 已提交
69 70
}

J
Jason Park 已提交
71 72 73 74 75 76 77 78
.btn input,
button input {
    outline: none;
    background: rgba(0, 0, 0, .3);
    padding: 4px;
    border: none;
}

J
Jason Park 已提交
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
.divider {
    position: absolute !important;
    z-index: 3;
}

.divider.vertical {
    cursor: ew-resize;
}

.divider.horizontal {
    cursor: ns-resize;
}

nav {
    height: 30px;
    width: 100%;
    padding: 0 16px;
}

nav h3 {
    display: inline;
}

.nav-arrow {
    padding: 0 4px;
}

106
#navigation span:empty + .nav-arrow {
J
Jason Park 已提交
107 108 109
    display: none;
}

J
Jason Park 已提交
110 111 112 113 114
.buttons {
    float: right;
    height: 100%;
}

J
Jason Park 已提交
115 116 117 118 119 120 121 122 123 124
#shared {
    width: 128px;
}

#shared.collapse {
    display: none;
}

#interval {
    width: 24px;
125 126 127
    text-align: right;
}

J
Jason Park 已提交
128 129 130 131
.sidemenu {
    top: 30px;
    right: 85%;
    visibility: hidden;
J
Jason Park 已提交
132 133
    overflow: scroll;
    padding-bottom: 120px;
J
Jason Park 已提交
134 135 136 137 138 139
}

.sidemenu.active {
    visibility: visible;
}

140
.sidemenu #footer {
J
Jason Park 已提交
141
    border-top: 2px solid rgb(38, 38, 38);
J
Jason Park 已提交
142 143 144
}

.sidemenu button {
J
Jason Park 已提交
145 146 147 148 149 150
    display: block;
    width: 100%;
    height: 30px;
    text-align: left;
}

J
Jason Park 已提交
151 152 153 154 155 156 157 158 159
button.category {
    background: rgba(0, 0, 0, .10);
}

button.indent {
    padding-left: 28px;
}

button.collapse {
J
Jason Park 已提交
160
    display: none;
J
Jason Park 已提交
161 162
}

J
Jason Park 已提交
163 164 165 166 167 168 169 170 171
.workspace {
    position: absolute;
    top: 30px;
    bottom: 0;
    left: 15%;
    right: 0;
}

nav,
J
Jason Park 已提交
172
section,
J
Jason Park 已提交
173 174 175 176 177 178
.viewer_container,
.editor_container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
J
Jason Park 已提交
179 180 181 182 183
    right: 0;
}

nav,
section {
J
Jason Park 已提交
184
    border: 1px solid rgb(38, 38, 38);
J
Jason Park 已提交
185 186 187 188
    box-sizing: border-box;
}

.viewer_container {
J
Jason Park 已提交
189 190 191 192 193 194 195
    right: 50%;
}

.editor_container {
    left: 50%;
}

J
Jason Park 已提交
196
.module_container {
J
Jason Park 已提交
197
    overflow: hidden;
J
Jason Park 已提交
198
    border: none;
J
Jason Park 已提交
199 200 201
}

.tab_container {
J
Jason Park 已提交
202
    top: 30px;
J
Jason Park 已提交
203 204 205 206 207 208
}

.tab {
    position: absolute;
    width: 100%;
    height: 100%;
J
Jason Park 已提交
209
    visibility: hidden;
J
Jason Park 已提交
210 211 212 213 214 215 216 217
}

.tab > .wrapper {
    padding: 16px;
    box-sizing: border-box;
}

.tab.active {
J
Jason Park 已提交
218 219 220
    visibility: visible;
}

221 222 223 224
.module_wrapper {
    overflow: scroll;
}

J
Jason Park 已提交
225
.module_wrapper .name {
226 227
    position: fixed;
    z-index: 5;
J
Jason Park 已提交
228 229
    padding: 4px;
    font-size: 14px;
J
Jason Park 已提交
230
    background: rgba(0, 0, 0, .4);
J
Jason Park 已提交
231 232
}

J
Jason Park 已提交
233
.module_wrapper > .wrapper {
234
    padding: 24px 16px;
J
Jason Park 已提交
235
    box-sizing: border-box;
J
Jason Park 已提交
236 237
}

238
#tab_desc h3 {
N
nem035 已提交
239
    border-bottom: 1px solid rgb(81, 81, 81);
240 241 242 243
    padding: 5px;
    margin: 2px;
}

J
Jason Park 已提交
244 245 246 247
#tab_desc > .wrapper a {
    text-decoration: underline;
}

J
Jason Park 已提交
248 249 250 251
.tab_bar {
    height: 30px;
}

252
.files_bar {
D
duaraghav8@gmail 已提交
253 254 255
    height: 30px;
}

256 257 258
.files_bar > * {
    position: absolute;
    height: 100%
D
duaraghav8@gmail 已提交
259 260
}

J
Jason Park 已提交
261 262 263 264 265 266 267 268 269
.files_bar > button {
    width: 30px;
}

.files_bar > button:disabled {
    background: rgba(0, 0, 0, .15);
}

.files_bar > .btn-left {
270 271 272
    left: 0;
}

J
Jason Park 已提交
273
.files_bar > .btn-right {
274 275 276 277 278 279 280 281 282 283 284 285
    right: 0;
}

.files_bar > .wrapper {
    left: 30px;
    right: 30px;
    overflow: scroll;
    white-space: nowrap;
}

.files_bar > .wrapper > button {
    max-width: 80%;
J
Jason Park 已提交
286 287
}

J
Jason Park 已提交
288 289 290 291 292 293 294 295 296 297 298 299 300
.files_bar > .wrapper.shadow-left {
    box-shadow: inset 16px 0 16px -16px rgba(0, 0, 0, .6);
}

.files_bar > .wrapper.shadow-right {
    box-shadow: inset -16px 0 16px -16px rgba(0, 0, 0, .6);
}

.files_bar > .wrapper.shadow-left.shadow-right {
    box-shadow: inset 16px 0 16px -16px rgba(0, 0, 0, .6),
    inset -16px 0 16px -16px rgba(0, 0, 0, .6);
}

J
Jason Park 已提交
301
.explanation_container {
J
Jason Park 已提交
302
    border: none;
J
Jason Park 已提交
303 304
    top: 30px;
    height: 30px;
J
Jason Park 已提交
305 306
    background: rgb(38, 38, 38);
    padding: 8px;
J
Jason Park 已提交
307
    font-size: 12px;
J
Jason Park 已提交
308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330
}

#explanation:before {
    font-family: FontAwesome;
    content: '\f05a\00a0\00a0';
}

#explanation {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.explanation_container:hover {
    z-index: 5;
    height: auto;
    bottom: auto;
    box-shadow: 0 8px 8px -8px rgba(0, 0, 0, .8);
}

.explanation_container:hover #explanation {
    white-space: normal;
J
Jason Park 已提交
331 332 333 334
}

.data_container {
    top: 60px;
J
tree  
Jason Park 已提交
335
    bottom: 60%;
J
Jason Park 已提交
336 337 338
}

.code_container {
J
tree  
Jason Park 已提交
339
    top: 40%;
J
Jason Park 已提交
340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358
}

pre {
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid rgb(81, 81, 81);
    background: rgb(43, 43, 43);
    outline: none;
    resize: none;
}

.toast_container {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 12px;
J
Jason Park 已提交
359
    z-index: 4;
J
Jason Park 已提交
360 361 362 363 364 365 366 367 368 369 370 371 372
}

.toast {
    width: 280px;
    border: 1px solid;
    border-radius: 4px;
    padding: 16px;
    margin: 16px;
}

.toast.error {
    border-color: rgb(150, 0, 0);
    background: rgba(120, 0, 0, .8);
J
Jason Park 已提交
373 374
}

375 376 377 378 379
.toast.info {
    border-color: rgb(0, 150, 0);
    background: rgba(0, 120, 0, .8);
}

J
Jason Park 已提交
380 381 382 383
.github-fork-ribbon {
    position: fixed;
}

J
Jason Park 已提交
384 385 386 387
.github-fork-ribbon.left-bottom:before {
    background-color: #333;
}

J
Jason Park 已提交
388 389 390 391 392
.fa-spin-faster {
    -webkit-animation: fa-spin 1s infinite ease-in-out;
    animation: fa-spin 1s infinite ease-in-out;
}

J
Jason Park 已提交
393 394 395 396 397
.mtbl-wrapper {
    width: 100%;
    height: 100%;
}

J
Jason Park 已提交
398 399 400 401 402 403 404 405 406 407
.mtbl-table {
    display: inline-table;
    color: white;
    table-layout: fixed;
}

.mtbl-row {
    display: table-row;
}

408
.mtbl-col {
J
Jason Park 已提交
409 410 411 412
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background: #888;
413 414
}

415 416 417 418 419 420 421 422 423 424 425 426 427
.mtbl-empty-row {
    display: table-row;
    background: rgb(63, 63, 63);
    height: 2px;
}

.mtbl-empty-col {
    display: table-cell;
    background: rgb(63, 63, 63);
    width: 2px;
}

.mtbl-col.selected {
428 429 430
    background: #00f;
}

431
.mtbl-col.notified {
432
    background: #f00;
433
}