The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [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; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 18 | font-size: 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 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 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 29 | /* SIDE NAVIGATION */ |
| 30 | |
| 31 | #side-nav { |
| 32 | padding:0 6px 0 0; |
| 33 | background-color: #fff; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 34 | font-size:12px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | #resize-packages-nav { |
| 38 | /* keeps the resize handle below the h-scroll handle */ |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 39 | height:270px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 40 | overflow:hidden; |
| 41 | max-height:100%; |
| 42 | } |
| 43 | |
| 44 | #packages-nav { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 45 | height:270px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 46 | max-height:inherit; |
| 47 | position:relative; |
| 48 | overflow:auto; |
| 49 | } |
| 50 | |
| 51 | #classes-nav, |
| 52 | #devdoc-nav { |
| 53 | overflow:auto; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 54 | position:relative; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 55 | } |
| 56 | |
| 57 | #side-nav ul { |
| 58 | list-style: none; |
| 59 | margin: 0; |
| 60 | padding:5px 0; |
| 61 | } |
| 62 | |
| 63 | #side-nav ul ul { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 64 | margin: .35em 0 0 0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 65 | padding: 0; |
| 66 | } |
| 67 | |
| 68 | #side-nav li { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 69 | padding:0; |
| 70 | line-height:16px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 71 | white-space:nowrap; |
| 72 | } |
| 73 | |
| 74 | #side-nav li h2 { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 75 | font-size:12px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 76 | font-weight: bold; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 77 | margin:.5em 0 0 0; |
| 78 | padding: 3px 0 1px 9px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | #side-nav li a { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 82 | text-decoration:none; |
| 83 | padding: 0 0 0 18px; |
| 84 | } |
| 85 | |
| 86 | #side-nav li a:hover { |
| 87 | text-decoration:underline; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | #side-nav li a+a { |
| 91 | padding: 0; |
| 92 | } |
| 93 | |
| 94 | #side-nav li li li a { |
| 95 | /*sdk lists*/ |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 96 | padding: 0 0 0 28px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 97 | } |
| 98 | |
| 99 | #side-nav .selected { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 100 | background-color: #435a6e; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 101 | color: #fff; |
| 102 | font-weight:bold; |
| 103 | } |
| 104 | |
| 105 | #side-nav .selected a { |
| 106 | color: #fff; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 107 | text-decoration:none; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 108 | } |
| 109 | |
| 110 | #side-nav strong { |
| 111 | display:block; |
| 112 | } |
| 113 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 114 | #side-nav .toggle-img { |
| 115 | margin:0; |
| 116 | padding:0; |
| 117 | position:absolute; |
| 118 | top:0; |
| 119 | left:0; |
| 120 | height:16px; |
| 121 | width:15px; |
| 122 | outline-style:none; |
| 123 | } |
| 124 | |
| 125 | #side-nav .closed .toggle-img { |
| 126 | background:url('images/triangle-closed-small.png') 7px 4px no-repeat; |
| 127 | } |
| 128 | #side-nav .open .toggle-img { |
| 129 | background:url('images/triangle-opened-small.png') 7px 4px no-repeat; |
| 130 | } |
| 131 | |
| 132 | #side-nav .toggle-list { |
| 133 | position:relative; |
| 134 | } |
| 135 | |
| 136 | #side-nav .toggle-list ul { |
| 137 | margin:0; |
| 138 | display:none; |
| 139 | } |
| 140 | |
| 141 | #side-nav .toggle-list div { |
| 142 | display:block; |
| 143 | } |
| 144 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 145 | #index-links .selected { |
| 146 | background-color: #fff; |
| 147 | color: #000; |
| 148 | font-weight:normal; |
| 149 | text-decoration:none; |
| 150 | } |
| 151 | |
| 152 | #index-links { |
| 153 | padding:7px 0 4px 10px; |
| 154 | } |
| 155 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 156 | /* nav tree */ |
| 157 | |
| 158 | #nav-tree ul { |
| 159 | padding:5px 0 1.5em; |
| 160 | } |
| 161 | |
| 162 | #side-nav #nav-tree ul li a, |
| 163 | #side-nav #nav-tree ul li span.no-children { |
| 164 | padding: 0 0 0 0; |
| 165 | margin: 0; |
| 166 | } |
| 167 | |
| 168 | #nav-tree .plus { |
| 169 | margin: 0 3px 0 0; |
| 170 | } |
| 171 | |
| 172 | #nav-tree ul ul { |
| 173 | list-style: none; |
| 174 | margin: 0; |
| 175 | padding: 0 0 0 0; |
| 176 | } |
| 177 | |
| 178 | #nav-tree ul li { |
| 179 | margin: 0; |
| 180 | padding: 0 0 0 0; |
| 181 | white-space: nowrap; |
| 182 | } |
| 183 | |
| 184 | #nav-tree .children_ul { |
| 185 | margin:0; |
| 186 | } |
| 187 | |
| 188 | #nav-tree a.nolink { |
| 189 | color: black; |
| 190 | text-decoration: none; |
| 191 | } |
| 192 | |
| 193 | #nav-tree span.label { |
| 194 | width: 100%; |
| 195 | } |
| 196 | |
| 197 | #nav-tree { |
| 198 | overflow-x: auto; |
| 199 | overflow-y: scroll; |
| 200 | } |
| 201 | |
| 202 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 203 | /* DOCUMENT BODY */ |
| 204 | |
| 205 | #doc-content { |
| 206 | overflow:auto; |
| 207 | } |
| 208 | |
| 209 | #jd-header { |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 210 | background-color: #E2E2E2; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 211 | padding: 7px 20px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 212 | } |
| 213 | |
| 214 | #jd-header h1 { |
| 215 | margin: 0 0 10px; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 216 | font-size:1.7em; |
| 217 | } |
| 218 | |
| 219 | #jd-header .crumb { |
| 220 | font-size:.9em; |
| 221 | line-height:1em; |
| 222 | color:#777; |
| 223 | } |
| 224 | |
| 225 | #jd-header .crumb a, |
| 226 | #jd-header .crumb a:visited { |
| 227 | text-decoration:none; |
| 228 | color:#777; |
| 229 | } |
| 230 | |
| 231 | #jd-header .crumb a:hover { |
| 232 | text-decoration:underline; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 233 | } |
| 234 | |
| 235 | #jd-header table { |
| 236 | margin:0; |
| 237 | padding:0; |
| 238 | } |
| 239 | |
| 240 | #jd-header td { |
| 241 | border:none; |
| 242 | padding:0; |
| 243 | vertical-align:top; |
| 244 | } |
| 245 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 246 | #jd-header.guide-header { |
| 247 | background-color:#fff; |
| 248 | color:#435a6e; |
| 249 | height:50px; |
| 250 | } |
| 251 | |
| 252 | #jd-descr { |
| 253 | position:relative; |
| 254 | } |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 255 | |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 256 | /* summary tables for reference pages */ |
| 257 | .jd-sumtable { |
| 258 | margin: .5em 1em 1em 1em; |
| 259 | width:99%; |
| 260 | font-size:.9em; |
| 261 | } |
| 262 | |
| 263 | .jd-sumtable a { |
| 264 | text-decoration:none; |
| 265 | } |
| 266 | |
| 267 | .jd-sumtable a:hover { |
| 268 | text-decoration:underline; |
| 269 | } |
| 270 | |
| 271 | /* a div inside a sumtable th holding "Expand All" */ |
| 272 | .expandall { |
| 273 | float:right; |
| 274 | font-weight:normal; |
| 275 | } |
| 276 | |
| 277 | /* adjustments for in/direct subclasses tables */ |
| 278 | .jd-sumtable-subclasses { |
| 279 | margin: 1em 0 0 0; |
| 280 | max-width:968px; |
| 281 | } |
| 282 | |
| 283 | /* extra space between end of method name and open-paren */ |
| 284 | .sympad { |
| 285 | margin-right: 2px; |
| 286 | } |
| 287 | |
| 288 | /* right alignment for the return type in sumtable */ |
| 289 | .jd-sumtable .jd-typecol { |
| 290 | text-align:right; |
| 291 | } |
| 292 | |
| 293 | /* adjustments for the expando table-in-table */ |
| 294 | .jd-sumtable-expando { |
| 295 | margin:.5em 0; |
| 296 | padding:0; |
| 297 | } |
| 298 | |
| 299 | /* a div that holds a short description */ |
| 300 | .jd-descrdiv { |
| 301 | width:100%; |
| 302 | padding:3px 1em 0 1em; |
| 303 | margin:0; |
| 304 | border:0; |
| 305 | } |
| 306 | |
| 307 | /* page-top-right container for reference pages (holds |
| 308 | links to summary tables) */ |
| 309 | #api-info-block { |
| 310 | font-size:.8em; |
| 311 | margin:0; |
| 312 | padding:6px; |
| 313 | font-weight:normal; |
| 314 | float:right; |
| 315 | text-align:right; |
| 316 | color:#999; |
| 317 | max-width:70%; |
| 318 | } |
| 319 | |
| 320 | /* applies to a div containing links to summary tables */ |
| 321 | .sum-details-links { |
| 322 | margin:0 .5em; |
| 323 | padding:0; |
| 324 | font-weight:normal; |
| 325 | } |
| 326 | |
| 327 | .sum-details-links a { |
| 328 | text-decoration:none; |
| 329 | } |
| 330 | |
| 331 | .sum-details-links a:hover { |
| 332 | text-decoration:underline; |
| 333 | } |
| 334 | |
| 335 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 336 | /* inheritance table */ |
| 337 | .jd-inheritance-table { |
| 338 | border-spacing:0; |
| 339 | margin:0; |
| 340 | padding:0; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 341 | font-size:.9em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 342 | } |
| 343 | .jd-inheritance-table td { |
| 344 | border: none; |
| 345 | margin: 0; |
| 346 | padding: 0; |
| 347 | } |
| 348 | .jd-inheritance-table .jd-inheritance-space { |
| 349 | font-weight:bold; |
| 350 | width:1em; |
| 351 | } |
| 352 | .jd-inheritance-table .jd-inheritance-interface-cell { |
| 353 | padding-left: 17px; |
| 354 | } |
| 355 | |
| 356 | #jd-content { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 357 | padding: 18px 20px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 358 | } |
| 359 | |
| 360 | hr { |
| 361 | background-color:#ccc; |
| 362 | } |
| 363 | |
| 364 | /* DOC CLASSES */ |
| 365 | |
| 366 | #jd-content h1 { |
| 367 | /*sdk page*/ |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 368 | font-size:1.6em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 369 | color:#336666; |
| 370 | margin:0 0 .5em; |
| 371 | } |
| 372 | |
| 373 | #jd-content h2 { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 374 | font-size:1.45em; |
| 375 | color:#111; |
| 376 | border-top:2px solid #ccc; |
| 377 | padding: .5em 0 0; |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 378 | margin: 1.5em 0 1em 0; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 379 | max-width:968px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 380 | } |
| 381 | |
| 382 | #jd-content h3 { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 383 | font-size:1.2em; |
| 384 | color:#222; |
| 385 | padding: .75em 0 .65em 0; |
| 386 | margin:0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 387 | } |
| 388 | |
| 389 | #jd-content h4 { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 390 | font-size:1.1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 391 | margin-bottom:.5em; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 392 | color:#222; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 393 | } |
| 394 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 395 | #jd-content .small-header { |
| 396 | font-size:1em; |
| 397 | color:#000; |
| 398 | font-weight:bold; |
| 399 | border:none; |
| 400 | padding:0; |
| 401 | margin:1em 0 .5em; |
| 402 | position:inherit; |
| 403 | } |
| 404 | |
| 405 | #jd-content img { |
| 406 | margin: 0 0 1em 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 407 | } |
| 408 | |
| 409 | #jd-content li img, |
| 410 | #jd-content dd img { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 411 | margin:.5em 0 0 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 412 | } |
| 413 | |
| 414 | .nolist { |
| 415 | list-style:none; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 416 | padding:0; |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 417 | margin:0 0 0 1em; |
| 418 | } |
| 419 | |
| 420 | .nolist li { |
| 421 | padding:0; |
| 422 | margin:0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 423 | } |
| 424 | |
| 425 | h4 .normal { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 426 | font-size:.9em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 427 | font-weight:normal; |
| 428 | } |
| 429 | |
| 430 | .jd-details { |
| 431 | /* border:1px solid #669999; |
| 432 | padding:4px; */ |
| 433 | margin:0 0 1em; |
| 434 | } |
| 435 | |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 436 | /* API reference: a container for the |
| 437 | .tagdata blocks that make up the detailed |
| 438 | description */ |
| 439 | .jd-details-descr { |
| 440 | padding:0; |
| 441 | margin:.5em .25em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 442 | } |
| 443 | |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 444 | /* API reference: a block containing |
| 445 | a detailed description, a params table, |
| 446 | seealso list, etc */ |
| 447 | .jd-tagdata { |
| 448 | margin:.5em 1em; |
| 449 | } |
| 450 | |
| 451 | /* API reference: adjustments to |
| 452 | the detailed description block */ |
| 453 | .jd-tagdescr { |
| 454 | margin:.25em 0 .75em 0; |
| 455 | line-height:1em; |
| 456 | } |
| 457 | |
| 458 | .jd-tagdescr p { |
| 459 | margin:.5em 0; |
| 460 | padding:0; |
| 461 | |
| 462 | } |
| 463 | |
| 464 | .jd-tagdescr ol, |
| 465 | .jd-tagdescr ul { |
| 466 | margin:0 2.5em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 467 | padding:0; |
| 468 | } |
| 469 | |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 470 | .jd-tagdescr table, |
| 471 | .jd-tagdescr img { |
| 472 | margin:.25em 1em; |
| 473 | } |
| 474 | |
| 475 | .jd-tagdescr li { |
| 476 | margin:0 0 .25em 0; |
| 477 | padding:0; |
| 478 | } |
| 479 | |
| 480 | /* API reference: heading marking |
| 481 | the details section for constants, |
| 482 | attrs, methods, etc. */ |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 483 | h4.jd-details-title { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 484 | font-size:1.15em; |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 485 | background-color: #E2E2E2; |
| 486 | margin:1.5em 0 .6em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 487 | padding:3px; |
| 488 | } |
| 489 | |
| 490 | h4.jd-tagtitle { |
| 491 | margin:0; |
| 492 | } |
| 493 | |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 494 | /* API reference: heading for "Parameters", "See Also", etc., |
| 495 | in details sections */ |
| 496 | h5.jd-tagtitle { |
| 497 | margin:0 0 .25em 0; |
| 498 | font-size:1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 499 | } |
| 500 | |
| 501 | .jd-tagtable { |
| 502 | margin:0; |
| 503 | } |
| 504 | |
| 505 | .jd-tagtable td, |
| 506 | .jd-tagtable th { |
| 507 | border:none; |
| 508 | background-color:#fff; |
| 509 | vertical-align:top; |
| 510 | font-weight:normal; |
| 511 | padding:2px 10px; |
| 512 | } |
| 513 | |
| 514 | .jd-tagtable th { |
| 515 | font-style:italic; |
| 516 | } |
| 517 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 518 | #jd-content table h2 { |
| 519 | background-color: #d6d6d6; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 520 | font-size: 1.1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 521 | margin:0 0 10px; |
| 522 | padding:5px; |
| 523 | left:0; |
| 524 | width:auto; |
| 525 | } |
| 526 | |
| 527 | div.special { |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 528 | padding: .5em 1em 1em 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 529 | margin: 0 0 1em; |
| 530 | background-color: #ddf0f2; |
| 531 | } |
| 532 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 533 | div.special p { |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 534 | margin: .5em 0 0 0; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 535 | } |
| 536 | |
| 537 | div.special ol { |
| 538 | margin: 0; |
| 539 | } |
| 540 | |
| 541 | div.special ol li { |
| 542 | margin: 0; |
| 543 | padding: 0; |
| 544 | } |
| 545 | |
| 546 | #jd-content div.special h2, |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 547 | #jd-content div.special h3 { |
| 548 | color:#669999; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 549 | font-size:1.2em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 550 | border:none; |
| 551 | margin:0 0 .5em; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 552 | padding:0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 553 | } |
| 554 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 555 | /* old p.note, p.caution, p.warning { |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 556 | margin:0 0 1em; |
| 557 | padding: 4px 10px; |
| 558 | background-color: #efefef; |
| 559 | border-top: 1px solid; |
| 560 | border-bottom: 1px solid; |
| 561 | } |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 562 | */ |
| 563 | p.note, p.caution, p.warning { |
| 564 | margin: 1em; |
| 565 | padding: 0 0 0 .5em; |
| 566 | border-left: 4px solid; |
| 567 | } |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 568 | |
| 569 | p.special-note { |
| 570 | background-color:#EBF3DB; |
| 571 | padding:10px 20px; |
| 572 | margin:0 0 1em; |
| 573 | } |
| 574 | |
| 575 | p.note { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 576 | border-color: #99aacc; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 577 | } |
| 578 | |
| 579 | p.caution { |
| 580 | border-color: #ffcc33; |
| 581 | } |
| 582 | |
| 583 | p.warning { |
| 584 | border-color: #aa0033; |
| 585 | } |
| 586 | |
| 587 | p.warning b, p.warning em, p.warning strong { |
| 588 | color: #aa0033; |
| 589 | font-weight: bold; |
| 590 | } |
| 591 | |
| 592 | li p.note, li p.warning, li p.caution { |
| 593 | margin: .5em 0 0 0; |
| 594 | padding: .2em .5em .2em .9em; |
| 595 | } |
| 596 | |
| 597 | dl.xml dt { |
| 598 | font-variant:small-caps; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 599 | font-size:1.2em; |
| 600 | } |
| 601 | |
| 602 | dl.xml dl { |
| 603 | padding:0; |
| 604 | } |
| 605 | |
| 606 | dl.xml dl dt { |
| 607 | font-variant:normal; |
| 608 | font-size:1em; |
| 609 | } |
| 610 | |
| 611 | .listhead li { |
| 612 | font-weight: bold; |
| 613 | } |
| 614 | |
| 615 | .listhead li *, /*ie*/.listhead li li { |
| 616 | font-weight: normal; |
| 617 | } |
| 618 | |
| 619 | ol.no-style, |
| 620 | ul.no-style { |
| 621 | list-style:none; |
| 622 | padding-left:1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 623 | } |
| 624 | |
| 625 | .new { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 626 | font-size: .78em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 627 | font-weight: bold; |
| 628 | color: red; |
| 629 | text-decoration: none; |
| 630 | } |
| 631 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 632 | pre.classic { |
| 633 | background-color:transparent; |
| 634 | border:none; |
| 635 | padding:0; |
| 636 | } |
| 637 | |
| 638 | |
| 639 | /* BEGIN quickview sidebar element styles */ |
| 640 | |
| 641 | #qv-wrapper { |
| 642 | float: right; |
| 643 | position:relative; |
| 644 | width:315px; |
| 645 | background-color:#fff; |
| 646 | padding:4px 30px 15px 20px; |
| 647 | top:-55px; |
| 648 | left:20px; |
| 649 | } |
| 650 | |
| 651 | #qv { |
| 652 | background-color:#fff; |
| 653 | border:4px solid #dee8f1; |
| 654 | margin:0 0 0 15px; |
| 655 | padding:0 6px 6px; |
| 656 | margin-top:0px; |
| 657 | width:295; |
| 658 | float:right; |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 659 | font-size:.9em; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 660 | } |
| 661 | |
| 662 | #qv ol { |
| 663 | list-style:none; |
| 664 | padding: 0; |
| 665 | } |
| 666 | |
| 667 | #qv ol ol{ |
| 668 | list-style:none; |
| 669 | padding: 0 0 3px 12px; |
| 670 | margin:0; |
| 671 | } |
| 672 | |
| 673 | #qv ul { |
| 674 | padding: 0 10px 0 2em; |
| 675 | } |
| 676 | |
| 677 | #qv li { |
| 678 | padding: 0 10px; |
| 679 | margin: 2 0 0; |
| 680 | line-height: 1.2em; |
| 681 | } |
| 682 | |
| 683 | #qv ul li { |
| 684 | padding: 0 10px 0 0; |
| 685 | } |
| 686 | |
| 687 | #qv li.selected a { |
| 688 | color:#555; |
| 689 | text-decoration:none; |
| 690 | } |
| 691 | |
| 692 | #qv a { |
| 693 | color:#cc6600; |
| 694 | } |
| 695 | |
| 696 | #qv p { |
| 697 | margin:8px 0 0; |
| 698 | padding:0 10px; |
| 699 | } |
| 700 | |
| 701 | #qv-extra #rule { |
| 702 | padding: 0 10px; |
| 703 | margin: 0; |
| 704 | } |
| 705 | |
| 706 | #qv-sub-rule { |
| 707 | padding: 6px 20px; |
| 708 | margin: 0; |
| 709 | } |
| 710 | |
| 711 | #qv-sub-rule p { |
| 712 | margin: 0; |
| 713 | } |
| 714 | |
| 715 | #jd-content #qv h2 { |
| 716 | font-size:1.05em; |
| 717 | font-weight:bold; |
| 718 | margin:12px 0 .25em 0; |
| 719 | padding:0 10px; |
| 720 | background-color:transparent; |
| 721 | color:#7BB026; |
| 722 | border:none; |
| 723 | left:0; |
| 724 | z-index:1; |
| 725 | } |
| 726 | |
| 727 | /* END quickview sidebar element styles */ |
| 728 | |
| 729 | /* Begin sidebox sidebar element styles */ |
| 730 | |
| 731 | .sidebox-wrapper { |
| 732 | float: right; |
| 733 | width:300px; |
| 734 | background-color:#fff; |
| 735 | margin: 0 0 0 15px; |
| 736 | padding: 5px 0 5px 15px; |
| 737 | } |
| 738 | |
| 739 | .sidebox-inner { |
| 740 | border-left:1px solid #dee8f1; |
| 741 | background-color:#ffffee; |
| 742 | padding:0 5px 0 15px; |
| 743 | } |
| 744 | |
| 745 | .sidebox { |
| 746 | float: right; |
| 747 | width:285px; |
| 748 | background-color:#ffffee; |
| 749 | border-left:1px solid #dee8f1; |
| 750 | margin: 0 0 0 15px; |
| 751 | padding:5px 8px 0 12px; |
| 752 | } |
| 753 | |
| 754 | |
| 755 | #jd-content .sidebox h2, |
| 756 | #jd-content .sidebox h3, |
| 757 | #jd-content .sidebox-inner h2, |
| 758 | #jd-content .sidebox-inner h3 { |
| 759 | border:none; |
| 760 | font-size:1em; |
| 761 | margin:0; |
| 762 | padding:4px 0 4px; |
| 763 | left:0; |
| 764 | z-index:0; |
| 765 | } |
| 766 | |
| 767 | .sidebox hr, |
| 768 | .sidebox-inner hr { |
| 769 | background-color:#ccc; |
| 770 | border:none; |
| 771 | } |
| 772 | |
| 773 | /* End sidebox sidebar element styles */ |
| 774 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 775 | /* table of contents */ |
| 776 | |
| 777 | ol.toc { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 778 | margin: 0 0 1em 0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 779 | padding: 0; |
| 780 | list-style: none; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 781 | font-size:95%; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 782 | } |
| 783 | |
| 784 | ol.toc li { |
| 785 | font-weight: bold; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 786 | margin: 0 0 .5em 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 787 | padding: 0; |
| 788 | } |
| 789 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 790 | ol.toc li p { |
| 791 | font-weight: normal; |
| 792 | } |
| 793 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 794 | ol.toc li ol { |
| 795 | margin: 0; |
| 796 | padding: 0; |
| 797 | } |
| 798 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 799 | ol.toc li li { |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 800 | padding: 0; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 801 | margin: 0 0 0 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 802 | font-weight: normal; |
| 803 | list-style: none; |
| 804 | } |
| 805 | |
| 806 | table ol.toc { |
| 807 | margin-left: 0; |
| 808 | } |
| 809 | |
| 810 | .columns td { |
| 811 | padding:0 5px; |
| 812 | border:none; |
| 813 | } |
| 814 | |
| 815 | /* link table */ |
| 816 | .jd-linktable { |
| 817 | margin: 0 0 1em; |
| 818 | border-bottom: 1px solid #888; |
| 819 | } |
| 820 | .jd-linktable th, |
| 821 | .jd-linktable td { |
| 822 | padding: 3px 5px; |
| 823 | vertical-align: top; |
| 824 | text-align: left; |
| 825 | border:none; |
| 826 | } |
| 827 | .jd-linktable tr { |
| 828 | background-color: #fff; |
| 829 | } |
| 830 | .jd-linktable td { |
| 831 | border-top: 1px solid #888; |
| 832 | background-color: inherit; |
| 833 | } |
| 834 | .jd-linktable td p { |
| 835 | padding: 0 0 5px; |
| 836 | } |
| 837 | .jd-linktable .jd-linkcol { |
| 838 | } |
| 839 | .jd-linktable .jd-descrcol { |
| 840 | } |
| 841 | .jd-linktable .jd-typecol { |
| 842 | text-align:right; |
| 843 | } |
| 844 | .jd-linktable .jd-valcol { |
| 845 | } |
| 846 | .jd-linktable .jd-commentrow { |
| 847 | border-top:none; |
| 848 | padding-left:25px; |
| 849 | } |
| 850 | .jd-deprecated-warning { |
| 851 | margin-top: 0; |
| 852 | margin-bottom: 10px; |
| 853 | } |
| 854 | |
| 855 | tr.alt-color { |
The Android Open Source Project | ed18741 | 2009-01-20 14:03:55 -0800 | [diff] [blame] | 856 | background-color: #f6f6f6; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 857 | } |
| 858 | |
| 859 | /* expando trigger */ |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 860 | #jd-content .jd-expando-trigger { |
| 861 | margin:0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 862 | } |
| 863 | |
| 864 | /* jd-expando */ |
| 865 | .jd-inheritedlinks { |
| 866 | padding:0 0 0 13px |
| 867 | } |
| 868 | |
| 869 | /* SDK PAGE */ |
| 870 | table.download tr { |
| 871 | background-color:#d9d9d9; |
| 872 | } |
| 873 | |
| 874 | table.download tr.alt-color { |
| 875 | background-color:#ededed; |
| 876 | } |
| 877 | |
| 878 | table.download td, |
| 879 | table.download th { |
| 880 | border:2px solid #fff; |
| 881 | padding:10px 5px; |
| 882 | } |
| 883 | |
| 884 | table.download th { |
| 885 | background-color:#6d8293; |
| 886 | color:#fff; |
| 887 | } |
| 888 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 889 | /* INLAY 180 COPY and 240PX EXTENSION */ |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 890 | /* modified to 43px so that all browsers eliminate the package panel h-scroll */ |
| 891 | .g-tpl-240 .g-unit, |
| 892 | .g-unit .g-tpl-240 .g-unit, |
| 893 | .g-unit .g-unit .g-tpl-240 .g-unit { |
| 894 | display: block; |
| 895 | margin: 0 0 0 243px; |
| 896 | width: auto; |
| 897 | float: none; |
| 898 | } |
| 899 | .g-unit .g-unit .g-tpl-240 .g-first, |
| 900 | .g-unit .g-tpl-240 .g-first, |
| 901 | .g-tpl-240 .g-first { |
| 902 | display: block; |
| 903 | margin: 0; |
| 904 | width: 243px; |
| 905 | float: left; |
| 906 | } |
| 907 | /* 240px alt */ |
| 908 | .g-tpl-240-alt .g-unit, |
| 909 | .g-unit .g-tpl-240-alt .g-unit, |
| 910 | .g-unit .g-unit .g-tpl-240-alt .g-unit { |
| 911 | display: block; |
| 912 | margin: 0 243px 0 0; |
| 913 | width: auto; |
| 914 | float: none; |
| 915 | } |
| 916 | .g-unit .g-unit .g-tpl-240-alt .g-first, |
| 917 | .g-unit .g-tpl-240-alt .g-first, |
| 918 | .g-tpl-240-alt .g-first { |
| 919 | display: block; |
| 920 | margin: 0; |
| 921 | width: 243px; |
| 922 | float: right; |
| 923 | } |
| 924 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 925 | /* 180px */ |
| 926 | .g-tpl-180 .g-unit, |
| 927 | .g-unit .g-tpl-180 .g-unit, |
| 928 | .g-unit .g-unit .g-tpl-180 .g-unit { |
| 929 | display: block; |
| 930 | margin: 0 0 0 180px; |
| 931 | width: auto; |
| 932 | float: none; |
| 933 | } |
| 934 | .g-unit .g-unit .g-tpl-180 .g-first, |
| 935 | .g-unit .g-tpl-180 .g-first, |
| 936 | .g-tpl-180 .g-first { |
| 937 | display: block; |
| 938 | margin: 0; |
| 939 | width: 180px; |
| 940 | float: left; |
| 941 | } |
| 942 | /* 180px alt */ |
| 943 | .g-tpl-180-alt .g-unit, |
| 944 | .g-unit .g-tpl-180-alt .g-unit, |
| 945 | .g-unit .g-unit .g-tpl-180-alt .g-unit { |
| 946 | display: block; |
| 947 | margin: 0 180px 0 0; |
| 948 | width: auto; |
| 949 | float: none; |
| 950 | } |
| 951 | .g-unit .g-unit .g-tpl-180-alt .g-first, |
| 952 | .g-unit .g-tpl-180-alt .g-first, |
| 953 | .g-tpl-180-alt .g-first { |
| 954 | display: block; |
| 955 | margin: 0; |
| 956 | width: 180px; |
| 957 | float: right; |
| 958 | } |
| 959 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 960 | |
| 961 | /* JQUERY RESIZABLE STYLES */ |
| 962 | .ui-resizable { position: relative; } |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 963 | .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; } |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 964 | .ui-resizable .ui-resizable-handle { display: block; } |
| 965 | body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */ |
| 966 | body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */ |
| 967 | .ui-resizable-s { cursor: s-resize; height: 6px; width: 100%; bottom: 0px; left: 0px; background: transparent url("images/resizable-s2.gif") repeat scroll center top; } |
| 968 | .ui-resizable-e { cursor: e-resize; width: 6px; right: 0px; top: 0px; height: 100%; background: transparent url("images/resizable-e2.gif") repeat scroll right center; } |
| 969 | |
| 970 | @media print { |
| 971 | |
| 972 | body { |
| 973 | overflow:visible; |
| 974 | } |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 975 | |
| 976 | #header { |
| 977 | height:60px; |
| 978 | } |
| 979 | |
| 980 | #headerLeft { |
| 981 | margin:0; |
| 982 | } |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 983 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 984 | #headerRight { |
| 985 | display:none; |
| 986 | } |
| 987 | |
| 988 | #body-content { |
| 989 | position:inherit; |
| 990 | } |
| 991 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 992 | #side-nav { |
| 993 | display:none; |
| 994 | } |
| 995 | |
| 996 | #doc-content { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 997 | margin-left:0 !important; |
| 998 | height:auto !important; |
| 999 | width:auto !important; |
| 1000 | overflow:inherit; |
| 1001 | display:inline; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1002 | } |
| 1003 | |
| 1004 | #jd-header { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 1005 | padding:10px 0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1006 | } |
| 1007 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 1008 | #jd-content { |
| 1009 | padding:15px 0 0; |
| 1010 | } |
| 1011 | |
| 1012 | #footer { |
| 1013 | float:none; |
| 1014 | margin:2em 0 0; |
| 1015 | } |
| 1016 | |
| 1017 | h4.jd-details-title { |
| 1018 | border-bottom:1px solid #666; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1019 | } |
| 1020 | |
| 1021 | pre { |
| 1022 | /* these allow lines to break (if there's a white space) */ |
| 1023 | overflow: visible; |
| 1024 | text-wrap: unrestricted; |
| 1025 | white-space: -moz-pre-wrap; /* Moz */ |
| 1026 | white-space: -pre-wrap; /* Opera 4-6 */ |
| 1027 | white-space: -o-pre-wrap; /* Opera 7 */ |
| 1028 | white-space: pre-wrap; /* CSS3 */ |
| 1029 | word-wrap: break-word; /* IE 5.5+ */ |
| 1030 | } |
| 1031 | |
| 1032 | h1, h2, h3, h4, h5, h6 { |
| 1033 | page-break-after: avoid; |
| 1034 | } |
| 1035 | |
| 1036 | table, img { |
| 1037 | page-break-inside: avoid; |
| 1038 | } |
| 1039 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame] | 1040 | #qv, |
| 1041 | #qv-wrapper { |
| 1042 | display:none; |
| 1043 | } |
| 1044 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1045 | } |