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 | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 210 | background-color: #E9E9E9; |
| 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 | |
| 256 | /* inheritance table */ |
| 257 | .jd-inheritance-table { |
| 258 | border-spacing:0; |
| 259 | margin:0; |
| 260 | padding:0; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 261 | font-size:.9em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 262 | } |
| 263 | .jd-inheritance-table td { |
| 264 | border: none; |
| 265 | margin: 0; |
| 266 | padding: 0; |
| 267 | } |
| 268 | .jd-inheritance-table .jd-inheritance-space { |
| 269 | font-weight:bold; |
| 270 | width:1em; |
| 271 | } |
| 272 | .jd-inheritance-table .jd-inheritance-interface-cell { |
| 273 | padding-left: 17px; |
| 274 | } |
| 275 | |
| 276 | #jd-content { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 277 | padding: 18px 20px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 278 | } |
| 279 | |
| 280 | hr { |
| 281 | background-color:#ccc; |
| 282 | } |
| 283 | |
| 284 | /* DOC CLASSES */ |
| 285 | |
| 286 | #jd-content h1 { |
| 287 | /*sdk page*/ |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 288 | font-size:1.6em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 289 | color:#336666; |
| 290 | margin:0 0 .5em; |
| 291 | } |
| 292 | |
| 293 | #jd-content h2 { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 294 | font-size:1.45em; |
| 295 | color:#111; |
| 296 | border-top:2px solid #ccc; |
| 297 | padding: .5em 0 0; |
| 298 | margin: 1.75em 0 1em 0; |
| 299 | max-width:968px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 300 | } |
| 301 | |
| 302 | #jd-content h3 { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 303 | font-size:1.2em; |
| 304 | color:#222; |
| 305 | padding: .75em 0 .65em 0; |
| 306 | margin:0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 307 | } |
| 308 | |
| 309 | #jd-content h4 { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 310 | font-size:1.1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 311 | margin-bottom:.5em; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 312 | color:#222; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 313 | } |
| 314 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 315 | #jd-content .small-header { |
| 316 | font-size:1em; |
| 317 | color:#000; |
| 318 | font-weight:bold; |
| 319 | border:none; |
| 320 | padding:0; |
| 321 | margin:1em 0 .5em; |
| 322 | position:inherit; |
| 323 | } |
| 324 | |
| 325 | #jd-content img { |
| 326 | margin: 0 0 1em 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 327 | } |
| 328 | |
| 329 | #jd-content li img, |
| 330 | #jd-content dd img { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 331 | margin:.5em 0 0 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 332 | } |
| 333 | |
| 334 | .nolist { |
| 335 | list-style:none; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 336 | padding:0; |
| 337 | margin:0 0 1em 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 338 | } |
| 339 | |
| 340 | h4 .normal { |
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 | font-weight:normal; |
| 343 | } |
| 344 | |
| 345 | .jd-details { |
| 346 | /* border:1px solid #669999; |
| 347 | padding:4px; */ |
| 348 | margin:0 0 1em; |
| 349 | } |
| 350 | |
| 351 | .jd-tagdata { |
| 352 | margin:.6em 0; |
| 353 | } |
| 354 | |
| 355 | .jd-tagdata ul { |
| 356 | padding:0; |
| 357 | } |
| 358 | |
| 359 | h4.jd-details-title { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 360 | font-size:1.15em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 361 | background-color: #d6d6d6; |
| 362 | margin:0 0 .6em; |
| 363 | padding:3px; |
| 364 | } |
| 365 | |
| 366 | h4.jd-tagtitle { |
| 367 | margin:0; |
| 368 | } |
| 369 | |
| 370 | .jd-details-descr { |
| 371 | padding:3px; |
| 372 | } |
| 373 | |
| 374 | .jd-tagtable { |
| 375 | margin:0; |
| 376 | } |
| 377 | |
| 378 | .jd-tagtable td, |
| 379 | .jd-tagtable th { |
| 380 | border:none; |
| 381 | background-color:#fff; |
| 382 | vertical-align:top; |
| 383 | font-weight:normal; |
| 384 | padding:2px 10px; |
| 385 | } |
| 386 | |
| 387 | .jd-tagtable th { |
| 388 | font-style:italic; |
| 389 | } |
| 390 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 391 | #jd-content table h2 { |
| 392 | background-color: #d6d6d6; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 393 | font-size: 1.1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 394 | margin:0 0 10px; |
| 395 | padding:5px; |
| 396 | left:0; |
| 397 | width:auto; |
| 398 | } |
| 399 | |
| 400 | div.special { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 401 | padding: 15px 20px 3px; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 402 | margin: 0 0 1em; |
| 403 | background-color: #ddf0f2; |
| 404 | } |
| 405 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 406 | div.special p { |
| 407 | margin: .25em 0; |
| 408 | } |
| 409 | |
| 410 | div.special ol { |
| 411 | margin: 0; |
| 412 | } |
| 413 | |
| 414 | div.special ol li { |
| 415 | margin: 0; |
| 416 | padding: 0; |
| 417 | } |
| 418 | |
| 419 | #jd-content div.special h2, |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 420 | #jd-content div.special h3 { |
| 421 | color:#669999; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 422 | font-size:1.2em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 423 | border:none; |
| 424 | margin:0 0 .5em; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 425 | padding:0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 426 | } |
| 427 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 428 | /* old p.note, p.caution, p.warning { |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 429 | margin:0 0 1em; |
| 430 | padding: 4px 10px; |
| 431 | background-color: #efefef; |
| 432 | border-top: 1px solid; |
| 433 | border-bottom: 1px solid; |
| 434 | } |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 435 | */ |
| 436 | p.note, p.caution, p.warning { |
| 437 | margin: 1em; |
| 438 | padding: 0 0 0 .5em; |
| 439 | border-left: 4px solid; |
| 440 | } |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 441 | |
| 442 | p.special-note { |
| 443 | background-color:#EBF3DB; |
| 444 | padding:10px 20px; |
| 445 | margin:0 0 1em; |
| 446 | } |
| 447 | |
| 448 | p.note { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 449 | border-color: #99aacc; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 450 | } |
| 451 | |
| 452 | p.caution { |
| 453 | border-color: #ffcc33; |
| 454 | } |
| 455 | |
| 456 | p.warning { |
| 457 | border-color: #aa0033; |
| 458 | } |
| 459 | |
| 460 | p.warning b, p.warning em, p.warning strong { |
| 461 | color: #aa0033; |
| 462 | font-weight: bold; |
| 463 | } |
| 464 | |
| 465 | li p.note, li p.warning, li p.caution { |
| 466 | margin: .5em 0 0 0; |
| 467 | padding: .2em .5em .2em .9em; |
| 468 | } |
| 469 | |
| 470 | dl.xml dt { |
| 471 | font-variant:small-caps; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 472 | font-size:1.2em; |
| 473 | } |
| 474 | |
| 475 | dl.xml dl { |
| 476 | padding:0; |
| 477 | } |
| 478 | |
| 479 | dl.xml dl dt { |
| 480 | font-variant:normal; |
| 481 | font-size:1em; |
| 482 | } |
| 483 | |
| 484 | .listhead li { |
| 485 | font-weight: bold; |
| 486 | } |
| 487 | |
| 488 | .listhead li *, /*ie*/.listhead li li { |
| 489 | font-weight: normal; |
| 490 | } |
| 491 | |
| 492 | ol.no-style, |
| 493 | ul.no-style { |
| 494 | list-style:none; |
| 495 | padding-left:1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 496 | } |
| 497 | |
| 498 | .new { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 499 | font-size: .78em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 500 | font-weight: bold; |
| 501 | color: red; |
| 502 | text-decoration: none; |
| 503 | } |
| 504 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 505 | pre.classic { |
| 506 | background-color:transparent; |
| 507 | border:none; |
| 508 | padding:0; |
| 509 | } |
| 510 | |
| 511 | |
| 512 | /* BEGIN quickview sidebar element styles */ |
| 513 | |
| 514 | #qv-wrapper { |
| 515 | float: right; |
| 516 | position:relative; |
| 517 | width:315px; |
| 518 | background-color:#fff; |
| 519 | padding:4px 30px 15px 20px; |
| 520 | top:-55px; |
| 521 | left:20px; |
| 522 | } |
| 523 | |
| 524 | #qv { |
| 525 | background-color:#fff; |
| 526 | border:4px solid #dee8f1; |
| 527 | margin:0 0 0 15px; |
| 528 | padding:0 6px 6px; |
| 529 | margin-top:0px; |
| 530 | width:295; |
| 531 | float:right; |
| 532 | } |
| 533 | |
| 534 | #qv ol { |
| 535 | list-style:none; |
| 536 | padding: 0; |
| 537 | } |
| 538 | |
| 539 | #qv ol ol{ |
| 540 | list-style:none; |
| 541 | padding: 0 0 3px 12px; |
| 542 | margin:0; |
| 543 | } |
| 544 | |
| 545 | #qv ul { |
| 546 | padding: 0 10px 0 2em; |
| 547 | } |
| 548 | |
| 549 | #qv li { |
| 550 | padding: 0 10px; |
| 551 | margin: 2 0 0; |
| 552 | line-height: 1.2em; |
| 553 | } |
| 554 | |
| 555 | #qv ul li { |
| 556 | padding: 0 10px 0 0; |
| 557 | } |
| 558 | |
| 559 | #qv li.selected a { |
| 560 | color:#555; |
| 561 | text-decoration:none; |
| 562 | } |
| 563 | |
| 564 | #qv a { |
| 565 | color:#cc6600; |
| 566 | } |
| 567 | |
| 568 | #qv p { |
| 569 | margin:8px 0 0; |
| 570 | padding:0 10px; |
| 571 | } |
| 572 | |
| 573 | #qv-extra #rule { |
| 574 | padding: 0 10px; |
| 575 | margin: 0; |
| 576 | } |
| 577 | |
| 578 | #qv-sub-rule { |
| 579 | padding: 6px 20px; |
| 580 | margin: 0; |
| 581 | } |
| 582 | |
| 583 | #qv-sub-rule p { |
| 584 | margin: 0; |
| 585 | } |
| 586 | |
| 587 | #jd-content #qv h2 { |
| 588 | font-size:1.05em; |
| 589 | font-weight:bold; |
| 590 | margin:12px 0 .25em 0; |
| 591 | padding:0 10px; |
| 592 | background-color:transparent; |
| 593 | color:#7BB026; |
| 594 | border:none; |
| 595 | left:0; |
| 596 | z-index:1; |
| 597 | } |
| 598 | |
| 599 | /* END quickview sidebar element styles */ |
| 600 | |
| 601 | /* Begin sidebox sidebar element styles */ |
| 602 | |
| 603 | .sidebox-wrapper { |
| 604 | float: right; |
| 605 | width:300px; |
| 606 | background-color:#fff; |
| 607 | margin: 0 0 0 15px; |
| 608 | padding: 5px 0 5px 15px; |
| 609 | } |
| 610 | |
| 611 | .sidebox-inner { |
| 612 | border-left:1px solid #dee8f1; |
| 613 | background-color:#ffffee; |
| 614 | padding:0 5px 0 15px; |
| 615 | } |
| 616 | |
| 617 | .sidebox { |
| 618 | float: right; |
| 619 | width:285px; |
| 620 | background-color:#ffffee; |
| 621 | border-left:1px solid #dee8f1; |
| 622 | margin: 0 0 0 15px; |
| 623 | padding:5px 8px 0 12px; |
| 624 | } |
| 625 | |
| 626 | |
| 627 | #jd-content .sidebox h2, |
| 628 | #jd-content .sidebox h3, |
| 629 | #jd-content .sidebox-inner h2, |
| 630 | #jd-content .sidebox-inner h3 { |
| 631 | border:none; |
| 632 | font-size:1em; |
| 633 | margin:0; |
| 634 | padding:4px 0 4px; |
| 635 | left:0; |
| 636 | z-index:0; |
| 637 | } |
| 638 | |
| 639 | .sidebox hr, |
| 640 | .sidebox-inner hr { |
| 641 | background-color:#ccc; |
| 642 | border:none; |
| 643 | } |
| 644 | |
| 645 | /* End sidebox sidebar element styles */ |
| 646 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 647 | /* table of contents */ |
| 648 | |
| 649 | ol.toc { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 650 | margin: 0 0 1em 0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 651 | padding: 0; |
| 652 | list-style: none; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 653 | font-size:95%; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 654 | } |
| 655 | |
| 656 | ol.toc li { |
| 657 | font-weight: bold; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 658 | margin: 0 0 .5em 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 659 | padding: 0; |
| 660 | } |
| 661 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 662 | ol.toc li p { |
| 663 | font-weight: normal; |
| 664 | } |
| 665 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 666 | ol.toc li ol { |
| 667 | margin: 0; |
| 668 | padding: 0; |
| 669 | } |
| 670 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 671 | ol.toc li li { |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 672 | padding: 0; |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 673 | margin: 0 0 0 1em; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 674 | font-weight: normal; |
| 675 | list-style: none; |
| 676 | } |
| 677 | |
| 678 | table ol.toc { |
| 679 | margin-left: 0; |
| 680 | } |
| 681 | |
| 682 | .columns td { |
| 683 | padding:0 5px; |
| 684 | border:none; |
| 685 | } |
| 686 | |
| 687 | /* link table */ |
| 688 | .jd-linktable { |
| 689 | margin: 0 0 1em; |
| 690 | border-bottom: 1px solid #888; |
| 691 | } |
| 692 | .jd-linktable th, |
| 693 | .jd-linktable td { |
| 694 | padding: 3px 5px; |
| 695 | vertical-align: top; |
| 696 | text-align: left; |
| 697 | border:none; |
| 698 | } |
| 699 | .jd-linktable tr { |
| 700 | background-color: #fff; |
| 701 | } |
| 702 | .jd-linktable td { |
| 703 | border-top: 1px solid #888; |
| 704 | background-color: inherit; |
| 705 | } |
| 706 | .jd-linktable td p { |
| 707 | padding: 0 0 5px; |
| 708 | } |
| 709 | .jd-linktable .jd-linkcol { |
| 710 | } |
| 711 | .jd-linktable .jd-descrcol { |
| 712 | } |
| 713 | .jd-linktable .jd-typecol { |
| 714 | text-align:right; |
| 715 | } |
| 716 | .jd-linktable .jd-valcol { |
| 717 | } |
| 718 | .jd-linktable .jd-commentrow { |
| 719 | border-top:none; |
| 720 | padding-left:25px; |
| 721 | } |
| 722 | .jd-deprecated-warning { |
| 723 | margin-top: 0; |
| 724 | margin-bottom: 10px; |
| 725 | } |
| 726 | |
| 727 | tr.alt-color { |
| 728 | background-color: #e6e6e6; |
| 729 | } |
| 730 | |
| 731 | /* expando trigger */ |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 732 | #jd-content .jd-expando-trigger { |
| 733 | margin:0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 734 | } |
| 735 | |
| 736 | /* jd-expando */ |
| 737 | .jd-inheritedlinks { |
| 738 | padding:0 0 0 13px |
| 739 | } |
| 740 | |
| 741 | /* SDK PAGE */ |
| 742 | table.download tr { |
| 743 | background-color:#d9d9d9; |
| 744 | } |
| 745 | |
| 746 | table.download tr.alt-color { |
| 747 | background-color:#ededed; |
| 748 | } |
| 749 | |
| 750 | table.download td, |
| 751 | table.download th { |
| 752 | border:2px solid #fff; |
| 753 | padding:10px 5px; |
| 754 | } |
| 755 | |
| 756 | table.download th { |
| 757 | background-color:#6d8293; |
| 758 | color:#fff; |
| 759 | } |
| 760 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 761 | /* INLAY 180 COPY and 240PX EXTENSION */ |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 762 | /* modified to 43px so that all browsers eliminate the package panel h-scroll */ |
| 763 | .g-tpl-240 .g-unit, |
| 764 | .g-unit .g-tpl-240 .g-unit, |
| 765 | .g-unit .g-unit .g-tpl-240 .g-unit { |
| 766 | display: block; |
| 767 | margin: 0 0 0 243px; |
| 768 | width: auto; |
| 769 | float: none; |
| 770 | } |
| 771 | .g-unit .g-unit .g-tpl-240 .g-first, |
| 772 | .g-unit .g-tpl-240 .g-first, |
| 773 | .g-tpl-240 .g-first { |
| 774 | display: block; |
| 775 | margin: 0; |
| 776 | width: 243px; |
| 777 | float: left; |
| 778 | } |
| 779 | /* 240px alt */ |
| 780 | .g-tpl-240-alt .g-unit, |
| 781 | .g-unit .g-tpl-240-alt .g-unit, |
| 782 | .g-unit .g-unit .g-tpl-240-alt .g-unit { |
| 783 | display: block; |
| 784 | margin: 0 243px 0 0; |
| 785 | width: auto; |
| 786 | float: none; |
| 787 | } |
| 788 | .g-unit .g-unit .g-tpl-240-alt .g-first, |
| 789 | .g-unit .g-tpl-240-alt .g-first, |
| 790 | .g-tpl-240-alt .g-first { |
| 791 | display: block; |
| 792 | margin: 0; |
| 793 | width: 243px; |
| 794 | float: right; |
| 795 | } |
| 796 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 797 | /* 180px */ |
| 798 | .g-tpl-180 .g-unit, |
| 799 | .g-unit .g-tpl-180 .g-unit, |
| 800 | .g-unit .g-unit .g-tpl-180 .g-unit { |
| 801 | display: block; |
| 802 | margin: 0 0 0 180px; |
| 803 | width: auto; |
| 804 | float: none; |
| 805 | } |
| 806 | .g-unit .g-unit .g-tpl-180 .g-first, |
| 807 | .g-unit .g-tpl-180 .g-first, |
| 808 | .g-tpl-180 .g-first { |
| 809 | display: block; |
| 810 | margin: 0; |
| 811 | width: 180px; |
| 812 | float: left; |
| 813 | } |
| 814 | /* 180px alt */ |
| 815 | .g-tpl-180-alt .g-unit, |
| 816 | .g-unit .g-tpl-180-alt .g-unit, |
| 817 | .g-unit .g-unit .g-tpl-180-alt .g-unit { |
| 818 | display: block; |
| 819 | margin: 0 180px 0 0; |
| 820 | width: auto; |
| 821 | float: none; |
| 822 | } |
| 823 | .g-unit .g-unit .g-tpl-180-alt .g-first, |
| 824 | .g-unit .g-tpl-180-alt .g-first, |
| 825 | .g-tpl-180-alt .g-first { |
| 826 | display: block; |
| 827 | margin: 0; |
| 828 | width: 180px; |
| 829 | float: right; |
| 830 | } |
| 831 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 832 | |
| 833 | /* JQUERY RESIZABLE STYLES */ |
| 834 | .ui-resizable { position: relative; } |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 835 | .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] | 836 | .ui-resizable .ui-resizable-handle { display: block; } |
| 837 | body .ui-resizable-disabled .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */ |
| 838 | body .ui-resizable-autohide .ui-resizable-handle { display: none; } /* use 'body' to make it more specific (css order) */ |
| 839 | .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; } |
| 840 | .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; } |
| 841 | |
| 842 | @media print { |
| 843 | |
| 844 | body { |
| 845 | overflow:visible; |
| 846 | } |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 847 | |
| 848 | #header { |
| 849 | height:60px; |
| 850 | } |
| 851 | |
| 852 | #headerLeft { |
| 853 | margin:0; |
| 854 | } |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 855 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 856 | #headerRight { |
| 857 | display:none; |
| 858 | } |
| 859 | |
| 860 | #body-content { |
| 861 | position:inherit; |
| 862 | } |
| 863 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 864 | #side-nav { |
| 865 | display:none; |
| 866 | } |
| 867 | |
| 868 | #doc-content { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 869 | margin-left:0 !important; |
| 870 | height:auto !important; |
| 871 | width:auto !important; |
| 872 | overflow:inherit; |
| 873 | display:inline; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 874 | } |
| 875 | |
| 876 | #jd-header { |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 877 | padding:10px 0; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 878 | } |
| 879 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 880 | #jd-content { |
| 881 | padding:15px 0 0; |
| 882 | } |
| 883 | |
| 884 | #footer { |
| 885 | float:none; |
| 886 | margin:2em 0 0; |
| 887 | } |
| 888 | |
| 889 | h4.jd-details-title { |
| 890 | border-bottom:1px solid #666; |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 891 | } |
| 892 | |
| 893 | pre { |
| 894 | /* these allow lines to break (if there's a white space) */ |
| 895 | overflow: visible; |
| 896 | text-wrap: unrestricted; |
| 897 | white-space: -moz-pre-wrap; /* Moz */ |
| 898 | white-space: -pre-wrap; /* Opera 4-6 */ |
| 899 | white-space: -o-pre-wrap; /* Opera 7 */ |
| 900 | white-space: pre-wrap; /* CSS3 */ |
| 901 | word-wrap: break-word; /* IE 5.5+ */ |
| 902 | } |
| 903 | |
| 904 | h1, h2, h3, h4, h5, h6 { |
| 905 | page-break-after: avoid; |
| 906 | } |
| 907 | |
| 908 | table, img { |
| 909 | page-break-inside: avoid; |
| 910 | } |
| 911 | |
The Android Open Source Project | dcc08f0 | 2008-12-17 18:03:49 -0800 | [diff] [blame^] | 912 | #qv, |
| 913 | #qv-wrapper { |
| 914 | display:none; |
| 915 | } |
| 916 | |
The Android Open Source Project | b6c1cf6 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 917 | } |