The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | /* file: android-developer-docs.css |
| 2 | author: smain |
| 3 | date: september 2008 |
| 4 | info: developer doc styles (developer.android.com) |
| 5 | */ |
| 6 | |
| 7 | @import url("android-developer-core.css"); |
| 8 | |
| 9 | #title { |
| 10 | border-bottom: 4px solid #ccc; |
| 11 | display:none; |
| 12 | } |
| 13 | |
| 14 | #title h1 { |
| 15 | color:#336666; |
| 16 | margin:0; |
| 17 | padding: 5px 10px; |
| 18 | font-size: 1em; |
| 19 | line-height: 15px; |
| 20 | } |
| 21 | |
| 22 | #title h1 .small{ |
| 23 | color:#000; |
| 24 | margin:0; |
| 25 | font-size: 13px; |
| 26 | padding:0 0 0 15px; |
| 27 | } |
| 28 | |
| 29 | /* SIDE NAVIGATION */ |
| 30 | |
| 31 | #side-nav { |
| 32 | padding:0 6px 0 0; |
| 33 | background-color: #fff; |
| 34 | font-size:12px; |
| 35 | } |
| 36 | |
| 37 | #side-nav.not-resizable { |
| 38 | background:url('images/sidenav-rule.png') no-repeat 243px 0; |
| 39 | } |
| 40 | |
| 41 | #resize-packages-nav { |
| 42 | /* keeps the resize handle below the h-scroll handle */ |
| 43 | height:270px; |
| 44 | overflow:hidden; |
| 45 | max-height:100%; |
| 46 | } |
| 47 | |
| 48 | #packages-nav { |
| 49 | height:270px; |
| 50 | max-height:inherit; |
| 51 | position:relative; |
| 52 | overflow:auto; |
| 53 | } |
| 54 | |
| 55 | #classes-nav, |
| 56 | #devdoc-nav { |
| 57 | overflow:auto; |
| 58 | position:relative; |
| 59 | } |
| 60 | |
| 61 | #side-nav ul { |
| 62 | list-style: none; |
| 63 | margin: 0; |
| 64 | padding:5px 0; |
| 65 | } |
| 66 | |
| 67 | #side-nav ul ul { |
| 68 | margin: .35em 0 0 0; |
| 69 | padding: 0; |
| 70 | } |
| 71 | |
| 72 | #side-nav li { |
| 73 | padding:0; |
| 74 | line-height:16px; |
| 75 | white-space:nowrap; |
| 76 | zoom:1; |
| 77 | } |
| 78 | |
| 79 | #side-nav li h2 { |
| 80 | font-size:12px; |
| 81 | font-weight: bold; |
| 82 | margin:.5em 0 0 0; |
| 83 | padding: 3px 0 1px 9px; |
| 84 | } |
| 85 | |
| 86 | #side-nav li a { |
| 87 | text-decoration:none; |
| 88 | padding: 0 0 0 18px; |
| 89 | zoom:1; |
| 90 | } |
| 91 | |
Dirk Dougherty | 233bc0b | 2009-07-07 17:43:27 -0700 | [diff] [blame] | 92 | #side-nav li a span+span { |
| 93 | display:none; |
| 94 | } |
| 95 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 96 | #side-nav li a:hover { |
| 97 | text-decoration:underline; |
| 98 | } |
| 99 | |
| 100 | #side-nav li a+a { |
| 101 | padding: 0; |
| 102 | } |
Scott Main | ee629d9 | 2010-02-05 14:30:08 -0800 | [diff] [blame] | 103 | /*second level (nested) list*/ |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 104 | #side-nav li li li a { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 105 | padding: 0 0 0 28px; |
Scott Main | ee629d9 | 2010-02-05 14:30:08 -0800 | [diff] [blame] | 106 | } |
| 107 | /*third level (nested) list*/ |
| 108 | #side-nav li li li li a { |
| 109 | padding: 0 0 0 38px; |
| 110 | } |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 111 | |
| 112 | #side-nav .selected { |
| 113 | background-color: #435a6e; |
| 114 | color: #fff; |
| 115 | font-weight:bold; |
| 116 | } |
| 117 | |
| 118 | #side-nav .selected a { |
| 119 | color: #fff; |
| 120 | text-decoration:none; |
| 121 | } |
| 122 | |
| 123 | #side-nav strong { |
| 124 | display:block; |
| 125 | } |
| 126 | |
Scott Main | ee629d9 | 2010-02-05 14:30:08 -0800 | [diff] [blame] | 127 | #side-nav .toggle-list .toggle-img { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 128 | margin:0; |
| 129 | padding:0; |
| 130 | position:absolute; |
| 131 | top:0; |
| 132 | left:0; |
| 133 | height:16px; |
| 134 | width:15px; |
| 135 | outline-style:none; |
| 136 | } |
Scott Main | ee629d9 | 2010-02-05 14:30:08 -0800 | [diff] [blame] | 137 | /* second-level toggle */ |
| 138 | #side-nav .toggle-list .toggle-list .toggle-img { |
| 139 | left:10px; |
| 140 | } |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 141 | |
Scott Main | ee629d9 | 2010-02-05 14:30:08 -0800 | [diff] [blame] | 142 | #side-nav .closed .toggle-img, |
| 143 | #side-nav .open .closed .toggle-img { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 144 | background:url('images/triangle-closed-small.png') 7px 4px no-repeat; |
| 145 | } |
| 146 | #side-nav .open .toggle-img { |
| 147 | background:url('images/triangle-opened-small.png') 7px 4px no-repeat; |
| 148 | } |
| 149 | |
| 150 | #side-nav .toggle-list { |
| 151 | position:relative; |
| 152 | } |
| 153 | |
| 154 | #side-nav .toggle-list ul { |
| 155 | margin:0; |
| 156 | display:none; |
| 157 | } |
| 158 | |
| 159 | #side-nav .toggle-list div { |
| 160 | display:block; |
| 161 | } |
| 162 | |
| 163 | #index-links .selected { |
| 164 | background-color: #fff; |
| 165 | color: #000; |
| 166 | font-weight:normal; |
| 167 | text-decoration:none; |
| 168 | } |
| 169 | |
| 170 | #index-links { |
| 171 | padding:7px 0 4px 10px; |
| 172 | } |
| 173 | |
| 174 | /* nav tree */ |
| 175 | |
| 176 | #nav-tree ul { |
| 177 | padding:5px 0 1.5em; |
| 178 | } |
| 179 | |
| 180 | #side-nav #nav-tree ul li a, |
| 181 | #side-nav #nav-tree ul li span.no-children { |
| 182 | padding: 0 0 0 0; |
| 183 | margin: 0; |
| 184 | } |
| 185 | |
| 186 | #nav-tree .plus { |
| 187 | margin: 0 3px 0 0; |
| 188 | } |
| 189 | |
| 190 | #nav-tree ul ul { |
| 191 | list-style: none; |
| 192 | margin: 0; |
| 193 | padding: 0 0 0 0; |
| 194 | } |
| 195 | |
| 196 | #nav-tree ul li { |
| 197 | margin: 0; |
| 198 | padding: 0 0 0 0; |
| 199 | white-space: nowrap; |
| 200 | } |
| 201 | |
| 202 | #nav-tree .children_ul { |
| 203 | margin:0; |
| 204 | } |
| 205 | |
| 206 | #nav-tree a.nolink { |
| 207 | color: black; |
| 208 | text-decoration: none; |
| 209 | } |
| 210 | |
| 211 | #nav-tree span.label { |
| 212 | width: 100%; |
| 213 | } |
| 214 | |
| 215 | #nav-tree { |
| 216 | overflow-x: auto; |
| 217 | overflow-y: scroll; |
| 218 | } |
| 219 | |
| 220 | #nav-swap { |
| 221 | font-size:10px; |
| 222 | line-height:10px; |
| 223 | margin-left:1em; |
| 224 | text-decoration:none; |
| 225 | display:block; |
| 226 | } |
| 227 | |
| 228 | #tree-link { |
| 229 | |
| 230 | } |
| 231 | |
| 232 | /* DOCUMENT BODY */ |
| 233 | |
| 234 | #doc-content { |
| 235 | overflow:auto; |
| 236 | } |
Scott Main | ee629d9 | 2010-02-05 14:30:08 -0800 | [diff] [blame] | 237 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 238 | #jd-header { |
| 239 | background-color: #E2E2E2; |
| 240 | padding: 7px 15px; |
| 241 | } |
| 242 | |
| 243 | #jd-header h1 { |
| 244 | margin: 0 0 10px; |
| 245 | font-size:1.7em; |
| 246 | } |
| 247 | |
| 248 | #jd-header .crumb { |
| 249 | font-size:.9em; |
| 250 | line-height:1em; |
| 251 | color:#777; |
| 252 | } |
| 253 | |
| 254 | #jd-header .crumb a, |
| 255 | #jd-header .crumb a:visited { |
| 256 | text-decoration:none; |
| 257 | color:#777; |
| 258 | } |
| 259 | |
| 260 | #jd-header .crumb a:hover { |
| 261 | text-decoration:underline; |
| 262 | } |
| 263 | |
| 264 | #jd-header table { |
| 265 | margin:0; |
| 266 | padding:0; |
| 267 | } |
| 268 | |
| 269 | #jd-header td { |
| 270 | border:none; |
| 271 | padding:0; |
| 272 | vertical-align:top; |
| 273 | } |
| 274 | |
| 275 | #jd-header.guide-header { |
| 276 | background-color:#fff; |
| 277 | color:#435a6e; |
| 278 | height:50px; |
| 279 | } |
| 280 | |
| 281 | #jd-descr { |
| 282 | position:relative; |
| 283 | } |
| 284 | |
| 285 | /* summary tables for reference pages */ |
| 286 | .jd-sumtable { |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 287 | margin: .5em 1em 1em 1em; |
| 288 | width:95%; /* consistent table widths; within IE's quirks */ |
| 289 | font-size:.9em; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 290 | } |
| 291 | |
| 292 | .jd-sumtable a { |
| 293 | text-decoration:none; |
| 294 | } |
| 295 | |
| 296 | .jd-sumtable a:hover { |
| 297 | text-decoration:underline; |
| 298 | } |
| 299 | |
| 300 | /* the link inside a sumtable for "Show All/Hide All" */ |
| 301 | .toggle-all { |
| 302 | display:block; |
| 303 | float:right; |
| 304 | font-weight:normal; |
| 305 | font-size:0.9em; |
| 306 | } |
| 307 | |
| 308 | /* adjustments for in/direct subclasses tables */ |
| 309 | .jd-sumtable-subclasses { |
| 310 | margin: 1em 0 0 0; |
| 311 | max-width:968px; |
| 312 | } |
| 313 | |
| 314 | /* extra space between end of method name and open-paren */ |
| 315 | .sympad { |
| 316 | margin-right: 2px; |
| 317 | } |
| 318 | |
| 319 | /* right alignment for the return type in sumtable */ |
| 320 | .jd-sumtable .jd-typecol { |
| 321 | text-align:right; |
| 322 | } |
| 323 | |
| 324 | /* adjustments for the expando table-in-table */ |
| 325 | .jd-sumtable-expando { |
| 326 | margin:.5em 0; |
| 327 | padding:0; |
| 328 | } |
| 329 | |
| 330 | /* a div that holds a short description */ |
| 331 | .jd-descrdiv { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 332 | padding:3px 1em 0 1em; |
| 333 | margin:0; |
| 334 | border:0; |
| 335 | } |
| 336 | |
| 337 | /* page-top-right container for reference pages (holds |
| 338 | links to summary tables) */ |
| 339 | #api-info-block { |
| 340 | font-size:.8em; |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 341 | padding:6px 10px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 342 | font-weight:normal; |
| 343 | float:right; |
| 344 | text-align:right; |
| 345 | color:#999; |
| 346 | max-width:70%; |
| 347 | } |
| 348 | |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 349 | #api-level-toggle { |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 350 | padding:0 10px; |
| 351 | font-size:11px; |
Scott Main | 8e44ae9 | 2009-10-30 13:33:39 -0700 | [diff] [blame] | 352 | float:right; |
Scott Main | 9b5fdb9 | 2009-10-27 15:09:15 -0700 | [diff] [blame] | 353 | } |
| 354 | |
| 355 | #api-level-toggle label.disabled { |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 356 | color:#999; |
| 357 | } |
| 358 | |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 359 | div.api-level { |
| 360 | font-size:.8em; |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 361 | font-weight:normal; |
| 362 | color:#999; |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 363 | float:right; |
| 364 | padding:0 7px 0; |
| 365 | margin-top:-25px; |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 366 | } |
| 367 | |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 368 | #api-info-block div.api-level { |
| 369 | font-size:1.3em; |
| 370 | font-weight:bold; |
| 371 | float:none; |
| 372 | color:#444; |
| 373 | padding:0; |
| 374 | margin:0; |
| 375 | } |
| 376 | |
| 377 | /* Force link colors for IE6 */ |
| 378 | div.api-level a { |
| 379 | color:#999; |
| 380 | } |
| 381 | #api-info-block div.api-level a:link { |
| 382 | color:#444; |
| 383 | } |
| 384 | #api-level-toggle a { |
| 385 | color:#999; |
| 386 | } |
| 387 | |
| 388 | div#naMessage { |
| 389 | display:none; |
| 390 | width:555px; |
| 391 | height:0; |
| 392 | margin:0 auto; |
| 393 | } |
| 394 | |
| 395 | div#naMessage div { |
| 396 | width:450px; |
| 397 | position:fixed; |
| 398 | margin:50px 0; |
| 399 | padding:4em 4em 3em; |
| 400 | background:#FFF; |
| 401 | background:rgba(255,255,255,0.7); |
| 402 | border:1px solid #dddd00; |
| 403 | } |
| 404 | /* IE6 can't position fixed */ |
| 405 | * html div#naMessage div { position:absolute; } |
| 406 | |
| 407 | div#naMessage strong { |
| 408 | font-size:1.1em; |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 409 | } |
| 410 | |
| 411 | .absent, |
| 412 | .absent a:link, |
| 413 | .absent a:visited, |
| 414 | .absent a:hover, |
| 415 | .absent * { |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 416 | color:#bbb !important; |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 417 | cursor:default !important; |
| 418 | text-decoration:none !important; |
| 419 | } |
| 420 | |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 421 | #api-level-toggle a, |
| 422 | .api-level a { |
| 423 | color:inherit; |
| 424 | text-decoration:none; |
| 425 | } |
| 426 | |
| 427 | #api-level-toggle a:hover, |
| 428 | .api-level a:hover { |
| 429 | color:inherit; |
| 430 | text-decoration:underline !important; |
| 431 | cursor:pointer !important; |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 432 | } |
| 433 | |
| 434 | #side-nav li.absent.selected, |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 435 | #side-nav li.absent.selected *, |
| 436 | #side-nav div.label.absent.selected, |
| 437 | #side-nav div.label.absent.selected * { |
| 438 | background-color:#eaeaea !important; |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 439 | } |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 440 | /* IE6 quirk (won't chain classes, so just keep background blue) */ |
| 441 | * html #side-nav li.selected, |
| 442 | * html #side-nav li.selected *, |
| 443 | * html #side-nav div.label.selected, |
| 444 | * html #side-nav div.label.selected * { |
| 445 | background-color: #435a6e !important; |
| 446 | } |
| 447 | |
| 448 | |
| 449 | .absent h4.jd-details-title, |
| 450 | .absent h4.jd-details-title * { |
| 451 | background-color:#f6f6f6 !important; |
| 452 | } |
| 453 | |
| 454 | .absent img { |
| 455 | opacity: .3; |
| 456 | filter: alpha(opacity=30); |
| 457 | -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; |
| 458 | } |
| 459 | |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 460 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 461 | /* applies to a div containing links to summary tables */ |
| 462 | .sum-details-links { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 463 | padding:0; |
| 464 | font-weight:normal; |
| 465 | } |
| 466 | |
| 467 | .sum-details-links a { |
| 468 | text-decoration:none; |
| 469 | } |
| 470 | |
| 471 | .sum-details-links a:hover { |
| 472 | text-decoration:underline; |
| 473 | } |
| 474 | |
| 475 | |
| 476 | /* inheritance table */ |
| 477 | .jd-inheritance-table { |
| 478 | border-spacing:0; |
| 479 | margin:0; |
| 480 | padding:0; |
| 481 | font-size:.9em; |
| 482 | } |
| 483 | .jd-inheritance-table td { |
| 484 | border: none; |
| 485 | margin: 0; |
| 486 | padding: 0; |
| 487 | } |
| 488 | .jd-inheritance-table .jd-inheritance-space { |
| 489 | font-weight:bold; |
| 490 | width:1em; |
| 491 | } |
| 492 | .jd-inheritance-table .jd-inheritance-interface-cell { |
| 493 | padding-left: 17px; |
| 494 | } |
| 495 | |
| 496 | #jd-content { |
| 497 | padding: 18px 15px; |
| 498 | } |
| 499 | |
| 500 | hr { |
| 501 | background-color:#ccc; |
Scott Main | b89740f | 2010-03-24 13:49:49 -0700 | [diff] [blame] | 502 | border-color:#fff; |
| 503 | margin:2em 0 1em; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 504 | } |
| 505 | |
| 506 | /* DOC CLASSES */ |
| 507 | |
| 508 | #jd-content h1 { |
| 509 | /*sdk page*/ |
| 510 | font-size:1.6em; |
| 511 | color:#336666; |
| 512 | margin:0 0 .5em; |
| 513 | } |
| 514 | |
| 515 | #jd-content h2 { |
| 516 | font-size:1.45em; |
| 517 | color:#111; |
| 518 | border-top:2px solid #ccc; |
| 519 | padding: .5em 0 0; |
Scott Main | 7b6cee7 | 2010-03-29 09:50:34 -0700 | [diff] [blame] | 520 | margin: 2em 0 1em 0; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 521 | } |
| 522 | |
| 523 | #jd-content h3 { |
| 524 | font-size:1.2em; |
| 525 | color:#222; |
| 526 | padding: .75em 0 .65em 0; |
| 527 | margin:0; |
| 528 | } |
| 529 | |
| 530 | #jd-content h4 { |
| 531 | font-size:1.1em; |
| 532 | margin-bottom:.5em; |
| 533 | color:#222; |
| 534 | } |
| 535 | |
| 536 | #jd-content .small-header { |
| 537 | font-size:1em; |
| 538 | color:#000; |
| 539 | font-weight:bold; |
| 540 | border:none; |
| 541 | padding:0; |
| 542 | margin:1em 0 .5em; |
| 543 | position:inherit; |
| 544 | } |
| 545 | |
Scott Main | 7b6cee7 | 2010-03-29 09:50:34 -0700 | [diff] [blame] | 546 | #jd-content table { |
| 547 | margin: 0 0 1em 1em; |
| 548 | } |
| 549 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 550 | #jd-content img { |
| 551 | margin: 0 0 1em 1em; |
| 552 | } |
| 553 | |
| 554 | #jd-content li img, |
| 555 | #jd-content dd img { |
| 556 | margin:.5em 0 0 1em; |
| 557 | } |
| 558 | |
| 559 | .nolist { |
| 560 | list-style:none; |
| 561 | padding:0; |
Scott Main | 9b54792 | 2009-05-13 17:50:33 -0700 | [diff] [blame] | 562 | margin:0 0 1em 1em; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 563 | } |
| 564 | |
| 565 | .nolist li { |
Scott Main | 9b54792 | 2009-05-13 17:50:33 -0700 | [diff] [blame] | 566 | padding:0 0 2px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 567 | margin:0; |
| 568 | } |
| 569 | |
| 570 | h4 .normal { |
| 571 | font-size:.9em; |
| 572 | font-weight:normal; |
| 573 | } |
| 574 | |
Scott Main | ee629d9 | 2010-02-05 14:30:08 -0800 | [diff] [blame] | 575 | .caps { |
| 576 | font-variant:small-caps; |
| 577 | font-size:1.2em; |
| 578 | } |
| 579 | |
| 580 | dl.tag-list dl.atn-list { |
| 581 | padding:0 0 0 2em; |
| 582 | } |
| 583 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 584 | .jd-details { |
| 585 | /* border:1px solid #669999; |
| 586 | padding:4px; */ |
| 587 | margin:0 0 1em; |
| 588 | } |
| 589 | |
| 590 | /* API reference: a container for the |
| 591 | .tagdata blocks that make up the detailed |
| 592 | description */ |
| 593 | .jd-details-descr { |
| 594 | padding:0; |
| 595 | margin:.5em .25em; |
| 596 | } |
| 597 | |
| 598 | /* API reference: a block containing |
| 599 | a detailed description, a params table, |
| 600 | seealso list, etc */ |
| 601 | .jd-tagdata { |
| 602 | margin:.5em 1em; |
| 603 | } |
| 604 | |
Scott Main | df09424 | 2009-07-27 09:47:11 -0700 | [diff] [blame] | 605 | .jd-tagdata p { |
| 606 | margin:0 0 1em 1em; |
| 607 | } |
| 608 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 609 | /* API reference: adjustments to |
| 610 | the detailed description block */ |
| 611 | .jd-tagdescr { |
| 612 | margin:.25em 0 .75em 0; |
| 613 | line-height:1em; |
| 614 | } |
| 615 | |
| 616 | .jd-tagdescr p { |
| 617 | margin:.5em 0; |
| 618 | padding:0; |
| 619 | |
| 620 | } |
| 621 | |
| 622 | .jd-tagdescr ol, |
| 623 | .jd-tagdescr ul { |
| 624 | margin:0 2.5em; |
| 625 | padding:0; |
| 626 | } |
| 627 | |
| 628 | .jd-tagdescr table, |
| 629 | .jd-tagdescr img { |
| 630 | margin:.25em 1em; |
| 631 | } |
| 632 | |
| 633 | .jd-tagdescr li { |
| 634 | margin:0 0 .25em 0; |
| 635 | padding:0; |
| 636 | } |
| 637 | |
| 638 | /* API reference: heading marking |
| 639 | the details section for constants, |
| 640 | attrs, methods, etc. */ |
| 641 | h4.jd-details-title { |
| 642 | font-size:1.15em; |
| 643 | background-color: #E2E2E2; |
| 644 | margin:1.5em 0 .6em; |
Scott Main | 25fda19 | 2009-08-04 11:26:30 -0700 | [diff] [blame] | 645 | padding:3px 95px 3px 3px; /* room for api-level */ |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 646 | } |
| 647 | |
| 648 | h4.jd-tagtitle { |
| 649 | margin:0; |
| 650 | } |
| 651 | |
| 652 | /* API reference: heading for "Parameters", "See Also", etc., |
| 653 | in details sections */ |
| 654 | h5.jd-tagtitle { |
| 655 | margin:0 0 .25em 0; |
| 656 | font-size:1em; |
| 657 | } |
| 658 | |
| 659 | .jd-tagtable { |
| 660 | margin:0; |
| 661 | } |
| 662 | |
| 663 | .jd-tagtable td, |
| 664 | .jd-tagtable th { |
| 665 | border:none; |
| 666 | background-color:#fff; |
| 667 | vertical-align:top; |
| 668 | font-weight:normal; |
| 669 | padding:2px 10px; |
| 670 | } |
| 671 | |
| 672 | .jd-tagtable th { |
| 673 | font-style:italic; |
| 674 | } |
| 675 | |
| 676 | #jd-content table h2 { |
| 677 | background-color: #d6d6d6; |
| 678 | font-size: 1.1em; |
| 679 | margin:0 0 10px; |
| 680 | padding:5px; |
| 681 | left:0; |
| 682 | width:auto; |
| 683 | } |
| 684 | |
| 685 | div.special { |
| 686 | padding: .5em 1em 1em 1em; |
| 687 | margin: 0 0 1em; |
Scott Main | 462cc37 | 2009-10-23 16:19:37 -0700 | [diff] [blame] | 688 | background-color: #DAF3FC; |
| 689 | border:1px solid #d3ecf5; |
| 690 | border-radius:5px; |
| 691 | -moz-border-radius:5px; |
| 692 | -webkit-border-radius:5px; |
| 693 | } |
| 694 | |
| 695 | .toggle-content-toggleme { |
| 696 | display:none; |
| 697 | } |
| 698 | |
| 699 | .toggle-content-button { |
| 700 | font-size:.9em; |
| 701 | line-height:.9em; |
| 702 | text-decoration:none; |
| 703 | position:relative; |
| 704 | top:5px; |
| 705 | } |
| 706 | |
| 707 | .toggle-content-button:hover { |
| 708 | text-decoration:underline; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 709 | } |
| 710 | |
| 711 | div.special p { |
| 712 | margin: .5em 0 0 0; |
| 713 | } |
| 714 | |
| 715 | div.special ol { |
| 716 | margin: 0; |
| 717 | } |
| 718 | |
| 719 | div.special ol li { |
| 720 | margin: 0; |
| 721 | padding: 0; |
| 722 | } |
| 723 | |
| 724 | #jd-content div.special h2, |
| 725 | #jd-content div.special h3 { |
| 726 | color:#669999; |
| 727 | font-size:1.2em; |
| 728 | border:none; |
| 729 | margin:0 0 .5em; |
| 730 | padding:0; |
| 731 | } |
Scott Main | 9e54130 | 2009-04-20 11:15:26 -0700 | [diff] [blame] | 732 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 733 | p.note, p.caution, p.warning { |
| 734 | margin: 1em; |
| 735 | padding: 0 0 0 .5em; |
| 736 | border-left: 4px solid; |
| 737 | } |
| 738 | |
| 739 | p.special-note { |
| 740 | background-color:#EBF3DB; |
| 741 | padding:10px 20px; |
| 742 | margin:0 0 1em; |
| 743 | } |
| 744 | |
| 745 | p.note { |
| 746 | border-color: #99aacc; |
| 747 | } |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 748 | |
| 749 | p.warning { |
| 750 | border-color: #aa0033; |
| 751 | } |
Dirk Dougherty | 4e4c919 | 2009-05-12 15:32:35 -0700 | [diff] [blame] | 752 | |
| 753 | p.caution { |
| 754 | border-color: #ffcf00; |
| 755 | } |
Scott Main | 9b54792 | 2009-05-13 17:50:33 -0700 | [diff] [blame] | 756 | |
Scott Main | 9e54130 | 2009-04-20 11:15:26 -0700 | [diff] [blame] | 757 | p.warning b, p.warning strong { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 758 | font-weight: bold; |
| 759 | } |
| 760 | |
Scott Main | 9e54130 | 2009-04-20 11:15:26 -0700 | [diff] [blame] | 761 | li p.note, li p.warning { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 762 | margin: .5em 0 0 0; |
| 763 | padding: .2em .5em .2em .9em; |
| 764 | } |
| 765 | |
| 766 | dl.xml dt { |
| 767 | font-variant:small-caps; |
| 768 | font-size:1.2em; |
| 769 | } |
| 770 | |
| 771 | dl.xml dl { |
| 772 | padding:0; |
| 773 | } |
| 774 | |
| 775 | dl.xml dl dt { |
| 776 | font-variant:normal; |
| 777 | font-size:1em; |
| 778 | } |
| 779 | |
| 780 | .listhead li { |
| 781 | font-weight: bold; |
| 782 | } |
Scott Main | 483cf38 | 2009-12-09 18:08:32 -0800 | [diff] [blame] | 783 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 784 | .listhead li *, /*ie*/.listhead li li { |
| 785 | font-weight: normal; |
| 786 | } |
| 787 | |
| 788 | ol.no-style, |
| 789 | ul.no-style { |
| 790 | list-style:none; |
| 791 | padding-left:1em; |
| 792 | } |
| 793 | |
| 794 | .new { |
| 795 | font-size: .78em; |
| 796 | font-weight: bold; |
| 797 | color: red; |
| 798 | text-decoration: none; |
Dirk Dougherty | fce6b45 | 2009-10-16 17:14:33 -0700 | [diff] [blame] | 799 | vertical-align:top; |
| 800 | line-height:.9em; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 801 | } |
| 802 | |
| 803 | pre.classic { |
| 804 | background-color:transparent; |
| 805 | border:none; |
| 806 | padding:0; |
| 807 | } |
| 808 | |
Scott Main | 483cf38 | 2009-12-09 18:08:32 -0800 | [diff] [blame] | 809 | div.figure { |
| 810 | float:right; |
Scott Main | b89740f | 2010-03-24 13:49:49 -0700 | [diff] [blame] | 811 | clear:right; |
Scott Main | 7b6cee7 | 2010-03-29 09:50:34 -0700 | [diff] [blame] | 812 | padding:1em 0 1em 2em; |
| 813 | background-color:#fff; |
Scott Main | 483cf38 | 2009-12-09 18:08:32 -0800 | [diff] [blame] | 814 | /* width must be defined w/ an inline style matching the image width */ |
| 815 | } |
| 816 | |
Scott Main | 7b6cee7 | 2010-03-29 09:50:34 -0700 | [diff] [blame] | 817 | p.img-caption { |
| 818 | margin: -0.5em 0 1em 1em; /* matches default img left-margin */ |
| 819 | } |
| 820 | |
| 821 | p.table-caption { |
| 822 | margin: 0 0 0.5em 1em; /* matches default table left-margin */ |
Scott Main | 483cf38 | 2009-12-09 18:08:32 -0800 | [diff] [blame] | 823 | } |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 824 | |
| 825 | /* BEGIN quickview sidebar element styles */ |
| 826 | |
| 827 | #qv-wrapper { |
| 828 | float: right; |
Scott Main | 67c2a96 | 2010-03-16 17:04:22 -0700 | [diff] [blame] | 829 | width:310px; /* +35px padding */ |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 830 | background-color:#fff; |
| 831 | margin:-48px 0 2px 0; |
| 832 | padding:0 0 20px 35px; |
| 833 | } |
| 834 | |
| 835 | #qv { |
| 836 | background-color:#fff; |
| 837 | border:4px solid #dee8f1; |
| 838 | margin:0; |
Scott Main | 67c2a96 | 2010-03-16 17:04:22 -0700 | [diff] [blame] | 839 | padding:0 5px 5px; |
| 840 | width:292px; /* +10px padding; +8px border */ |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 841 | font-size:.9em; |
| 842 | } |
| 843 | |
| 844 | #qv ol { |
| 845 | list-style:none; |
| 846 | padding: 0; |
| 847 | } |
| 848 | |
| 849 | #qv ol ol{ |
| 850 | list-style:none; |
Scott Main | 9b54792 | 2009-05-13 17:50:33 -0700 | [diff] [blame] | 851 | padding: 0 0 0 12px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 852 | margin:0; |
| 853 | } |
| 854 | |
| 855 | #qv ul { |
| 856 | padding: 0 10px 0 2em; |
| 857 | } |
| 858 | |
| 859 | #qv li { |
Scott Main | 9b54792 | 2009-05-13 17:50:33 -0700 | [diff] [blame] | 860 | padding: 0 10px 3px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 861 | line-height: 1.2em; |
| 862 | } |
| 863 | |
Scott Main | 9b54792 | 2009-05-13 17:50:33 -0700 | [diff] [blame] | 864 | #qv li li { |
| 865 | padding: 3px 10px 0; |
| 866 | } |
| 867 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 868 | #qv ul li { |
| 869 | padding: 0 10px 0 0; |
| 870 | } |
| 871 | |
| 872 | #qv li.selected a { |
| 873 | color:#555; |
| 874 | text-decoration:none; |
| 875 | } |
| 876 | |
| 877 | #qv a { |
| 878 | color:#cc6600; |
| 879 | } |
| 880 | |
| 881 | #qv p { |
| 882 | margin:8px 0 0; |
| 883 | padding:0 10px; |
| 884 | } |
| 885 | |
| 886 | #qv-extra #rule { |
| 887 | padding: 0 10px; |
| 888 | margin: 0; |
| 889 | } |
| 890 | |
| 891 | #qv-sub-rule { |
| 892 | padding: 6px 20px; |
| 893 | margin: 0; |
| 894 | } |
| 895 | |
| 896 | #qv-sub-rule p { |
| 897 | margin: 0; |
| 898 | } |
| 899 | |
| 900 | #jd-content #qv h2 { |
| 901 | font-size:1.05em; |
| 902 | font-weight:bold; |
| 903 | margin:12px 0 .25em 0; |
| 904 | padding:0 10px; |
| 905 | background-color:transparent; |
| 906 | color:#7BB026; |
| 907 | border:none; |
| 908 | left:0; |
| 909 | z-index:1; |
| 910 | } |
| 911 | |
| 912 | /* END quickview sidebar element styles */ |
| 913 | |
| 914 | /* Begin sidebox sidebar element styles */ |
| 915 | |
| 916 | .sidebox-wrapper { |
| 917 | float: right; |
Scott Main | 67c2a96 | 2010-03-16 17:04:22 -0700 | [diff] [blame] | 918 | width:300px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 919 | background-color:#fff; |
| 920 | margin: 0; |
Scott Main | 67c2a96 | 2010-03-16 17:04:22 -0700 | [diff] [blame] | 921 | padding: 0 0 20px 20px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 922 | } |
| 923 | |
Scott Main | 84f8a5e | 2010-03-24 17:20:39 -0700 | [diff] [blame] | 924 | .sidebox { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 925 | border-left:1px solid #dee8f1; |
| 926 | background-color:#ffffee; |
Scott Main | 67c2a96 | 2010-03-16 17:04:22 -0700 | [diff] [blame] | 927 | padding:8px 12px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 928 | font-size:90%; |
| 929 | width:260px; |
| 930 | } |
| 931 | |
Scott Main | 84f8a5e | 2010-03-24 17:20:39 -0700 | [diff] [blame] | 932 | .sidebox p { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 933 | margin-bottom: .25em; |
| 934 | } |
| 935 | |
Scott Main | 84f8a5e | 2010-03-24 17:20:39 -0700 | [diff] [blame] | 936 | .sidebox ul { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 937 | padding: 0 0 0 1.5em; |
| 938 | } |
| 939 | |
Scott Main | 84f8a5e | 2010-03-24 17:20:39 -0700 | [diff] [blame] | 940 | .sidebox li ul { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 941 | margin-top:0; |
| 942 | margin-bottom:.1em; |
| 943 | } |
| 944 | |
Scott Main | 84f8a5e | 2010-03-24 17:20:39 -0700 | [diff] [blame] | 945 | .sidebox li { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 946 | padding:0 0 0 0em; |
| 947 | } |
| 948 | |
| 949 | #jd-content .sidebox h2, |
Scott Main | 84f8a5e | 2010-03-24 17:20:39 -0700 | [diff] [blame] | 950 | #jd-content .sidebox h3 { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 951 | border:none; |
| 952 | font-size:1em; |
| 953 | margin:0; |
Scott Main | 67c2a96 | 2010-03-16 17:04:22 -0700 | [diff] [blame] | 954 | padding:0 0 8px; |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 955 | left:0; |
| 956 | z-index:0; |
| 957 | } |
| 958 | |
Scott Main | 84f8a5e | 2010-03-24 17:20:39 -0700 | [diff] [blame] | 959 | .sidebox hr { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 960 | background-color:#ccc; |
| 961 | border:none; |
| 962 | } |
| 963 | |
| 964 | /* End sidebox sidebar element styles */ |
| 965 | |
Dirk Dougherty | 29eafde | 2009-05-26 08:40:40 -0700 | [diff] [blame] | 966 | /* BEGIN image and caption styles (originally for UI Guidelines docs) */ |
| 967 | |
| 968 | table.image-caption { |
| 969 | padding:0; |
| 970 | margin:.5em 0; |
| 971 | border:0; |
| 972 | } |
| 973 | |
| 974 | td.image-caption-i { |
| 975 | font-size:92%; |
Scott Main | 7b6cee7 | 2010-03-29 09:50:34 -0700 | [diff] [blame] | 976 | padding:0 5px; |
Dirk Dougherty | 29eafde | 2009-05-26 08:40:40 -0700 | [diff] [blame] | 977 | margin:0; |
| 978 | border:0; |
| 979 | } |
| 980 | |
| 981 | td.image-caption-i img { |
| 982 | padding:0 1em; |
| 983 | margin:0; |
| 984 | } |
| 985 | |
| 986 | .image-list { |
| 987 | width:24px; |
| 988 | text-align:center; |
| 989 | } |
| 990 | |
Dirk Dougherty | 29eafde | 2009-05-26 08:40:40 -0700 | [diff] [blame] | 991 | td.image-caption-c { |
| 992 | font-size:92%; |
| 993 | padding:1em 2px 2px 2px; |
| 994 | margin:0; |
| 995 | border:0; |
| 996 | width:350px; |
| 997 | } |
| 998 | |
| 999 | .grad-rule-top { |
| 1000 | background-image:url(images/grad-rule-qv.png); |
| 1001 | background-repeat:no-repeat; |
| 1002 | padding-top:1em; |
| 1003 | margin-top:0; |
| 1004 | } |
| 1005 | |
| 1006 | .image-caption-nested { |
| 1007 | margin-top:0; |
| 1008 | padding:0 0 0 1em; |
| 1009 | } |
| 1010 | |
| 1011 | .image-caption-nested td { |
| 1012 | padding:0 4px 2px 0; |
| 1013 | margin:0; |
| 1014 | border:0; |
| 1015 | } |
| 1016 | |
| 1017 | /* END image and caption styles */ |
| 1018 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1019 | /* table of contents */ |
| 1020 | |
| 1021 | ol.toc { |
| 1022 | margin: 0 0 1em 0; |
| 1023 | padding: 0; |
| 1024 | list-style: none; |
| 1025 | font-size:95%; |
| 1026 | } |
| 1027 | |
| 1028 | ol.toc li { |
| 1029 | font-weight: bold; |
| 1030 | margin: 0 0 .5em 1em; |
| 1031 | padding: 0; |
| 1032 | } |
| 1033 | |
| 1034 | ol.toc li p { |
| 1035 | font-weight: normal; |
| 1036 | } |
| 1037 | |
| 1038 | ol.toc li ol { |
| 1039 | margin: 0; |
| 1040 | padding: 0; |
| 1041 | } |
| 1042 | |
| 1043 | ol.toc li li { |
| 1044 | padding: 0; |
| 1045 | margin: 0 0 0 1em; |
| 1046 | font-weight: normal; |
| 1047 | list-style: none; |
| 1048 | } |
| 1049 | |
| 1050 | table ol.toc { |
| 1051 | margin-left: 0; |
| 1052 | } |
| 1053 | |
| 1054 | .columns td { |
| 1055 | padding:0 5px; |
| 1056 | border:none; |
| 1057 | } |
| 1058 | |
| 1059 | /* link table */ |
| 1060 | .jd-linktable { |
| 1061 | margin: 0 0 1em; |
| 1062 | border-bottom: 1px solid #888; |
| 1063 | } |
| 1064 | .jd-linktable th, |
| 1065 | .jd-linktable td { |
| 1066 | padding: 3px 5px; |
| 1067 | vertical-align: top; |
| 1068 | text-align: left; |
| 1069 | border:none; |
| 1070 | } |
| 1071 | .jd-linktable tr { |
| 1072 | background-color: #fff; |
| 1073 | } |
| 1074 | .jd-linktable td { |
| 1075 | border-top: 1px solid #888; |
| 1076 | background-color: inherit; |
| 1077 | } |
| 1078 | .jd-linktable td p { |
| 1079 | padding: 0 0 5px; |
| 1080 | } |
| 1081 | .jd-linktable .jd-linkcol { |
| 1082 | } |
| 1083 | .jd-linktable .jd-descrcol { |
| 1084 | } |
| 1085 | .jd-linktable .jd-typecol { |
| 1086 | text-align:right; |
| 1087 | } |
| 1088 | .jd-linktable .jd-valcol { |
| 1089 | } |
| 1090 | .jd-linktable .jd-commentrow { |
| 1091 | border-top:none; |
| 1092 | padding-left:25px; |
| 1093 | } |
| 1094 | .jd-deprecated-warning { |
| 1095 | margin-top: 0; |
| 1096 | margin-bottom: 10px; |
| 1097 | } |
| 1098 | |
| 1099 | tr.alt-color { |
| 1100 | background-color: #f6f6f6; |
| 1101 | } |
| 1102 | |
| 1103 | /* expando trigger */ |
| 1104 | #jd-content .jd-expando-trigger-img { |
| 1105 | margin:0; |
| 1106 | } |
| 1107 | |
| 1108 | /* jd-expando */ |
| 1109 | .jd-inheritedlinks { |
| 1110 | padding:0 0 0 13px |
| 1111 | } |
| 1112 | |
| 1113 | /* SDK PAGE */ |
| 1114 | table.download tr { |
| 1115 | background-color:#d9d9d9; |
| 1116 | } |
| 1117 | |
| 1118 | table.download tr.alt-color { |
| 1119 | background-color:#ededed; |
| 1120 | } |
| 1121 | |
| 1122 | table.download td, |
| 1123 | table.download th { |
| 1124 | border:2px solid #fff; |
| 1125 | padding:10px 5px; |
| 1126 | } |
| 1127 | |
| 1128 | table.download th { |
| 1129 | background-color:#6d8293; |
| 1130 | color:#fff; |
| 1131 | } |
| 1132 | |
| 1133 | /* INLAY 180 COPY and 240PX EXTENSION */ |
| 1134 | /* modified to 43px so that all browsers eliminate the package panel h-scroll */ |
| 1135 | .g-tpl-240 .g-unit, |
| 1136 | .g-unit .g-tpl-240 .g-unit, |
| 1137 | .g-unit .g-unit .g-tpl-240 .g-unit { |
| 1138 | display: block; |
| 1139 | margin: 0 0 0 243px; |
| 1140 | width: auto; |
| 1141 | float: none; |
| 1142 | } |
| 1143 | .g-unit .g-unit .g-tpl-240 .g-first, |
| 1144 | .g-unit .g-tpl-240 .g-first, |
| 1145 | .g-tpl-240 .g-first { |
| 1146 | display: block; |
| 1147 | margin: 0; |
| 1148 | width: 243px; |
| 1149 | float: left; |
| 1150 | } |
| 1151 | /* 240px alt */ |
| 1152 | .g-tpl-240-alt .g-unit, |
| 1153 | .g-unit .g-tpl-240-alt .g-unit, |
| 1154 | .g-unit .g-unit .g-tpl-240-alt .g-unit { |
| 1155 | display: block; |
| 1156 | margin: 0 243px 0 0; |
| 1157 | width: auto; |
| 1158 | float: none; |
| 1159 | } |
| 1160 | .g-unit .g-unit .g-tpl-240-alt .g-first, |
| 1161 | .g-unit .g-tpl-240-alt .g-first, |
| 1162 | .g-tpl-240-alt .g-first { |
| 1163 | display: block; |
| 1164 | margin: 0; |
| 1165 | width: 243px; |
| 1166 | float: right; |
| 1167 | } |
| 1168 | |
| 1169 | /* 180px */ |
| 1170 | .g-tpl-180 .g-unit, |
| 1171 | .g-unit .g-tpl-180 .g-unit, |
| 1172 | .g-unit .g-unit .g-tpl-180 .g-unit { |
| 1173 | display: block; |
| 1174 | margin: 0 0 0 180px; |
| 1175 | width: auto; |
| 1176 | float: none; |
| 1177 | } |
| 1178 | .g-unit .g-unit .g-tpl-180 .g-first, |
| 1179 | .g-unit .g-tpl-180 .g-first, |
| 1180 | .g-tpl-180 .g-first { |
| 1181 | display: block; |
| 1182 | margin: 0; |
| 1183 | width: 180px; |
| 1184 | float: left; |
| 1185 | } |
| 1186 | /* 180px alt */ |
| 1187 | .g-tpl-180-alt .g-unit, |
| 1188 | .g-unit .g-tpl-180-alt .g-unit, |
| 1189 | .g-unit .g-unit .g-tpl-180-alt .g-unit { |
| 1190 | display: block; |
| 1191 | margin: 0 180px 0 0; |
| 1192 | width: auto; |
| 1193 | float: none; |
| 1194 | } |
| 1195 | .g-unit .g-unit .g-tpl-180-alt .g-first, |
| 1196 | .g-unit .g-tpl-180-alt .g-first, |
| 1197 | .g-tpl-180-alt .g-first { |
| 1198 | display: block; |
| 1199 | margin: 0; |
| 1200 | width: 180px; |
| 1201 | float: right; |
| 1202 | } |
| 1203 | |
| 1204 | |
| 1205 | /* JQUERY RESIZABLE STYLES */ |
| 1206 | .ui-resizable { position: relative; } |
| 1207 | .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; } |
| 1208 | .ui-resizable .ui-resizable-handle { display: block; } |
Scott Main | 67c2a96 | 2010-03-16 17:04:22 -0700 | [diff] [blame] | 1209 | body .ui-resizable-disabled .ui-resizable-handle { display: none; } |
| 1210 | body .ui-resizable-autohide .ui-resizable-handle { display: none; } |
| 1211 | .ui-resizable-s { cursor: s-resize; height: 6px; width: 100%; bottom: 0px; left: 0px; |
| 1212 | background: transparent url("images/resizable-s2.gif") repeat scroll center top; } |
| 1213 | .ui-resizable-e { cursor: e-resize; width: 6px; right: 0px; top: 0px; height: 100%; |
| 1214 | background: transparent url("images/resizable-e2.gif") repeat scroll right center; } |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1215 | |
| 1216 | @media print { |
| 1217 | |
| 1218 | body { |
| 1219 | overflow:visible; |
| 1220 | } |
| 1221 | |
| 1222 | #header { |
| 1223 | height:60px; |
| 1224 | } |
| 1225 | |
| 1226 | #headerLeft { |
Dirk Dougherty | 1846717 | 2009-04-15 11:31:36 -0700 | [diff] [blame] | 1227 | padding:0; |
| 1228 | } |
| 1229 | |
Scott Main | 54161d1 | 2009-08-18 19:00:11 -0700 | [diff] [blame] | 1230 | #header-tabs, |
| 1231 | #headerRight, |
| 1232 | #side-nav, |
| 1233 | #api-info-block { |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1234 | display:none; |
| 1235 | } |
| 1236 | |
| 1237 | #body-content { |
| 1238 | position:inherit; |
| 1239 | } |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1240 | |
| 1241 | #doc-content { |
| 1242 | margin-left:0 !important; |
| 1243 | height:auto !important; |
| 1244 | width:auto !important; |
| 1245 | overflow:inherit; |
| 1246 | display:inline; |
| 1247 | } |
| 1248 | |
| 1249 | #jd-header { |
| 1250 | padding:10px 0; |
| 1251 | } |
| 1252 | |
| 1253 | #jd-content { |
| 1254 | padding:15px 0 0; |
| 1255 | } |
| 1256 | |
| 1257 | #footer { |
| 1258 | float:none; |
| 1259 | margin:2em 0 0; |
| 1260 | } |
| 1261 | |
| 1262 | h4.jd-details-title { |
| 1263 | border-bottom:1px solid #666; |
| 1264 | } |
| 1265 | |
| 1266 | pre { |
| 1267 | /* these allow lines to break (if there's a white space) */ |
| 1268 | overflow: visible; |
| 1269 | text-wrap: unrestricted; |
| 1270 | white-space: -moz-pre-wrap; /* Moz */ |
| 1271 | white-space: -pre-wrap; /* Opera 4-6 */ |
| 1272 | white-space: -o-pre-wrap; /* Opera 7 */ |
| 1273 | white-space: pre-wrap; /* CSS3 */ |
| 1274 | word-wrap: break-word; /* IE 5.5+ */ |
| 1275 | } |
| 1276 | |
| 1277 | h1, h2, h3, h4, h5, h6 { |
| 1278 | page-break-after: avoid; |
| 1279 | } |
| 1280 | |
| 1281 | table, img { |
| 1282 | page-break-inside: avoid; |
| 1283 | } |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1284 | } |