| 1 |
/* -------------------------------------------------------------------------- */ |
| 2 |
/* --- Main Document --- */ |
| 3 |
/* -------------------------------------------------------------------------- */ |
| 4 |
|
| 5 |
@font-face { |
| 6 |
font-family: 'Open Sans'; |
| 7 |
font-weight: normal; |
| 8 |
font-style: normal; |
| 9 |
src: url('../fonts/OpenSans-Regular-webfont.eot'); |
| 10 |
src: |
| 11 |
local('Open Sans'), |
| 12 |
local('OpenSans'), |
| 13 |
url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'), |
| 14 |
url('../fonts/OpenSans-Regular-webfont.woff') format('woff'), |
| 15 |
url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg'); |
| 16 |
} |
| 17 |
|
| 18 |
@font-face { |
| 19 |
font-family: 'Open Sans Light'; |
| 20 |
font-weight: normal; |
| 21 |
font-style: normal; |
| 22 |
src: url('../fonts/OpenSans-Light-webfont.eot'); |
| 23 |
src: |
| 24 |
local('Open Sans Light'), |
| 25 |
local('OpenSans Light'), |
| 26 |
url('../fonts/OpenSans-Light-webfont.eot?#iefix') format('embedded-opentype'), |
| 27 |
url('../fonts/OpenSans-Light-webfont.woff') format('woff'), |
| 28 |
url('../fonts/OpenSans-Light-webfont.svg#open_sanslight') format('svg'); |
| 29 |
} |
| 30 |
|
| 31 |
html |
| 32 |
{ |
| 33 |
background-color: #fff; |
| 34 |
font-size: 14px; |
| 35 |
} |
| 36 |
|
| 37 |
body |
| 38 |
{ |
| 39 |
display: block ; |
| 40 |
position: fixed ; |
| 41 |
top: 0px ; |
| 42 |
bottom: 0px ; |
| 43 |
left: 0px ; |
| 44 |
right: 0px ; |
| 45 |
overflow: hidden ; |
| 46 |
margin: 0px ; |
| 47 |
padding: 0px ; |
| 48 |
font-family: 'Open Sans', sans-serif; |
| 49 |
line-height: 1.5; |
| 50 |
color: #4d4e53; |
| 51 |
background-color: white; |
| 52 |
} |
| 53 |
|
| 54 |
#main { |
| 55 |
display: flex ; |
| 56 |
flex-flow: row nowrap ; |
| 57 |
width: 100% ; |
| 58 |
height: 100% ; |
| 59 |
overflow: hidden ; |
| 60 |
} |
| 61 |
|
| 62 |
#index { |
| 63 |
box-sizing: border-box ; |
| 64 |
display: block ; |
| 65 |
order: 2 ; |
| 66 |
flex: 0 1 auto ; |
| 67 |
width: auto ; |
| 68 |
min-width: 300px ; |
| 69 |
height: 100% ; |
| 70 |
overflow: auto ; |
| 71 |
} |
| 72 |
|
| 73 |
#content { |
| 74 |
box-sizing: border-box ; |
| 75 |
order: 1 ; |
| 76 |
flex: 1 1 auto ; |
| 77 |
width: 100% ; |
| 78 |
height: 100% ; |
| 79 |
display: flex ; |
| 80 |
overflow: auto ; |
| 81 |
justify-content: center ; |
| 82 |
align-content: center ; |
| 83 |
} |
| 84 |
|
| 85 |
#page { |
| 86 |
margin: 10px ; |
| 87 |
flex: 1 1 auto ; |
| 88 |
min-width: 600px ; |
| 89 |
max-width: 1000px ; |
| 90 |
} |
| 91 |
|
| 92 |
/* -------------------------------------------------------------------------- */ |
| 93 |
/* --- Content Styling --- */ |
| 94 |
/* -------------------------------------------------------------------------- */ |
| 95 |
|
| 96 |
h4:target { border-left: thick solid orange ; padding-top: 4px ; padding-left: 2px } |
| 97 |
|
| 98 |
a, a:visited, a:active, a code { |
| 99 |
color: #b63910 ; |
| 100 |
text-decoration: none; |
| 101 |
} |
| 102 |
|
| 103 |
a:hover { |
| 104 |
text-decoration: underline; |
| 105 |
} |
| 106 |
|
| 107 |
header |
| 108 |
{ |
| 109 |
display: block; |
| 110 |
padding: 0px 4px; |
| 111 |
} |
| 112 |
|
| 113 |
tt, code, kbd, samp { |
| 114 |
color: #8a8a61; |
| 115 |
font-family: Consolas, Monaco, 'Andale Mono', monospace; |
| 116 |
} |
| 117 |
|
| 118 |
.class-description { |
| 119 |
font-size: 130%; |
| 120 |
line-height: 140%; |
| 121 |
margin-bottom: 1em; |
| 122 |
margin-top: 1em; |
| 123 |
} |
| 124 |
|
| 125 |
.class-description:empty { |
| 126 |
margin: 0; |
| 127 |
} |
| 128 |
|
| 129 |
article dl { |
| 130 |
margin-bottom: 40px; |
| 131 |
} |
| 132 |
|
| 133 |
div.summary { |
| 134 |
margin-top: 12px ; |
| 135 |
margin-bottom: 12px ; |
| 136 |
padding-left: 20px ; |
| 137 |
padding-bottom: 10px ; |
| 138 |
} |
| 139 |
|
| 140 |
table.summary { } |
| 141 |
table.summary tr { } |
| 142 |
table.summary td { padding-left: 20px } |
| 143 |
table.summary p { margin: 0 } |
| 144 |
|
| 145 |
section |
| 146 |
{ |
| 147 |
display: block; |
| 148 |
background-color: #fff; |
| 149 |
padding: 12px 24px; |
| 150 |
margin-right: 30px; |
| 151 |
} |
| 152 |
|
| 153 |
.variation { |
| 154 |
display: none; |
| 155 |
} |
| 156 |
|
| 157 |
.signature-attributes { |
| 158 |
font-size: 60%; |
| 159 |
color: #aaa; |
| 160 |
font-style: italic; |
| 161 |
font-weight: lighter; |
| 162 |
} |
| 163 |
|
| 164 |
nav |
| 165 |
{ |
| 166 |
display: block; |
| 167 |
margin: 20px ; |
| 168 |
width: content ; |
| 169 |
} |
| 170 |
|
| 171 |
nav ul { |
| 172 |
font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif; |
| 173 |
font-size: 100%; |
| 174 |
padding: 0; |
| 175 |
margin: 0; |
| 176 |
list-style-type: none; |
| 177 |
} |
| 178 |
|
| 179 |
nav li { |
| 180 |
white-space: nowrap ; |
| 181 |
} |
| 182 |
|
| 183 |
nav ul a, nav ul a:visited, nav ul a:active { |
| 184 |
font-family: Consolas, Monaco, 'Andale Mono', monospace; |
| 185 |
color: #4D8053; |
| 186 |
} |
| 187 |
|
| 188 |
nav ul a:hover { |
| 189 |
text-decoration: none ; |
| 190 |
background-color: lightblue ; |
| 191 |
} |
| 192 |
|
| 193 |
nav ul a { |
| 194 |
padding-top: 4px ; |
| 195 |
padding-bottom: 2px ; |
| 196 |
padding-left: 2px ; |
| 197 |
padding-right: 2px ; |
| 198 |
margin-left: 4px ; |
| 199 |
} |
| 200 |
|
| 201 |
nav h3 { |
| 202 |
font-size: 18px; |
| 203 |
margin-top: 12px; |
| 204 |
} |
| 205 |
|
| 206 |
footer { |
| 207 |
font-size: 8pt; |
| 208 |
color: gray; |
| 209 |
display: block; |
| 210 |
padding: 6px; |
| 211 |
margin-top: 12px; |
| 212 |
margin-left: 20px; |
| 213 |
border-top: thin solid #c0c0c0 ; |
| 214 |
} |
| 215 |
|
| 216 |
h1, h2, h3, h4 { |
| 217 |
font-weight: 200; |
| 218 |
margin: 0; |
| 219 |
} |
| 220 |
|
| 221 |
h1 |
| 222 |
{ |
| 223 |
font-family: 'Verdana', sans-serif; |
| 224 |
font-size: 32px; |
| 225 |
letter-spacing: -2px; |
| 226 |
margin: 20px 0px 12px ; |
| 227 |
} |
| 228 |
|
| 229 |
h1.page-title { |
| 230 |
background: #f50000; |
| 231 |
color: white; |
| 232 |
padding-left: 20px ; |
| 233 |
margin: 0px ; |
| 234 |
} |
| 235 |
|
| 236 |
h2, h3 |
| 237 |
{ |
| 238 |
font-size: 24px; |
| 239 |
font-weight: 700; |
| 240 |
letter-spacing: -1px; |
| 241 |
margin-bottom: 12px; |
| 242 |
} |
| 243 |
|
| 244 |
h4 |
| 245 |
{ |
| 246 |
font-size: 18px; |
| 247 |
letter-spacing: -0.33px; |
| 248 |
margin-bottom: 8px; |
| 249 |
padding-bottom: 4px; |
| 250 |
border-bottom: thin solid #c0c0c0; |
| 251 |
color: #4d4e53; |
| 252 |
} |
| 253 |
|
| 254 |
h5, .container-overview .subsection-title |
| 255 |
{ |
| 256 |
font-size: 120%; |
| 257 |
font-weight: bold; |
| 258 |
letter-spacing: -0.01em; |
| 259 |
margin: 8px 0 3px 0; |
| 260 |
} |
| 261 |
|
| 262 |
h6 |
| 263 |
{ |
| 264 |
font-size: 100%; |
| 265 |
letter-spacing: -0.01em; |
| 266 |
margin: 6px 0 3px 0; |
| 267 |
font-style: italic; |
| 268 |
} |
| 269 |
|
| 270 |
.ancestors { color: #999; } |
| 271 |
.ancestors a |
| 272 |
{ |
| 273 |
color: #999 !important; |
| 274 |
text-decoration: none; |
| 275 |
} |
| 276 |
|
| 277 |
.clear |
| 278 |
{ |
| 279 |
clear: both; |
| 280 |
} |
| 281 |
|
| 282 |
.important |
| 283 |
{ |
| 284 |
font-weight: bold; |
| 285 |
color: #950B02; |
| 286 |
} |
| 287 |
|
| 288 |
.yes-def { |
| 289 |
text-indent: -1000px; |
| 290 |
} |
| 291 |
|
| 292 |
.type-signature { |
| 293 |
color: #aaa; |
| 294 |
} |
| 295 |
|
| 296 |
.name, .signature { |
| 297 |
font-family: Consolas, Monaco, 'Andale Mono', monospace; |
| 298 |
} |
| 299 |
|
| 300 |
h4.name { position: relative; } |
| 301 |
h4.name .anchor { position: absolute; right: 2px; } |
| 302 |
|
| 303 |
.details { margin-top: 14px; } |
| 304 |
.details dt { width: 120px; float: left; padding-left: 10px; padding-top: 6px; } |
| 305 |
.details dd { margin-left: 70px; } |
| 306 |
.details ul { margin: 0; } |
| 307 |
.details ul { list-style-type: none; } |
| 308 |
.details li { margin-left: 30px; padding-top: 6px; } |
| 309 |
.details pre.prettyprint { margin: 0 } |
| 310 |
.details .object-value { padding-top: 0; } |
| 311 |
|
| 312 |
.description { |
| 313 |
margin-bottom: 1em; |
| 314 |
margin-top: 1em; |
| 315 |
} |
| 316 |
|
| 317 |
.code-caption |
| 318 |
{ |
| 319 |
font-style: italic; |
| 320 |
font-size: 107%; |
| 321 |
margin: 0; |
| 322 |
} |
| 323 |
|
| 324 |
.prettyprint |
| 325 |
{ |
| 326 |
border: 1px solid #ddd; |
| 327 |
width: 80%; |
| 328 |
overflow: auto; |
| 329 |
} |
| 330 |
|
| 331 |
.prettyprint.source { |
| 332 |
width: inherit; |
| 333 |
} |
| 334 |
|
| 335 |
.prettyprint code |
| 336 |
{ |
| 337 |
font-size: 100%; |
| 338 |
line-height: 18px; |
| 339 |
display: block; |
| 340 |
padding: 4px 12px; |
| 341 |
margin: 0; |
| 342 |
background-color: #fff; |
| 343 |
color: #4D8053; |
| 344 |
} |
| 345 |
|
| 346 |
.prettyprint code span.line |
| 347 |
{ |
| 348 |
display: inline-block; |
| 349 |
} |
| 350 |
|
| 351 |
.prettyprint.linenums |
| 352 |
{ |
| 353 |
padding-left: 70px; |
| 354 |
-webkit-user-select: none; |
| 355 |
-moz-user-select: none; |
| 356 |
-ms-user-select: none; |
| 357 |
user-select: none; |
| 358 |
} |
| 359 |
|
| 360 |
.prettyprint.linenums ol |
| 361 |
{ |
| 362 |
padding-left: 0; |
| 363 |
} |
| 364 |
|
| 365 |
.prettyprint.linenums li |
| 366 |
{ |
| 367 |
border-left: 3px #ddd solid; |
| 368 |
} |
| 369 |
|
| 370 |
.prettyprint.linenums li.selected, |
| 371 |
.prettyprint.linenums li.selected * |
| 372 |
{ |
| 373 |
background-color: lightyellow; |
| 374 |
} |
| 375 |
|
| 376 |
.prettyprint.linenums li * |
| 377 |
{ |
| 378 |
-webkit-user-select: text; |
| 379 |
-moz-user-select: text; |
| 380 |
-ms-user-select: text; |
| 381 |
user-select: text; |
| 382 |
} |
| 383 |
|
| 384 |
table { |
| 385 |
border-collapse: collapse; |
| 386 |
margin-left: 1em; |
| 387 |
} |
| 388 |
|
| 389 |
thead { |
| 390 |
background-color: #ddd; |
| 391 |
font-weight: bold; |
| 392 |
} |
| 393 |
|
| 394 |
td, th |
| 395 |
{ |
| 396 |
border: 1px solid #ddd; |
| 397 |
margin: 0px; |
| 398 |
text-align: left; |
| 399 |
vertical-align: baseline; |
| 400 |
padding: 4px 6px; |
| 401 |
display: table-cell; |
| 402 |
} |
| 403 |
|
| 404 |
.params, .props, .description table, .description td, .description th, .summary td, .summary th |
| 405 |
{ |
| 406 |
border-spacing: 0; |
| 407 |
border: 0; |
| 408 |
} |
| 409 |
|
| 410 |
.params .name, .props .name, .name code, .params .type, .props .type { |
| 411 |
color: #4D8053; |
| 412 |
font-family: Consolas, Monaco, 'Andale Mono', monospace; |
| 413 |
font-size: 9pt; |
| 414 |
white-space: nowrap; |
| 415 |
} |
| 416 |
|
| 417 |
.params td, .params th, .props td, .props th, .description td, .description th |
| 418 |
{ |
| 419 |
border: 1px solid #ddd; |
| 420 |
margin: 0px; |
| 421 |
text-align: left; |
| 422 |
vertical-align: baseline; |
| 423 |
padding: 4px 6px; |
| 424 |
display: table-cell; |
| 425 |
} |
| 426 |
|
| 427 |
.params thead tr, .props thead tr, .description thead tr |
| 428 |
{ |
| 429 |
background-color: #ddd; |
| 430 |
font-weight: bold; |
| 431 |
} |
| 432 |
|
| 433 |
.params .params thead tr, .props .props thead tr |
| 434 |
{ |
| 435 |
background-color: #fff; |
| 436 |
font-weight: bold; |
| 437 |
} |
| 438 |
|
| 439 |
.params th, .props th { border-right: 1px solid #aaa; } |
| 440 |
.description th { border: 1px solid #aaa; } |
| 441 |
.params thead .last, .props thead .last { border-right: 1px solid #ddd; } |
| 442 |
|
| 443 |
.params td.description > p:first-child, |
| 444 |
.props td.description > p:first-child |
| 445 |
{ |
| 446 |
margin-top: 0; |
| 447 |
padding-top: 0; |
| 448 |
} |
| 449 |
|
| 450 |
.params td.description > p:last-child, |
| 451 |
.props td.description > p:last-child |
| 452 |
{ |
| 453 |
margin-bottom: 0; |
| 454 |
padding-bottom: 0; |
| 455 |
} |
| 456 |
|
| 457 |
.list-index |
| 458 |
{ |
| 459 |
margin-top: 2em ; |
| 460 |
border-top: 1px solid #ddd ; |
| 461 |
border-bottom: 1px solid #ddd ; |
| 462 |
margin-bottom: 2em ; |
| 463 |
} |
| 464 |
|
| 465 |
.list-item:hover |
| 466 |
{ |
| 467 |
background: #ddd ; |
| 468 |
} |
| 469 |
|
| 470 |
.list-title, |
| 471 |
.list-descr |
| 472 |
{ |
| 473 |
border: none; |
| 474 |
margin: 0; |
| 475 |
padding: 1px 20px 1px 0px ; |
| 476 |
} |
| 477 |
|
| 478 |
.list-separator |
| 479 |
{ |
| 480 |
border-top: 1px solid #ddd ; |
| 481 |
} |
| 482 |
|
| 483 |
.list-descr p |
| 484 |
{ |
| 485 |
padding: 0; |
| 486 |
margin: 0; |
| 487 |
} |
| 488 |
|
| 489 |
.dimmed |
| 490 |
{ |
| 491 |
color: #bbb ; |
| 492 |
} |
| 493 |
|
| 494 |
.disabled { |
| 495 |
color: #454545; |
| 496 |
} |