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

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

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

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

* {
23 24 25 26
    color: inherit;
}

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

button {
    border: none;
    height: 100%;
    padding: 0 12px;
    margin: 0;
    background: none;
    font-size: 12px;
    outline: none;
J
Jason Park 已提交
43 44 45
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
J
Jason Park 已提交
46 47 48
}

button:hover {
49
    background: rgba(0, 0, 0, .15) !important;
J
Jason Park 已提交
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
}

button.active {
    background: rgb(44, 44, 44);
}

.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;
}

.buttons {
    float: right;
    height: 100%;
}

88 89 90 91 92 93 94 95
button input {
    outline: none;
    background: none;
    border: none;
    width: 20px;
    text-align: right;
}

J
Jason Park 已提交
96 97 98 99
.sidemenu {
    top: 30px;
    right: 85%;
    visibility: hidden;
J
Jason Park 已提交
100 101
    overflow: scroll;
    padding-bottom: 120px;
J
Jason Park 已提交
102 103 104 105 106 107
}

.sidemenu.active {
    visibility: visible;
}

108
.sidemenu #footer {
J
Jason Park 已提交
109 110 111 112
    border-top: 2px solid rgb(44, 44, 44);
}

.sidemenu button {
J
Jason Park 已提交
113 114 115 116 117 118
    display: block;
    width: 100%;
    height: 30px;
    text-align: left;
}

J
Jason Park 已提交
119 120 121 122 123 124 125 126 127 128 129 130 131
button.category {
    background: rgba(0, 0, 0, .10);
}

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

button.collapse {
    display: block;
}

J
Jason Park 已提交
132 133 134 135 136 137 138 139 140
.workspace {
    position: absolute;
    top: 30px;
    bottom: 0;
    left: 15%;
    right: 0;
}

nav,
J
Jason Park 已提交
141
section,
J
Jason Park 已提交
142 143 144 145 146 147
.viewer_container,
.editor_container {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
J
Jason Park 已提交
148 149 150 151 152 153 154 155 156 157
    right: 0;
}

nav,
section {
    border: 1px solid rgb(44, 44, 44);
    box-sizing: border-box;
}

.viewer_container {
J
Jason Park 已提交
158 159 160 161 162 163 164
    right: 50%;
}

.editor_container {
    left: 50%;
}

J
Jason Park 已提交
165
.module_container {
J
Jason Park 已提交
166
    overflow: hidden;
J
Jason Park 已提交
167
    border: none;
J
Jason Park 已提交
168 169 170
}

.tab_container {
J
Jason Park 已提交
171
    top: 30px;
J
Jason Park 已提交
172 173 174 175 176 177
}

.tab {
    position: absolute;
    width: 100%;
    height: 100%;
J
Jason Park 已提交
178
    visibility: hidden;
J
Jason Park 已提交
179 180 181 182 183 184 185 186
}

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

.tab.active {
J
Jason Park 已提交
187 188 189
    visibility: visible;
}

190 191 192 193
.module_wrapper {
    overflow: scroll;
}

J
Jason Park 已提交
194
.module_wrapper .name {
195 196
    position: fixed;
    z-index: 5;
J
Jason Park 已提交
197 198 199 200 201
    padding: 4px;
    font-size: 14px;
    background: rgb(44, 44, 44);
}

J
Jason Park 已提交
202
.module_wrapper .wrapper {
203
    padding: 24px 16px;
J
Jason Park 已提交
204
    box-sizing: border-box;
J
Jason Park 已提交
205 206
}

J
Jason Park 已提交
207 208 209 210
#tab_desc > .wrapper a {
    text-decoration: underline;
}

J
Jason Park 已提交
211 212 213 214 215 216 217 218 219 220 221 222
.tab_bar {
    height: 30px;
}

.files_bar {
    height: 30px;
}

.explanation_container {
    top: 30px;
    height: 30px;
    background: rgb(44, 44, 44);
J
Jason Park 已提交
223
    padding: 7px;
J
Jason Park 已提交
224
    font-size: 12px;
J
Jason Park 已提交
225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247
}

#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 已提交
248 249 250 251
}

.data_container {
    top: 60px;
J
tree  
Jason Park 已提交
252
    bottom: 60%;
J
Jason Park 已提交
253 254 255
}

.code_container {
J
tree  
Jason Park 已提交
256
    top: 40%;
J
Jason Park 已提交
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275
}

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 已提交
276
    z-index: 4;
J
Jason Park 已提交
277 278 279 280 281 282 283 284 285 286 287 288 289
}

.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 已提交
290 291
}

292 293 294 295 296
.toast.info {
    border-color: rgb(0, 150, 0);
    background: rgba(0, 120, 0, .8);
}

J
Jason Park 已提交
297 298 299 300
.github-fork-ribbon {
    position: fixed;
}

J
Jason Park 已提交
301 302 303 304
.github-fork-ribbon.left-bottom:before {
    background-color: #333;
}

J
Jason Park 已提交
305 306 307 308 309
.mtbl-wrapper {
    width: 100%;
    height: 100%;
}

J
Jason Park 已提交
310 311 312 313 314 315 316 317 318 319 320 321 322 323 324
.mtbl-table {
    display: inline-table;
    color: white;
    table-layout: fixed;
}

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

.mtbl-cell {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    background: #888;
325 326 327 328 329 330
}

.mtbl-cell.selected {
    background: #00f;
}

331
.mtbl-cell.notified {
332
    background: #f00;
G
Gautam krishna.R 已提交
333
}