Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1 | /* color definitions */ |
| 2 | /* 16 column layout */ |
| 3 | /* clearfix idiom */ |
| 4 | /* common mixins */ |
| 5 | /* page layout + top-level styles */ |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 6 | ::selection { |
| 7 | background-color: #0099cc; |
| 8 | color: #fff; } |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 9 | ::-webkit-selection { |
| 10 | background-color: #0099cc; |
| 11 | color: #fff; } |
| 12 | ::-moz-selection { |
| 13 | background-color: #0099cc; |
| 14 | color: #fff; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 15 | |
| 16 | html, body { |
| 17 | height: 100%; |
| 18 | margin: 0; |
| 19 | padding: 0; |
| 20 | background-color:#F9F9F9; |
| 21 | -webkit-font-smoothing: antialiased; |
| 22 | /* prevent subpixel antialiasing, which thickens the text */ |
| 23 | /* text-rendering: optimizeLegibility; */ |
| 24 | /* turned off ligatures due to bug 5945455 */ } |
| 25 | |
| 26 | body { |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 27 | color: #222; |
Scott Main | 6a7a66b | 2012-06-23 11:20:48 -0700 | [diff] [blame] | 28 | font: 14px/19px Roboto, sans-serif; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 29 | font-weight: 400; |
| 30 | letter-spacing:.1; |
| 31 | padding:0 10px; } |
| 32 | |
| 33 | #page-container { |
| 34 | width: 940px; |
| 35 | margin: 0 40px; } |
| 36 | |
| 37 | #page-header { |
| 38 | height: 80px; |
| 39 | margin-bottom: 20px; |
| 40 | font-size: 48px; |
| 41 | line-height: 48px; |
| 42 | font-weight: 100; |
| 43 | padding-left: 10px; } |
| 44 | #page-header a { |
| 45 | display: block; |
| 46 | position: relative; |
| 47 | top: 20px; |
| 48 | text-decoration: none; |
| 49 | color: #555555 !important; } |
| 50 | |
| 51 | #main-row { |
| 52 | display: inline-block; } |
| 53 | #main-row:after { |
| 54 | content: "."; |
| 55 | display: block; |
| 56 | height: 0; |
| 57 | clear: both; |
| 58 | visibility: hidden; } |
| 59 | * html #main-row { |
| 60 | height: 1px; } |
| 61 | |
| 62 | #page-footer { |
| 63 | margin-left: 190px; |
| 64 | margin-top: 80px; |
| 65 | color: #999999; |
| 66 | padding-bottom: 40px; |
| 67 | font-size: 12px; |
| 68 | line-height: 15px; } |
| 69 | #page-footer a { |
| 70 | color: #777777; } |
| 71 | #page-footer #copyright { |
| 72 | margin-bottom: 10px; } |
| 73 | |
| 74 | #nav-container { |
| 75 | width: 160px; |
| 76 | min-height: 10px; |
| 77 | margin-right: 20px; |
| 78 | float: left; } |
| 79 | |
| 80 | #nav { |
| 81 | margin:0; |
| 82 | padding:0 0 30px; |
| 83 | } |
| 84 | |
| 85 | #side-nav { |
| 86 | min-height:5px; /* silly way to avoid doc floating left when nav goes fixed */ |
| 87 | margin-bottom:1px; |
| 88 | } |
| 89 | #devdoc-nav { |
| 90 | outline:none; |
| 91 | width:auto; |
| 92 | margin: 20px 0 0; } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 93 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 94 | #devdoc-nav h2 { |
| 95 | border:0; |
| 96 | } |
| 97 | |
| 98 | #devdoc-nav.fixed { |
| 99 | position: fixed; |
| 100 | margin:0; |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 101 | top: 65px; /* sticky-header height + 20px gutter */ |
| 102 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 103 | |
Scott Main | 6b2dc27 | 2012-09-11 14:27:34 -0700 | [diff] [blame] | 104 | #devdoc-nav span.small { |
| 105 | font-size:12px; |
| 106 | font-weight:normal; |
| 107 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 108 | |
| 109 | #content { |
| 110 | width: 760px; |
| 111 | float: left; } |
| 112 | |
| 113 | a:hover, |
| 114 | acronym:hover { |
| 115 | color: #7aa1b0 !important; } |
| 116 | |
| 117 | a:focus, |
| 118 | a:active { |
| 119 | color: #33b5e5 !important; } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 120 | |
Scott Main | d4cb783 | 2012-11-28 11:10:09 -0800 | [diff] [blame] | 121 | a.external-link { |
| 122 | background:url('../images/styles/open_new_page.png') no-repeat 100% 50%; |
| 123 | padding-right:16px; |
| 124 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 125 | |
| 126 | img { |
| 127 | border: none; } |
| 128 | #jd-content img { |
| 129 | margin-bottom:15px; |
| 130 | } |
| 131 | |
| 132 | ul { |
| 133 | margin: 0; |
| 134 | padding: 0; } |
| 135 | |
| 136 | strong { |
| 137 | font-weight: 500; } |
| 138 | |
| 139 | em { |
| 140 | font-style: italic; } |
| 141 | |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 142 | acronym, |
| 143 | .tooltip-link { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 144 | border-bottom: 1px dotted #555555; |
| 145 | cursor: help; } |
| 146 | |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 147 | acronym:hover, |
| 148 | .tooltip-link:hover { |
| 149 | color: #7aa1b0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 150 | border-bottom-color: #7aa1b0; } |
| 151 | |
| 152 | img.with-shadow, |
| 153 | video.with-shadow { |
| 154 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); } |
| 155 | |
| 156 | /* disclosures mixin */ |
| 157 | /* content layout */ |
| 158 | .layout-content-row { |
| 159 | display: inline-block; |
| 160 | margin-bottom: 10px; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 161 | * html .layout-content-row { |
| 162 | height: 1px; } |
| 163 | |
| 164 | .layout-content-col { |
| 165 | float: left; |
| 166 | margin-left: 20px; } |
| 167 | .layout-content-col:first-child { |
| 168 | margin-left: 0; } |
| 169 | .layout-content-col h3, |
| 170 | .layout-content-col h4 { |
| 171 | margin-top:0; } |
| 172 | |
| 173 | .layout-content-col.span-1 { |
| 174 | width: 40px; } |
| 175 | |
| 176 | .layout-content-col.span-2 { |
| 177 | width: 100px; } |
| 178 | |
| 179 | .layout-content-col.span-3 { |
| 180 | width: 160px; } |
| 181 | |
| 182 | .layout-content-col.span-4 { |
| 183 | width: 220px; } |
| 184 | |
| 185 | .layout-content-col.span-5 { |
| 186 | width: 280px; } |
| 187 | |
| 188 | .layout-content-col.span-6 { |
| 189 | width: 340px; } |
| 190 | |
| 191 | .layout-content-col.span-7 { |
| 192 | width: 400px; } |
| 193 | |
| 194 | .layout-content-col.span-8 { |
| 195 | width: 460px; } |
| 196 | |
| 197 | .layout-content-col.span-9 { |
| 198 | width: 520px; } |
| 199 | |
| 200 | .layout-content-col.span-10 { |
| 201 | width: 580px; } |
| 202 | |
| 203 | .layout-content-col.span-11 { |
| 204 | width: 640px; } |
| 205 | |
| 206 | .layout-content-col.span-12 { |
| 207 | width: 700px; } |
| 208 | |
| 209 | .layout-content-col.span-13 { |
| 210 | width: 760px; } |
| 211 | |
| 212 | .vspace.size-1 { |
| 213 | height: 10px; } |
| 214 | |
| 215 | .vspace.size-2 { |
| 216 | height: 20px; } |
| 217 | |
| 218 | .vspace.size-3 { |
| 219 | height: 30px; } |
| 220 | |
| 221 | .vspace.size-4 { |
| 222 | height: 40px; } |
| 223 | |
| 224 | .vspace.size-5 { |
| 225 | height: 50px; } |
| 226 | |
| 227 | .vspace.size-6 { |
| 228 | height: 60px; } |
| 229 | |
| 230 | .vspace.size-7 { |
| 231 | height: 70px; } |
| 232 | |
| 233 | .vspace.size-8 { |
| 234 | height: 80px; } |
| 235 | |
| 236 | .vspace.size-9 { |
| 237 | height: 90px; } |
| 238 | |
| 239 | .vspace.size-10 { |
| 240 | height: 100px; } |
| 241 | |
| 242 | .vspace.size-11 { |
| 243 | height: 110px; } |
| 244 | |
| 245 | .vspace.size-12 { |
| 246 | height: 120px; } |
| 247 | |
| 248 | .vspace.size-13 { |
| 249 | height: 130px; } |
| 250 | |
| 251 | .vspace.size-14 { |
| 252 | height: 140px; } |
| 253 | |
| 254 | .vspace.size-15 { |
| 255 | height: 150px; } |
| 256 | |
| 257 | .vspace.size-16 { |
| 258 | height: 160px; } |
| 259 | |
| 260 | /* nav */ |
| 261 | #nav { |
| 262 | /* section header divs */ |
| 263 | /* expanded section header divs */ |
| 264 | /* sublinks */ } |
| 265 | #nav li { |
| 266 | list-style-type: none; |
| 267 | font-size: 14px; |
| 268 | margin:0; |
| 269 | padding:0; |
| 270 | line-height: 15px; } |
| 271 | #nav a { |
| 272 | color: #555555; |
Scott Main | ab4daf4 | 2012-11-30 11:27:17 -0800 | [diff] [blame] | 273 | text-decoration: none; |
| 274 | word-wrap:break-word; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 275 | #nav .nav-section-header { |
| 276 | position: relative; |
| 277 | margin-bottom: 1px; |
| 278 | padding: 0 30px 0 0; } |
| 279 | #nav li.selected a, #nav li.selected > .nav-section-header > a { |
| 280 | color: #09C; |
| 281 | } |
| 282 | #nav li.selected ul li a { |
| 283 | /* don't highlight child items */ |
| 284 | color: #555555; } |
| 285 | #nav .nav-section .nav-section .nav-section-header { |
| 286 | /* no white line between second level sections */ |
| 287 | margin-bottom: 0; } |
| 288 | /* section header links */ |
| 289 | #nav > li > div > a { |
| 290 | display: block; |
| 291 | color: #333333; |
| 292 | font-weight: 500; |
| 293 | padding: 10px 0 10px 10px; } |
| 294 | #nav .nav-section-header:after { |
| 295 | content: ''; |
| 296 | background: transparent url(../images/styles/disclosure_down.png) no-repeat scroll 50% 50%; |
| 297 | width: 34px; |
| 298 | height: 34px; |
| 299 | display: block; |
| 300 | position: absolute; |
| 301 | top: 0; |
| 302 | right: 0; } |
Scott Main | ad08f07 | 2013-08-20 16:49:57 -0700 | [diff] [blame] | 303 | #nav .nav-section-header.empty { |
| 304 | padding:0; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 305 | #nav .nav-section-header.empty:after { |
| 306 | display: none; } |
| 307 | /* nested nav headers */ |
| 308 | #nav .nav-section .nav-section { |
| 309 | position: relative; |
| 310 | padding: 0; |
| 311 | margin: 0; } |
| 312 | #nav .nav-section li a { |
| 313 | /* first gen child (2nd level li) */ |
| 314 | display:block; |
| 315 | font-weight: normal; |
| 316 | text-transform: none; |
| 317 | padding: 7px 5px 7px 10px; |
| 318 | } |
| 319 | #nav .nav-section li li a { |
| 320 | /* second gen child (3rd level li) */ |
| 321 | padding: 5px 5px 5px 10px; |
| 322 | } |
| 323 | #nav li.expanded .nav-section-header { |
| 324 | background:#e9e9e9; |
| 325 | background: rgba(0, 0, 0, 0.05); } |
| 326 | #nav li.expanded li .nav-section-header { |
| 327 | background: transparent; } |
| 328 | #nav li.expanded li ul { |
| 329 | /* 3rd level ul */ |
Scott Main | 502c939 | 2012-11-27 15:00:40 -0800 | [diff] [blame] | 330 | padding:0 0 0 10px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 331 | } |
| 332 | #nav li.expanded > .nav-section-header:after { |
| 333 | content: ''; |
| 334 | background: transparent url(../images/styles/disclosure_up.png) no-repeat scroll 50% 50%; |
| 335 | width: 34px; |
| 336 | height: 34px; } |
Scott Main | ac71b2b | 2012-11-30 14:40:58 -0800 | [diff] [blame] | 337 | #nav li.expanded li ul.tree-list-children { |
Dirk Dougherty | f5ffd4a | 2013-08-19 12:26:07 -0700 | [diff] [blame] | 338 | padding: 0; |
Scott Main | ac71b2b | 2012-11-30 14:40:58 -0800 | [diff] [blame] | 339 | } |
| 340 | #nav li.expanded li ul.tree-list-children .tree-list-children { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 341 | padding:0 0 0 10px; |
Scott Main | ac71b2b | 2012-11-30 14:40:58 -0800 | [diff] [blame] | 342 | } |
| 343 | #nav li span.tree-list-subtitle { |
| 344 | display:inline-block; |
| 345 | padding:5px 0 0 10px; |
| 346 | color:#555; |
| 347 | text-transform:uppercase; |
| 348 | font-size:12px; |
| 349 | } |
| 350 | #nav li span.tree-list-subtitle:before { |
| 351 | content: '—'; |
| 352 | } |
| 353 | #nav li span.tree-list-subtitle:after { |
| 354 | content: '—'; |
| 355 | } |
Scott Main | b7b4971 | 2014-03-18 05:29:15 -0700 | [diff] [blame] | 356 | #nav li span.tree-list-subtitle.package { |
| 357 | padding-top:15px; |
| 358 | cursor:default; |
| 359 | } |
| 360 | #nav li span.tree-list-subtitle.package:before { |
| 361 | content: ''; |
| 362 | } |
| 363 | #nav li span.tree-list-subtitle.package:after { |
| 364 | content: ''; |
| 365 | } |
| 366 | #nav li ul.tree-list-children.classes { |
| 367 | padding-left:10px; |
| 368 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 369 | #nav li ul { |
| 370 | display:none; |
| 371 | overflow: hidden; |
| 372 | margin: 0; } |
| 373 | #nav li ul.animate-height-in { |
| 374 | -webkit-transition: height 0.25s ease-in; |
| 375 | -moz-transition: height 0.25s ease-in; |
| 376 | transition: height 0.25s ease-in; } |
| 377 | #nav li ul.animate-height-out { |
| 378 | -webkit-transition: height 0.25s ease-out; |
| 379 | -moz-transition: height 0.25s ease-out; |
| 380 | transition: height 0.25s ease-out; } |
| 381 | #nav li ul li { |
| 382 | padding: 0; } |
| 383 | #nav li li li { |
| 384 | padding: 0; } |
| 385 | #nav li.expanded ul { |
| 386 | } |
| 387 | #nav li ul > li { |
| 388 | padding:0; |
| 389 | } |
| 390 | #nav li ul > li:last-child { |
| 391 | padding-bottom:5px; |
| 392 | } |
Scott Main | ac71b2b | 2012-11-30 14:40:58 -0800 | [diff] [blame] | 393 | #nav li ul.tree-list-children > li:last-child { |
| 394 | padding-bottom:0; |
| 395 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 396 | #nav li.expanded ul > li { |
| 397 | background:#efefef; |
| 398 | background: rgba(0, 0, 0, 0.03); } |
| 399 | #nav li.expanded ul > li li { |
| 400 | background:inherit; } |
Scott Main | ac71b2b | 2012-11-30 14:40:58 -0800 | [diff] [blame] | 401 | #nav li ul.tree-list-children ul { |
| 402 | display:block; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 403 | |
Scott Main | 70557ee | 2013-10-30 14:47:40 -0700 | [diff] [blame] | 404 | #nav.samples-nav li li li { |
| 405 | font-size:13px; |
| 406 | } |
| 407 | #nav.samples-nav li li li a { |
| 408 | padding-top:3px; |
| 409 | padding-bottom:3px; |
| 410 | } |
| 411 | #nav.samples-nav li li ul > li:last-child { |
| 412 | padding-bottom:3px; |
| 413 | } |
| 414 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 415 | .new, |
| 416 | .new-child { |
| 417 | font-size: .78em; |
| 418 | font-weight: bold; |
| 419 | color: #ff3d3d; |
| 420 | vertical-align:top; |
| 421 | white-space:nowrap; |
| 422 | } |
| 423 | |
| 424 | /* content header */ |
| 425 | .content-header { |
| 426 | height: 30px; |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 427 | margin:36px 0 23px; /* same as h1 */ |
| 428 | padding:0 0 10px;} /* same as h1 */ |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 429 | .content-header.just-links { |
| 430 | margin-bottom:0; |
| 431 | padding-bottom:0;} |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 432 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 433 | .content-header h1 { |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 434 | margin:0; |
| 435 | padding:0; |
| 436 | width: 700px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 437 | } |
Scott Main | 0781604 | 2013-12-19 12:47:38 -0800 | [diff] [blame] | 438 | .content-header > div:first-child { |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 439 | height:1px; /* set fixed height for the header div to ensure the |
Scott Main | 0781604 | 2013-12-19 12:47:38 -0800 | [diff] [blame] | 440 | next/prev links align with toc on training classes */ |
| 441 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 442 | |
| 443 | .content-footer { |
| 444 | border-top: 1px solid #ccc; |
| 445 | margin-top: 10px; |
| 446 | padding-top:10px; |
smain@google.com | 5bc3a1a | 2014-06-17 20:02:53 -0700 | [diff] [blame] | 447 | width:100%; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 448 | |
| 449 | .content-footer .col-9 { |
| 450 | margin-left:0; |
| 451 | } |
| 452 | .content-footer .col-4 { |
| 453 | margin-right:0; |
| 454 | } |
| 455 | .content-footer.wrap { |
| 456 | width:940px; |
| 457 | } |
smain@google.com | 5bc3a1a | 2014-06-17 20:02:53 -0700 | [diff] [blame] | 458 | .content-footer .plus-container { |
| 459 | margin:5px 0 0; |
| 460 | text-align:right; |
| 461 | float:right; |
| 462 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 463 | |
smain@google.com | 5771ee3 | 2014-06-25 15:12:52 -0700 | [diff] [blame] | 464 | a.back-link { |
| 465 | text-decoration: none; |
| 466 | text-transform: uppercase; |
| 467 | } |
| 468 | |
smain@google.com | 3a9d50e | 2014-11-25 13:34:10 -0800 | [diff] [blame] | 469 | .content-header .paging-links { |
| 470 | margin-top:-25px; |
| 471 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 472 | .paging-links { |
smain@google.com | 5bc3a1a | 2014-06-17 20:02:53 -0700 | [diff] [blame] | 473 | position: relative; |
| 474 | height:30px; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 475 | .paging-links a { |
| 476 | position: absolute; } |
| 477 | .paging-links a, |
| 478 | .training-nav-top a { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 479 | color: #555555; |
| 480 | text-decoration: none; |
| 481 | text-transform: uppercase; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 482 | .paging-links .prev-page-link:before, |
smain@google.com | 5771ee3 | 2014-06-25 15:12:52 -0700 | [diff] [blame] | 483 | .training-nav-top .prev-page-link:before, |
| 484 | a.back-link:before { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 485 | content: ''; |
| 486 | background: transparent url(../images/styles/disclosure_left.png) no-repeat scroll 50% 50%; |
| 487 | width: 10px; |
| 488 | height: 10px; |
| 489 | display: inline-block; |
| 490 | margin-right: 5px; } |
Scott Main | a4888dc | 2012-10-02 23:25:21 -0700 | [diff] [blame] | 491 | .training-nav-top .next-page-link, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 492 | .training-nav-top .start-class-link, |
| 493 | .training-nav-top .start-course-link { |
| 494 | right: 10px; } |
Scott Main | a4888dc | 2012-10-02 23:25:21 -0700 | [diff] [blame] | 495 | .paging-links .prev-page-link { |
| 496 | left: -15px; } |
| 497 | .paging-links .next-page-link { |
smain@google.com | 5bc3a1a | 2014-06-17 20:02:53 -0700 | [diff] [blame] | 498 | right: 0; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 499 | .next-page-link:after, |
| 500 | .start-class-link:after, |
| 501 | .start-course-link:after, |
Scott Main | 0b2db16 | 2013-05-15 01:15:50 -0700 | [diff] [blame] | 502 | .next-class-link:after, |
| 503 | .go-link:after { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 504 | content: ''; |
| 505 | background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%; |
| 506 | width: 10px; |
| 507 | height: 10px; |
| 508 | display: inline-block; |
| 509 | margin-left: 5px; } |
Scott Main | 25c89dd | 2013-10-07 14:17:55 -0700 | [diff] [blame] | 510 | .prev-page-link.inline:before { |
| 511 | content: none; } |
| 512 | .next-page-link.inline:after { |
| 513 | content: none; } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 514 | |
smain@google.com | 5bc3a1a | 2014-06-17 20:02:53 -0700 | [diff] [blame] | 515 | .content-footer .paging-links .next-page-link { |
| 516 | left:0; |
| 517 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 518 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 519 | .training-nav-top a { |
| 520 | display:block; |
| 521 | float:left; |
Scott Main | f3d0104 | 2012-10-02 20:36:45 -0700 | [diff] [blame] | 522 | width:122px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 523 | height:28px; |
Scott Main | f3d0104 | 2012-10-02 20:36:45 -0700 | [diff] [blame] | 524 | padding: 8px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 525 | line-height:28px; |
| 526 | text-align:center; |
| 527 | border:1px solid #DADADA; |
| 528 | border-bottom:0; |
| 529 | } |
Scott Main | 5a1123e | 2012-09-26 12:51:28 -0700 | [diff] [blame] | 530 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 531 | .training-nav-top a.next-page-link { |
| 532 | border-left:0; |
Scott Main | f3d0104 | 2012-10-02 20:36:45 -0700 | [diff] [blame] | 533 | width:123px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 534 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 535 | |
Scott Main | 5a1123e | 2012-09-26 12:51:28 -0700 | [diff] [blame] | 536 | .paging-links a.disabled, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 537 | .training-nav-top a.disabled, |
| 538 | .content-footer a.disabled { |
Scott Main | 5a1123e | 2012-09-26 12:51:28 -0700 | [diff] [blame] | 539 | color:#bbb; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 540 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 541 | |
Scott Main | 5a1123e | 2012-09-26 12:51:28 -0700 | [diff] [blame] | 542 | .paging-links a.disabled:hover, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 543 | .training-nav-top a.disabled:hover, |
| 544 | .content-footer a.disabled:hover { |
| 545 | cursor:default; |
Scott Main | 5a1123e | 2012-09-26 12:51:28 -0700 | [diff] [blame] | 546 | color:#bbb !important; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 547 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 548 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 549 | .training-nav-top a.start-class-link, |
| 550 | .training-nav-top a.start-course-link { |
Scott Main | a4888dc | 2012-10-02 23:25:21 -0700 | [diff] [blame] | 551 | width:262px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 552 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 553 | |
Scott Main | 9ee0fae | 2014-01-23 10:50:57 -0800 | [diff] [blame] | 554 | .paging-links a.start-class-link { |
| 555 | width:100%; |
Scott Main | 9ee0fae | 2014-01-23 10:50:57 -0800 | [diff] [blame] | 556 | } |
| 557 | |
Scott Main | 5a1123e | 2012-09-26 12:51:28 -0700 | [diff] [blame] | 558 | /* list of classes on course landing page */ |
| 559 | ol.class-list { |
| 560 | list-style:none; |
| 561 | margin-left:0; |
| 562 | } |
| 563 | ol.class-list>li { |
| 564 | margin:0 0 15px; |
| 565 | padding:5px 0 0; |
| 566 | overflow:hidden; |
| 567 | border-top:1px solid #ccc; |
| 568 | } |
| 569 | ol.class-list li a.title { |
| 570 | font-size:16px; |
| 571 | margin:0; |
| 572 | clear:left; |
| 573 | display:block; |
| 574 | height:32px; |
| 575 | padding:0 4px; |
| 576 | } |
| 577 | ol.class-list li a.title h2 { |
| 578 | color:inherit; |
| 579 | margin:0 0 10px; |
| 580 | display:block; |
| 581 | float:left; |
| 582 | width:675px; |
| 583 | } |
| 584 | ol.class-list li a.title span { |
| 585 | display:none; |
| 586 | float:left; |
| 587 | font-size:18px; |
| 588 | font-weight:bold; |
| 589 | background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%; |
| 590 | width: 10px; |
| 591 | height: 32px; |
| 592 | } |
| 593 | ol.class-list li a.title:hover { |
| 594 | background:#ddd; |
| 595 | color:#258AAF !important; |
| 596 | } |
| 597 | ol.class-list li a.title:hover span { |
| 598 | display:block; |
| 599 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 600 | |
Scott Main | 5a1123e | 2012-09-26 12:51:28 -0700 | [diff] [blame] | 601 | #jd-content |
| 602 | ol.class-list li img { |
| 603 | float:left; |
| 604 | clear:left; |
| 605 | width:64px; |
| 606 | margin:0 20px 0 0; |
| 607 | } |
| 608 | ol.class-list li p.description { |
| 609 | float:left; |
| 610 | display:block; |
| 611 | width:250px; |
| 612 | margin:0; |
| 613 | } |
| 614 | ol.class-list li p.description.article { |
| 615 | width: 550px; |
| 616 | } |
| 617 | ol.class-list ol { |
| 618 | float:left; |
| 619 | width:320px; |
| 620 | margin:0 0 0 30px; |
| 621 | list-style:none; |
| 622 | margin:0 0 0 20px; |
| 623 | } |
| 624 | ol.class-list div.lessons li { |
| 625 | margin:0 0 6px; |
| 626 | line-height:16px; |
| 627 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 628 | |
| 629 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 630 | .hide { |
| 631 | display:none !important; |
| 632 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 633 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 634 | |
| 635 | |
Scott Main | bbffb4b | 2012-11-13 07:40:16 -0800 | [diff] [blame] | 636 | /* inner-doc tabs w/ title */ |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 637 | |
Scott Main | bbffb4b | 2012-11-13 07:40:16 -0800 | [diff] [blame] | 638 | div#title-tabs-wrapper { |
| 639 | border-bottom:1px solid #ccc; |
| 640 | margin:20px 0 30px; |
| 641 | } |
| 642 | h1.with-title-tabs { |
| 643 | display:inline-block; |
| 644 | margin:0 0 -1px 0; |
| 645 | padding:0 60px 0 0; |
| 646 | border-bottom:1px solid #F9F9F9; |
| 647 | } |
| 648 | ul#title-tabs { |
| 649 | list-style:none; |
| 650 | padding:0; |
| 651 | height:29px; |
| 652 | margin:0; |
| 653 | font-size:16px; |
| 654 | line-height:26px; |
| 655 | display:inline-block; |
| 656 | vertical-align:bottom; |
| 657 | } |
| 658 | ul#title-tabs li { |
| 659 | display:block; |
| 660 | float:left; |
| 661 | margin-right:40px; |
| 662 | border-bottom: 3px solid transparent; |
| 663 | } |
| 664 | ul#title-tabs li.selected { |
| 665 | border-bottom: 3px solid #93C; |
| 666 | } |
| 667 | ul#title-tabs li a { |
| 668 | color:#333; |
| 669 | } |
| 670 | ul#title-tabs li a:hover, |
Scott Main | bbffb4b | 2012-11-13 07:40:16 -0800 | [diff] [blame] | 671 | ul#title-tabs li a:active { |
| 672 | color:#93C !important; |
| 673 | } |
| 674 | |
| 675 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 676 | |
| 677 | /* content body */ |
| 678 | @-webkit-keyframes glowheader { |
| 679 | from { |
| 680 | background-color: #33b5e5; |
| 681 | color: #000; |
| 682 | border-bottom-color: #000; } |
| 683 | |
| 684 | to { |
| 685 | background-color: transparent; |
| 686 | color: #33b5e5; |
| 687 | border-bottom-color: #33b5e5; } } |
| 688 | |
| 689 | @-moz-keyframes glowheader { |
| 690 | from { |
| 691 | background-color: #33b5e5; |
| 692 | color: #000; |
| 693 | border-bottom-color: #000; } |
| 694 | |
| 695 | to { |
| 696 | background-color: transparent; |
| 697 | color: #33b5e5; |
| 698 | border-bottom-color: #33b5e5; } } |
| 699 | |
| 700 | @keyframes glowheader { |
| 701 | from { |
| 702 | background-color: #33b5e5; |
| 703 | color: #000; |
| 704 | border-bottom-color: #000; } |
| 705 | |
| 706 | to { |
| 707 | background-color: transparent; |
| 708 | color: #33b5e5; |
| 709 | border-bottom-color: #33b5e5; } } |
| 710 | |
Dirk Dougherty | ca1230c | 2014-05-14 20:00:03 -0700 | [diff] [blame] | 711 | h1:target, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 712 | h2:target, |
| 713 | h3:target { |
| 714 | -webkit-animation-name: glowheader; |
| 715 | -moz-animation-name: glowheader; |
| 716 | animation-name: glowheader; |
| 717 | -webkit-animation-duration: 0.7s; |
| 718 | -moz-animation-duration: 0.7s; |
| 719 | animation-duration: 0.7s; |
| 720 | -webkit-animation-timing-function: ease-out; |
| 721 | -moz-animation-timing-function: ease-out; |
| 722 | animation-timing-function: ease-out; } |
| 723 | |
| 724 | .design ol h4 { |
| 725 | margin-bottom:0; |
| 726 | } |
| 727 | .design ol { |
| 728 | counter-reset: item; } |
Scott Main | b9ae92b | 2012-07-19 11:01:27 -0700 | [diff] [blame] | 729 | .design ol>li { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 730 | font-size: 14px; |
| 731 | line-height: 20px; |
| 732 | list-style-type: none; |
| 733 | position: relative; } |
Scott Main | b9ae92b | 2012-07-19 11:01:27 -0700 | [diff] [blame] | 734 | .design ol>li:before { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 735 | content: counter(item) ". "; |
| 736 | counter-increment: item; |
| 737 | position: absolute; |
| 738 | left: -20px; |
| 739 | top: 0; } |
| 740 | .design ol li.value-1:before { |
| 741 | content: "1. "; } |
| 742 | .design ol li.value-2:before { |
| 743 | content: "2. "; } |
| 744 | .design ol li.value-3:before { |
| 745 | content: "3. "; } |
| 746 | .design ol li.value-4:before { |
| 747 | content: "4. "; } |
| 748 | .design ol li.value-5:before { |
| 749 | content: "5. "; } |
| 750 | .design ol li.value-6:before { |
| 751 | content: "6. "; } |
| 752 | .design ol li.value-7:before { |
| 753 | content: "7. "; } |
| 754 | .design ol li.value-8:before { |
| 755 | content: "8. "; } |
| 756 | .design ol li.value-9:before { |
| 757 | content: "9. "; } |
| 758 | .design ol li.value-10:before { |
| 759 | content: "10. "; } |
Scott Main | b9ae92b | 2012-07-19 11:01:27 -0700 | [diff] [blame] | 760 | .design .with-callouts ol>li { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 761 | list-style-position: inside; |
| 762 | margin-left: 0; } |
Scott Main | b9ae92b | 2012-07-19 11:01:27 -0700 | [diff] [blame] | 763 | .design .with-callouts ol>li:before { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 764 | display: inline; |
| 765 | left: -20px; |
| 766 | float: left; |
| 767 | width: 17px; |
| 768 | color: #33b5e5; |
| 769 | font-weight: 500; } |
Scott Main | b9ae92b | 2012-07-19 11:01:27 -0700 | [diff] [blame] | 770 | .design .with-callouts ul>li { |
| 771 | list-style-position: outside; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 772 | |
| 773 | /* special list items */ |
| 774 | li.no-bullet { |
| 775 | list-style-type: none !important; } |
| 776 | li.no-bullet *{ |
| 777 | margin:0; } |
| 778 | |
| 779 | .design li.with-icon { |
| 780 | position: relative; |
| 781 | margin-left: 20px; |
| 782 | min-height: 30px; } |
| 783 | .design li.with-icon p { |
| 784 | margin-left: 0 !important; } |
| 785 | .design li.with-icon:before { |
| 786 | position: absolute; |
| 787 | left: -40px; |
| 788 | top: 0; |
| 789 | content: ''; |
| 790 | width: 30px; |
| 791 | height: 30px; } |
| 792 | .design li.with-icon.tablet:before { |
| 793 | background-image: url(../images/styles/ico_phone_tablet.png); } |
| 794 | .design li.with-icon.web:before { |
| 795 | background-image: url(../images/styles/ico_web.png); } |
| 796 | .design li.with-icon.action:before { |
| 797 | background-image: url(../images/styles/ico_action.png); } |
| 798 | .design li.with-icon.use:before { |
| 799 | background-image: url(../images/styles/ico_use.png); } |
| 800 | |
| 801 | /* figures and callouts */ |
| 802 | .figure { |
| 803 | position: relative; } |
| 804 | .figure.pad-below { |
| 805 | margin-bottom: 20px; } |
| 806 | .figure .figure-callout { |
| 807 | position: absolute; |
| 808 | color: #fff; |
| 809 | font-weight: 500; |
| 810 | font-size: 16px; |
| 811 | line-height: 23px; |
| 812 | text-align: center; |
| 813 | background: transparent url(../images/styles/callout.png) no-repeat scroll 50% 50%; |
| 814 | padding-right: 2px; |
| 815 | width: 30px; |
| 816 | height: 29px; |
| 817 | z-index: 1000; } |
| 818 | .figure .figure-callout.top { |
| 819 | top: -9px; } |
| 820 | .figure .figure-callout.right { |
| 821 | right: -5px; } |
| 822 | |
| 823 | .figure-caption { |
| 824 | margin: 0 10px 20px 0; |
| 825 | font-size: 14px; |
| 826 | line-height: 20px; |
| 827 | font-style: italic; } |
| 828 | |
| 829 | /* rows of figures */ |
| 830 | .figure-row { |
| 831 | font-size: 0; |
| 832 | line-height: 0; |
| 833 | /* to prevent space between figures */ } |
| 834 | .figure-row .figure { |
| 835 | display: inline-block; |
| 836 | vertical-align: top; } |
| 837 | .figure-row .figure + .figure { |
| 838 | margin-left: 10px; |
| 839 | /* reintroduce space between figures */ } |
| 840 | |
| 841 | /* video containers */ |
| 842 | .framed-galaxynexus-land-span-13 { |
| 843 | background: transparent url(../images/styles/device_galaxynexus_blank_land_span13.png) no-repeat |
| 844 | scroll top left; |
| 845 | padding: 42px 122px 62px 126px; |
| 846 | overflow: hidden; } |
| 847 | .framed-galaxynexus-land-span-13, .framed-galaxynexus-land-span-13 video, |
| 848 | .framed-galaxynexus-land-span-13 img { |
| 849 | width: 512px; |
| 850 | height: 286px; } |
| 851 | |
Robert Ly | d78354d | 2012-11-01 17:09:52 -0700 | [diff] [blame] | 852 | |
| 853 | .framed-galaxynexus-land-span-8{ |
| 854 | background: transparent url(../images/styles/device_galaxynexus_blank_land_span8.png) no-repeat |
| 855 | scroll top left; |
| 856 | padding: 26px 68px 38px 72px; |
| 857 | overflow: hidden; } |
| 858 | .framed-galaxynexus-land-span-8, .framed-galaxynexus-land-span-8 video, |
| 859 | .framed-galaxynexus-land-span-8 img { |
| 860 | width: 320px; |
| 861 | height: 180px; } |
| 862 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 863 | .framed-galaxynexus-port-span-9 { |
| 864 | background: transparent url(../images/styles/device_galaxynexus_blank_port_span9.png) no-repeat |
| 865 | scroll top left; |
| 866 | padding: 95px 122px 107px 124px; |
| 867 | overflow: hidden; } |
| 868 | .framed-galaxynexus-port-span-9, .framed-galaxynexus-port-span-9 video, |
| 869 | .framed-galaxynexus-port-span-9 img { |
| 870 | width: 274px; |
| 871 | height: 488px; } |
| 872 | |
| 873 | .framed-galaxynexus-port-span-5 { |
| 874 | background: transparent url(../images/styles/device_galaxynexus_blank_port_span5.png) no-repeat |
| 875 | scroll top left; |
| 876 | padding: 75px 31px 76px 33px; |
| 877 | overflow: hidden; } |
| 878 | .framed-galaxynexus-port-span-5, .framed-galaxynexus-port-span-5 video, |
| 879 | .framed-galaxynexus-port-span-5 img { |
| 880 | width: 216px; |
| 881 | height: 384px; } |
| 882 | |
Scott Main | 27403b8 | 2013-07-10 16:36:05 -0700 | [diff] [blame] | 883 | .framed-nexus4-port-216 { |
| 884 | background: transparent url(../images/styles/device_nexus4_blank_port_432.png) no-repeat |
| 885 | scroll top left; |
| 886 | background-size:240px 465px; |
| 887 | padding: 52px 12px 52px 12px; |
| 888 | overflow: hidden; } |
| 889 | .framed-nexus4-port-216, .framed-nexus4-port-216 video, |
| 890 | .framed-nexus4-port-216 img { |
| 891 | width: 216px; |
| 892 | height: 360px; } |
Scott Main | b16376f | 2014-05-21 20:35:47 -0700 | [diff] [blame] | 893 | |
Dirk Dougherty | d5d3f80 | 2013-10-26 12:14:47 -0700 | [diff] [blame] | 894 | .framed-nexus5-port-span-5 { |
| 895 | background: transparent url(../images/styles/device_nexus5_blank_port_span5.png) no-repeat |
| 896 | scroll top left; |
| 897 | padding: 52px 33px 69px 31px; |
| 898 | overflow: hidden; |
| 899 | } |
Scott Main | 27403b8 | 2013-07-10 16:36:05 -0700 | [diff] [blame] | 900 | |
Dirk Dougherty | d5d3f80 | 2013-10-26 12:14:47 -0700 | [diff] [blame] | 901 | .framed-nexus5-port-span-5, |
| 902 | .framed-nexus5-port-span-5 video, |
| 903 | .framed-nexus5-port-span-5 img { |
| 904 | width: 216px; |
| 905 | height: 384px; |
| 906 | } |
Scott Main | 27403b8 | 2013-07-10 16:36:05 -0700 | [diff] [blame] | 907 | |
Dirk Dougherty | ca1858a | 2013-10-29 16:25:00 -0700 | [diff] [blame] | 908 | .framed-nexus5-land-span-13 { |
| 909 | background: transparent url(../images/styles/device_nexus5_blank_land_span13.png) no-repeat scroll top left; |
| 910 | padding: 36px 119px 54px 108px; |
| 911 | overflow: hidden; |
| 912 | } |
| 913 | |
| 914 | .framed-nexus5-land-span-13, |
| 915 | .framed-nexus5-land-span-13 video, |
| 916 | .framed-nexus5-land-span-13 img { |
| 917 | width: 533px; |
| 918 | height: 300px; |
| 919 | } |
| 920 | |
| 921 | .framed-nexus5-port-span-5, |
| 922 | .framed-nexus5-port-span-5 video, |
| 923 | .framed-nexus5-port-span-5 img { |
| 924 | width: 216px; |
| 925 | height: 384px; |
| 926 | } |
| 927 | |
smain@google.com | c91ecb7 | 2014-06-23 10:22:23 -0700 | [diff] [blame] | 928 | /* wear device frames */ |
| 929 | |
| 930 | .framed-wear-square { |
| 931 | background: transparent url(../images/styles/device_wear_square.png) no-repeat scroll top left; |
| 932 | background-size: 302px 302px; |
| 933 | height:222px; |
| 934 | width:222px; |
| 935 | padding:40px; |
| 936 | overflow:hidden; |
| 937 | } |
| 938 | |
smain@google.com | cfb92aa | 2014-06-24 10:29:50 -0700 | [diff] [blame] | 939 | .framed-wear-square-small { |
| 940 | background: transparent url(../images/styles/device_wear_square_small.png) no-repeat scroll top left; |
| 941 | background-size: 169px 200px; |
| 942 | height:147px; |
| 943 | width:147px; |
| 944 | padding:27px 11px; |
| 945 | overflow:hidden; |
| 946 | } |
| 947 | |
smain@google.com | c91ecb7 | 2014-06-23 10:22:23 -0700 | [diff] [blame] | 948 | #jd-content |
| 949 | .framed-wear-square img { |
| 950 | height:222px; |
| 951 | width: 222px; |
| 952 | padding:0; |
| 953 | margin:0; |
| 954 | } |
| 955 | |
smain@google.com | cfb92aa | 2014-06-24 10:29:50 -0700 | [diff] [blame] | 956 | #jd-content |
| 957 | .framed-wear-square-small img { |
| 958 | height:147px; |
| 959 | width: 147px; |
| 960 | padding:0; |
| 961 | margin:0; |
| 962 | } |
| 963 | |
smain@google.com | c91ecb7 | 2014-06-23 10:22:23 -0700 | [diff] [blame] | 964 | |
| 965 | |
| 966 | |
| 967 | |
| 968 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 969 | /* landing page disclosures */ |
| 970 | .landing-page-link { |
| 971 | text-decoration: none; |
| 972 | font-weight: 500; |
| 973 | color: #333333; } |
| 974 | .landing-page-link:after { |
| 975 | content: ''; |
| 976 | background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%; |
| 977 | width: 10px; |
| 978 | height: 10px; |
| 979 | display: inline-block; |
| 980 | margin-left: 5px; } |
| 981 | |
| 982 | /* tooltips */ |
| 983 | .tooltip-box { |
| 984 | position: absolute; |
| 985 | background-color: rgba(0, 0, 0, 0.9); |
| 986 | border-radius: 2px; |
| 987 | font-size: 14px; |
| 988 | line-height: 20px; |
| 989 | color: #fff; |
| 990 | padding: 6px 10px; |
| 991 | max-width: 250px; |
| 992 | z-index: 10000; } |
| 993 | .tooltip-box.below:after { |
| 994 | position: absolute; |
| 995 | content: ''; |
| 996 | line-height: 0; |
| 997 | display: block; |
| 998 | top: -10px; |
| 999 | left: 5px; |
| 1000 | border: 5px solid transparent; |
| 1001 | border-bottom-color: rgba(0, 0, 0, 0.9); } |
| 1002 | |
| 1003 | /* video note */ |
| 1004 | .video-instructions { |
| 1005 | margin-top: 10px; |
| 1006 | margin-bottom: 10px; } |
| 1007 | .video-instructions:before { |
| 1008 | content: ''; |
| 1009 | background: transparent url(../images/styles/ico_movie_inline.png) no-repeat scroll top left; |
| 1010 | display: inline-block; |
| 1011 | width: 12px; |
| 1012 | height: 12px; |
| 1013 | margin-right: 8px; } |
| 1014 | .video-instructions:after { |
| 1015 | content: 'Click device screen to replay movie.'; } |
| 1016 | |
| 1017 | /* download buttons */ |
| 1018 | .download-button { |
| 1019 | display: block; |
| 1020 | margin-bottom: 5px; |
| 1021 | text-decoration: none; |
| 1022 | background-color: #33b5e5; |
| 1023 | color: #fff !important; |
| 1024 | font-weight: 500; |
| 1025 | box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12); |
| 1026 | padding: 6px 12px; |
| 1027 | border-radius: 2px; } |
| 1028 | .download-button:hover, .download-button:focus { |
| 1029 | background-color: #0099cc; |
| 1030 | color: #fff !important; } |
| 1031 | .download-button:active { |
| 1032 | background-color: #006699; } |
| 1033 | |
| 1034 | /* UI tables and other things found in Writing style and Settings pattern */ |
| 1035 | .ui-table { |
| 1036 | width: 100%; |
| 1037 | background-color: #282828; |
| 1038 | color: #fff; |
| 1039 | border-radius: 2px; |
| 1040 | box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25); |
| 1041 | border-collapse: separate; } |
| 1042 | .ui-table th, |
| 1043 | .ui-table td { |
| 1044 | padding: 5px 10px; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1045 | background-color: inherit; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1046 | border:0;} |
| 1047 | .ui-table thead th { |
| 1048 | font-weight: bold; } |
| 1049 | .ui-table tfoot td { |
| 1050 | border-top: 1px solid #494949; |
| 1051 | border-right: 1px solid #494949; |
| 1052 | text-align: center; } |
| 1053 | .ui-table tfoot td:last-child { |
| 1054 | border-right: 0; } |
| 1055 | |
| 1056 | .layout-with-list-item-margins { |
| 1057 | margin-left: 30px !important; } |
| 1058 | |
| 1059 | .emulate-content-left-padding { |
| 1060 | margin-left: 10px; } |
| 1061 | |
| 1062 | .do-dont-label { |
| 1063 | margin-bottom: 10px; |
| 1064 | padding-left: 20px; |
| 1065 | background: transparent none no-repeat scroll 0px 3px; } |
| 1066 | .do-dont-label.bad { |
| 1067 | background-image: url(../images/styles/ico_wrong.png); } |
| 1068 | .do-dont-label.good { |
| 1069 | background-image: url(../images/styles/ico_good.png); } |
Dirk Dougherty | f5ffd4a | 2013-08-19 12:26:07 -0700 | [diff] [blame] | 1070 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1071 | |
| 1072 | |
| 1073 | |
| 1074 | |
| 1075 | |
| 1076 | |
| 1077 | |
| 1078 | |
| 1079 | |
| 1080 | |
| 1081 | |
| 1082 | |
| 1083 | |
| 1084 | |
| 1085 | |
| 1086 | |
| 1087 | |
| 1088 | |
| 1089 | /***** PREVIOUSLY style.css ******************/ |
| 1090 | |
| 1091 | |
| 1092 | |
| 1093 | |
| 1094 | |
| 1095 | @media screen, projection, print { |
| 1096 | [dir='rtl'] { |
| 1097 | direction: rtl; |
| 1098 | } |
| 1099 | html { |
| 1100 | line-height: 20px; |
| 1101 | } |
| 1102 | pre, table, input, textarea, code { |
| 1103 | font-size: 1em; |
| 1104 | } |
| 1105 | address, abbr, cite { |
| 1106 | font-style: normal; |
| 1107 | } |
| 1108 | [dir='rtl'] th { |
| 1109 | text-align: right; |
| 1110 | } |
| 1111 | html[lang^=ja] blockquote, html[lang^=ja] q, html[lang^=ko] blockquote, html[lang^=ko] q, |
| 1112 | html[lang^=zh] blockquote, html[lang^=zh] q { |
| 1113 | font-style: normal; |
| 1114 | } |
| 1115 | q { |
| 1116 | font-style: italic; |
| 1117 | } |
| 1118 | fieldset, iframe, img { |
| 1119 | border: 0; |
| 1120 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1121 | img { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1122 | -ms-interpolation-mode: bicubic; |
| 1123 | vertical-align: middle; |
| 1124 | max-width: 100%; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1125 | } |
| 1126 | q { |
| 1127 | quotes: none; |
| 1128 | } |
| 1129 | sup, sub { |
| 1130 | font-size: 11px; |
| 1131 | line-height: 0; |
| 1132 | } |
| 1133 | } |
| 1134 | |
| 1135 | @media screen, projection { |
| 1136 | |
| 1137 | table, fieldset { |
| 1138 | margin: 0; |
| 1139 | } |
| 1140 | h1 { |
| 1141 | color:#333; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1142 | font-size: 34px; |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 1143 | margin: 36px 0 27px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1144 | padding:0 0 10px; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1145 | font-weight:300; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1146 | } |
| 1147 | h1, h2 { |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 1148 | line-height: 30px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1149 | } |
| 1150 | h1.short { |
| 1151 | margin-right:320px; |
| 1152 | } |
| 1153 | h1.short { |
| 1154 | margin-right:320px; |
| 1155 | } |
| 1156 | h1.super { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1157 | font-size: 37px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1158 | } |
| 1159 | h2 { |
| 1160 | color:#333; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1161 | font-size: 26px; |
| 1162 | margin: 32px 0 20px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1163 | padding:0; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1164 | font-weight:300; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1165 | } |
| 1166 | h3 { |
| 1167 | color:#333; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1168 | font-size: 21px; |
| 1169 | font-weight:400; |
| 1170 | margin:21px 0 14px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1171 | } |
| 1172 | h3, h4 { |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1173 | line-height: 21px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1174 | } |
| 1175 | h4 { |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1176 | font-size: 18px; |
| 1177 | margin: 12px 0; |
| 1178 | font-weight:500; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1179 | } |
| 1180 | h5 { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1181 | font-size: 14px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1182 | } |
| 1183 | h5, h6 { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1184 | margin: 5px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1185 | } |
| 1186 | h6 { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1187 | font-size: 12px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1188 | } |
| 1189 | hr { /* applied to the bottom of h2 elements */ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1190 | height: 1px; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1191 | margin: 3px 0 12px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1192 | border: 0; |
| 1193 | background: #ccc; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1194 | } |
| 1195 | p, pre, table, form { |
| 1196 | margin: 0 0 15px; |
| 1197 | } |
| 1198 | small { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1199 | font-size: 11.5px; |
| 1200 | color: #000; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1201 | } |
| 1202 | ul, ol { |
| 1203 | margin: 0 0 15px 18px; |
| 1204 | padding: 0; |
| 1205 | } |
| 1206 | [dir='rtl'] ul, [dir='rtl'] ol { |
| 1207 | margin: 10px 30px 10px 10px; |
| 1208 | } |
| 1209 | ul ul, ul ol, ol ul, ol ol { |
| 1210 | margin-bottom: 0; |
| 1211 | margin-top: 0; |
| 1212 | } |
| 1213 | li { |
Scott Main | 52948fc | 2012-09-18 11:27:59 -0700 | [diff] [blame] | 1214 | margin:0 0 5px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1215 | } |
| 1216 | dd { |
| 1217 | margin:0 0 10px 30px; |
| 1218 | } |
Scott Main | a07be8e | 2013-03-06 12:12:21 -0800 | [diff] [blame] | 1219 | dd p, |
| 1220 | dd pre, |
| 1221 | dd ul, |
| 1222 | dd ol, |
| 1223 | dd dl { |
Scott Main | 24790db | 2013-03-19 14:38:59 -0700 | [diff] [blame] | 1224 | margin-top:10px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1225 | } |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 1226 | li p, |
| 1227 | li pre, |
| 1228 | li ul, |
Scott Main | a07be8e | 2013-03-06 12:12:21 -0800 | [diff] [blame] | 1229 | li ol, |
| 1230 | li dl { |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 1231 | margin-top:5px; |
| 1232 | margin-bottom:5px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1233 | } |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 1234 | dl dd dl:first-child { |
| 1235 | margin-top:0; |
| 1236 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1237 | pre strong, pre b, a strong, a b, a code { |
| 1238 | color: inherit; |
| 1239 | } |
| 1240 | pre, code { |
| 1241 | color: #060; |
Scott Main | a07be8e | 2013-03-06 12:12:21 -0800 | [diff] [blame] | 1242 | font: 13px/1.5 monospace; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1243 | } |
| 1244 | code { |
| 1245 | font-weight:bold; |
Scott Main | a07be8e | 2013-03-06 12:12:21 -0800 | [diff] [blame] | 1246 | font: 13px/14px monospace; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1247 | } |
| 1248 | |
| 1249 | legend { |
| 1250 | display: none; |
| 1251 | } |
smain@google.com | fbdb2a1 | 2014-10-03 15:37:49 -0700 | [diff] [blame] | 1252 | a:link, a:visited, .link-color { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1253 | color: #258aaf; |
| 1254 | text-decoration: none; |
| 1255 | } |
| 1256 | a:focus, a:hover, a:active { |
| 1257 | color: #33B5E5; |
| 1258 | text-decoration: none; |
| 1259 | } |
smain@google.com | abf3411 | 2014-06-23 11:39:02 -0700 | [diff] [blame] | 1260 | a.white { |
| 1261 | color: #fff; |
| 1262 | text-decoration:underline; |
| 1263 | } |
| 1264 | a.white:hover, a.white:active { |
| 1265 | color: #ccc !important; |
| 1266 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1267 | strong, b { |
| 1268 | font-weight:bold; |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 1269 | color: #222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1270 | } |
| 1271 | table { |
| 1272 | border-collapse: collapse; |
| 1273 | border-spacing: 0; |
| 1274 | border:0; |
| 1275 | margin: .5em 1em 1em 0; |
| 1276 | width:100%; /* consistent table widths; within IE's quirks */ |
| 1277 | background-color:#f7f7f7; |
| 1278 | } |
| 1279 | th, td { |
| 1280 | padding: 4px 12px; |
| 1281 | vertical-align: top; |
| 1282 | text-align: left; |
| 1283 | } |
| 1284 | td { |
| 1285 | background-color:inherit; |
| 1286 | border:solid 1px #DDD; |
| 1287 | } |
Scott Main | eb41035 | 2013-01-14 19:03:40 -0800 | [diff] [blame] | 1288 | td *:last-child { |
| 1289 | margin-bottom:0; |
| 1290 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1291 | th { |
| 1292 | background-color: #999; |
| 1293 | color: #fff; |
| 1294 | border:solid 1px #DDD; |
| 1295 | font-weight: normal; |
| 1296 | } |
| 1297 | tr:first-of-type th:first-of-type:empty { |
| 1298 | visibility: hidden; |
| 1299 | } |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 1300 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1301 | /* -------------------------------------------------------------------------- |
| 1302 | Footer |
| 1303 | */ |
| 1304 | .line { |
| 1305 | clear: both; |
| 1306 | background: #acbc00; |
| 1307 | background: -moz-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1308 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #acbc00), |
| 1309 | color-stop(50%, #acbc00), color-stop(50%, #bdde00), color-stop(100%, #bdde00)); |
| 1310 | background: -webkit-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1311 | background: -o-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1312 | background: -ms-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1313 | background: linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%); |
| 1314 | height: 2px; |
| 1315 | margin-top: 150px; |
| 1316 | position: relative; |
| 1317 | z-index: 11; |
| 1318 | } |
| 1319 | #footer { |
| 1320 | font-size:11px; |
| 1321 | clear: both; |
| 1322 | color: #999; |
| 1323 | padding: 15px 0; |
| 1324 | margin-top:10px; |
| 1325 | width:auto; |
| 1326 | } |
| 1327 | #footer-local ul { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1328 | list-style: none; |
| 1329 | margin: 5px 0 30px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1330 | } |
| 1331 | #footer-local li { |
| 1332 | display: inline; |
| 1333 | } |
| 1334 | #footer-local li+li:before { |
| 1335 | content: '|'; |
| 1336 | padding: 0 3px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1337 | color: #e5e5e5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1338 | } |
| 1339 | #footer-global { |
| 1340 | padding: 10px 15px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1341 | background: #f5f5f5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1342 | } |
| 1343 | #footer-global { |
| 1344 | border-top: 1px solid #ebebeb; |
| 1345 | font-size: 11.5px; |
| 1346 | line-height: 1.8; |
| 1347 | list-style: none; |
| 1348 | } |
| 1349 | #footer-global ul { |
| 1350 | margin: 0; |
| 1351 | } |
| 1352 | #footer-global li { |
| 1353 | display: inline; |
| 1354 | font-weight: bold; |
| 1355 | } |
| 1356 | #footer-global li+li:before { |
| 1357 | content: '¬?'; |
| 1358 | padding: 0 3px; |
| 1359 | } |
| 1360 | * html #footer-global li { |
| 1361 | margin: 0 13px 0 0; |
| 1362 | } |
| 1363 | * [dir='rtl'] #footer-global li { |
| 1364 | margin: 0 0 0 13px; |
| 1365 | } |
| 1366 | *+html #footer-global li { |
| 1367 | margin: 0 13px 0 0; |
| 1368 | } |
| 1369 | *+[dir='rtl'] #footer-global li { |
| 1370 | margin: 0 0 0 13px; |
| 1371 | } |
| 1372 | #footer-global li a { |
| 1373 | font-weight: normal; |
| 1374 | } |
| 1375 | .locales { |
| 1376 | margin: 10px 0 0 0px; |
| 1377 | } |
| 1378 | [dir='rtl'] .locales { |
| 1379 | background-position: right center; |
| 1380 | float: left; |
| 1381 | padding: 0 24px 0 0; |
| 1382 | } |
| 1383 | .locales form { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1384 | margin: 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1385 | } |
| 1386 | .locales select, .sites select { |
| 1387 | line-height: 3.08; |
| 1388 | margin: 0px 0; |
| 1389 | border: solid 1px #EBEBEB; |
| 1390 | -webkit-appearance: none; |
| 1391 | background: white url('../images/arrows-up-down.png') right center no-repeat; |
| 1392 | height: 30px; |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 1393 | color: #222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1394 | line-height: normal; |
| 1395 | padding: 5px; |
| 1396 | width: 230px; |
| 1397 | } |
| 1398 | } |
| 1399 | |
| 1400 | /* ============================================================================= |
| 1401 | Print Only |
| 1402 | ========================================================================== */ |
| 1403 | @media print { |
Roman Nurik | 393830e | 2012-08-01 10:37:40 -0700 | [diff] [blame] | 1404 | /* configure printed page */ |
| 1405 | @page { |
| 1406 | margin: 0.75in 1in; |
| 1407 | widows: 4; |
| 1408 | orphans: 4; |
| 1409 | } |
| 1410 | |
| 1411 | /* reset spacing metrics */ |
| 1412 | html, body, .wrap { |
| 1413 | margin: 0 !important; |
| 1414 | padding: 0 !important; |
| 1415 | width: auto !important; |
| 1416 | } |
| 1417 | |
| 1418 | /* leave enough space on the left for bullets */ |
| 1419 | body { |
| 1420 | padding-left: 20px !important; |
| 1421 | } |
| 1422 | #doc-col { |
| 1423 | margin-left: 0; |
| 1424 | } |
| 1425 | |
| 1426 | /* hide a bunch of non-content elements */ |
| 1427 | #header, #footer, #nav-x, #side-nav, |
| 1428 | .training-nav-top, .training-nav-bottom, |
| 1429 | #doc-col .content-footer, |
| 1430 | .nav-x, .nav-y, |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 1431 | .paging-links { |
Roman Nurik | 393830e | 2012-08-01 10:37:40 -0700 | [diff] [blame] | 1432 | display: none !important; |
| 1433 | } |
| 1434 | |
| 1435 | /* remove extra space above page titles */ |
| 1436 | #doc-col .content-header { |
| 1437 | margin-top: 0; |
| 1438 | } |
| 1439 | |
| 1440 | /* bump up spacing above subheadings */ |
| 1441 | h2 { |
| 1442 | margin-top: 40px !important; |
| 1443 | } |
| 1444 | |
| 1445 | /* print link URLs where possible and give links default text color */ |
| 1446 | p a:after { |
| 1447 | content: " (" attr(href) ")"; |
| 1448 | font-size: 80%; |
| 1449 | } |
| 1450 | p a { |
| 1451 | word-wrap: break-word; |
| 1452 | } |
| 1453 | a { |
| 1454 | color: inherit; |
| 1455 | } |
| 1456 | |
| 1457 | /* syntax highlighting rules */ |
| 1458 | .str { color: #060; } |
| 1459 | .kwd { color: #006; font-weight: bold; } |
| 1460 | .com { color: #600; font-style: italic; } |
| 1461 | .typ { color: #404; font-weight: bold; } |
| 1462 | .lit { color: #044; } |
| 1463 | .pun { color: #440; } |
| 1464 | .pln { color: #000; } |
| 1465 | .tag { color: #006; font-weight: bold; } |
| 1466 | .atn { color: #404; } |
| 1467 | .atv { color: #060; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1468 | } |
| 1469 | |
| 1470 | /* ============================================================================= |
| 1471 | Columns |
| 1472 | ========================================================================== */ |
| 1473 | |
| 1474 | @media screen, projection, print { |
| 1475 | .full { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1476 | padding: 2.5em 0; |
| 1477 | border-top: solid 1px #ddd; |
| 1478 | border-bottom: solid 1px #ddd; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1479 | background: #f7f7f7; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1480 | } |
| 1481 | .wrap { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1482 | margin: 0 auto; |
| 1483 | width: 940px; |
| 1484 | clear: both; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1485 | } |
| 1486 | .cols { |
| 1487 | height: 1%; |
| 1488 | margin: 0 -1.533742331288343558282%; |
| 1489 | width: 103.06748466257669%} |
| 1490 | *+html .cols { |
| 1491 | margin-bottom: 20px; |
| 1492 | } |
| 1493 | .cols:after { |
| 1494 | clear: both; |
| 1495 | content: ' '; |
| 1496 | display: block; |
| 1497 | height: 0; |
| 1498 | visibility: hidden; |
| 1499 | } |
| 1500 | .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, |
| 1501 | .col-13, .col-14, .col-15, .col-16 { |
| 1502 | display: inline; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1503 | float: left; |
| 1504 | margin-left: 10px; |
| 1505 | margin-right: 10px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1506 | } |
| 1507 | /* |
| 1508 | * html .col-1, * html .col-2, * html .col-3, * html .col-4, * html .col-5, * html .col-6, * html |
| 1509 | .col-7, * html .col-8, * html .col-9, * html .col-10, * html .col-11, * html .col-12 { |
| 1510 | margin: 0; |
| 1511 | padding: 0 1.4% 20px; |
| 1512 | } |
| 1513 | [dir='rtl'] .col-1, [dir='rtl'] .col-2, [dir='rtl'] .col-3, [dir='rtl'] .col-4, [dir='rtl'] .col-5, |
| 1514 | [dir='rtl'] .col-6, [dir='rtl'] .col-7, [dir='rtl'] .col-8, [dir='rtl'] .col-9, [dir='rtl'] .col-10, |
| 1515 | [dir='rtl'] .col-11, [dir='rtl'] .col-12 { |
| 1516 | float: right; |
| 1517 | } |
| 1518 | */ |
| 1519 | .col-1 { width: 40px } |
| 1520 | .col-2 { width: 100px } |
| 1521 | .col-3 { width: 160px } |
| 1522 | .col-4 { width: 220px } |
| 1523 | .col-5 { width: 280px } |
| 1524 | .col-6 { width: 340px } |
| 1525 | .col-7 { width: 400px } |
| 1526 | .col-8 { width: 460px } |
| 1527 | .col-9 { width: 520px } |
| 1528 | .col-10 { width: 580px } |
| 1529 | .col-11 { width: 640px } |
| 1530 | .col-12 { width: 700px } |
| 1531 | .col-13 { width: 760px } |
| 1532 | .col-14 { width: 820px } |
| 1533 | .col-15 { width: 880px } |
| 1534 | .col-16 { width: 940px } |
| 1535 | } |
| 1536 | |
| 1537 | .col-right { |
| 1538 | margin-right:0px; |
| 1539 | } |
| 1540 | |
| 1541 | @media screen and (max-width:772px) { |
| 1542 | .col-5, .col-6, .col-7 { |
| 1543 | clear: both; |
| 1544 | width: 97.0238096%} |
| 1545 | } |
| 1546 | |
| 1547 | /* ============================================================================= |
| 1548 | Layout |
| 1549 | ========================================================================== */ |
| 1550 | @media screen, projection, print { |
| 1551 | |
| 1552 | /* -------------------------------------------------------------------------- |
| 1553 | Header, Login, Nav-X, Search |
| 1554 | */ |
| 1555 | #header { |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 1556 | margin: 0; |
| 1557 | padding: 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1558 | } |
| 1559 | #header:before, #header:after { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1560 | content: ""; |
| 1561 | display: table; |
| 1562 | clear: both |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1563 | } |
| 1564 | .logo, .nav-x { |
| 1565 | float: left; |
| 1566 | } |
| 1567 | .nav-x { |
| 1568 | margin-top: -2px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1569 | list-style-type: none; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1570 | } |
| 1571 | .nav-x a { |
| 1572 | color: #333; |
| 1573 | font-size: 16px; |
| 1574 | } |
smain@google.com | 6040ffa | 2014-06-13 15:06:23 -0700 | [diff] [blame] | 1575 | .about a.selected { |
| 1576 | color: #9933CC; |
| 1577 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1578 | .design a.selected { |
| 1579 | color: #33b5e5; |
| 1580 | } |
| 1581 | .develop a.selected { |
| 1582 | color: #F80; |
| 1583 | } |
| 1584 | .distribute a.selected { |
| 1585 | color: #9C0; |
| 1586 | } |
| 1587 | |
| 1588 | |
| 1589 | |
| 1590 | .nav-x li { |
| 1591 | display: inline; |
| 1592 | margin-right: 45px; |
| 1593 | } |
| 1594 | .search { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1595 | float: right; |
| 1596 | position: relative; |
| 1597 | width: 220px |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1598 | } |
| 1599 | .search .bottom, .search .left, .search .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1600 | position: absolute; |
| 1601 | background-color: #a3a3a3; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1602 | } |
| 1603 | .search .bottom { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1604 | width: 220px; |
| 1605 | height: 1px; |
| 1606 | top: 24px; |
| 1607 | left: 0 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1608 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1609 | .search .left, .search .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1610 | height: 5px; |
| 1611 | width: 1px |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1612 | } |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1613 | .search .left { top: 19px; left: 0 } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1614 | .search .right { top: 19px; right: 0 } |
| 1615 | .search form { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1616 | float: left; |
| 1617 | margin-top: 2px; |
| 1618 | width: inherit; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1619 | } |
| 1620 | .search .close, |
| 1621 | #player-frame .close { |
| 1622 | position: absolute; |
| 1623 | right: 8px; |
| 1624 | bottom: 4px; |
| 1625 | width: 16px; |
| 1626 | height: 16px; |
| 1627 | margin: 0; |
| 1628 | text-indent: -1000em; |
| 1629 | background: url(../images/close.png) no-repeat 0 0; |
| 1630 | z-index:9999; |
| 1631 | } |
| 1632 | .search .close:hover, .search .close:focus, |
| 1633 | #player-frame .close:hover, #player-frame .close:focus { |
| 1634 | background-position: -16px 0; |
| 1635 | cursor:pointer; |
| 1636 | } |
| 1637 | #player-frame .close { |
| 1638 | top: 6px; |
| 1639 | } |
| 1640 | .search form input { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1641 | color: #999; |
| 1642 | font-size: 1em; |
| 1643 | width: inherit; |
| 1644 | border: none; |
| 1645 | margin: 0; |
| 1646 | padding:0 0 0 6px; |
| 1647 | z-index: 1500; |
| 1648 | background-color: transparent |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1649 | } |
| 1650 | .search:hover .bottom, .search:hover .left, .search:hover .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1651 | background-color: #33b5e5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1652 | } |
| 1653 | .search:hover .icon { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1654 | background-position: -8px 0 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1655 | } |
| 1656 | .search form input:focus { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1657 | color: #222; |
| 1658 | font-weight: bold; |
| 1659 | outline:0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1660 | } |
| 1661 | /* Search Dropdown */ |
| 1662 | .search-dropdown { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1663 | padding: 15px; |
| 1664 | width: 192px; |
| 1665 | border: solid 1px #c5c5c5; |
| 1666 | background: #fff; |
| 1667 | position: absolute; |
| 1668 | top: 35px; |
| 1669 | left: 0; |
| 1670 | -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2); |
| 1671 | -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2); |
| 1672 | box-shadow: 0 0 10px rgba(0,0,0,0.2) |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1673 | } |
| 1674 | .search-dropdown ul, .search-dropdown ul li { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1675 | list-style-type: none; |
| 1676 | margin: 0; |
| 1677 | padding: 0 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1678 | } |
| 1679 | .search-dropdown ul li { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1680 | clear: both |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1681 | } |
| 1682 | .search-dropdown img { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1683 | float: left; |
| 1684 | margin: 0 10px 10px 0 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1685 | } |
| 1686 | .search-dropdown h6 { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1687 | color: #222; |
| 1688 | margin: 0; |
| 1689 | line-height: normal |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1690 | } |
| 1691 | .search-dropdown .desc { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1692 | color: #999; |
| 1693 | font-size: 11.5px; |
| 1694 | line-height: normal; |
| 1695 | margin: 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1696 | } |
| 1697 | .search-dropdown li a:hover h6, .search-dropdown li a:hover .desc { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1698 | color: #33b5e5 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1699 | } |
| 1700 | /* -------------------------------------------------------------------------- |
| 1701 | Buttons |
| 1702 | */ |
| 1703 | .button, a.button, .button-secondary, a.button-secondary { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1704 | border-image: initial; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1705 | -webkit-border-radius: 2px; |
| 1706 | -moz-border-radius: 2px; |
| 1707 | border-radius: 2px; |
| 1708 | cursor: pointer; |
| 1709 | } |
| 1710 | .button, a.button { |
Scott Main | ab4daf4 | 2012-11-30 11:27:17 -0800 | [diff] [blame] | 1711 | display:inline-block; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1712 | background-color: #09c; |
| 1713 | background-image: -webkit-gradient(linear, left top, left bottom, from(#2faddb), to(#09c)); |
| 1714 | background-image: -webkit-linear-gradient(top, #2faddb, #09c); |
| 1715 | background-image: -moz-linear-gradient(top, #2faddb, #09c); |
| 1716 | background-image: -ms-linear-gradient(top, #2faddb, #09c); |
| 1717 | background-image: -o-linear-gradient(top, #2faddb, #09c); |
| 1718 | background-image: linear-gradient(top, #2faddb, #09c); |
| 1719 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#2faddb', EndColorStr='#0099cc',GradientType=0); |
| 1720 | border: 1px solid #3990ab; |
| 1721 | color: #fff; |
| 1722 | } |
| 1723 | .button-secondary, a.button-secondary { |
| 1724 | background-color: #f3f3f3; |
| 1725 | border: 1px solid #dcdcdc; |
| 1726 | color: #444; |
| 1727 | } |
| 1728 | a.button, a.button:visited, a.button-secondary, a.button-secondary:visited { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1729 | margin-right: 16px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1730 | font-weight: 400; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1731 | min-width: 54px; |
| 1732 | outline: 0; |
| 1733 | padding: 8px 15px; |
| 1734 | text-align: center; |
| 1735 | } |
| 1736 | .button, .button-secondary { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1737 | margin-right: 16px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1738 | font-weight: 400; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1739 | min-width: 54px; |
| 1740 | outline: 0; |
| 1741 | padding: 0 15px; |
| 1742 | text-align: center; |
| 1743 | } |
| 1744 | .button:hover, a.button:hover { |
| 1745 | border-color: #09c; |
| 1746 | background-color: #4cadcb; |
| 1747 | background-image: -webkit-gradient(linear, left top, left bottom, from(#5dbcd9), to(#4cadcb)); |
| 1748 | background-image: -webkit-linear-gradient(top, #5dbcd9, #4cadcb); |
| 1749 | background-image: -moz-linear-gradient(top, #5dbcd9, #4cadcb); |
| 1750 | background-image: -ms-linear-gradient(top, #5dbcd9, #4cadcb); |
| 1751 | background-image: -o-linear-gradient(top, #5dbcd9, #4cadcb); |
| 1752 | background-image: linear-gradient(top, #5dbcd9, #4cadcb); |
| 1753 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5dbcd9', |
| 1754 | EndColorStr='#4cadcb',GradientType=0); |
| 1755 | color: #fff !important; |
| 1756 | } |
| 1757 | .button:active, a.button:active { |
| 1758 | background-color: #1e799a; |
| 1759 | background-image: none; |
| 1760 | border-color: #30b7e6; |
| 1761 | } |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 1762 | a.button.big.subtitle { |
| 1763 | line-height:18px; |
| 1764 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1765 | .button-secondary:hover, a.button-secondary:hover { |
| 1766 | border-color: #dbdbdb; |
| 1767 | background-color: #f3f3f3; |
| 1768 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec)); |
| 1769 | background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec); |
| 1770 | background-image: -moz-linear-gradient(top, #f9f9f9, #ececec); |
| 1771 | background-image: -ms-linear-gradient(top, #f9f9f9, #ececec); |
| 1772 | background-image: -o-linear-gradient(top, #f9f9f9, #ececec); |
| 1773 | background-image: linear-gradient(top, #f9f9f9, #ececec); |
| 1774 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', |
| 1775 | EndColorStr='#ececec'); |
| 1776 | color: #33B5E5 !important; |
| 1777 | } |
| 1778 | .button-secondary:active, a.button-secondary:active { |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 1779 | border-color: #dadada; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1780 | background: #ebebeb; /* Old browsers */ |
| 1781 | /* IE9 SVG, needs conditional override of 'filter' to 'none' */ |
| 1782 | background: |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1783 | url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/ |
| 1784 | Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0Jv |
| 1785 | eD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+ |
| 1786 | CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIg |
| 1787 | eDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ViZWJl |
| 1788 | YiIgc3RvcC1vcGFjaXR5PSIxIi8+ |
| 1789 | CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIxIi8+ |
| 1790 | CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZhZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+ |
| 1791 | CiAgICA8c3RvcCBvZmZzZXQ9IjkwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIxIi8+ |
| 1792 | CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmY2ZjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFy |
| 1793 | R3JhZGllbnQ+ |
| 1794 | CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIg |
| 1795 | Lz4KPC9zdmc+); |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1796 | background: -moz-linear-gradient(top, #ebebeb 0%, #f9f9f9 5%, #fafafa 50%, #f9f9f9 90%, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1797 | #ffffff 100%); /* FF3.6+ */ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1798 | background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebebeb), |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1799 | color-stop(5%,#f9f9f9), color-stop(50%,#fafafa), color-stop(90%,#f9f9f9), color-stop(100%,#ffffff)); |
| 1800 | /* Chrome,Safari4+ */ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1801 | background: -webkit-linear-gradient(top, #ebebeb 0%,#f9f9f9 5%,#fafafa 50%,#f9f9f9 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1802 | 90%,#ffffff 100%); /* Chrome10+,Safari5.1+ */ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1803 | background: -o-linear-gradient(top, #ebebeb 0%,#f9f9f9 5%,#fafafa 50%,#f9f9f9 90%,#ffffff |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1804 | 100%); /* Opera 11.10+ */ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1805 | background: -ms-linear-gradient(top, #ebebeb 0%,#f9f9f9 5%,#fafafa 50%,#f9f9f9 90%,#ffffff |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1806 | 100%); /* IE10+ */ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1807 | background: linear-gradient(top, #ebebeb 0%,#f9f9f9 5%,#fafafa 50%,#f9f9f9 90%,#ffffff |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1808 | 100%); /* W3C */ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1809 | filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb', |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1810 | endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1811 | -webkit-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
| 1812 | -moz-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1813 | box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 1814 | color: #258AAF !important; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1815 | } |
| 1816 | .button.big { |
| 1817 | font-size:20px; |
| 1818 | display:inline-block; |
| 1819 | } |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 1820 | .button.big span.small { |
| 1821 | font-size:14px; |
| 1822 | } |
| 1823 | .button-caption { |
| 1824 | margin-top:10px; |
| 1825 | font-size:12px; |
| 1826 | font-style:italic; |
| 1827 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1828 | |
| 1829 | .button.disabled, |
| 1830 | .button.disabled:hover, |
| 1831 | .button.disabled:active { |
| 1832 | background:#ebebeb; |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 1833 | color:#999 !important; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1834 | border-color:#999; |
| 1835 | cursor:default; |
| 1836 | } |
| 1837 | |
| 1838 | .training-nav-top a.button-secondary, |
| 1839 | .training-nav-bottom a.button-secondary { |
| 1840 | display:block; |
| 1841 | float:left; |
| 1842 | margin:0; |
| 1843 | width:130px; |
| 1844 | text-transform:uppercase; |
| 1845 | font-weight:bold; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 1846 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1847 | background-color: #f3f3f3; |
| 1848 | background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec)); |
| 1849 | background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec); |
| 1850 | background-image: -moz-linear-gradient(top, #f9f9f9, #ececec); |
| 1851 | background-image: -ms-linear-gradient(top, #f9f9f9, #ececec); |
| 1852 | background-image: -o-linear-gradient(top, #f9f9f9, #ececec); |
| 1853 | background-image: linear-gradient(top, #f9f9f9, #ececec); |
| 1854 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', |
| 1855 | EndColorStr='#ececec'); |
| 1856 | color: #33B5E5; |
| 1857 | } |
| 1858 | |
| 1859 | .training-nav-top a.button-secondary:hover, |
| 1860 | .training-nav-bottom a.button-secondary:hover { |
| 1861 | background-color: #09c; |
| 1862 | background-image: -webkit-gradient(linear, left top, left bottom, from(#2faddb), to(#09c)); |
| 1863 | background-image: -webkit-linear-gradient(top, #2faddb, #09c); |
| 1864 | background-image: -moz-linear-gradient(top, #2faddb, #09c); |
| 1865 | background-image: -ms-linear-gradient(top, #2faddb, #09c); |
| 1866 | background-image: -o-linear-gradient(top, #2faddb, #09c); |
| 1867 | background-image: linear-gradient(top, #2faddb, #09c); |
| 1868 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#2faddb', EndColorStr='#09c'); |
| 1869 | border: 1px solid #3990ab; |
| 1870 | color: #fff !important; |
| 1871 | } |
| 1872 | |
| 1873 | .training-nav-top a.button-secondary.last, |
| 1874 | .training-nav-bottom a.button-secondary.last { |
| 1875 | border-left:0; |
| 1876 | } |
| 1877 | |
| 1878 | .training-nav-top a.button-secondary.double-size, |
| 1879 | .training-nav-bottom a.button-secondary.double-size { |
| 1880 | width:291px; |
| 1881 | } |
| 1882 | |
| 1883 | .training-nav-top, |
| 1884 | .training-nav-bottom { |
| 1885 | float:right; |
| 1886 | margin:0 0 0 20px; |
| 1887 | } |
| 1888 | |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 1889 | .training-nav-top { |
| 1890 | position:relative; |
| 1891 | top:73px; |
| 1892 | } |
| 1893 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1894 | .training-nav-bottom { |
| 1895 | padding:0 0 20px; |
| 1896 | } |
| 1897 | |
| 1898 | #tb-wrapper, |
| 1899 | #qv-wrapper { |
| 1900 | float:right; |
| 1901 | clear:right; |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 1902 | margin:6px 0 0 30px; /* negative top-margin to counter the content-header bottom margin */ |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 1903 | padding:0 0 30px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1904 | } |
| 1905 | |
Scott Main | cef3924 | 2013-06-19 20:25:34 -0700 | [diff] [blame] | 1906 | #tb-wrapper { |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 1907 | margin:51px 0 0 20px; /* negative top-margin to counter the content-header bottom margin */ |
Scott Main | cef3924 | 2013-06-19 20:25:34 -0700 | [diff] [blame] | 1908 | } |
| 1909 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1910 | #tb, |
| 1911 | #qv { |
| 1912 | font-size:13px; |
| 1913 | line-height:18px; |
| 1914 | width:238px; |
| 1915 | border:1px solid #ccc; |
| 1916 | float:right; |
| 1917 | } |
| 1918 | |
| 1919 | #tb { |
| 1920 | width:278px; |
| 1921 | } |
| 1922 | |
| 1923 | #tb h2, |
| 1924 | #qv h2 { |
| 1925 | margin:10px 15px; |
| 1926 | padding:0; |
| 1927 | text-transform:uppercase; |
| 1928 | border-bottom:1px solid gainsboro; |
| 1929 | } |
| 1930 | |
| 1931 | #tb *, |
| 1932 | #qv * { |
| 1933 | font-size:inherit; |
| 1934 | } |
| 1935 | |
Scott Main | 8c0f5b3 | 2013-07-08 15:12:02 -0700 | [diff] [blame] | 1936 | #tb .download-box, |
| 1937 | #qv .download-box { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1938 | padding:0 0 0 15px; |
| 1939 | } |
| 1940 | |
Scott Main | 8c0f5b3 | 2013-07-08 15:12:02 -0700 | [diff] [blame] | 1941 | #tb .download-box .filename, |
| 1942 | #qv .download-box .filename { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1943 | font-size:11px; |
| 1944 | margin:4px 4px 10px; |
| 1945 | color:#666; |
| 1946 | } |
| 1947 | |
| 1948 | |
| 1949 | /* Dev guide quicknav */ |
| 1950 | |
| 1951 | .sidebox-wrapper { |
| 1952 | float:right; |
| 1953 | clear:right; |
| 1954 | margin:0 0 0 20px; |
| 1955 | padding:0 0 20px; |
| 1956 | } |
| 1957 | |
| 1958 | .sidebox { |
| 1959 | width:226px; |
| 1960 | font-size:13px; |
| 1961 | line-height:18px; |
| 1962 | border-left:4px solid #99CC00; |
| 1963 | float:right; |
| 1964 | padding:0 0 0 10px; |
Scott Main | 24bbcd5 | 2012-09-21 14:33:43 -0700 | [diff] [blame] | 1965 | margin:0 0 1em 20px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1966 | } |
| 1967 | |
| 1968 | .sidebox h2, |
| 1969 | .sidebox h3, |
| 1970 | .sidebox h4, |
| 1971 | .sidebox h5 { |
| 1972 | font-weight:bold; |
| 1973 | margin:0 0 10px; |
Scott Main | 2c2c053 | 2014-02-11 18:16:20 -0800 | [diff] [blame] | 1974 | line-height: 16px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1975 | } |
| 1976 | |
| 1977 | .sidebox * { |
| 1978 | font-size:inherit; |
| 1979 | } |
| 1980 | |
Scott Main | afc4db3 | 2013-11-20 16:53:12 -0800 | [diff] [blame] | 1981 | .sidebox > *:last-child { |
| 1982 | margin-bottom:0; |
| 1983 | } |
| 1984 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1985 | #tb ol, |
| 1986 | #tb ul, |
| 1987 | #qv ul { |
| 1988 | margin:0 15px 10px 35px; |
| 1989 | } |
| 1990 | |
smain@google.com | 9cb34ea | 2014-06-13 17:47:43 -0700 | [diff] [blame] | 1991 | #tb p { |
| 1992 | margin:0 15px 10px; |
| 1993 | } |
| 1994 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 1995 | #qv ol { |
| 1996 | list-style:none; |
| 1997 | margin:0 15px 15px; |
| 1998 | font-size:inherit; |
| 1999 | line-height:inherit; |
| 2000 | } |
| 2001 | |
| 2002 | #tb ol ol, |
| 2003 | #tb ul ul, |
| 2004 | #qv ol ol, |
| 2005 | #qv ul ul, |
| 2006 | .sidebox ol ol, |
| 2007 | .sidebox ul ul { |
| 2008 | margin-bottom:0; |
| 2009 | } |
| 2010 | |
| 2011 | #qv ol ol { |
| 2012 | margin:3px 0 3px 15px; |
| 2013 | } |
| 2014 | |
| 2015 | .sidebox p, |
| 2016 | #qv p, |
| 2017 | #tb p { |
| 2018 | margin: 0 0 10px; |
| 2019 | } |
| 2020 | |
Dirk Dougherty | 547d9e9 | 2013-04-15 18:13:47 -0700 | [diff] [blame] | 2021 | /* related resources blocks in checklists */ |
| 2022 | |
Dirk Dougherty | 2e3fb81 | 2014-06-01 21:28:20 -0700 | [diff] [blame] | 2023 | /* related resources sections that have dynamic content */ |
Dirk Dougherty | 547d9e9 | 2013-04-15 18:13:47 -0700 | [diff] [blame] | 2024 | |
Dirk Dougherty | 547d9e9 | 2013-04-15 18:13:47 -0700 | [diff] [blame] | 2025 | |
Dirk Dougherty | 547d9e9 | 2013-04-15 18:13:47 -0700 | [diff] [blame] | 2026 | |
Dirk Dougherty | 2e3fb81 | 2014-06-01 21:28:20 -0700 | [diff] [blame] | 2027 | h3.rel-resources { |
| 2028 | margin:1.25em auto; |
Dirk Dougherty | 547d9e9 | 2013-04-15 18:13:47 -0700 | [diff] [blame] | 2029 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2030 | |
| 2031 | /* -------------------------------------------------------------------------- |
| 2032 | Form |
| 2033 | */ |
| 2034 | .article form { |
| 2035 | margin: 0 0 20px; |
| 2036 | } |
| 2037 | .article form .form-required { |
| 2038 | color: #dd4b39; |
| 2039 | } |
| 2040 | .article form fieldset { |
| 2041 | margin: 0 0 20px; |
| 2042 | padding: 0; |
| 2043 | } |
| 2044 | .article form legend { |
| 2045 | display: block; |
| 2046 | line-height: 1.5; |
| 2047 | margin: 0; |
| 2048 | padding: 0; |
| 2049 | } |
| 2050 | /* |
| 2051 | .article form ol, .article form ul { |
| 2052 | margin: 0 0 0 1em; |
| 2053 | padding: 0 0 0 1em; |
| 2054 | } |
| 2055 | [dir='rtl'] .article form ol, [dir='rtl'] .article form ul { |
| 2056 | margin: 0 1em 0 0; |
| 2057 | padding: 0 1em 0 0; |
| 2058 | } |
| 2059 | .article form ol ul, .article form ul ul, [dir='rtl'] .article form ol ul, [dir='rtl'] .article form |
| 2060 | ul ul { |
| 2061 | list-style: none; |
| 2062 | margin: 0; |
| 2063 | padding: 0; |
| 2064 | } |
| 2065 | .article form li { |
| 2066 | margin: 0 0 20px; |
| 2067 | } |
| 2068 | .article form li li { |
| 2069 | margin: 0 0 5px; |
| 2070 | } |
| 2071 | */ |
| 2072 | .article form label { |
| 2073 | display: block; |
| 2074 | margin: 0 0 5px; |
| 2075 | padding: 0; |
| 2076 | } |
| 2077 | .article form input[type='text'], .article form select, .article form textarea, .article form |
| 2078 | .checkbox-group, .article form .radio-group { |
| 2079 | margin-bottom: 15px; |
| 2080 | } |
| 2081 | .checkbox-group input { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2082 | width: 13px; |
| 2083 | height: 13px; |
| 2084 | background: #fff; |
| 2085 | border: solid 1px #c6c6c6; |
| 2086 | float: left; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2087 | } |
| 2088 | .article form .checkbox-group, .article form .radio-group { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2089 | display: block |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2090 | } |
| 2091 | .article form select { |
| 2092 | border: solid 1px #ebebeb; |
| 2093 | border-top-color: #ddd; |
| 2094 | -webkit-appearance: none; |
| 2095 | background: #f3f3f3 url(../images/arrows-up-down.png) right center no-repeat; |
| 2096 | height: 30px; |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 2097 | color: #222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2098 | line-height: normal; |
| 2099 | padding: 5px; |
| 2100 | width: 130px; |
| 2101 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2102 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2103 | .article form .browse .browse-msg { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2104 | font-size: 11.5px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2105 | } |
| 2106 | .article form .browse .button-secondary { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2107 | height: auto; |
| 2108 | line-height: 25px; |
| 2109 | font-size: 11px; |
| 2110 | padding: 0 8px; |
| 2111 | margin: 0 10px 15px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2112 | } |
| 2113 | .article form input[type='text'], .article form textarea { |
| 2114 | border: 1px solid #ebebeb; |
| 2115 | border-top-color: #dcdcdc; |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 2116 | color: #222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2117 | line-height: normal; |
| 2118 | padding: 6px 10px; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2119 | width: 300px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2120 | } |
| 2121 | .article form textarea { |
| 2122 | height: 150px; |
| 2123 | } |
| 2124 | .article form input[type='text']:focus, .article form textarea:focus { |
| 2125 | border-color: #33B5E5; |
| 2126 | -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); |
| 2127 | -o-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); |
| 2128 | -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); |
| 2129 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2); |
| 2130 | outline: 0; |
| 2131 | } |
| 2132 | .article form input[disabled], .article form textarea[disabled], .article form label.form-disabled { |
| 2133 | color: #999; |
| 2134 | } |
| 2135 | .article form input[type='text'][disabled], .article form textarea[disabled] { |
| 2136 | background-color: #ebebeb; |
| 2137 | } |
| 2138 | form .form-error input[type='text'], form .form-error textarea { |
| 2139 | border-color: #dd4b39; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2140 | margin-right: 20px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2141 | } |
| 2142 | .aside { |
| 2143 | -moz-border-radius: 2px; |
| 2144 | -webkit-border-radius: 2px; |
| 2145 | border-radius: 2px; |
| 2146 | margin: 10px 0; |
| 2147 | padding: 20px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2148 | color: #666; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2149 | position: relative; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2150 | background: #f9f9f9; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2151 | } |
| 2152 | /* |
| 2153 | .aside, .notification, .promo { |
| 2154 | -moz-border-radius: 2px; |
| 2155 | -webkit-border-radius: 2px; |
| 2156 | border-radius: 2px; |
| 2157 | margin: 10px 0; |
| 2158 | padding: 10px; |
| 2159 | position: relative; |
| 2160 | } |
| 2161 | .aside>:first-child, .notification>:first-child, .promo>:first-child { |
| 2162 | margin-top: 0; |
| 2163 | } |
| 2164 | .aside>:last-child, .notification>:last-child, .promo>:last-child { |
| 2165 | margin-bottom: 0; |
| 2166 | } |
| 2167 | .aside { |
| 2168 | background: #f9f9f9; |
| 2169 | } |
| 2170 | .notification { |
| 2171 | background: #fffbe4; |
| 2172 | border-color: #f8f6e6; |
| 2173 | } |
| 2174 | .promo { |
| 2175 | background: #f6f9ff; |
| 2176 | border-color: #eff2f9; |
| 2177 | } |
| 2178 | */ |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 2179 | |
| 2180 | /* SDK TOS styles */ |
| 2181 | |
| 2182 | div.sdk-terms { |
| 2183 | white-space: pre-wrap; |
| 2184 | word-wrap: break-word; |
| 2185 | font-family: inherit; |
| 2186 | font-size: inherit; |
| 2187 | padding: 10px; |
| 2188 | height: 370px; |
| 2189 | width: 738px; |
| 2190 | border: 1px solid #444; |
| 2191 | background: transparent; |
| 2192 | overflow:auto; |
| 2193 | margin:0 0 10px; |
| 2194 | } |
| 2195 | |
| 2196 | div.sdk-terms.fullsize { |
| 2197 | padding: 0; |
| 2198 | height: auto; |
| 2199 | width: auto; |
| 2200 | border:none; |
| 2201 | } |
| 2202 | |
| 2203 | div.sdk-terms h3, |
| 2204 | div.sdk-terms h2 { |
| 2205 | margin:0; |
| 2206 | } |
| 2207 | |
| 2208 | div#sdk-terms-form { |
| 2209 | padding:0 0 0 10px; |
| 2210 | } |
| 2211 | |
Scott Main | 11ac05b | 2012-11-15 14:57:44 -0800 | [diff] [blame] | 2212 | div#sdk-terms-form input { |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 2213 | display:inline; |
| 2214 | margin:4px 4px 4px 0; |
| 2215 | } |
| 2216 | |
| 2217 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2218 | /* -------------------------------------------------------------------------- |
| 2219 | Code Style |
| 2220 | */ |
| 2221 | pre { |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 2222 | margin:0 0 1em 0; |
| 2223 | padding: 1em; |
| 2224 | overflow: auto; |
| 2225 | border: solid 1px #ddd; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2226 | background: #f7f7f7; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2227 | } |
Scott Main | 70557ee | 2013-10-30 14:47:40 -0700 | [diff] [blame] | 2228 | .str { color: #800; } /* Code string */ |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2229 | .kwd { color: #008; } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2230 | .typ { color: #606; } |
| 2231 | .lit { color: #066; } |
| 2232 | .pun { color: #660; } |
| 2233 | .pln { color: #000; } |
| 2234 | .tag { color: #008; } |
| 2235 | .atn { color: #828; } |
Scott Main | 70557ee | 2013-10-30 14:47:40 -0700 | [diff] [blame] | 2236 | .atv { color: #800; } /* XML string */ |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2237 | .dec { color: #606; } |
| 2238 | |
| 2239 | /* -------------------------------------------------------------------------- |
| 2240 | Three-Pane |
| 2241 | */ |
| 2242 | /* Package Nav & Classes Nav */ |
| 2243 | .three-pane { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2244 | position: relative; |
| 2245 | border-top: solid 1px #ebebeb; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2246 | } |
| 2247 | #packages-nav .js-pane, |
| 2248 | #classes-nav .js-pane { |
| 2249 | overflow:visible; |
| 2250 | } |
| 2251 | #packages-nav { |
| 2252 | height:270px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2253 | max-height: inherit; |
| 2254 | overflow: hidden; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2255 | position: relative; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2256 | } |
| 2257 | #classes-nav { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2258 | overflow: hidden; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2259 | position: relative; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2260 | } |
| 2261 | #packages-nav ul, #classes-nav ul { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2262 | list-style-type: none; |
| 2263 | margin: 10px 0 20px 0; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2264 | padding: 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2265 | } |
| 2266 | #classes-nav li { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2267 | font-weight: bold; |
| 2268 | margin: 5px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2269 | } |
| 2270 | #packages-nav li, |
| 2271 | #classes-nav li li { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2272 | margin: 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2273 | } |
| 2274 | #packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited, |
| 2275 | #classes-nav li a, #classes-nav li a:active, #classes-nav li a:visited { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2276 | padding: 0 0 0 4px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2277 | } |
| 2278 | #packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited, |
| 2279 | #classes-nav li li a, #classes-nav li li a:active, #classes-nav li li a:visited, |
| 2280 | #nav-tree li a, #nav-tree li a:active, #nav-tree li a:visited { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2281 | color: #222; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2282 | font-weight: normal; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2283 | } |
| 2284 | #packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited, |
| 2285 | #classes-nav li li a, #classes-nav li li a:active, #classes-nav li li a:visited { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2286 | display: block; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2287 | } |
| 2288 | #packages-nav li.selected a, #packages-nav li.selected a:active, #packages-nav li.selected |
| 2289 | a:visited, |
| 2290 | #classes-nav li li.selected a, #classes-nav li li.selected a:active, #classes-nav li li.selected |
| 2291 | a:visited, |
| 2292 | #nav-tree li div.selected { |
| 2293 | font-weight: 500; |
| 2294 | color: #0099cc; |
| 2295 | background-color:#fff; } |
| 2296 | #packages-nav li.selected ul li a, |
| 2297 | #classes-nav li.selected ul li a { |
| 2298 | /* don't highlight child items */ |
| 2299 | color: #555555; } |
| 2300 | #nav-tree li div.selected a { |
| 2301 | font-weight: 500; |
| 2302 | color: #0099cc; |
| 2303 | } |
| 2304 | #nav-swap { |
| 2305 | height:30px; |
| 2306 | border-top:1px solid #ccc; |
| 2307 | } |
| 2308 | #nav-swap a { |
| 2309 | display:inline-block; |
| 2310 | height:100%; |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 2311 | color: #222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2312 | font-size: 12px; |
| 2313 | padding: 5px 0 5px 5px; |
| 2314 | } |
| 2315 | |
| 2316 | #nav-swap .fullscreen { |
| 2317 | float: right; |
| 2318 | width: 24px; |
| 2319 | height: 24px; |
| 2320 | text-indent: -1000em; |
| 2321 | padding:0; |
| 2322 | margin:3px 5px 0; |
| 2323 | background: url(../images/fullscreen.png) no-repeat -24px 0; |
| 2324 | } |
| 2325 | #nav-swap .fullscreen.disabled { |
| 2326 | background-position: 0 0; |
| 2327 | } |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2328 | #nav-swap .fullscreen:hover, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2329 | #nav-swap .fullscreen:focus { |
| 2330 | cursor:pointer; |
| 2331 | } |
| 2332 | |
| 2333 | |
| 2334 | /* nav tree */ |
Scott Main | 42d6e58 | 2013-11-20 19:30:41 -0800 | [diff] [blame] | 2335 | #side-nav, #swapper, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2336 | #nav-tree, #tree-list { |
| 2337 | overflow:hidden; |
| 2338 | margin-left:0; |
| 2339 | } |
| 2340 | |
Scott Main | 42d6e58 | 2013-11-20 19:30:41 -0800 | [diff] [blame] | 2341 | #devdoc-nav { |
| 2342 | overflow:visible !important; /* To keep the "to top" button visible */ |
| 2343 | } |
| 2344 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2345 | #nav-tree ul { |
| 2346 | list-style:none; |
| 2347 | padding:0; |
| 2348 | margin:10px 0; |
| 2349 | } |
| 2350 | |
| 2351 | #nav-tree ul li div { |
| 2352 | padding:0 0 0 4px; |
| 2353 | } |
| 2354 | |
| 2355 | #side-nav #nav-tree ul li a, |
| 2356 | #side-nav #nav-tree ul li span.no-children { |
| 2357 | padding: 0; |
| 2358 | margin: 0; |
| 2359 | } |
| 2360 | |
| 2361 | #nav-tree .plus { |
| 2362 | margin: 0 3px 0 0; |
| 2363 | } |
| 2364 | |
| 2365 | #nav-tree ul ul { |
| 2366 | list-style: none; |
| 2367 | margin: 0; |
| 2368 | padding: 0 0 0 0; |
| 2369 | } |
| 2370 | |
| 2371 | #nav-tree ul li { |
| 2372 | margin: 0; |
| 2373 | padding: 0 0 0 0; |
| 2374 | white-space: nowrap; |
| 2375 | } |
| 2376 | |
| 2377 | #nav-tree .children_ul { |
| 2378 | padding:0; |
| 2379 | margin:0; |
| 2380 | } |
| 2381 | #nav-tree .children_ul li div { |
| 2382 | padding:0 0 0 10px; |
| 2383 | } |
| 2384 | #nav-tree .children_ul .children_ul li div { |
| 2385 | padding:0 0 0 20px; |
| 2386 | } |
| 2387 | |
| 2388 | #nav-tree a.nolink { |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 2389 | color: #222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2390 | text-decoration: none; |
| 2391 | } |
| 2392 | |
| 2393 | #nav-tree span.label { |
| 2394 | width: 100%; |
| 2395 | } |
| 2396 | |
| 2397 | #nav-tree { |
| 2398 | overflow-x: auto; |
| 2399 | overflow-y: scroll; |
| 2400 | outline:0; |
| 2401 | } |
| 2402 | |
| 2403 | |
| 2404 | /* Content */ |
| 2405 | #doc-col { |
| 2406 | margin-right:0; |
| 2407 | } |
smain@google.com | b8281c7 | 2014-06-19 09:51:30 -0700 | [diff] [blame] | 2408 | |
| 2409 | /* Uncomment this for preview release watermark |
| 2410 | #doc-col { |
| 2411 | background: url('../images/preview.png') repeat; |
| 2412 | } |
| 2413 | */ |
| 2414 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2415 | #doc-content-container { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2416 | margin-left: 291px |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2417 | } |
| 2418 | #doc-header, #doc-content { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2419 | padding: 1em 2em; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2420 | } |
| 2421 | #doc-header { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2422 | background: #f7f7f7; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2423 | } |
| 2424 | #doc-header h1 { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2425 | line-height: 0; |
| 2426 | margin-bottom: 15px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2427 | } |
| 2428 | #api-info-block { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2429 | float: right; |
| 2430 | font-weight: bold; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2431 | } |
| 2432 | #api-info-block a, #api-info-block a:active, #api-info-block a:visited { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2433 | color: #222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2434 | } |
| 2435 | #api-info-block a:hover, #api-info-block a:focus { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2436 | color: #33B5E5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2437 | } |
| 2438 | #api-nav-header { |
| 2439 | height:19px; /* plus 16px padding = 35; same as #nav li */ |
| 2440 | font-size:14px; |
| 2441 | padding: 8px 0; |
| 2442 | margin: 0; |
| 2443 | border-bottom: 1px solid #CCC; |
| 2444 | background:#e9e9e9; |
| 2445 | background: rgba(0, 0, 0, 0.05); /* matches #nav li.expanded */ |
| 2446 | |
| 2447 | } |
| 2448 | #api-nav-title { |
| 2449 | padding:0 5px; |
| 2450 | white-space:nowrap; |
| 2451 | } |
| 2452 | |
| 2453 | #api-level-toggle { |
| 2454 | float:right; |
| 2455 | padding:0 5px; |
| 2456 | } |
| 2457 | |
| 2458 | #api-level-toggle label { |
| 2459 | margin:0; |
| 2460 | vertical-align:top; |
| 2461 | line-height: 19px; |
| 2462 | font-size:13px; |
| 2463 | height: 19px; |
| 2464 | } |
| 2465 | |
| 2466 | #api-level-toggle .select-wrapper { |
| 2467 | width: 35px; |
| 2468 | display: inline-block; |
| 2469 | overflow: hidden; |
| 2470 | } |
| 2471 | #api-level-toggle select { |
| 2472 | border: 0; |
| 2473 | appearance:none; |
| 2474 | -moz-appearance:none; |
| 2475 | -webkit-appearance: none; |
| 2476 | background: transparent url(../images/arrows-up-down.png) 23px 5px no-repeat; |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 2477 | color: #222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2478 | height: 19px; |
| 2479 | line-height: 19px; |
| 2480 | padding: 0; |
| 2481 | margin:1px 0 0 0; |
| 2482 | width:150%; |
| 2483 | font-size:13px; |
| 2484 | vertical-align:top; |
| 2485 | outline:0; |
| 2486 | } |
| 2487 | |
| 2488 | |
| 2489 | /* Toggle for revision notes and stuff */ |
| 2490 | div.toggle-content.closed .toggle-content-toggleme { |
| 2491 | display:none; |
| 2492 | } |
| 2493 | |
| 2494 | #jd-content img.toggle-content-img { |
| 2495 | margin:0 5px 5px 0; |
| 2496 | } |
Dirk Dougherty | f5ffd4a | 2013-08-19 12:26:07 -0700 | [diff] [blame] | 2497 | |
Scott Main | 220c344 | 2012-07-16 15:40:17 -0700 | [diff] [blame] | 2498 | div.toggle-content-toggleme { |
| 2499 | padding:0 0 0 15px; |
Scott Main | 03c972c | 2012-06-26 22:23:22 -0700 | [diff] [blame] | 2500 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2501 | |
| 2502 | |
| 2503 | /* API LEVEL FILTERED MEMBERS */ |
| 2504 | |
| 2505 | .absent, |
| 2506 | .absent a:link, |
| 2507 | .absent a:visited, |
| 2508 | .absent a:hover, |
| 2509 | .absent * { |
| 2510 | color:#bbb !important; |
| 2511 | cursor:default !important; |
| 2512 | text-decoration:none !important; |
| 2513 | } |
| 2514 | #devdoc-nav li.absent.selected, |
| 2515 | #devdoc-nav li.absent.selected *, |
| 2516 | #devdoc-nav div.label.absent.selected, |
| 2517 | #devdoc-nav div.label.absent.selected * { |
| 2518 | background-color:#eaeaea !important; |
| 2519 | } |
| 2520 | .absent h4.jd-details-title, |
| 2521 | .absent h4.jd-details-title * { |
| 2522 | background-color:#f6f6f6 !important; |
| 2523 | } |
| 2524 | .absent img { |
| 2525 | opacity: .3; |
| 2526 | filter: alpha(opacity=30); |
| 2527 | -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; |
| 2528 | } |
| 2529 | |
| 2530 | |
| 2531 | |
| 2532 | |
| 2533 | |
| 2534 | |
| 2535 | |
| 2536 | |
| 2537 | |
| 2538 | /* JQUERY RESIZABLE STYLES */ |
| 2539 | .ui-resizable { position: relative; } |
| 2540 | .ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; } |
| 2541 | .ui-resizable .ui-resizable-handle { display: block; border-bottom: 1px solid #e4e4e4; } |
| 2542 | /*body .ui-resizable-disabled .ui-resizable-handle { display: none; } |
| 2543 | body .ui-resizable-autohide .ui-resizable-handle { display: none; }*/ |
| 2544 | .ui-resizable-s { cursor: s-resize; height: 10px; width: 100% !important; bottom: -11px; left: 0; |
| 2545 | border-bottom: solid 1px #ededed; |
| 2546 | background: #f7f7f7 url("../images/resizable-s2.png") no-repeat scroll center center; } |
| 2547 | /* |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2548 | .ui-resizable-e { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2549 | cursor: e-resize; width: 10px; right: 0; top: 0; height: 100%; border-right: solid |
| 2550 | 1px #ededed;background: #f7f7f7 url("../images/resizable-e2.png") no-repeat scroll center center; } |
| 2551 | */ |
| 2552 | |
| 2553 | /* -------------------------------------------------------------------------- |
| 2554 | Lightbox |
| 2555 | */ |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2556 | .lightbox { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2557 | width: 769px; |
| 2558 | padding: 1.5em; |
| 2559 | margin: 0 auto; |
| 2560 | border: solid 1px #dcdcdc; |
| 2561 | background: #fff; |
| 2562 | -moz-box-shadow: 1px 1px 5px rgba(0,0,0,0.1); |
| 2563 | -webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.1); |
| 2564 | box-shadow: 1px 1px 5px rgba(0,0,0,0.1) |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2565 | } |
| 2566 | .lightbox .header { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2567 | float: left; |
| 2568 | width: 720px; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2569 | margin: -10px 20px 10px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2570 | } |
| 2571 | .lightbox .close { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2572 | float: right; |
| 2573 | width: 10px; |
| 2574 | height: 10px; |
| 2575 | margin: -10px -10px 10px 0; |
| 2576 | text-indent: -1000em; |
| 2577 | background: url(../images/close.png) no-repeat 0 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2578 | } |
| 2579 | .lightbox .close:hover, .lightbox .close:focus { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2580 | background-position: -10px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2581 | } |
| 2582 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 2583 | /* -------------------------------------------------------------------------- |
Dirk Dougherty | bb2b553 | 2013-11-16 16:07:51 -0800 | [diff] [blame] | 2584 | Styles for samples browser |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 2585 | */ |
| 2586 | |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 2587 | #codesample-wrapper { |
Scott Main | 70557ee | 2013-10-30 14:47:40 -0700 | [diff] [blame] | 2588 | width:100000px; /* super wide to contain floats, but doesn't cause scroll */ |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 2589 | overflow:visible; |
| 2590 | } |
| 2591 | pre#codesample-block { |
| 2592 | float:left; |
| 2593 | overflow:visible; |
| 2594 | background:transparent; |
| 2595 | border:none; |
| 2596 | } |
Scott Main | f1435b7 | 2013-10-30 16:27:38 -0700 | [diff] [blame] | 2597 | pre#codesample-block a.number { |
| 2598 | display:none; |
| 2599 | } |
Scott Main | 498d710 | 2013-08-21 15:47:38 -0700 | [diff] [blame] | 2600 | pre#codesample-block .code-line:hover { |
| 2601 | background:#e7e7e7; |
| 2602 | } |
| 2603 | pre#codesample-line-numbers { |
| 2604 | float:left; |
| 2605 | width:2em; |
| 2606 | background:transparent; |
| 2607 | border:none; |
| 2608 | border-right:1px solid #ccc; |
| 2609 | padding-left:0; |
| 2610 | font-family:monospace; |
| 2611 | text-align:right; |
| 2612 | -webkit-touch-callout: none; |
| 2613 | -webkit-user-select: none; |
| 2614 | -khtml-user-select: none; |
| 2615 | -moz-user-select: -moz-none; |
| 2616 | -ms-user-select: none; |
| 2617 | user-select: none; |
| 2618 | } |
| 2619 | pre#codesample-line-numbers a { |
| 2620 | color:#999; |
| 2621 | } |
| 2622 | pre#codesample-line-numbers.hidden { |
| 2623 | display:none; |
| 2624 | } |
| 2625 | pre#codesample-block span.code-line { |
| 2626 | width:100%; |
| 2627 | display:inline-block; |
| 2628 | } |
| 2629 | |
Dirk Dougherty | bb2b553 | 2013-11-16 16:07:51 -0800 | [diff] [blame] | 2630 | /* |
| 2631 | Styles for displaying image or video resources in samples browser. |
| 2632 | Resources are marked as no-display if they exceed the size limit. |
| 2633 | */ |
| 2634 | div#codesample-resource img, div#codesample-resource video { |
| 2635 | border: 1px solid #ececec; |
| 2636 | } |
| 2637 | |
| 2638 | div#codesample-resource.noDisplay div { |
| 2639 | border: 1px solid #ececec; |
| 2640 | width:120px; |
| 2641 | margin-bottom:4px; |
| 2642 | padding:20px; |
| 2643 | } |
| 2644 | |
| 2645 | div#codesample-resource .noDisplay-message:after { |
| 2646 | font-style:italic; |
| 2647 | font-size:12px; |
| 2648 | content: 'This resource is not available for browsing. To view it, please download the project.'; |
| 2649 | } |
| 2650 | |
| 2651 | /* |
| 2652 | Styles for project structure (treeview) page |
| 2653 | */ |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 2654 | .structure-dir { |
| 2655 | background-image:url(../../assets/images/folder.png); |
| 2656 | background-repeat:no-repeat; |
| 2657 | background-position:16px 2px; |
| 2658 | margin:.25em 0 0 0; |
| 2659 | padding:0 0 0 0; |
| 2660 | } |
| 2661 | |
| 2662 | .structure-toggleme { |
| 2663 | margin:0 0 0 3em; |
| 2664 | padding:0 0 0 0; |
| 2665 | text-decoration:none; |
| 2666 | } |
| 2667 | |
| 2668 | .structure-java{ |
| 2669 | background-image:url(../../assets/images/file-java.png); |
| 2670 | background-repeat:no-repeat; |
| 2671 | background-position:0px 2px; |
| 2672 | margin:.3em 0 0 0; |
| 2673 | padding:.3em 0 .3em 22px; |
| 2674 | } |
| 2675 | |
| 2676 | .structure-file { |
| 2677 | background-image:url(../../assets/images/file-generic.png); |
| 2678 | background-repeat:no-repeat; |
| 2679 | background-position:0px 2px; |
| 2680 | margin:.3em 0 0 0; |
| 2681 | padding:.3em 0 .3em 22px; |
| 2682 | } |
| 2683 | |
| 2684 | .structure-xml { |
| 2685 | background-image:url(../../assets/images/file-xml.png); |
| 2686 | background-repeat:no-repeat; |
| 2687 | background-position:0px 2px; |
| 2688 | margin:.3em 0 0 0; |
| 2689 | padding:.3em 0 .25em 22px; |
| 2690 | } |
| 2691 | |
| 2692 | .structure-img { |
| 2693 | background-image:url(../../assets/images/file-image.png); |
| 2694 | background-repeat:no-repeat; |
| 2695 | background-position:0px 2px; |
| 2696 | margin:.3em 0 0 0; |
| 2697 | padding:.3em 0 .25em 22px; |
| 2698 | } |
| 2699 | |
| 2700 | .structure-manifest { |
| 2701 | background-image:url(../../assets/images/file-manifest.png); |
| 2702 | background-repeat:no-repeat; |
| 2703 | margin:.0 0 0 1.25em; |
| 2704 | padding:0 0 0 22px; |
| 2705 | text-decoration:none; |
| 2706 | } |
| 2707 | |
| 2708 | #jd-content .structure-toggle-img { |
| 2709 | margin:.5em 0 0 0; |
| 2710 | padding-right:2.1em; |
| 2711 | } |
| 2712 | |
| 2713 | .dirInfo { |
| 2714 | margin-left:2em; |
| 2715 | } |
| 2716 | |
| 2717 | .structure-dir a { |
| 2718 | text-decoration:none; |
| 2719 | } |
| 2720 | |
| 2721 | .structure-manifest a { |
| 2722 | text-decoration: none; |
| 2723 | } |
| 2724 | .structure-file a { |
| 2725 | text-decoration: none; |
| 2726 | } |
| 2727 | |
| 2728 | .sampleEmbed { |
| 2729 | background-color:rgb(249, 249, 249); |
| 2730 | } |
| 2731 | |
| 2732 | .sampleEmbed ol.lineNumbers { |
| 2733 | list-style-type: decimal; |
| 2734 | padding-left:1em; |
| 2735 | } |
| 2736 | |
| 2737 | .sampleEmbed ol.lineNumbers li { |
| 2738 | border-left:1px solid #ddd; |
| 2739 | border-right:1px solid #ddd; |
| 2740 | color:gray; |
| 2741 | background-color:#f7f7f7; |
| 2742 | margin:0 0 0 24px; |
| 2743 | padding: 2px 2px 2px 6px; |
| 2744 | } |
| 2745 | |
| 2746 | .sampleEmbed ol.lineNumbers li:hover { |
| 2747 | background: #efefef; |
| 2748 | } |
| 2749 | |
Scott Main | 0ad622b | 2013-09-04 21:14:06 -0700 | [diff] [blame] | 2750 | .samples-nav li a { |
| 2751 | overflow: hidden; |
| 2752 | text-overflow: ellipsis; |
| 2753 | white-space: nowrap; |
| 2754 | } |
| 2755 | |
Dirk Dougherty | 4f7e515 | 2010-09-16 10:43:40 -0700 | [diff] [blame] | 2756 | /* -------------------------------------------------------------------------- |
| 2757 | Styles for raw formatted line numbers (not used with listformatted version) |
| 2758 | div.sampleLine div.lineNumber { |
| 2759 | display: inline; |
| 2760 | } |
| 2761 | div.sampleLine div.lineCode { |
| 2762 | display: inline; |
| 2763 | padding-left:6px; |
| 2764 | } |
| 2765 | div.sampleLine { |
| 2766 | padding:0; |
| 2767 | margin:0; |
| 2768 | }*/ |
| 2769 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2770 | /* -------------------------------------------------------------------------- |
Dirk Dougherty | 4c2dfcf | 2013-07-08 16:05:05 -0700 | [diff] [blame] | 2771 | Butterbar |
| 2772 | */ |
| 2773 | #butterbar-wrapper { |
| 2774 | position:absolute; |
| 2775 | top:0; |
| 2776 | left:0; |
| 2777 | width:100%; |
| 2778 | } |
| 2779 | #butterbar { |
smain@google.com | c69af6f | 2014-10-15 12:48:58 -0700 | [diff] [blame] | 2780 | width:100%; |
Dirk Dougherty | 4c2dfcf | 2013-07-08 16:05:05 -0700 | [diff] [blame] | 2781 | margin:0 auto; |
| 2782 | } |
| 2783 | #butterbar-message { |
smain@google.com | c69af6f | 2014-10-15 12:48:58 -0700 | [diff] [blame] | 2784 | background-color:rgba(255, 187, 51, .4); |
| 2785 | font-size:13px; |
| 2786 | padding: 5px 0; |
| 2787 | text-align:center; |
Dirk Dougherty | 4c2dfcf | 2013-07-08 16:05:05 -0700 | [diff] [blame] | 2788 | } |
smain@google.com | c69af6f | 2014-10-15 12:48:58 -0700 | [diff] [blame] | 2789 | a#butterbar-message { |
| 2790 | cursor:pointer; |
| 2791 | display:block; |
| 2792 | } |
| 2793 | a#butterbar-message:hover { |
| 2794 | text-decoration:underline; |
| 2795 | } |
Dirk Dougherty | 4c2dfcf | 2013-07-08 16:05:05 -0700 | [diff] [blame] | 2796 | |
| 2797 | /* -------------------------------------------------------------------------- |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2798 | Misc |
| 2799 | */ |
| 2800 | |
| 2801 | |
| 2802 | .clearfix:before, .clearfix:after { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2803 | content: ""; |
| 2804 | display: table |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2805 | } |
| 2806 | .clearfix:after { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2807 | clear: both |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2808 | } |
| 2809 | .clearfix { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2810 | *zoom: 1 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2811 | } |
| 2812 | table.blank th, table.blank td { |
| 2813 | border: 0; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2814 | background: none |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2815 | } |
| 2816 | .caption { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 2817 | margin: 0.5em 0 2em 0; |
| 2818 | color: #000; |
Scott Main | b16376f | 2014-05-21 20:35:47 -0700 | [diff] [blame] | 2819 | font-size: 11.5px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2820 | } |
| 2821 | |
Scott Main | 25c89dd | 2013-10-07 14:17:55 -0700 | [diff] [blame] | 2822 | .nolist, .nolist ul, .nolist ol { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2823 | list-style:none; |
Scott Main | 2ccbd3f | 2012-08-01 12:05:12 -0700 | [diff] [blame] | 2824 | margin-left:0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2825 | } |
Scott Main | 5747d38 | 2012-11-30 12:02:42 -0800 | [diff] [blame] | 2826 | #tb .nolist { |
| 2827 | margin-left:15px; |
| 2828 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2829 | |
Scott Main | 8aa725e | 2013-04-25 10:00:32 -0700 | [diff] [blame] | 2830 | dl.xml>dt { |
| 2831 | text-transform:uppercase; |
| 2832 | } |
| 2833 | dl.xml dl.attr { |
| 2834 | margin-top:0; |
| 2835 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2836 | |
| 2837 | pre.classic { |
| 2838 | background-color:transparent; |
| 2839 | border:none; |
| 2840 | padding:0; |
| 2841 | } |
| 2842 | |
| 2843 | p.img-caption { |
| 2844 | margin: -10px 0 20px; |
| 2845 | font-size:13px; |
| 2846 | color:#666; |
| 2847 | } |
| 2848 | |
Scott Main | 48dd7f2 | 2013-02-21 10:52:02 -0800 | [diff] [blame] | 2849 | div.figure, |
| 2850 | div.figure-right { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2851 | float:right; |
| 2852 | clear:right; |
| 2853 | margin:10px 0 0 0; |
| 2854 | padding:0 0 0 20px; |
| 2855 | /* width must be defined w/ an inline style matching the image width */ |
| 2856 | } |
| 2857 | |
Scott Main | 48dd7f2 | 2013-02-21 10:52:02 -0800 | [diff] [blame] | 2858 | div.figure-left { |
| 2859 | float:left; |
| 2860 | clear:left; |
| 2861 | margin:10px 0 0 0; |
Scott Main | d6cb8fa | 2013-02-21 13:05:03 -0800 | [diff] [blame] | 2862 | padding:0 20px 0 0; |
Scott Main | 48dd7f2 | 2013-02-21 10:52:02 -0800 | [diff] [blame] | 2863 | /* width must be defined w/ an inline style matching the image width */ |
| 2864 | } |
| 2865 | |
| 2866 | img.frame { |
| 2867 | border:1px solid #DDD; |
| 2868 | padding:4px; |
| 2869 | } |
| 2870 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2871 | p.table-caption { |
Scott Main | 24bbcd5 | 2012-09-21 14:33:43 -0700 | [diff] [blame] | 2872 | margin: 0 0 4px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2873 | font-size:13px; |
| 2874 | color:#666; |
| 2875 | } |
| 2876 | |
Scott Main | 24bbcd5 | 2012-09-21 14:33:43 -0700 | [diff] [blame] | 2877 | p.code-caption { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2878 | margin-bottom: 4px; |
Scott Main | a07be8e | 2013-03-06 12:12:21 -0800 | [diff] [blame] | 2879 | font: 12px/1.5 monospace; |
Scott Main | 24bbcd5 | 2012-09-21 14:33:43 -0700 | [diff] [blame] | 2880 | color:#666; |
| 2881 | } |
| 2882 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2883 | div.note, |
| 2884 | div.caution, |
Scott Main | 54d2a9b | 2012-07-24 14:54:32 -0700 | [diff] [blame] | 2885 | div.warning { |
| 2886 | margin: 0 0 15px; |
| 2887 | } |
| 2888 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 2889 | p.note, div.note, |
| 2890 | p.caution, div.caution, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2891 | p.warning, div.warning { |
| 2892 | padding: 0 0 0 10px; |
| 2893 | border-left: 4px solid; |
| 2894 | } |
| 2895 | |
Scott Main | 24bbcd5 | 2012-09-21 14:33:43 -0700 | [diff] [blame] | 2896 | p.note, div.note { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2897 | border-color: #258AAF; |
| 2898 | } |
| 2899 | |
Scott Main | 24bbcd5 | 2012-09-21 14:33:43 -0700 | [diff] [blame] | 2900 | p.caution, div.caution { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2901 | border-color: #FF8800; |
| 2902 | } |
| 2903 | |
Scott Main | 24bbcd5 | 2012-09-21 14:33:43 -0700 | [diff] [blame] | 2904 | p.warning, div.warning { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2905 | border-color: #ff4443; |
| 2906 | } |
| 2907 | |
Scott Main | 412eaf2 | 2012-06-22 14:36:33 -0700 | [diff] [blame] | 2908 | div.note.design { |
| 2909 | border-left: 4px solid #33B5E5; |
| 2910 | } |
| 2911 | |
| 2912 | div.note.develop { |
| 2913 | border-left: 4px solid #F80; |
| 2914 | } |
| 2915 | |
| 2916 | div.note.distribute { |
| 2917 | border-left: 4px solid #9C0; |
| 2918 | } |
| 2919 | |
| 2920 | .note p, .caution p, .warning p { |
| 2921 | margin:0 0 5px; |
| 2922 | } |
| 2923 | |
| 2924 | .note p:last-child, .caution p:last-child, .warning p:last-child { |
| 2925 | margin-bottom:0; |
| 2926 | } |
| 2927 | |
Scott Main | 5b5ff1a | 2012-09-12 10:29:45 -0700 | [diff] [blame] | 2928 | body.about blockquote { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2929 | display:block; |
| 2930 | float:right; |
| 2931 | width:280px; |
| 2932 | font-size:20px; |
| 2933 | font-style:italic; |
| 2934 | line-height:24px; |
| 2935 | color:#33B5E5; |
| 2936 | margin:0 0 20px 30px; |
| 2937 | } |
| 2938 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 2939 | div.design-announce p { |
| 2940 | margin:0 0 10px; |
| 2941 | } |
| 2942 | |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 2943 | .expandable { |
| 2944 | height:34px; |
| 2945 | padding-left:20px; |
| 2946 | position:relative; |
| 2947 | } |
| 2948 | .expandable:before { |
| 2949 | content: ''; |
| 2950 | background-image: url(../images/styles/disclosure_down.png); |
| 2951 | background-repeat:no-repeat; |
| 2952 | background-position: -12px -9px; |
| 2953 | width: 20px; |
| 2954 | height: 20px; |
| 2955 | display: inline-block; |
| 2956 | position: absolute; |
| 2957 | top: 0; |
| 2958 | left: 0; } |
| 2959 | } |
| 2960 | .expandable.expanded:before { |
| 2961 | background-image: url(../images/styles/disclosure_up.png); |
| 2962 | } |
| 2963 | |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 2964 | /* notice box for cross links between Design/Develop docs */ |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 2965 | a.notice-developers-video, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 2966 | a.notice-developers, |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 2967 | a.notice-designers-video, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 2968 | a.notice-designers { |
Scott Main | d2af6d2 | 2013-05-13 18:39:06 -0700 | [diff] [blame] | 2969 | float:right; |
Scott Main | e80ddbe | 2013-07-12 19:22:24 -0700 | [diff] [blame] | 2970 | clear:right; |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 2971 | width:238px; |
Scott Main | d2af6d2 | 2013-05-13 18:39:06 -0700 | [diff] [blame] | 2972 | min-height:50px; |
| 2973 | margin:0 0 20px 20px; |
| 2974 | border:1px solid #ddd; |
| 2975 | } |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 2976 | a.notice-developers-video.wide, |
Scott Main | 5eccda8 | 2013-07-30 14:56:45 -0700 | [diff] [blame] | 2977 | a.notice-developers.wide, |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 2978 | a.notice-designers-video.wide, |
Scott Main | 5eccda8 | 2013-07-30 14:56:45 -0700 | [diff] [blame] | 2979 | a.notice-designers.wide { |
| 2980 | width:278px; |
| 2981 | } |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 2982 | a.notice-developers-video div, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 2983 | a.notice-developers div, |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 2984 | a.notice-designers-video div, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 2985 | a.notice-designers div { |
Scott Main | 9bfcd73 | 2013-05-14 09:14:35 -0700 | [diff] [blame] | 2986 | min-height:40px; |
Scott Main | d19c2c8 | 2013-06-19 18:48:27 -0700 | [diff] [blame] | 2987 | background:url('../images/styles/notice-developers@2x.png') no-repeat 10px 10px; |
| 2988 | background-size:40px 40px; |
Scott Main | 9bfcd73 | 2013-05-14 09:14:35 -0700 | [diff] [blame] | 2989 | padding:10px 10px 10px 60px; |
Scott Main | d2af6d2 | 2013-05-13 18:39:06 -0700 | [diff] [blame] | 2990 | } |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 2991 | a.notice-designers div { |
Scott Main | d19c2c8 | 2013-06-19 18:48:27 -0700 | [diff] [blame] | 2992 | background:url('../images/styles/notice-designers@2x.png') no-repeat 10px 10px; |
| 2993 | background-size:40px 40px; |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 2994 | } |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 2995 | a.notice-designers-video div { |
| 2996 | background:url('../images/styles/notice-designers-video@2x.png') no-repeat 10px 10px; |
| 2997 | background-size:40px 40px; |
| 2998 | } |
| 2999 | a.notice-developers-video div { |
| 3000 | background:url('../images/styles/notice-developers-video@2x.png') no-repeat 10px 10px; |
| 3001 | background-size:40px 40px; |
| 3002 | } |
| 3003 | a.notice-developers-video:hover, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 3004 | a.notice-developers:hover, |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 3005 | a.notice-designers-video:hover, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 3006 | a.notice-designers:hover { |
Scott Main | d2af6d2 | 2013-05-13 18:39:06 -0700 | [diff] [blame] | 3007 | background:#eee; |
| 3008 | } |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 3009 | a.notice-developers-video h3, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 3010 | a.notice-developers h3, |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 3011 | a.notice-designers-video h3, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 3012 | a.notice-designers h3 { |
Scott Main | 4e5b39d | 2013-11-13 16:49:22 -0800 | [diff] [blame] | 3013 | font-size:13px; |
| 3014 | line-height:18px; |
| 3015 | font-weight:bold; |
Scott Main | d2af6d2 | 2013-05-13 18:39:06 -0700 | [diff] [blame] | 3016 | text-transform:uppercase; |
| 3017 | color:#000 !important; |
Scott Main | 4e5b39d | 2013-11-13 16:49:22 -0800 | [diff] [blame] | 3018 | margin:0 0 1px; |
Scott Main | d2af6d2 | 2013-05-13 18:39:06 -0700 | [diff] [blame] | 3019 | } |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 3020 | a.notice-developers-video p, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 3021 | a.notice-developers p, |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 3022 | a.notice-designers-video p, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 3023 | a.notice-designers p { |
Scott Main | d2af6d2 | 2013-05-13 18:39:06 -0700 | [diff] [blame] | 3024 | margin:0; |
Scott Main | 4e5b39d | 2013-11-13 16:49:22 -0800 | [diff] [blame] | 3025 | line-height:14px; |
Scott Main | 9bfcd73 | 2013-05-14 09:14:35 -0700 | [diff] [blame] | 3026 | } |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 3027 | a.notice-developers-video.left, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 3028 | a.notice-developers.left, |
Scott Main | 13cd8f1 | 2013-11-12 11:50:59 -0800 | [diff] [blame] | 3029 | a.notice-designers-video.left, |
Scott Main | aaf7664 | 2013-06-19 18:04:30 -0700 | [diff] [blame] | 3030 | a.notice-designers.left { |
Scott Main | 9bfcd73 | 2013-05-14 09:14:35 -0700 | [diff] [blame] | 3031 | margin-left:0; |
| 3032 | float:left; |
Scott Main | d2af6d2 | 2013-05-13 18:39:06 -0700 | [diff] [blame] | 3033 | } |
| 3034 | |
| 3035 | |
Scott Main | d7026f7 | 2013-06-17 15:08:49 -0700 | [diff] [blame] | 3036 | /* hide nested list items; companion to hideNestedLists() */ |
| 3037 | .hide-nested li ol, |
| 3038 | .hide-nested li ul { |
| 3039 | display:none; |
| 3040 | } |
| 3041 | |
| 3042 | a.header-toggle { |
| 3043 | display:block; |
| 3044 | float:right; |
| 3045 | text-transform:uppercase; |
| 3046 | font-size:.8em !important; |
| 3047 | font-weight:normal; |
| 3048 | margin-top:2px; |
| 3049 | } |
| 3050 | |
| 3051 | |
smain@google.com | 95948b8 | 2014-06-16 19:24:25 -0700 | [diff] [blame] | 3052 | /* for IDE instruction toggle (Studio/Eclipse/Other) */ |
| 3053 | select.ide { |
| 3054 | background: transparent; |
| 3055 | border: 1px solid #bbb; |
| 3056 | border-left: 0; |
| 3057 | border-right: 0; |
| 3058 | margin: 10px 0; |
| 3059 | padding: 10px 0; |
| 3060 | color:#666; |
| 3061 | } |
| 3062 | select.ide, |
| 3063 | select.ide option { |
| 3064 | font-family: inherit; |
| 3065 | font-size:16px; |
| 3066 | font-weight:500; |
| 3067 | } |
David Friedman | 40e3bec | 2014-11-20 18:01:26 -0800 | [diff] [blame] | 3068 | /* hide all except studio by default */ |
| 3069 | .select-ide.eclipse, |
smain@google.com | 95948b8 | 2014-06-16 19:24:25 -0700 | [diff] [blame] | 3070 | .select-ide.other { |
| 3071 | display:none; |
| 3072 | } |
David Friedman | 40e3bec | 2014-11-20 18:01:26 -0800 | [diff] [blame] | 3073 | /* ... unless studio also includes one of the others */ |
| 3074 | .select-ide.studio.eclipse, |
| 3075 | .select-ide.studio.other { |
| 3076 | display:none; |
smain@google.com | 95948b8 | 2014-06-16 19:24:25 -0700 | [diff] [blame] | 3077 | } |
| 3078 | |
| 3079 | |
Dirk Dougherty | bec1429 | 2013-04-10 20:23:40 -0700 | [diff] [blame] | 3080 | /* ----------------------------------------------- |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3081 | good/bad example containers |
Dirk Dougherty | bec1429 | 2013-04-10 20:23:40 -0700 | [diff] [blame] | 3082 | */ |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 3083 | |
Dirk Dougherty | bec1429 | 2013-04-10 20:23:40 -0700 | [diff] [blame] | 3084 | div.example-block { |
| 3085 | background-repeat: no-repeat; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3086 | background-position:10px 8px; |
Dirk Dougherty | bec1429 | 2013-04-10 20:23:40 -0700 | [diff] [blame] | 3087 | background-color:#ccc; |
| 3088 | padding:4px; |
| 3089 | margin:.8em auto 1.5em 2em; |
| 3090 | width:260px; |
| 3091 | float:right; |
| 3092 | } |
| 3093 | /* red container */ |
| 3094 | .example-block.bad { |
| 3095 | background-image: url(/images/example-bad.png); |
| 3096 | background-color:#f4cccc; |
| 3097 | } |
| 3098 | /* green container */ |
| 3099 | .example-block.good { |
| 3100 | background-image: url(/images/example-good.png); |
| 3101 | background-color:#d9ead3; |
| 3102 | } |
| 3103 | /* container heading div */ |
| 3104 | #jd-content .example-block .heading { |
| 3105 | font-weight:bold; |
| 3106 | margin:6px 0 9px 36px; |
| 3107 | padding:6px auto; |
| 3108 | } |
| 3109 | /* container image (if any) */ |
| 3110 | #jd-content .example-block img { |
| 3111 | margin:0; |
| 3112 | padding:0px; |
| 3113 | } |
| 3114 | |
| 3115 | .example-block table { |
| 3116 | margin:0; |
| 3117 | } |
Scott Main | db3678b | 2012-10-23 14:13:41 -0700 | [diff] [blame] | 3118 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3119 | /* ----------------------------------------------- |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3120 | Dialog box for popup messages |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3121 | */ |
| 3122 | |
| 3123 | div.dialog { |
| 3124 | height:0; |
| 3125 | margin:0 auto; |
| 3126 | } |
| 3127 | |
| 3128 | div.dialog>div { |
| 3129 | z-index:99; |
| 3130 | position:fixed; |
| 3131 | margin:70px 0; |
| 3132 | width: 391px; |
| 3133 | height: 200px; |
| 3134 | background: #F7F7F7; |
| 3135 | -moz-box-shadow: 0 0 15px rgba(0,0,0,0.5); |
| 3136 | -webkit-box-shadow: 0 0 15px rgba(0,0,0,0.5); |
| 3137 | box-shadow: 0 0 15px rgba(0,0,0,0.5); |
| 3138 | } |
| 3139 | /* IE6 can't position fixed */ |
| 3140 | * html div.dialog div { position:absolute; } |
| 3141 | |
| 3142 | |
| 3143 | div#deprecatedSticker { |
| 3144 | display:none; |
| 3145 | z-index:99; |
| 3146 | position:fixed; |
| 3147 | right:15px; |
| 3148 | top:114px; |
| 3149 | margin:0; |
| 3150 | padding:1em; |
| 3151 | background:#FFF; |
| 3152 | border:1px solid #dddd00; |
| 3153 | box-shadow:-5px 5px 10px #ccc; |
| 3154 | -moz-box-shadow:-5px 5px 10px #ccc; |
| 3155 | -webkit-box-shadow:-5px 5px 10px #ccc; |
| 3156 | } |
| 3157 | |
Dirk Dougherty | b87e300 | 2014-11-18 19:34:34 -0800 | [diff] [blame] | 3158 | div#langMessage, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3159 | div#naMessage { |
| 3160 | display:none; |
| 3161 | width:555px; |
| 3162 | height:0; |
| 3163 | margin:0 auto; |
| 3164 | } |
| 3165 | |
Dirk Dougherty | b87e300 | 2014-11-18 19:34:34 -0800 | [diff] [blame] | 3166 | |
| 3167 | div#langMessage>div, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3168 | div#naMessage div { |
| 3169 | z-index:99; |
| 3170 | width:450px; |
| 3171 | position:fixed; |
| 3172 | margin:50px 0; |
| 3173 | padding:4em 4em 3em; |
| 3174 | background:#FFF; |
| 3175 | border:1px solid #999; |
| 3176 | box-shadow:-10px 10px 40px #888; |
| 3177 | -moz-box-shadow:-10px 10px 40px #888; |
| 3178 | -webkit-box-shadow:-10px 10px 40px #888; |
| 3179 | } |
| 3180 | /* IE6 can't position fixed */ |
Dirk Dougherty | b87e300 | 2014-11-18 19:34:34 -0800 | [diff] [blame] | 3181 | * html div#langMessage>div, |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3182 | * html div#naMessage div { position:absolute; } |
| 3183 | |
| 3184 | div#naMessage strong { |
| 3185 | font-size:1.1em; |
| 3186 | } |
| 3187 | |
Dirk Dougherty | b87e300 | 2014-11-18 19:34:34 -0800 | [diff] [blame] | 3188 | div#langMessage .lang { |
| 3189 | display:none; |
| 3190 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3191 | |
| 3192 | /* -------------------------------------------------------------------------- |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3193 | Slideshow Controls & Next/Prev |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3194 | */ |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3195 | .slideshow-next, .slideshow-prev { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3196 | width: 20px; |
| 3197 | height: 36px; |
| 3198 | text-indent: -1000em; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3199 | } |
| 3200 | .slideshow-container { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3201 | margin: 2em 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3202 | } |
| 3203 | .slideshow-container:before, .slideshow-container:after { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3204 | content: ""; |
| 3205 | display: table; |
| 3206 | clear: both; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3207 | } |
| 3208 | a.slideshow-next, a.slideshow-next:visited { |
| 3209 | |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3210 | float: right; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3211 | |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3212 | background: url(../images/arrow-right.png) no-repeat 0 0 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3213 | |
| 3214 | } |
| 3215 | |
| 3216 | a.slideshow-prev, a.slideshow-prev:visited { |
| 3217 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3218 | float: left; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3219 | |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3220 | background: url(../images/arrow-left.png) no-repeat 0 0 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3221 | |
| 3222 | } |
| 3223 | |
| 3224 | .slideshow-next:hover, .slideshow-prev:hover, .slideshow-next:focus, .slideshow-prev:focus { |
| 3225 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3226 | background-position: 0 -36px |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3227 | |
| 3228 | } |
| 3229 | |
| 3230 | .slideshow-next:active, .slideshow-prev:active { |
| 3231 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3232 | background-position: 0 -72px |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3233 | |
| 3234 | } |
| 3235 | .slideshow-nav { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3236 | width: 74px; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3237 | margin: 0 auto; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3238 | } |
| 3239 | .slideshow-nav a, .slideshow-nav a:visited { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3240 | display: inline-block; |
| 3241 | width: 12px; |
| 3242 | height: 12px; |
| 3243 | margin: 0 2px 20px 2px; |
| 3244 | background: #ccc; |
| 3245 | -webkit-border-radius: 50%; |
| 3246 | -moz-border-radius: 50%; |
| 3247 | border-radius: 50%; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3248 | } |
| 3249 | .slideshow-nav a:hover, .slideshow-nav a:focus { |
| 3250 | |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3251 | background: #33B5E5 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3252 | } |
| 3253 | |
| 3254 | .slideshow-nav a:active { |
| 3255 | |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3256 | background: #1e799a; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3257 | background: #ebebeb; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3258 | -webkit-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
| 3259 | -moz-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
| 3260 | box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05); |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3261 | } |
| 3262 | .slideshow-nav a.active, .slideshow-nav a.active:active, .slideshow-nav a.active:visited { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3263 | background: #33B5E5 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3264 | } |
| 3265 | /* -------------------------------------------------------------------------- |
| 3266 | Tabs |
| 3267 | */ |
| 3268 | ul.tabs { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3269 | padding: 0; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3270 | margin: 2em 0 0 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3271 | } |
| 3272 | ul.tabs:before, ul.tabs:after { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3273 | content: ""; |
| 3274 | display: table; |
| 3275 | clear: both; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3276 | } |
| 3277 | ul.tabs li { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3278 | list-style-type: none; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3279 | float: left; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3280 | } |
| 3281 | ul.tabs li a, ul.tabs li a:active, ul.tabs li a:visited { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3282 | display: block; |
| 3283 | height: 36px; |
| 3284 | line-height: 36px; |
| 3285 | padding: 0 15px; |
| 3286 | margin-right: 2px; |
| 3287 | color: #222; |
| 3288 | -moz-border-radius-topleft: 2px; |
| 3289 | -moz-border-radius-topright: 2px; |
| 3290 | -moz-border-radius-bottomright: px; |
| 3291 | -moz-border-radius-bottomleft: px; |
| 3292 | -webkit-border-radius: 2px 2px px px; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3293 | border-radius: 2px 2px px px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3294 | border-top: solid 1px #ebebeb; |
| 3295 | border-left: solid 1px #ebebeb; |
| 3296 | border-right: solid 1px #ebebeb; |
| 3297 | background-color: #fff; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3298 | background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#fafafa)); |
| 3299 | background-image: -webkit-linear-gradient(top, #ffffff, #fafafa); |
| 3300 | background-image: -moz-linear-gradient(top, #ffffff, #fafafa); |
| 3301 | background-image: -ms-linear-gradient(top, #ffffff, #fafafa); |
| 3302 | background-image: -o-linear-gradient(top, #ffffff, #fafafa); |
| 3303 | background-image: linear-gradient(top, #ffffff, #fafafa); |
| 3304 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff', |
| 3305 | EndColorStr='#fafafa'); |
| 3306 | } |
| 3307 | ul.tabs li a:hover { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3308 | color: #33B5E5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3309 | } |
| 3310 | ul.tabs li a.selected { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3311 | height: 37px; |
| 3312 | color: #33B5E5; |
| 3313 | background-color: #f7f7f7; |
| 3314 | background-image: none; |
| 3315 | border-color: #ddd; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3316 | } |
| 3317 | .tab-content { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3318 | padding: 1.2em; |
| 3319 | margin: -1px 0 2em 0; |
| 3320 | -webkit-border-radius: 2px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3321 | -moz-border-radius: 2px; |
| 3322 | border-radius: 2px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3323 | border: solid 1px #ddd; |
| 3324 | background: #f7f7f7; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3325 | } |
| 3326 | /* -------------------------------------------------------------------------- |
| 3327 | Feature Boxes |
| 3328 | */ |
| 3329 | .feature-box { |
| 3330 | width: 291px; |
| 3331 | height: 200px; |
| 3332 | position: relative; |
| 3333 | background: #F7F7F7; |
| 3334 | } |
| 3335 | .box-border .top, .box-border .bottom, .box-border .left, .box-border .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3336 | z-index: 100; |
| 3337 | position: absolute; |
| 3338 | background-color: #aaa; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3339 | } |
| 3340 | .box-border .top, .box-border .bottom { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3341 | width: 291px; |
| 3342 | height: 1px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3343 | } |
| 3344 | .dialog .box-border .top, |
| 3345 | .dialog .box-border .bottom { width:391px; } |
| 3346 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3347 | .box-border .left, .box-border .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3348 | width: 1px; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3349 | height: 8px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3350 | } |
| 3351 | .box-border .top { top: 0; left: 0 } |
| 3352 | .box-border .top .left { top: 1px; left: 0 } |
| 3353 | .box-border .top .right { top: 1px; right: 0 } |
| 3354 | .box-border .bottom .left { top: -8px; left: 0 } |
| 3355 | .box-border .bottom { top: 200px; left: 0 } |
| 3356 | .box-border .bottom .right { top: -8px; right: 0 } |
| 3357 | |
| 3358 | .feature-box h4, |
| 3359 | .dialog h4 { |
| 3360 | margin: 15px 18px 10px; |
| 3361 | padding:0; |
| 3362 | } |
| 3363 | |
| 3364 | .feature-box p, |
| 3365 | .dialog p { |
| 3366 | margin: 10px 18px; |
| 3367 | padding:0; |
| 3368 | } |
| 3369 | .feature-box .link, |
| 3370 | .dialog .link { |
| 3371 | border-top: 1px solid #dedede; |
| 3372 | bottom: 0; |
| 3373 | position: absolute; |
| 3374 | width: inherit; |
| 3375 | } |
| 3376 | .feature-box a, .feature-box h4, |
| 3377 | .dialog a, .dialog h4 { |
| 3378 | -webkit-transition: color .4s ease; |
| 3379 | -moz-transition: color .4s ease; |
| 3380 | -o-transition: color .4s ease; |
| 3381 | transition: color .4s ease; |
| 3382 | } |
| 3383 | .feature-box:hover { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3384 | cursor: pointer; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3385 | } |
| 3386 | .feature-box:hover .box-border .top, .feature-box:hover .box-border .bottom, .feature-box:hover |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3387 | .left, .feature-box:hover .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3388 | background-color: #33B5E5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3389 | } |
| 3390 | .feature-box:hover h4, .feature-box:hover a { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3391 | color: #33B5E5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3392 | } |
| 3393 | /* -------------------------------------------------------------------------- |
| 3394 | Page-Specific Styles |
| 3395 | */ |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3396 | .colors { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3397 | position: relative; |
| 3398 | float: left; |
| 3399 | width: 92px; |
| 3400 | margin: 40px 0 20px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3401 | } |
| 3402 | .colors div { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 3403 | color: #fff; |
| 3404 | font-size: 11.5px; |
| 3405 | width: 82px; |
| 3406 | height: 82px; |
| 3407 | margin-top:-30px; |
| 3408 | line-height: 82px; |
| 3409 | text-align: center; |
| 3410 | border: solid 5px #fff; |
| 3411 | -webkit-border-radius: 50%; |
| 3412 | -moz-border-radius: 50%; |
| 3413 | border-radius: 50%; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3414 | } |
| 3415 | |
| 3416 | |
| 3417 | |
| 3418 | |
| 3419 | |
| 3420 | |
| 3421 | |
| 3422 | |
| 3423 | |
| 3424 | |
| 3425 | |
| 3426 | |
| 3427 | |
| 3428 | |
| 3429 | /* ########### REFERENCE DOCS ################## */ |
| 3430 | |
| 3431 | #packages-nav h2, |
| 3432 | #classes-nav h2 { |
| 3433 | font-size:18px; |
| 3434 | margin:0; |
| 3435 | padding:0 0 0 4px; |
| 3436 | } |
| 3437 | |
| 3438 | #jd-header { |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 3439 | padding: 0 0 12px; |
| 3440 | margin: 20px 0 12px; |
| 3441 | font-size:12px; |
| 3442 | padding-bottom:12px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3443 | border-bottom:solid 1px #ccc; |
| 3444 | } |
| 3445 | |
| 3446 | #jd-header h1 { |
| 3447 | margin:0; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 3448 | padding:0 0 6px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3449 | } |
| 3450 | |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 3451 | /* not sure if this is needed in the ref docs, disabling for now |
| 3452 | .jd-descr h2 { |
| 3453 | margin:16px 0; |
| 3454 | } |
| 3455 | */ |
| 3456 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3457 | /* page-top-right container for reference pages (holds |
| 3458 | links to summary tables) */ |
| 3459 | #api-info-block { |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 3460 | font-size:12px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3461 | margin:20px 0 0; |
| 3462 | padding:0 10px 6px; |
| 3463 | font-weight:normal; |
| 3464 | float:right; |
| 3465 | text-align:right; |
| 3466 | color:#999; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 3467 | max-width:80%; |
| 3468 | font-size: 12px; |
| 3469 | line-height:14px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3470 | } |
| 3471 | |
| 3472 | #api-info-block div.api-level { |
| 3473 | font-weight:bold; |
| 3474 | font-size:inherit; |
| 3475 | float:none; |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 3476 | color:#222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3477 | padding:0; |
| 3478 | margin:0; |
| 3479 | } |
| 3480 | |
| 3481 | /* inheritance table */ |
| 3482 | .jd-inheritance-table { |
| 3483 | border-spacing:0; |
| 3484 | margin:0; |
| 3485 | padding:0; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 3486 | font-size:12px; |
| 3487 | line-height:14px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3488 | background-color:transparent; |
| 3489 | } |
| 3490 | .jd-inheritance-table tr td { |
| 3491 | border: none; |
| 3492 | margin: 0; |
| 3493 | padding: 0; |
| 3494 | background-color:transparent; |
| 3495 | } |
| 3496 | .jd-inheritance-table .jd-inheritance-space { |
| 3497 | font-weight:bold; |
| 3498 | width:1em; |
| 3499 | } |
| 3500 | .jd-inheritance-table .jd-inheritance-interface-cell { |
| 3501 | padding-left: 17px; |
| 3502 | } |
| 3503 | |
| 3504 | |
| 3505 | |
| 3506 | .jd-sumtable a { |
| 3507 | text-decoration:none; |
| 3508 | } |
| 3509 | |
| 3510 | .jd-sumtable a:hover { |
| 3511 | text-decoration:underline; |
| 3512 | } |
| 3513 | |
| 3514 | /* the link inside a sumtable for "Show All/Hide All" */ |
| 3515 | .toggle-all { |
| 3516 | display:block; |
| 3517 | float:right; |
| 3518 | font-weight:normal; |
| 3519 | font-size:0.9em; |
| 3520 | } |
| 3521 | |
| 3522 | /* adjustments for in/direct subclasses tables */ |
| 3523 | .jd-sumtable.jd-sumtable-subclasses { |
| 3524 | margin: 1em 0 0 0; |
| 3525 | max-width:968px; |
| 3526 | background-color:transparent; |
| 3527 | font-size:13px; |
| 3528 | } |
| 3529 | |
| 3530 | /* extra space between end of method name and open-paren */ |
| 3531 | .sympad { |
| 3532 | margin-right: 2px; |
| 3533 | } |
| 3534 | |
| 3535 | /* right alignment for the return type in sumtable */ |
| 3536 | .jd-sumtable .jd-typecol { |
| 3537 | text-align:right; |
| 3538 | } |
| 3539 | |
| 3540 | /* adjustments for the expando table-in-table */ |
| 3541 | .jd-sumtable-expando { |
| 3542 | margin:.5em 0; |
| 3543 | padding:0; |
| 3544 | } |
| 3545 | |
| 3546 | /* a div that holds a short description */ |
| 3547 | .jd-descrdiv { |
| 3548 | padding:3px 1em 0 1em; |
| 3549 | margin:0; |
| 3550 | border:0; |
| 3551 | } |
| 3552 | |
| 3553 | #jd-content img.jd-expando-trigger-img { |
| 3554 | padding:0 4px 4px 0; |
| 3555 | margin:0; |
| 3556 | } |
| 3557 | |
| 3558 | .jd-sumtable-subclasses div#subclasses-direct, |
| 3559 | .jd-sumtable-subclasses div#subclasses-indirect { |
| 3560 | margin:0 0 0 13px; |
| 3561 | } |
| 3562 | |
| 3563 | |
| 3564 | |
| 3565 | /********* MEMBER REF *************/ |
| 3566 | |
| 3567 | |
| 3568 | .jd-details { |
| 3569 | /* border:1px solid #669999; |
| 3570 | padding:4px; */ |
| 3571 | margin:0 0 1em; |
| 3572 | } |
| 3573 | |
| 3574 | /* API reference: a container for the |
| 3575 | .tagdata blocks that make up the detailed |
| 3576 | description */ |
| 3577 | .jd-details-descr { |
| 3578 | padding:0; |
| 3579 | margin:.5em .25em; |
| 3580 | } |
| 3581 | |
| 3582 | /* API reference: a block containing |
| 3583 | a detailed description, a params table, |
| 3584 | seealso list, etc */ |
| 3585 | .jd-tagdata { |
| 3586 | margin:.5em 1em; |
| 3587 | } |
| 3588 | |
| 3589 | .jd-tagdata p { |
| 3590 | margin:0 0 1em 1em; |
| 3591 | } |
| 3592 | |
| 3593 | /* API reference: adjustments to |
| 3594 | the detailed description block */ |
| 3595 | .jd-tagdescr { |
| 3596 | margin:.25em 0 .75em 0; |
| 3597 | } |
| 3598 | |
| 3599 | .jd-tagdescr ol, |
| 3600 | .jd-tagdescr ul { |
| 3601 | margin:0 2.5em; |
| 3602 | padding:0; |
| 3603 | } |
| 3604 | |
| 3605 | .jd-tagdescr table, |
| 3606 | .jd-tagdescr img { |
| 3607 | margin:.25em 1em; |
| 3608 | } |
| 3609 | |
| 3610 | .jd-tagdescr li { |
| 3611 | margin:0 0 .25em 0; |
| 3612 | padding:0; |
| 3613 | } |
| 3614 | |
| 3615 | /* API reference: heading marking |
| 3616 | the details section for constants, |
| 3617 | attrs, methods, etc. */ |
| 3618 | h4.jd-details-title { |
| 3619 | font-size:1.15em; |
| 3620 | background-color: #E2E2E2; |
| 3621 | margin:1.5em 0 .6em; |
| 3622 | padding:3px 95px 3px 3px; /* room for api-level */ |
| 3623 | } |
Scott Main | ab4daf4 | 2012-11-30 11:27:17 -0800 | [diff] [blame] | 3624 | body.google h4.jd-details-title { |
| 3625 | background-color: #FFF; |
| 3626 | padding-top:5px; |
| 3627 | border-top: 1px solid #ccc; |
| 3628 | } |
| 3629 | body.google table.jd-sumtable th { |
| 3630 | background-color: #FFF; |
| 3631 | color:#000; |
| 3632 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3633 | |
| 3634 | h4.jd-tagtitle { |
| 3635 | margin:0; |
| 3636 | } |
| 3637 | |
| 3638 | h4 .normal { |
| 3639 | font-weight:normal; |
| 3640 | } |
| 3641 | |
| 3642 | /* API reference: heading for "Parameters", "See Also", etc., |
| 3643 | in details sections */ |
| 3644 | h5.jd-tagtitle { |
| 3645 | margin:0 0 .25em 0; |
| 3646 | font-size:1em; |
| 3647 | } |
| 3648 | |
| 3649 | .jd-tagtable { |
| 3650 | margin:0; |
| 3651 | background-color:transparent; |
Scott Main | 03c972c | 2012-06-26 22:23:22 -0700 | [diff] [blame] | 3652 | width:auto; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3653 | } |
| 3654 | |
| 3655 | .jd-tagtable td, |
| 3656 | .jd-tagtable th { |
| 3657 | border:none; |
| 3658 | background-color:#fff; |
| 3659 | vertical-align:top; |
| 3660 | font-weight:normal; |
| 3661 | padding:2px 10px; |
| 3662 | } |
| 3663 | |
| 3664 | .jd-tagtable th { |
| 3665 | font-style:italic; |
| 3666 | } |
| 3667 | |
| 3668 | /* Inline api level indicator for methods */ |
| 3669 | div.api-level { |
| 3670 | font-size:.8em; |
| 3671 | font-weight:normal; |
| 3672 | color:#999; |
| 3673 | float:right; |
| 3674 | padding:0 8px 0; |
| 3675 | margin-top:-30px; |
| 3676 | } |
| 3677 | |
| 3678 | table.jd-tagtable td, |
| 3679 | table.jd-tagtable th { |
| 3680 | background-color:transparent; |
| 3681 | } |
| 3682 | |
| 3683 | table.jd-tagtable th { |
| 3684 | color:inherit; |
| 3685 | } |
| 3686 | |
| 3687 | |
| 3688 | |
| 3689 | |
| 3690 | |
| 3691 | |
| 3692 | |
| 3693 | |
| 3694 | |
| 3695 | |
| 3696 | |
| 3697 | |
| 3698 | |
| 3699 | |
| 3700 | |
| 3701 | |
| 3702 | |
| 3703 | |
| 3704 | |
| 3705 | |
| 3706 | |
| 3707 | |
| 3708 | |
| 3709 | /* SEARCH FILTER */ |
| 3710 | |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3711 | .menu-container { |
| 3712 | position:relative; |
| 3713 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3714 | #search_autocomplete { |
| 3715 | font-weight:normal; |
| 3716 | } |
| 3717 | |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3718 | .search_filtered_wrapper.reference { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3719 | width: 193px; |
| 3720 | float: right; |
| 3721 | } |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3722 | .search_filtered_wrapper.docs { |
| 3723 | width:875px; |
| 3724 | float: left; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3725 | position:absolute; |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3726 | top:26px; |
| 3727 | right:66px; |
| 3728 | } |
| 3729 | .suggest-card { |
| 3730 | position:relative; |
| 3731 | width:170px; |
| 3732 | min-height:90px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3733 | padding:5px; |
| 3734 | border: solid 1px #C5C5C5; |
| 3735 | background: white; |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3736 | top: 15px; |
| 3737 | margin-right:-5px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3738 | -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2); |
| 3739 | -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
| 3740 | box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); |
| 3741 | } |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3742 | .suggest-card.reference { |
| 3743 | position:absolute; |
| 3744 | z-index:999; |
| 3745 | min-width:171px; /* +padding and border makes this match input width */ |
| 3746 | min-height:93px; /* add 3px because this has 1 not 4px top border */ |
| 3747 | width:auto; |
| 3748 | top:41px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3749 | margin:0; |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3750 | } |
| 3751 | .suggest-card.develop { |
| 3752 | z-index:997; |
| 3753 | border-top: solid 4px #F80; |
| 3754 | float:right; |
| 3755 | } |
| 3756 | .suggest-card.design { |
| 3757 | z-index:996; |
| 3758 | border-top: solid 4px #33b5e5; |
| 3759 | float:right; |
| 3760 | } |
| 3761 | .suggest-card.distribute { |
| 3762 | z-index:995; |
| 3763 | border-top: solid 4px #9C0; |
| 3764 | float:right; |
| 3765 | } |
| 3766 | .child-card { |
| 3767 | width:100%; |
| 3768 | } |
| 3769 | .suggest-card.dummy { |
| 3770 | width:172px; |
| 3771 | float:right; |
| 3772 | border:0; |
| 3773 | background:transparent; |
| 3774 | -moz-box-shadow: none; |
| 3775 | -webkit-box-shadow: none; |
| 3776 | box-shadow: none; |
| 3777 | } |
| 3778 | |
| 3779 | ul.search_filtered { |
| 3780 | min-width:100%; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3781 | list-style: none; |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3782 | margin: 0 0 5px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3783 | padding: 0; |
| 3784 | } |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3785 | .search_filtered .jd-selected { |
| 3786 | background:#efefef; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3787 | cursor:pointer; |
| 3788 | } |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3789 | .search_filtered .jd-selected, |
| 3790 | .search_filtered .jd-selected a { |
| 3791 | color:#09C !important; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3792 | } |
| 3793 | |
| 3794 | .no-display { |
| 3795 | display: none; |
| 3796 | } |
| 3797 | |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3798 | .search_filtered li.jd-autocomplete { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3799 | font-size: 0.81em; |
| 3800 | border: none; |
Scott Main | 7e447ed | 2013-02-19 17:22:37 -0800 | [diff] [blame] | 3801 | margin: 0 0 2px; |
| 3802 | padding: 0; |
| 3803 | line-height:1.5em; |
| 3804 | } |
| 3805 | |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3806 | .search_filtered li a { |
Scott Main | 7e447ed | 2013-02-19 17:22:37 -0800 | [diff] [blame] | 3807 | padding:0 5px; |
| 3808 | color:#222 !important; |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3809 | display:inline-block; |
| 3810 | line-height:12px; |
Scott Main | 7e447ed | 2013-02-19 17:22:37 -0800 | [diff] [blame] | 3811 | } |
| 3812 | |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3813 | .search_filtered li.header { |
Scott Main | 7e447ed | 2013-02-19 17:22:37 -0800 | [diff] [blame] | 3814 | font-weight:bold; |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3815 | color:#444; |
Scott Main | 7e447ed | 2013-02-19 17:22:37 -0800 | [diff] [blame] | 3816 | border: none; |
| 3817 | margin: 8px 0 2px; |
| 3818 | padding:1px 5px; |
| 3819 | line-height:1.5em; |
| 3820 | } |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3821 | .search_filtered li.header.small { |
| 3822 | font-size:0.85em; |
| 3823 | } |
Scott Main | 7e447ed | 2013-02-19 17:22:37 -0800 | [diff] [blame] | 3824 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 3825 | .suggest-card.reference |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 3826 | .search_filtered li.header { |
| 3827 | color:#aaa; |
| 3828 | font-size: 0.81em; |
| 3829 | } |
| 3830 | |
| 3831 | .search_filtered li.header:first-child { |
Scott Main | 7e447ed | 2013-02-19 17:22:37 -0800 | [diff] [blame] | 3832 | margin: 0 0 2px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3833 | } |
| 3834 | |
| 3835 | .show-item { |
| 3836 | display: table-row; |
| 3837 | } |
| 3838 | .hide-item { |
| 3839 | display: hidden; |
| 3840 | } |
| 3841 | |
| 3842 | |
| 3843 | |
| 3844 | |
| 3845 | |
| 3846 | /* SEARCH RESULTS */ |
| 3847 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 3848 | |
| 3849 | #leftSearchControl .gsc-twiddle { |
| 3850 | background-image : none; |
| 3851 | } |
| 3852 | |
| 3853 | #leftSearchControl td, #searchForm td { |
| 3854 | border: 0px solid #000; |
| 3855 | padding:0; |
| 3856 | } |
| 3857 | |
| 3858 | #leftSearchControl .gsc-resultsHeader .gsc-title { |
| 3859 | padding-left : 0px; |
| 3860 | font-weight : bold; |
| 3861 | font-size : 13px; |
| 3862 | color:#006699; |
| 3863 | display : none; |
| 3864 | } |
| 3865 | |
| 3866 | #leftSearchControl .gsc-resultsHeader div.gsc-results-selector { |
| 3867 | display : none; |
| 3868 | } |
| 3869 | |
| 3870 | #leftSearchControl .gsc-resultsRoot { |
| 3871 | padding-top : 6px; |
| 3872 | } |
| 3873 | |
| 3874 | #leftSearchControl div.gs-visibleUrl-long { |
| 3875 | display : block; |
| 3876 | color:#006699; |
| 3877 | } |
| 3878 | |
| 3879 | #leftSearchControl .gsc-webResult { |
| 3880 | padding:0 0 20px 0; |
| 3881 | } |
| 3882 | |
| 3883 | .gsc-webResult div.gs-visibleUrl-short, |
| 3884 | table.gsc-branding, |
| 3885 | .gsc-clear-button { |
| 3886 | display : none; |
| 3887 | } |
| 3888 | |
| 3889 | .gsc-cursor-box .gsc-cursor div.gsc-cursor-page, |
| 3890 | .gsc-cursor-box .gsc-trailing-more-results a.gsc-trailing-more-results, |
| 3891 | #leftSearchControl a, |
| 3892 | #leftSearchControl a b { |
| 3893 | color:#006699; |
| 3894 | } |
| 3895 | |
| 3896 | .gsc-resultsHeader { |
| 3897 | display: none; |
| 3898 | } |
| 3899 | |
| 3900 | /* Disable built in search forms */ |
| 3901 | .gsc-control form.gsc-search-box { |
| 3902 | display : none; |
| 3903 | } |
| 3904 | table.gsc-search-box { |
| 3905 | margin:6px 0 0 0; |
| 3906 | border-collapse:collapse; |
| 3907 | } |
| 3908 | |
| 3909 | td.gsc-input { |
| 3910 | padding:0 2px; |
| 3911 | width:100%; |
| 3912 | vertical-align:middle; |
| 3913 | } |
| 3914 | |
| 3915 | input.gsc-input { |
| 3916 | border:1px solid #BCCDF0; |
| 3917 | width:99%; |
| 3918 | padding-left:2px; |
| 3919 | font-size:.95em; |
| 3920 | } |
| 3921 | |
| 3922 | td.gsc-search-button { |
| 3923 | text-align: right; |
| 3924 | padding:0; |
| 3925 | vertical-align:top; |
| 3926 | } |
| 3927 | |
| 3928 | |
| 3929 | #searchResults { |
| 3930 | overflow:hidden; /* because the repositioned page links makes the section think it needs to scroll |
| 3931 | (it doesn't) */ |
| 3932 | height:auto; |
| 3933 | } |
| 3934 | |
| 3935 | #searchResults .gsc-control { |
| 3936 | position:relative; |
| 3937 | width:auto; |
| 3938 | padding:0 0 10px; |
| 3939 | } |
| 3940 | |
| 3941 | #searchResults .gsc-tabsArea { |
| 3942 | position:relative; |
| 3943 | white-space:nowrap; |
| 3944 | float:left; |
| 3945 | width:200px; |
| 3946 | } |
| 3947 | |
| 3948 | #searchResults .gsc-above-wrapper-area { |
| 3949 | display:none; |
| 3950 | } |
| 3951 | |
| 3952 | #searchResults .gsc-resultsbox-visible { |
| 3953 | float:left; |
| 3954 | width:720px; |
| 3955 | margin-left:20px; |
| 3956 | } |
| 3957 | |
| 3958 | #searchResults .gsc-tabHeader { |
| 3959 | padding: 3px 6px; |
| 3960 | position:relative; |
| 3961 | width:auto; |
| 3962 | display:block; |
| 3963 | } |
| 3964 | |
| 3965 | #searchResults h2#searchTitle { |
| 3966 | padding:0; |
| 3967 | margin:5px 0; |
| 3968 | border:none; |
| 3969 | } |
| 3970 | |
| 3971 | #searchResults h2#searchTitle em { |
| 3972 | font-style:normal; |
| 3973 | color:#33B5E5; |
| 3974 | } |
| 3975 | |
| 3976 | #searchResults .gsc-table-result { |
| 3977 | margin:5px 0 10px 0; |
| 3978 | background-color:transparent; |
| 3979 | } |
| 3980 | #searchResults .gs-web-image-box, .gs-promotion-image-box { |
| 3981 | width:120px; |
| 3982 | } |
| 3983 | #searchResults .gs-web-image-box img.gs-image, .gs-promotion-image-box img.gs-promotion-image { |
| 3984 | max-width:120px; |
| 3985 | } |
| 3986 | |
| 3987 | #searchResults .gsc-table-result .gsc-thumbnail { |
| 3988 | padding:0 20px 0 0; |
| 3989 | } |
| 3990 | |
| 3991 | #searchResults td { |
| 3992 | background-color:transparent; |
| 3993 | } |
| 3994 | |
| 3995 | #searchResults .gsc-expansionArea { |
| 3996 | position:relative; |
| 3997 | } |
| 3998 | #searchResults .gsc-tabsArea .gsc-cursor-box { |
| 3999 | width:200px; |
| 4000 | padding:20px 0 0 1px; |
| 4001 | } |
| 4002 | #searchResults .gsc-cursor-page { |
| 4003 | display:inline-block; |
| 4004 | float:left; |
| 4005 | margin:-1px 0 0 -1px; |
| 4006 | padding:0; |
| 4007 | height:27px; |
| 4008 | width:27px; |
| 4009 | text-align:center; |
| 4010 | line-height:2; |
| 4011 | } |
| 4012 | |
| 4013 | #searchResults .gsc-tabHeader.gsc-tabhInactive, |
| 4014 | #searchResults .gsc-cursor-page { |
| 4015 | text-decoration:none; |
| 4016 | color:#258AAF; |
| 4017 | border: solid 1px #DADADA; |
| 4018 | } |
| 4019 | |
| 4020 | #searchResults .gsc-tabHeader.gsc-tabhInactive:hover, |
| 4021 | #searchResults .gsc-cursor-page:hover { |
| 4022 | border-color: #DBDBDB; |
| 4023 | background-color: #F3F3F3; |
| 4024 | background-image: -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#ECECEC)); |
| 4025 | background-image: -webkit-linear-gradient(top, #F9F9F9, #ECECEC); |
| 4026 | background-image: -moz-linear-gradient(top, #F9F9F9, #ECECEC); |
| 4027 | background-image: -ms-linear-gradient(top, #F9F9F9, #ECECEC); |
| 4028 | background-image: -o-linear-gradient(top, #F9F9F9, #ECECEC); |
| 4029 | background-image: linear-gradient(top, #F9F9F9, #ECECEC); |
| 4030 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9', |
| 4031 | EndColorStr='#ececec'); |
| 4032 | color: #33B5E5; |
| 4033 | } |
| 4034 | |
| 4035 | #searchResults .gsc-tabHeader.gsc-tabhActive, |
| 4036 | #searchResults .gsc-tabHeader.gsc-tabhActive:hover, |
| 4037 | #searchResults .gsc-cursor-page.gsc-cursor-current-page, |
| 4038 | #searchResults .gsc-cursor-page.gsc-cursor-current-page:hover { |
| 4039 | color:#fff; |
| 4040 | background-color: #09C; |
| 4041 | background-image: -webkit-gradient(linear, left top, left bottom, from(#2FADDB), to(#09C)); |
| 4042 | background-image: -webkit-linear-gradient(top, #2FADDB, #09C); |
| 4043 | background-image: -moz-linear-gradient(top, #2FADDB, #09C); |
| 4044 | background-image: -ms-linear-gradient(top, #2FADDB, #09C); |
| 4045 | background-image: -o-linear-gradient(top, #2FADDB, #09C); |
| 4046 | background-image: linear-gradient(top, #2FADDB, #09C); |
| 4047 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#2faddb', EndColorStr='#09c'); |
| 4048 | border: 1px solid #3990AB; |
| 4049 | z-index:100; |
| 4050 | } |
| 4051 | |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 4052 | |
| 4053 | |
| 4054 | |
| 4055 | |
| 4056 | /************ STICKY NAV BAR ******************/ |
| 4057 | |
| 4058 | #header-wrapper { |
| 4059 | background: #f9f9f9; |
| 4060 | margin: 0 -10px 0 -10px; |
| 4061 | padding: 31px 10px 0px 10px; |
| 4062 | position: relative; |
| 4063 | } |
| 4064 | #header-wrapper #nav-x div.wrap { |
| 4065 | max-width: 940px; |
| 4066 | height: 38px; |
| 4067 | } |
| 4068 | #header-wrapper #nav-x ul.nav-x li { |
Dirk Dougherty | 529a107 | 2014-12-15 15:10:06 -0800 | [diff] [blame^] | 4069 | margin-right: 31px !important; |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 4070 | margin-top: 5px; |
| 4071 | margin-bottom: 0px; |
| 4072 | height: 30px; |
| 4073 | } |
| 4074 | #header-wrapper #nav-x > div.wrap ul.nav-x li.active { |
| 4075 | color: #669900; |
| 4076 | border-bottom: 3px solid #669900; |
| 4077 | } |
| 4078 | #header-wrapper #nav-x > div.wrap ul.nav-x li.active a { |
| 4079 | color: #669900; |
| 4080 | } |
| 4081 | #header-wrapper #nav-x > div.wrap ul.nav-x a { |
| 4082 | font-size: 14.5px; |
| 4083 | } |
| 4084 | #header-wrapper .developer-console-btn { |
| 4085 | float: right; |
| 4086 | background: #fefefe; |
| 4087 | border-radius: 4px; |
| 4088 | padding: 8px 14px; |
| 4089 | box-shadow: 1px 1px 0px #7a7a7a; |
| 4090 | font-size: 14px; |
| 4091 | margin-top: -6px; |
| 4092 | cursor: pointer; |
| 4093 | color: #464646; |
| 4094 | margin-right: 20px; |
| 4095 | } |
| 4096 | /* not currently used */ |
| 4097 | #header-wrapper .shadow { |
| 4098 | width: 1034px; |
| 4099 | height: 4px; |
| 4100 | position: absolute; |
| 4101 | left: 50%; |
| 4102 | margin-left: -517px; |
| 4103 | bottom: -4px; |
| 4104 | background-image: url(../images/header-shadow.png); |
| 4105 | } |
| 4106 | |
| 4107 | #context { |
| 4108 | clear: both; |
| 4109 | padding-top: 14px; |
| 4110 | } |
| 4111 | #context .breadcrumb { |
| 4112 | float: left; |
| 4113 | margin-bottom: 10px; |
| 4114 | } |
| 4115 | #context .util { |
| 4116 | float: right; |
| 4117 | margin-right: 20px; |
| 4118 | } |
| 4119 | |
| 4120 | .breadcrumb { |
| 4121 | list-style: none; |
| 4122 | margin: 0; |
| 4123 | padding: 0; |
| 4124 | position: relative; |
| 4125 | } |
| 4126 | .breadcrumb li { |
| 4127 | float: left; |
| 4128 | padding: 0 20px 0 0; |
| 4129 | color: #000; |
| 4130 | white-space: nowrap; |
| 4131 | } |
| 4132 | .breadcrumb li a { |
| 4133 | color: #000; |
| 4134 | } |
| 4135 | .breadcrumb li:after { |
| 4136 | content: url(../images/breadcrumb.png); |
| 4137 | position: relative; |
| 4138 | top: 1px; |
| 4139 | left: 10px; |
| 4140 | width: 5px; |
| 4141 | height: 10px; |
| 4142 | } |
| 4143 | .breadcrumb li.current { |
| 4144 | font-weight: 700; |
| 4145 | } |
| 4146 | .breadcrumb li.current:after { |
| 4147 | display: none; |
| 4148 | } |
| 4149 | |
| 4150 | /* Sticky Nav overrides */ |
| 4151 | .sticky-menu { |
| 4152 | position: fixed; |
| 4153 | width: 940px; |
| 4154 | height: 0px; |
| 4155 | z-index: 51; |
| 4156 | top: 12px; |
| 4157 | } |
| 4158 | #sticky-header { |
| 4159 | display: none; |
| 4160 | padding: 0 10px; |
| 4161 | position: fixed; |
| 4162 | background: #f9f9f9; |
| 4163 | top: 0px; |
| 4164 | left: 0px; |
| 4165 | right: 0px; |
| 4166 | height: 45px; |
| 4167 | box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1); |
| 4168 | border-bottom: 1px solid #a5c43a; |
| 4169 | z-index: 50; |
| 4170 | } |
| 4171 | #sticky-header.design { |
| 4172 | border-bottom: 1px solid #33b5e5; |
| 4173 | } |
| 4174 | #sticky-header.develop { |
| 4175 | border-bottom: 1px solid #F80; |
| 4176 | } |
| 4177 | #sticky-header.distribute { |
| 4178 | border-bottom: 1px solid #9C0; |
| 4179 | } |
| 4180 | #sticky-header.about { |
| 4181 | border-bottom: 1px solid #9933CC; |
| 4182 | } |
| 4183 | #sticky-header > div { |
| 4184 | overflow: hidden; |
| 4185 | *zoom: 1; |
| 4186 | width: 940px; |
| 4187 | margin: 0 auto; |
| 4188 | clear: both; |
| 4189 | padding-top: 9px; |
| 4190 | } |
| 4191 | #sticky-header > div .logo { |
| 4192 | float: left; |
| 4193 | width: 26px; |
| 4194 | height: 25px; |
| 4195 | background: url(../images/dac_logo.png); |
Scott Main | c426499 | 2014-05-20 10:11:17 -0700 | [diff] [blame] | 4196 | background-image: -webkit-image-set(url(../images/dac_logo.png) 1x, url(../images/dac_logo@2x.png) 2x); |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 4197 | z-index: 52; |
| 4198 | position: relative; |
| 4199 | } |
| 4200 | #sticky-header > div .top { |
| 4201 | float: left; |
| 4202 | width: 38px; |
| 4203 | height: 38px; |
| 4204 | position: relative; |
| 4205 | background: url(../images/styles/gototop.png); |
| 4206 | z-index: 52; |
| 4207 | } |
| 4208 | #sticky-header > div .breadcrumb { |
| 4209 | float: left; |
| 4210 | padding: 0 0 0 10px; |
| 4211 | border-left: 1px solid #d2d2d2; |
| 4212 | line-height: 24px; |
| 4213 | font-size: 14px; |
| 4214 | position: relative; |
| 4215 | top: 0px; |
| 4216 | z-index: 52; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4217 | } |
| 4218 | |
smain@google.com | 17e2c06 | 2014-10-09 19:10:32 -0700 | [diff] [blame] | 4219 | /* offset the <a name=""> tags to account for sticky nav */ |
smain@google.com | be113f8 | 2014-10-17 09:56:10 -0700 | [diff] [blame] | 4220 | body.reference a[name] { |
smain@google.com | 9a818f5 | 2014-10-03 09:25:59 -0700 | [diff] [blame] | 4221 | visibility: hidden; |
| 4222 | display: block; |
| 4223 | position: relative; |
| 4224 | top: -56px; |
| 4225 | } |
| 4226 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4227 | |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 4228 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4229 | |
| 4230 | |
| 4231 | |
| 4232 | |
| 4233 | |
| 4234 | |
| 4235 | |
| 4236 | /*********** PREVIOUSLY dac-styles.css ***************/ |
| 4237 | |
| 4238 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4239 | #header { |
| 4240 | border-bottom:0; |
| 4241 | } |
| 4242 | |
| 4243 | #header .wrap { |
| 4244 | max-width:940px; |
| 4245 | height:41px; |
| 4246 | border-bottom:1px solid; |
| 4247 | border-color: #ccc; |
| 4248 | position:relative; |
| 4249 | } |
| 4250 | |
| 4251 | .about #header .wrap { |
| 4252 | border-color: #9933CC; |
| 4253 | } |
| 4254 | |
| 4255 | .design #header .wrap { |
| 4256 | border-color: #33b5e5; |
| 4257 | } |
| 4258 | |
| 4259 | .develop #header .wrap { |
| 4260 | border-color: #F80; |
| 4261 | } |
| 4262 | |
| 4263 | .distribute #header .wrap { |
| 4264 | border-color: #9C0; |
| 4265 | } |
| 4266 | |
| 4267 | .logo a { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4268 | float:left; |
| 4269 | } |
| 4270 | |
| 4271 | #header .logo { |
| 4272 | margin-top: -6px; |
| 4273 | margin-left: 0px; |
| 4274 | margin-bottom:0px; |
| 4275 | width: 160px; |
| 4276 | padding-right:10px; |
| 4277 | } |
| 4278 | |
Scott Main | b7b4971 | 2014-03-18 05:29:15 -0700 | [diff] [blame] | 4279 | |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 4280 | #header-wrap .logo.landing-logo { |
Scott Main | b7b4971 | 2014-03-18 05:29:15 -0700 | [diff] [blame] | 4281 | width:220px; |
| 4282 | margin:0; |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 4283 | padding:0; |
| 4284 | margin-bottom:22px; |
Scott Main | b7b4971 | 2014-03-18 05:29:15 -0700 | [diff] [blame] | 4285 | } |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 4286 | #header-wrap .logo.landing-logo img { |
Scott Main | b7b4971 | 2014-03-18 05:29:15 -0700 | [diff] [blame] | 4287 | padding:0 0 0 10px; |
| 4288 | } |
| 4289 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4290 | .search { |
| 4291 | height:25px; |
| 4292 | margin-top: -3px; |
| 4293 | margin-bottom: 0px; |
| 4294 | } |
| 4295 | |
| 4296 | |
| 4297 | |
| 4298 | /* Quicknav */ |
| 4299 | .btn-quicknav { |
| 4300 | width:20px; |
| 4301 | height:28px; |
| 4302 | float:left; |
| 4303 | margin-left:6px; |
| 4304 | padding-right:10px; |
| 4305 | position:relative; |
| 4306 | cursor:pointer; |
| 4307 | border-right:1px solid #CCC; |
| 4308 | } |
| 4309 | |
| 4310 | .btn-quicknav a { |
| 4311 | zoom:1; |
| 4312 | position:absolute; |
| 4313 | top:13px; |
| 4314 | left:5px; |
| 4315 | display:block; |
| 4316 | text-indent:-9999em; |
| 4317 | width:10px; |
| 4318 | height:5px; |
| 4319 | background:url(../images/quicknav_arrow.png) no-repeat; |
| 4320 | } |
| 4321 | |
| 4322 | .btn-quicknav a.arrow-active { |
| 4323 | background-position: 0 -5px; |
| 4324 | display:none; |
| 4325 | } |
| 4326 | |
| 4327 | #header-wrap.quicknav a.arrow-inactive { |
| 4328 | display:none; |
| 4329 | } |
| 4330 | |
| 4331 | .btn-quicknav.active a.arrow-active { |
| 4332 | display:block; |
| 4333 | } |
| 4334 | |
| 4335 | .nav-x li { |
| 4336 | display:block; |
| 4337 | float:left; |
| 4338 | margin-right:45px; |
| 4339 | -webkit-transition: all 0.25s linear; |
| 4340 | -moz-transition: all 0.25s linear; |
| 4341 | -ms-transition: all 0.25s linear; |
| 4342 | -o-transition: all 0.25s linear; |
| 4343 | transition: all 0.25s linear; |
| 4344 | } |
| 4345 | |
| 4346 | #header-wrap.quicknav .nav-x li { |
| 4347 | min-width:160px; |
| 4348 | margin-right:20px; |
| 4349 | } |
| 4350 | |
| 4351 | #header-wrap.quicknav li.last { |
| 4352 | margin-right:0px; |
| 4353 | } |
| 4354 | |
| 4355 | #quicknav { |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4356 | float:none; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4357 | clear:both; |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 4358 | margin-left:0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4359 | margin-top:-30px; |
| 4360 | display:none; |
| 4361 | overflow:hidden; |
| 4362 | } |
| 4363 | |
| 4364 | #header-wrap.quicknav #quicknav { |
| 4365 | |
| 4366 | } |
| 4367 | |
| 4368 | #quicknav ul { |
| 4369 | margin:10px 0; |
| 4370 | padding:0; |
| 4371 | } |
| 4372 | |
smain@google.com | 20ef382 | 2014-06-13 16:05:28 -0700 | [diff] [blame] | 4373 | #quicknav ul li.about { |
| 4374 | border-top:1px solid #9933CC; |
| 4375 | } |
| 4376 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4377 | #quicknav ul li.design { |
| 4378 | border-top:1px solid #33b5e5; |
| 4379 | } |
| 4380 | |
| 4381 | #quicknav ul li.develop { |
| 4382 | border-top:1px solid #FF8800; |
| 4383 | } |
| 4384 | |
| 4385 | #quicknav ul li.distribute { |
| 4386 | border-top:1px solid #99cc00; |
| 4387 | } |
| 4388 | |
| 4389 | #quicknav ul li { |
| 4390 | display:block; |
| 4391 | float:left; |
| 4392 | margin:0 20px 0 0; |
| 4393 | min-width:140px; |
| 4394 | } |
| 4395 | |
| 4396 | #quicknav ul li.last { |
| 4397 | margin-right:0px; |
| 4398 | } |
| 4399 | |
| 4400 | #quicknav ul li ul li { |
| 4401 | float:none; |
| 4402 | } |
| 4403 | |
| 4404 | #quicknav ul li ul li a { |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 4405 | color:#222; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4406 | } |
| 4407 | |
| 4408 | #quicknav ul li li ul, |
| 4409 | #quicknav ul li li ul li { |
| 4410 | margin:0; |
| 4411 | } |
| 4412 | |
| 4413 | #quicknav ul li li ul li:before { |
| 4414 | content:"\21B3"; |
| 4415 | } |
| 4416 | |
| 4417 | #header-wrap { |
| 4418 | -webkit-transition: all 0.25s ease-out; |
| 4419 | -moz-transition: all 0.25s ease-out; |
| 4420 | -ms-transition: all 0.25s ease-out; |
| 4421 | -o-transition: all 0.25s ease-out; |
| 4422 | transition: all 0.25s ease-out; |
| 4423 | |
| 4424 | } |
| 4425 | |
| 4426 | #header-wrap.quicknav { |
Dirk Dougherty | 529a107 | 2014-12-15 15:10:06 -0800 | [diff] [blame^] | 4427 | height:216px; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4428 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4429 | } |
| 4430 | |
| 4431 | /* SEARCH AND MORE */ |
| 4432 | .search { |
| 4433 | position: absolute; |
| 4434 | width: 50px; |
| 4435 | height:28px; |
| 4436 | display: block; |
| 4437 | margin-top:-3px; |
| 4438 | margin-bottom:7px; |
| 4439 | overflow:hidden; |
| 4440 | z-index:100; |
| 4441 | right:54px; |
| 4442 | -webkit-transition: width 0.4s ease; |
| 4443 | -moz-transition: width 0.4s ease; |
| 4444 | -o-transition: width 0.4s ease; |
| 4445 | transition: width 0.4s ease; |
| 4446 | } |
| 4447 | |
| 4448 | .search #search-btn { |
| 4449 | width:50px; |
| 4450 | height:28px; |
| 4451 | background:url(../images/icon_search.png) no-repeat; |
| 4452 | float:left; |
| 4453 | } |
| 4454 | |
| 4455 | .search-inner { |
| 4456 | width:245px; |
| 4457 | } |
| 4458 | |
| 4459 | .search:hover, .search.active { |
| 4460 | width:245px; |
| 4461 | } |
| 4462 | |
| 4463 | .search .bottom, .search .left, .search .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4464 | position: absolute; |
| 4465 | background-color: #a2a2a2 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4466 | } |
| 4467 | |
| 4468 | .search .bottom { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4469 | width: 214px; |
| 4470 | height: 1px; |
| 4471 | top: 24px; |
| 4472 | left: 0 |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4473 | } |
| 4474 | |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4475 | .search .left, .search .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4476 | height: 5px; |
| 4477 | width: 1px |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4478 | } |
| 4479 | |
| 4480 | .search .left { |
| 4481 | top: 22px; |
| 4482 | left: 56px; |
| 4483 | background-color:#CCC; |
| 4484 | } |
| 4485 | |
| 4486 | .search .right { |
| 4487 | top: 22px; |
| 4488 | left: 238px; |
| 4489 | background-color:#CCC; |
| 4490 | } |
| 4491 | |
| 4492 | .search form { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4493 | margin-top: 2px; |
| 4494 | width: 162px; |
| 4495 | float:left; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4496 | } |
| 4497 | |
| 4498 | .search form input { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4499 | color: #2f2f2f; |
| 4500 | font-size: 0.95em; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4501 | width: 178px; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4502 | border: none; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4503 | margin-left: 6px; |
| 4504 | z-index: 1500; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4505 | position: relative; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4506 | background-color: transparent; |
| 4507 | border-bottom:1px solid #CCC; |
| 4508 | padding:0 0 0 4px; |
| 4509 | outline:none; |
| 4510 | height:24px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4511 | } |
| 4512 | |
| 4513 | .search:hover form input { |
| 4514 | border-bottom:1px solid #33B5E5; |
| 4515 | } |
| 4516 | |
| 4517 | .search:hover .bottom, .search:hover .left, .search:hover .right { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4518 | background-color: #33b5e5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4519 | } |
| 4520 | |
| 4521 | .search:hover #search-btn { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4522 | background-position: 0 -28px |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4523 | } |
| 4524 | |
| 4525 | .search form input:focus { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4526 | color: #222; |
| 4527 | font-weight: bold |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4528 | } |
| 4529 | |
| 4530 | .moremenu { |
| 4531 | float: right; |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4532 | position: relative; |
| 4533 | width: 50px; |
| 4534 | height:28px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4535 | display: block; |
| 4536 | margin-top:-3px; |
| 4537 | margin-bottom:7px; |
| 4538 | overflow:hidden; |
| 4539 | -webkit-transition: width 0.25s ease; |
| 4540 | -moz-transition: width 0.25s ease; |
| 4541 | -o-transition: width 0.25s ease; |
| 4542 | transition: width 0.25s ease; |
| 4543 | } |
| 4544 | |
| 4545 | .moremenu #more-btn { |
| 4546 | width:40px; |
| 4547 | height:28px; |
| 4548 | background:url(../images/icon_more.png) no-repeat; |
| 4549 | border-left:1px solid #CCC; |
| 4550 | float:left; |
| 4551 | cursor:pointer; |
| 4552 | } |
| 4553 | |
| 4554 | .moremenu:hover #more-btn { |
| 4555 | background-position:0 -28px; |
| 4556 | } |
| 4557 | |
| 4558 | .morehover { |
| 4559 | position:absolute; |
| 4560 | right:6px; |
| 4561 | top:-9px; |
| 4562 | width:40px; |
| 4563 | height:35px; |
| 4564 | z-index:99; |
| 4565 | overflow:hidden; |
| 4566 | |
| 4567 | -webkit-opacity:0; |
| 4568 | -moz-opacity:0; |
| 4569 | -o-opacity:0; |
| 4570 | opacity:0; |
| 4571 | |
| 4572 | -webkit-transform-origin:100% 0%; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4573 | -moz-transform-origin:100% 0%; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4574 | -o-transform-origin:100% 0%; |
| 4575 | transform-origin:100% 0%; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4576 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4577 | -webkit-transition-property: -webkit-opacity; |
| 4578 | -webkit-transition-duration: .25s; |
| 4579 | -webkit-transition-timing-function:ease; |
| 4580 | |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 4581 | -moz-transition-property: -moz-opacity; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4582 | -moz-transition-duration: .25s; |
| 4583 | -moz-transition-timing-function:ease; |
| 4584 | |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 4585 | -o-transition-property: -o-opacity; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4586 | -o-transition-duration: .25s; |
| 4587 | -o-transition-timing-function:ease; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4588 | |
Scott Main | 0e76e7e | 2013-03-12 10:24:07 -0700 | [diff] [blame] | 4589 | transition-property: opacity; |
| 4590 | transition-duration: .25s; |
| 4591 | transition-timing-function:ease; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4592 | } |
| 4593 | |
Scott Main | e05e6f9 | 2013-01-29 13:34:17 -0800 | [diff] [blame] | 4594 | .morehover:hover, |
| 4595 | .morehover.hover { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4596 | opacity:1; |
Scott Main | 55163c8 | 2012-07-18 16:18:25 -0700 | [diff] [blame] | 4597 | height:385px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4598 | width:268px; |
| 4599 | -webkit-transition-property:height, -webkit-opacity; |
| 4600 | } |
| 4601 | |
| 4602 | .morehover .top { |
| 4603 | width:268px; |
| 4604 | height:39px; |
| 4605 | background:url(../images/more_top.png) no-repeat; |
| 4606 | } |
| 4607 | |
| 4608 | .morehover .mid { |
| 4609 | width:228px; |
| 4610 | background:url(../images/more_mid.png) repeat-y; |
Scott Main | 55163c8 | 2012-07-18 16:18:25 -0700 | [diff] [blame] | 4611 | padding:10px 20px 0 20px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4612 | } |
| 4613 | |
| 4614 | .morehover .mid .header { |
| 4615 | border-bottom:1px solid #ccc; |
| 4616 | font-weight:bold; |
| 4617 | } |
| 4618 | |
| 4619 | .morehover .bottom { |
| 4620 | width:268px; |
| 4621 | height:6px; |
| 4622 | background:url(../images/more_bottom.png) no-repeat; |
| 4623 | } |
| 4624 | |
| 4625 | .morehover ul { |
| 4626 | margin:10px 10px 20px 0; |
| 4627 | } |
| 4628 | |
| 4629 | .morehover ul li { |
| 4630 | list-style:none; |
| 4631 | } |
| 4632 | |
| 4633 | .morehover ul li.active a, |
| 4634 | .morehover ul li.active a:hover { |
Scott Main | 9ada226 | 2012-06-23 14:59:36 -0700 | [diff] [blame] | 4635 | color:#222 !important; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4636 | } |
| 4637 | |
| 4638 | .morehover ul li.active img { |
| 4639 | margin-right:4px; |
| 4640 | } |
| 4641 | |
| 4642 | |
| 4643 | |
| 4644 | |
| 4645 | /* MARQUEE */ |
| 4646 | .slideshow-container { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4647 | width:100%; |
| 4648 | overflow:hidden; |
| 4649 | position:relative; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4650 | } |
| 4651 | .slideshow-container .slideshow-prev { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4652 | position:absolute; |
| 4653 | top:50%; |
| 4654 | left:0px; |
| 4655 | margin-top:-36px; |
| 4656 | z-index:99; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4657 | } |
| 4658 | .slideshow-container .slideshow-next { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4659 | position:absolute; |
| 4660 | top:50%; |
| 4661 | margin-top:-36px; |
| 4662 | z-index:99; |
| 4663 | right:0px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4664 | } |
| 4665 | |
| 4666 | .slideshow-container .pagination { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4667 | position:absolute; |
| 4668 | bottom:20px; |
| 4669 | width:100%; |
| 4670 | text-align:center; |
| 4671 | z-index:99; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4672 | } |
| 4673 | .slideshow-container .pagination ul { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4674 | margin:0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4675 | } |
| 4676 | .slideshow-container .pagination ul li{ |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4677 | display: inline-block; |
| 4678 | width:12px; |
| 4679 | height:12px; |
| 4680 | text-indent:-8000px; |
| 4681 | list-style:none; |
| 4682 | margin: 0 2px; |
| 4683 | border-radius:6px; |
| 4684 | background-color:#ccc; |
| 4685 | cursor:pointer; |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4686 | -webkit-transition:color .5s ease-in; |
| 4687 | -moz-transition:color .5s ease-in; |
| 4688 | -o-transition:color .5s ease-in; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4689 | transition:color .5s ease-in; |
| 4690 | } |
| 4691 | .slideshow-container .pagination ul li:hover { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4692 | background-color:#999; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4693 | } |
| 4694 | .slideshow-container .pagination ul li.active { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4695 | background-color:#33b5e5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4696 | } |
| 4697 | .slideshow-container .pagination ul li.active:hover { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4698 | background-color:#33b5e5; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4699 | } |
| 4700 | .slideshow-container ul li { |
Scott Main | b7f9637 | 2013-02-07 16:56:43 -0800 | [diff] [blame] | 4701 | display:inline; |
| 4702 | list-style:none; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4703 | } |
| 4704 | |
| 4705 | |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 4706 | #landing h1 { |
| 4707 | margin:17px 0 20px 0 !important; |
| 4708 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4709 | |
| 4710 | a.download-sdk { |
| 4711 | float:right; |
| 4712 | margin:-10px 0; |
| 4713 | height:30px; |
| 4714 | padding-top:4px; |
| 4715 | padding-bottom:0px; |
| 4716 | } |
| 4717 | |
| 4718 | #nav-x { |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 4719 | padding-top: 13px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4720 | } |
| 4721 | |
Scott Main | 1d62fa8 | 2012-07-17 13:15:12 -0700 | [diff] [blame] | 4722 | #nav-x .wrap { |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 4723 | min-height:32px; |
Scott Main | 1d62fa8 | 2012-07-17 13:15:12 -0700 | [diff] [blame] | 4724 | } |
| 4725 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4726 | #nav-x .wrap, |
| 4727 | #searchResults.wrap { |
| 4728 | max-width:940px; |
| 4729 | border-bottom:1px solid #CCC; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4730 | } |
| 4731 | |
Scott Main | a214d84 | 2012-07-16 17:14:40 -0700 | [diff] [blame] | 4732 | #searchResults.wrap #leftSearchControl { |
| 4733 | min-height:700px |
| 4734 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4735 | .nav-x { |
| 4736 | margin-left:0; |
| 4737 | margin-bottom:0; |
| 4738 | } |
| 4739 | |
| 4740 | |
| 4741 | |
| 4742 | |
| 4743 | |
| 4744 | |
| 4745 | |
| 4746 | |
| 4747 | |
| 4748 | |
| 4749 | /* |
| 4750 | * CSS Styles that are needed by jScrollPane for it to operate correctly. |
| 4751 | */ |
| 4752 | |
| 4753 | .jspContainer { |
| 4754 | overflow: hidden; |
| 4755 | position: relative; |
| 4756 | } |
| 4757 | |
| 4758 | .jspPane { |
| 4759 | position: absolute; |
Scott Main | 2d967c6 | 2013-03-11 09:21:07 -0700 | [diff] [blame] | 4760 | width:100% !important; /* to avoid cut-off api names in reference in horiz scroll */ |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4761 | } |
| 4762 | |
| 4763 | .jspVerticalBar { |
| 4764 | position: absolute; |
| 4765 | top: 0; |
| 4766 | right: 0; |
| 4767 | width: 4px; |
| 4768 | height: 100%; |
| 4769 | background: #f5f5f5; |
| 4770 | } |
| 4771 | |
| 4772 | .jspHorizontalBar { |
| 4773 | position: absolute; |
| 4774 | bottom: 0; |
| 4775 | left: 0; |
| 4776 | width: 100%; |
| 4777 | height: 4px; |
| 4778 | background: #f5f5f5; |
| 4779 | } |
| 4780 | |
| 4781 | .jspVerticalBar *, |
| 4782 | .jspHorizontalBar * { |
| 4783 | margin: 0; |
| 4784 | padding: 0; |
| 4785 | } |
| 4786 | .jspCap { |
| 4787 | display: block; |
| 4788 | } |
| 4789 | |
| 4790 | .jspVerticalBar .jspCap { |
| 4791 | height: 4px; |
| 4792 | } |
| 4793 | |
| 4794 | .jspHorizontalBar .jspCap { |
| 4795 | width: 0; |
| 4796 | height: 100%; |
| 4797 | } |
| 4798 | |
| 4799 | .jspHorizontalBar .jspCap { |
| 4800 | float: left; |
| 4801 | } |
| 4802 | |
| 4803 | .jspTrack { |
| 4804 | position: relative; |
| 4805 | } |
| 4806 | |
| 4807 | .jspDrag { |
| 4808 | background: #bbb; |
| 4809 | position: relative; |
| 4810 | top: 0; |
| 4811 | left: 0; |
| 4812 | cursor: pointer; |
| 4813 | } |
| 4814 | |
| 4815 | .jspDrag:hover, |
| 4816 | .jspDrag:active { |
| 4817 | border-color: #09c; |
| 4818 | background-color: #4cadcb; |
| 4819 | background-image: -webkit-gradient(linear, left top, right top, from(#5dbcd9), to(#4cadcb)); |
| 4820 | background-image: -webkit-linear-gradient(left, #5dbcd9, #4cadcb); |
| 4821 | background-image: -moz-linear-gradient(left, #5dbcd9, #4cadcb); |
| 4822 | background-image: -ms-linear-gradient(left, #5dbcd9, #4cadcb); |
| 4823 | background-image: -o-linear-gradient(left, #5dbcd9, #4cadcb); |
| 4824 | background-image: linear-gradient(left, #5dbcd9, #4cadcb); |
Scott Main | 98a2a71 | 2013-07-17 13:15:04 -0700 | [diff] [blame] | 4825 | filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5dbcd9', EndColorStr='#4cadcb'); |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4826 | } |
| 4827 | |
| 4828 | .jspHorizontalBar .jspTrack, |
| 4829 | .jspHorizontalBar .jspDrag { |
| 4830 | float: left; |
| 4831 | height: 100%; |
| 4832 | } |
| 4833 | |
| 4834 | .jspArrow { |
| 4835 | background: #999; |
| 4836 | text-indent: -20000px; |
| 4837 | display: block; |
| 4838 | cursor: pointer; |
| 4839 | } |
| 4840 | |
| 4841 | .jspArrow.jspDisabled { |
| 4842 | cursor: default; |
| 4843 | background: #ccc; |
| 4844 | } |
| 4845 | |
| 4846 | .jspVerticalBar .jspArrow { |
| 4847 | height: 16px; |
| 4848 | } |
| 4849 | |
| 4850 | .jspHorizontalBar .jspArrow { |
| 4851 | width: 16px; |
| 4852 | float: left; |
| 4853 | height: 100%; |
| 4854 | } |
| 4855 | |
| 4856 | .jspVerticalBar .jspArrow:focus { |
| 4857 | outline: none; |
| 4858 | } |
| 4859 | |
| 4860 | .jspCorner { |
| 4861 | float: left; |
| 4862 | height: 100%; |
| 4863 | } |
| 4864 | |
| 4865 | /* Yuk! CSS Hack for IE6 3 pixel bug :( */ |
| 4866 | * html .jspCorner { |
| 4867 | margin: 0 -3px 0 0; |
| 4868 | } |
| 4869 | /******* end of jscrollpane *********/ |
| 4870 | |
| 4871 | |
| 4872 | |
| 4873 | |
| 4874 | |
| 4875 | /************ DEVELOP HOMEPAGE ******************/ |
| 4876 | |
| 4877 | /* Slideshow */ |
| 4878 | .slideshow-develop { |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 4879 | height: 316px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4880 | width: 940px; |
| 4881 | position: relative; |
| 4882 | overflow:hidden; |
| 4883 | } |
| 4884 | .slideshow-develop .frame { |
| 4885 | width: 940px; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 4886 | height: 316px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4887 | } |
| 4888 | .slideshow-develop img.play { |
Scott Main | 06cb5c7 | 2012-07-23 14:34:34 -0700 | [diff] [blame] | 4889 | max-width:350px; |
| 4890 | max-height:240px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4891 | margin:20px 0 0 90px; |
| 4892 | -webkit-transform: perspective(800px ) rotateY( 35deg ); |
| 4893 | box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3); |
| 4894 | -moz-box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3); |
| 4895 | -webkit-box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3); |
| 4896 | } |
| 4897 | .slideshow-develop img.play.no-shadow { |
| 4898 | box-shadow: none; |
| 4899 | -moz-box-shadow: none; |
| 4900 | -webkit-box-shadow: none; |
| 4901 | } |
| 4902 | .slideshow-develop img.play.no-transform { |
| 4903 | -webkit-transform: none; |
| 4904 | } |
| 4905 | .slideshow-develop a.slideshow-next { |
| 4906 | background: url(../images/arrow-right-develop.png); |
| 4907 | } |
| 4908 | .slideshow-develop a.slideshow-prev { |
| 4909 | background: url(../images/arrow-left-develop.png); |
| 4910 | } |
| 4911 | .slideshow-develop .content-right { |
| 4912 | float: left; |
| 4913 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4914 | .slideshow-develop .content-right h2 { |
| 4915 | padding:0; |
| 4916 | margin-bottom:10px; |
| 4917 | border:none; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 4918 | font-size:24px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4919 | } |
| 4920 | .slideshow-develop .item { |
| 4921 | height: 300px; |
| 4922 | width: 940px; |
| 4923 | } |
| 4924 | .slideshow-develop .pagination ul li.active { |
| 4925 | background-color: #F80; |
| 4926 | } |
| 4927 | .slideshow-develop .pagination ul li.active:hover { |
| 4928 | background-color: #F80; |
| 4929 | } |
Scott Main | 0e58570 | 2012-10-22 20:30:22 -0700 | [diff] [blame] | 4930 | .slideshow-develop .item hr { |
| 4931 | margin:5px 0 10px; |
| 4932 | } |
| 4933 | .slideshow-develop .item p { |
| 4934 | margin:10px 0; |
| 4935 | } |
| 4936 | .slideshow-develop .item p.title-intro { |
| 4937 | position:absolute; |
| 4938 | margin:0; |
| 4939 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4940 | |
| 4941 | /* Feeds */ |
| 4942 | .feed ul { |
| 4943 | margin: 0; |
| 4944 | } |
| 4945 | .feed .feed-nav { |
| 4946 | height: 25px; |
| 4947 | border-bottom: 1px solid #CCC; |
| 4948 | } |
| 4949 | .feed .feed-nav li { |
| 4950 | list-style: none; |
| 4951 | float: left; |
Scott Main | 06cb5c7 | 2012-07-23 14:34:34 -0700 | [diff] [blame] | 4952 | height: 21px; /* +4px bottom border = 25px; same as .feed-nav */ |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 4953 | margin-right: 25px; |
| 4954 | cursor: pointer; |
| 4955 | } |
| 4956 | .feed .feed-nav li.active { |
| 4957 | color: #000; |
| 4958 | border-bottom: 4px solid #F80; |
| 4959 | } |
| 4960 | .feed .feed-container { |
| 4961 | overflow: hidden; |
| 4962 | width: 460px; |
| 4963 | } |
| 4964 | .feed .feed-container .feed-frame { |
| 4965 | width: 1000px; |
| 4966 | } |
| 4967 | .feed .feed-container .feed-frame ul { |
| 4968 | float: left; |
| 4969 | width:460px; |
| 4970 | } |
| 4971 | .feed .feed-container .feed-frame ul ul { |
| 4972 | float: none; |
| 4973 | margin:10px 0 0 30px; |
| 4974 | } |
| 4975 | .feed .feed-container .feed-frame li { |
| 4976 | list-style: none; |
| 4977 | margin: 20px 0 20px 0; |
| 4978 | width: 460px; |
| 4979 | height:93px; |
| 4980 | } |
| 4981 | .feed .feed-container .feed-frame li.playlist { |
| 4982 | height:auto; |
| 4983 | } |
| 4984 | .feed .feed-container .feed-frame li.playlist a { |
| 4985 | height:93px; |
| 4986 | display:block; |
| 4987 | } |
| 4988 | .feed .feed-container .feed-frame li.more { |
| 4989 | height:20px; |
| 4990 | margin:10px 0 5px 5px; |
| 4991 | } |
| 4992 | .feed .feed-container .feed-frame li.more a { |
| 4993 | height:inherit; |
| 4994 | } |
| 4995 | .feed .feed-container .feed-frame li.playlist-video { |
| 4996 | list-style: none; |
| 4997 | margin: 0; |
| 4998 | width: 460px; |
| 4999 | height:55px; |
| 5000 | font-size:12px; |
| 5001 | } |
| 5002 | .feed .feed-container .feed-frame li.playlist-video a { |
| 5003 | height:45px; |
| 5004 | padding:5px; |
| 5005 | } |
| 5006 | .feed .feed-container .feed-frame li.playlist-video h5 { |
| 5007 | font-size:12px; |
| 5008 | line-height:13px; |
| 5009 | margin:0; |
| 5010 | } |
| 5011 | .feed .feed-container .feed-frame li.playlist-video p { |
| 5012 | margin:5px 0 0; |
| 5013 | line-height:15px; |
| 5014 | } |
| 5015 | .feed-container .feed-frame div.feed-image { |
| 5016 | float: left; |
| 5017 | border: 1px solid #999; |
| 5018 | margin:0 20px 0 0; |
| 5019 | width:122px; |
| 5020 | height:92px; |
| 5021 | background:url('../images/blog-default.png') no-repeat 0 0; |
| 5022 | background-size:180px; |
| 5023 | } |
| 5024 | #jd-content .feed .feed-container .feed-frame li img { |
| 5025 | float: left; |
| 5026 | border: 1px solid #999; |
| 5027 | margin:0 20px 0 0; |
| 5028 | width:122px; |
| 5029 | height:92px; |
| 5030 | } |
| 5031 | #jd-content .feed .feed-container .feed-frame li.playlist-video img { |
| 5032 | width:inherit; |
| 5033 | height:inherit; |
| 5034 | } |
| 5035 | |
| 5036 | .feed .feed-container .feed-frame li a, |
| 5037 | .feed .feed-container .feed-frame li a:active { |
| 5038 | color:#555 !important; |
| 5039 | } |
| 5040 | |
| 5041 | .feed .feed-container .feed-frame li a:hover, |
| 5042 | .feed .feed-container .feed-frame li a:hover * { |
| 5043 | color:#7AA1B0 !important; |
| 5044 | } |
| 5045 | |
| 5046 | /* Video player */ |
| 5047 | #player-wrapper { |
| 5048 | display:none; |
| 5049 | margin: -1px auto 0; |
| 5050 | position: relative; |
| 5051 | width: 940px; |
| 5052 | height: 0px; |
| 5053 | } |
| 5054 | #player-frame { |
| 5055 | background: #EFEFEF; |
| 5056 | border: 1px solid #CCC; |
| 5057 | padding: 0px 207px; |
| 5058 | z-index: 10; /* stay above marque, but below search suggestions */ |
| 5059 | width: 525px; |
| 5060 | height: 330px; |
| 5061 | position: relative; |
| 5062 | } |
| 5063 | |
| 5064 | |
| 5065 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5066 | /************ DEVELOP TOPIC CONTAINERS ************/ |
| 5067 | |
| 5068 | .landing-banner, |
| 5069 | .landing-docs { |
Scott Main | afc4db3 | 2013-11-20 16:53:12 -0800 | [diff] [blame] | 5070 | margin:20px 0; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5071 | } |
Scott Main | afc4db3 | 2013-11-20 16:53:12 -0800 | [diff] [blame] | 5072 | .landing-banner > div:first-child, |
| 5073 | .landing-docs > div:first-child, |
| 5074 | .landing-docs > .col-12 { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5075 | margin-left:0; |
Scott Main | 0e71cee | 2012-08-07 13:59:43 -0700 | [diff] [blame] | 5076 | min-height:280px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5077 | } |
Scott Main | afc4db3 | 2013-11-20 16:53:12 -0800 | [diff] [blame] | 5078 | .landing-banner.short > div { |
| 5079 | min-height:50px; |
| 5080 | } |
| 5081 | .landing-banner > div:last-child, |
| 5082 | .landing-docs > div:last-child, |
| 5083 | .landing-docs > .col-12 { |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5084 | margin-right:0; |
| 5085 | } |
| 5086 | |
Scott Main | afc4db3 | 2013-11-20 16:53:12 -0800 | [diff] [blame] | 5087 | .landing-banner > div > *:last-child { |
| 5088 | margin-bottom:0; |
| 5089 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5090 | .landing-banner h1 { |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 5091 | margin-top:16px; |
| 5092 | padding-bottom:24px; |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5093 | } |
Scott Main | afc4db3 | 2013-11-20 16:53:12 -0800 | [diff] [blame] | 5094 | .landing-docs, |
| 5095 | .landing-banner { |
| 5096 | clear:both; |
Scott Main | e6850d2 | 2012-10-08 15:59:01 -0700 | [diff] [blame] | 5097 | overflow:hidden; |
Scott Main | 0e71cee | 2012-08-07 13:59:43 -0700 | [diff] [blame] | 5098 | } |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5099 | .landing-docs h3 { |
| 5100 | font-size:14px; |
| 5101 | line-height:21px; |
| 5102 | color:#555; |
| 5103 | text-transform:uppercase; |
| 5104 | border-bottom:1px solid #CCC; |
| 5105 | margin:0 0 20px; |
| 5106 | } |
| 5107 | .landing-docs a { |
| 5108 | color:#333 !important; |
| 5109 | } |
Robert Ly | 40e9099 | 2012-11-28 17:46:17 -0800 | [diff] [blame] | 5110 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5111 | .landing-docs a:hover, |
| 5112 | .landing-docs a:hover * { |
| 5113 | color:#7AA1B0 !important |
| 5114 | } |
| 5115 | |
Robert Ly | 40e9099 | 2012-11-28 17:46:17 -0800 | [diff] [blame] | 5116 | .landing-docs .normal-links a { |
| 5117 | color:#258aaf !important; |
| 5118 | } |
| 5119 | |
Scott Main | e4d8f1b | 2012-06-21 18:03:05 -0700 | [diff] [blame] | 5120 | .plusone { |
| 5121 | float:right; |
Scott Main | b72b7b8 | 2012-07-19 11:03:41 -0700 | [diff] [blame] | 5122 | } |
Scott Main | 9edfa6d | 2012-08-14 15:04:40 -0700 | [diff] [blame] | 5123 | |
| 5124 | |
| 5125 | |
Scott Main | afc4db3 | 2013-11-20 16:53:12 -0800 | [diff] [blame] | 5126 | .next-docs { |
| 5127 | border-top:1px solid #ccc; |
| 5128 | margin:40px 0 0; |
| 5129 | padding:5px 0 0; |
| 5130 | clear:left; |
| 5131 | overflow:hidden; |
| 5132 | } |
| 5133 | .next-docs div:first-child { |
| 5134 | margin-left:0; |
| 5135 | } |
| 5136 | .next-docs div:last-child { |
| 5137 | margin-right:0; |
| 5138 | } |
| 5139 | |
| 5140 | .next-docs h2 { |
| 5141 | font-size:14px; |
| 5142 | line-height:21px; |
| 5143 | color:#555; |
| 5144 | text-transform:uppercase; |
| 5145 | border-bottom:none; |
Scott Main | 9ee0fae | 2014-01-23 10:50:57 -0800 | [diff] [blame] | 5146 | margin:0 0 1em; |
Scott Main | afc4db3 | 2013-11-20 16:53:12 -0800 | [diff] [blame] | 5147 | padding:5px 0 0; |
| 5148 | } |
| 5149 | |
| 5150 | |
| 5151 | |
Scott Main | 9edfa6d | 2012-08-14 15:04:40 -0700 | [diff] [blame] | 5152 | /************* HOME/LANDING PAGE *****************/ |
| 5153 | |
| 5154 | .slideshow-home { |
| 5155 | height: 500px; |
| 5156 | width: 940px; |
| 5157 | border-bottom: 1px solid #CCC; |
| 5158 | position: relative; |
| 5159 | margin: 0; |
| 5160 | } |
| 5161 | .slideshow-home .frame { |
| 5162 | width: 940px; |
| 5163 | height: 500px; |
| 5164 | } |
| 5165 | .slideshow-home .content-left { |
| 5166 | float: left; |
| 5167 | text-align: center; |
| 5168 | vertical-align: center; |
| 5169 | margin: 0 0 0 35px; |
| 5170 | } |
| 5171 | .slideshow-home .content-right { |
| 5172 | margin: 80px 0 0 0; |
| 5173 | } |
| 5174 | .slideshow-home .content-right p { |
| 5175 | margin-bottom: 10px; |
| 5176 | } |
| 5177 | .slideshow-home .content-right p:last-child { |
| 5178 | margin-top: 15px; |
| 5179 | } |
| 5180 | .slideshow-home .content-right h1 { |
| 5181 | padding:0; |
| 5182 | } |
| 5183 | .slideshow-home .item { |
| 5184 | height: 500px; |
| 5185 | width: 940px; |
| 5186 | } |
| 5187 | .home-sections { |
| 5188 | padding: 30px 20px 20px; |
| 5189 | margin: 20px 0; |
| 5190 | background: -webkit-linear-gradient(top, #F6F6F6,#F9F9F9); |
| 5191 | } |
| 5192 | .home-sections ul { |
| 5193 | margin: 0; |
| 5194 | } |
| 5195 | .home-sections ul li { |
| 5196 | float: left; |
| 5197 | display: block; |
| 5198 | list-style: none; |
| 5199 | width: 170px; |
| 5200 | height: 35px; |
| 5201 | border: 1px solid #ccc; |
| 5202 | background: white; |
| 5203 | margin-right: 10px; |
| 5204 | border-radius: 1px; |
| 5205 | -webkit-border-radius: 1px; |
| 5206 | -moz-border-radius: 1px; |
| 5207 | box-shadow: 1px 1px 5px #EEE; |
| 5208 | -webkit-box-shadow: 1px 1px 5px #EEE; |
| 5209 | -moz-box-shadow: 1px 1px 5px #EEE; |
| 5210 | background: white; |
| 5211 | } |
| 5212 | .home-sections ul li:hover { |
| 5213 | background: #F9F9F9; |
| 5214 | border: 1px solid #CCC; |
| 5215 | } |
| 5216 | .home-sections ul li a, |
| 5217 | .home-sections ul li a:hover { |
| 5218 | font-weight: bold; |
| 5219 | margin-top: 8px; |
| 5220 | line-height: 18px; |
| 5221 | float: left; |
| 5222 | width: 100%; |
| 5223 | text-align: center; |
| 5224 | color: #09c !important; |
| 5225 | } |
| 5226 | .home-sections ul li a { |
| 5227 | font-weight: bold; |
| 5228 | margin-top: 8px; |
| 5229 | line-height: 18px; |
| 5230 | float: left; |
| 5231 | width:100%; |
| 5232 | text-align:center; |
| 5233 | } |
| 5234 | .home-sections ul li img { |
| 5235 | float: left; |
| 5236 | margin: -8px 0 0 10px; |
| 5237 | } |
| 5238 | .home-sections ul li.last { |
| 5239 | margin-right: 0px; |
| 5240 | } |
Scott Main | f508984 | 2012-08-14 16:31:07 -0700 | [diff] [blame] | 5241 | .fullpage #footer { |
Scott Main | 9edfa6d | 2012-08-14 15:04:40 -0700 | [diff] [blame] | 5242 | margin-top: -40px; |
| 5243 | } |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 5244 | |
| 5245 | /************ DISTRIBUTE PAGES ******************/ |
| 5246 | |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 5247 | .article-detail #body-content { |
| 5248 | padding-top: 10px; |
| 5249 | } |
| 5250 | |
| 5251 | /* A container for grid sets with uppercase h3 and rule */ |
| 5252 | .dynamic-grid h3 { |
| 5253 | font-size:14px; |
| 5254 | line-height:21px; |
| 5255 | color:#555; |
| 5256 | text-transform:uppercase; |
| 5257 | border-bottom:1px solid #CCC; |
| 5258 | padding:8px 0 0 1px; |
Dirk Dougherty | 2e3fb81 | 2014-06-01 21:28:20 -0700 | [diff] [blame] | 5259 | margin-bottom:14px; |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 5260 | clear:both; |
| 5261 | } |
| 5262 | |
| 5263 | .top-right-float { |
| 5264 | float: right; |
| 5265 | } |
| 5266 | |
| 5267 | .clearfloat { |
| 5268 | float: none; |
| 5269 | clear: both; |
| 5270 | } |
| 5271 | |
| 5272 | .border-img { |
| 5273 | border: 1px solid #CCC; |
| 5274 | } |
| 5275 | |
| 5276 | .center-img { |
| 5277 | margin: auto; |
| 5278 | text-align: center; |
| 5279 | } |
| 5280 | .center-img img { |
| 5281 | margin-bottom: 15px; |
| 5282 | } |
| 5283 | |
| 5284 | .figure img, .border-img { |
| 5285 | margin-bottom: 15px; |
| 5286 | } |
| 5287 | |
| 5288 | /************ RESOURCE CARDS ******************/ |
| 5289 | |
| 5290 | /* Resource cards, 12, 13, 16-col */ |
| 5291 | |
| 5292 | /* Basic card-styling with shadow */ |
| 5293 | .resource-card { |
| 5294 | border-radius: 1px; |
| 5295 | box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.12); |
| 5296 | background: #fefefe; |
| 5297 | } |
| 5298 | |
| 5299 | /* Styling for background image including tinting and section icons in stacks */ |
| 5300 | .card-bg { |
| 5301 | display: block; |
| 5302 | position: absolute; |
| 5303 | vertical-align: top; |
| 5304 | width: 100%; |
| 5305 | left: 0; |
| 5306 | top: 0; |
| 5307 | background-size: cover; |
| 5308 | background-repeat: no-repeat; |
| 5309 | background-position: center; |
| 5310 | background-image: url(../images/resource-card-default-android.jpg); |
| 5311 | } |
| 5312 | .card-bg:after { |
| 5313 | content: ""; |
| 5314 | display: block; |
| 5315 | height: 100%; |
| 5316 | width: 100%; |
| 5317 | opacity: 1; |
| 5318 | background: rgba(0, 0, 0, 0.2); |
| 5319 | -webkit-transition: opacity 0.5s; |
| 5320 | -moz-transition: opacity 0.5s; |
| 5321 | -o-transition: opacity 0.5s; |
| 5322 | transition: opacity 0.5s; |
| 5323 | } |
smain@google.com | cda1a9a | 2014-06-19 17:07:46 -0700 | [diff] [blame] | 5324 | .static .card-bg:after { |
| 5325 | display:none; |
| 5326 | } |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 5327 | .card-bg .card-section-icon { |
| 5328 | position: absolute; |
| 5329 | top: 50%; |
| 5330 | width: 100%; |
| 5331 | margin-top: -35px; |
| 5332 | text-align: center; |
| 5333 | padding-top: 65px; |
| 5334 | z-index: 100; |
| 5335 | } |
| 5336 | .card-bg .card-section-icon .icon { |
| 5337 | position: absolute; |
| 5338 | left: 50%; |
| 5339 | margin-left: -28px; |
| 5340 | top: 0px; |
| 5341 | width: 56px; |
| 5342 | height: 56px; |
| 5343 | background-repeat: no-repeat; |
| 5344 | background-position: 50% 50%; |
| 5345 | background-image: url(../images/stack-icon.png); |
| 5346 | } |
| 5347 | .card-bg .card-section-icon .section { |
| 5348 | text-transform: uppercase; |
| 5349 | color: white; |
| 5350 | font-size: 14px; |
| 5351 | } |
| 5352 | |
| 5353 | .card-info { |
| 5354 | position: absolute; |
| 5355 | -webkit-box-sizing: border-box; |
| 5356 | -moz-box-sizing: border-box; |
| 5357 | box-sizing: border-box; |
| 5358 | top: 0; |
| 5359 | right: 0; |
| 5360 | bottom: 0; |
| 5361 | left: 0; |
| 5362 | overflow: hidden; |
| 5363 | background: #fefefe; |
| 5364 | padding: 4px 12px 6px 12px; |
| 5365 | } |
| 5366 | .card-info .section { |
| 5367 | text-transform: uppercase; |
| 5368 | color: #898989; |
| 5369 | font-size: 12px; |
| 5370 | margin-bottom: 1px; |
| 5371 | } |
| 5372 | .card-info .title { |
| 5373 | color: #363636; |
| 5374 | white-space: nowrap; |
| 5375 | overflow: hidden; |
| 5376 | text-overflow: ellipsis; |
| 5377 | padding-bottom: 5px; |
| 5378 | margin-bottom: -2px; |
| 5379 | font-size: 16px; |
| 5380 | } |
| 5381 | .card-info .description { |
| 5382 | overflow: hidden; |
| 5383 | } |
| 5384 | .card-info .description .text { |
| 5385 | color: #464646; |
| 5386 | font: 13px/15px Roboto Condensed; |
| 5387 | overflow: hidden; |
| 5388 | width:100%; |
| 5389 | } |
| 5390 | .card-info .description .util { |
| 5391 | position: absolute; |
| 5392 | right: 5px; |
| 5393 | bottom: 70px; /*-2px;*/ |
| 5394 | opacity: 0; |
| 5395 | -webkit-transition: opacity 0.5s; |
| 5396 | -moz-transition: opacity 0.5s; |
| 5397 | -o-transition: opacity 0.5s; |
| 5398 | transition: opacity 0.5s; |
| 5399 | } |
| 5400 | .card-info.empty-desc .title { |
| 5401 | white-space: normal; |
| 5402 | overflow: visible; |
| 5403 | } |
| 5404 | .card-info.empty-desc .description { |
| 5405 | display: none; |
| 5406 | } |
| 5407 | /* Truncate card summaries at bounding box and |
| 5408 | * and apply ellipsis at lower right */ |
| 5409 | .ellipsis { |
| 5410 | overflow: hidden; |
| 5411 | float:right; |
| 5412 | line-height: 15px; |
| 5413 | width:100%; |
| 5414 | } |
| 5415 | .resource-card-6x6 .card-info .description .teddddddxt { |
| 5416 | float:left; |
| 5417 | position:relative; |
| 5418 | margin-left:0; |
| 5419 | } |
| 5420 | .ellipsis:before { |
| 5421 | content:""; |
| 5422 | float: left; |
| 5423 | width: 5px; |
| 5424 | height:100%; |
| 5425 | } |
| 5426 | .ellipsis > *:first-child.text { |
| 5427 | float: right; |
| 5428 | width: 100% !important; |
| 5429 | margin-left: -5px; |
| 5430 | } |
| 5431 | .ellipsis:after { |
| 5432 | content: "\02026"; |
| 5433 | height:17px; |
| 5434 | padding-bottom:4px; |
| 5435 | |
| 5436 | box-sizing: content-box; |
| 5437 | -webkit-box-sizing: content-box; |
| 5438 | -moz-box-sizing: content-box; |
| 5439 | |
| 5440 | float: right; position: relative; |
| 5441 | top: -16px; left: 100%; |
| 5442 | width: 4em; margin-left: -4em; |
| 5443 | padding-right: 5px; |
| 5444 | |
| 5445 | background: -webkit-gradient(linear, left top, right top, |
| 5446 | from(rgba(255, 255, 255, 0)), to(white), color-stop(65%, white)); |
| 5447 | background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white); |
| 5448 | background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white); |
| 5449 | background: -ms-linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white); |
| 5450 | background: linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white); |
| 5451 | } |
| 5452 | .ellipsis:after { |
| 5453 | font-style: normal; color: #aaa; |
| 5454 | font-size:13px; |
| 5455 | text-align: right; |
| 5456 | } |
| 5457 | |
| 5458 | /* Flow Layout */ |
| 5459 | .resource-flow-layout { |
| 5460 | display: inline-block; |
| 5461 | } |
| 5462 | .resource-flow-layout .resource-card, .resource-flow-layout .resource-card-stack { |
| 5463 | float: left; |
| 5464 | position: relative; |
| 5465 | } |
| 5466 | .resource-flow-layout .resource-card-stack > .resource-card { |
| 5467 | margin-right: 0px !important; |
| 5468 | } |
| 5469 | .resource-flow-layout:after { |
| 5470 | content: "."; |
| 5471 | display: block; |
smain@google.com | 95c0d99 | 2014-06-20 10:22:38 -0700 | [diff] [blame] | 5472 | height: 0; |
Dirk Dougherty | ca1230c | 2014-05-14 20:00:03 -0700 | [diff] [blame] | 5473 | position:relative; |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 5474 | clear: both; |
| 5475 | visibility: hidden; |
| 5476 | } |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 5477 | .resource-card:hover { |
| 5478 | cursor: pointer; |
| 5479 | } |
smain@google.com | cda1a9a | 2014-06-19 17:07:46 -0700 | [diff] [blame] | 5480 | .static .resource-card:hover { |
| 5481 | cursor: auto; |
| 5482 | } |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 5483 | .resource-card:hover .card-bg:after { |
| 5484 | opacity: 0; |
| 5485 | } |
| 5486 | /* disabled to make way for fade/ellipsis truncation, |
Scott Main | b16376f | 2014-05-21 20:35:47 -0700 | [diff] [blame] | 5487 | and the plusone moves up. |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 5488 | .resource-card:hover .card-info .description .text { |
| 5489 | padding-right: 70px; |
| 5490 | } */ |
| 5491 | .resource-card:hover .card-info .description .util { |
| 5492 | opacity: 1; |
| 5493 | } |
| 5494 | |
| 5495 | /* Carousel Layout */ |
| 5496 | /* Carousel styles for landing page */ |
| 5497 | .resource-carousel-layout { |
| 5498 | margin: 20px 0 20px 0; |
| 5499 | position: relative; |
| 5500 | overflow: hidden; |
| 5501 | } |
| 5502 | .resource-carousel-layout .slideshow-prev, .resource-carousel-layout .slideshow-next { |
| 5503 | display: none; |
| 5504 | } |
| 5505 | .resource-carousel-layout .pagination { |
| 5506 | bottom: 0px; |
| 5507 | } |
| 5508 | .resource-carousel-layout .frame li { |
| 5509 | position: relative; |
| 5510 | } |
| 5511 | .resource-carousel-layout .frame li .card-bg { |
| 5512 | height: 300px; |
| 5513 | } |
| 5514 | .resource-carousel-layout .frame li .card-info { |
| 5515 | padding: 7px 15px 0px 15px; |
| 5516 | top: 300px; |
| 5517 | } |
| 5518 | .resource-carousel-layout .frame li .card-info .section { |
| 5519 | font-size: 13px; |
| 5520 | margin-bottom: 7px; |
| 5521 | } |
| 5522 | .resource-carousel-layout .frame li .card-info .title { |
| 5523 | font-size: 25px; |
| 5524 | margin-bottom: 2px; |
| 5525 | } |
| 5526 | .resource-carousel-layout .frame li .card-info .description { |
| 5527 | font-family: 15px/16px Roboto Condensed, sans-serif; |
| 5528 | } |
| 5529 | .resource-carousel-layout .frame li .card-info .description .text { |
| 5530 | height: 40px; |
| 5531 | } |
| 5532 | .resource-carousel-layout .frame li .card-info .description .util { |
| 5533 | bottom:97px; |
| 5534 | right:4px; |
| 5535 | } |
| 5536 | |
| 5537 | /* Stack Layout */ |
| 5538 | .resource-stack-layout { |
| 5539 | display: inline-block; |
| 5540 | } |
| 5541 | .resource-stack-layout .resource-card-stack { |
| 5542 | float: left; |
| 5543 | position: relative; |
| 5544 | } |
| 5545 | .resource-stack-layout .resource-card { |
| 5546 | margin-bottom: 20px; |
| 5547 | display: block; |
| 5548 | position: relative; |
| 5549 | } |
| 5550 | .resource-stack-layout .section-card-menu > .card-info .section, .resource-stack-layout .section-card > .card-info .title { |
| 5551 | /*text-transform: uppercase;*/ |
| 5552 | color: #898989; |
| 5553 | font-size: 17px; |
| 5554 | line-height: 24px; |
| 5555 | margin-bottom: 6px; |
| 5556 | } |
| 5557 | .resource-stack-layout .section-card { |
| 5558 | height: 284px; |
| 5559 | } |
| 5560 | .resource-stack-layout .section-card > .card-bg { |
| 5561 | height: 192px; |
| 5562 | } |
| 5563 | .resource-stack-layout .section-card > .card-info { |
| 5564 | padding: 4px 12px 6px 12px; |
| 5565 | top: 192px; |
| 5566 | } |
| 5567 | .resource-stack-layout .section-card > .card-info .section { |
| 5568 | display: none; |
| 5569 | } |
| 5570 | .resource-stack-layout .section-card > .card-info .title { |
| 5571 | font-size: 17px; |
| 5572 | border-bottom: 1px solid #959595; |
| 5573 | padding-bottom: 0px; |
| 5574 | } |
| 5575 | .resource-stack-layout .section-card > .card-info .description { |
| 5576 | font-size: 13px; |
| 5577 | line-height: 15px; |
| 5578 | } |
| 5579 | .resource-stack-layout .section-card > .card-info .description .text { |
| 5580 | height: 30px; |
| 5581 | } |
| 5582 | .resource-stack-layout .related-card { |
| 5583 | height: 90px; |
| 5584 | } |
| 5585 | .resource-stack-layout .related-card > .card-bg { |
| 5586 | left: 0; |
| 5587 | top: 0; |
| 5588 | width: 90px; |
| 5589 | height: 100%; |
| 5590 | position: absolute; |
| 5591 | display: block; |
| 5592 | } |
| 5593 | .resource-stack-layout .related-card > .card-info { |
| 5594 | left: 90px; |
| 5595 | padding: 4px 12px 4px 12px; |
| 5596 | } |
| 5597 | .resource-stack-layout .related-card > .card-info .section { |
| 5598 | font-size: 12px; |
| 5599 | margin-bottom: 1px; |
| 5600 | display: none; |
| 5601 | } |
| 5602 | .resource-stack-layout .related-card > .card-info .title { |
| 5603 | font-size: 16px; |
| 5604 | margin-bottom: -2px; |
| 5605 | white-space: normal; |
| 5606 | overflow: visible; |
| 5607 | text-overflow: ellipsis; |
| 5608 | } |
| 5609 | .resource-stack-layout .related-card > .card-info .title:after { |
| 5610 | content: url(../images/link-out.png); |
| 5611 | display: block; |
| 5612 | } |
| 5613 | .resource-stack-layout .related-card > .card-info .description { |
| 5614 | display: none; |
| 5615 | } |
| 5616 | .resource-stack-layout .section-card-menu { |
| 5617 | /* Flexible height */ |
| 5618 | display: block; |
| 5619 | height: auto; |
| 5620 | width: auto; |
| 5621 | } |
| 5622 | .resource-stack-layout .section-card-menu .card-bg { |
| 5623 | height: 155px; |
| 5624 | /* Flexible height */ |
| 5625 | position: relative; |
| 5626 | display: inline-block; |
| 5627 | vertical-align: top; |
| 5628 | } |
| 5629 | .resource-stack-layout .section-card-menu .card-info { |
| 5630 | padding: 4px 12px 0px 12px; |
| 5631 | /* Flexible height */ |
| 5632 | position: relative; |
| 5633 | left: auto; |
| 5634 | top: auto; |
| 5635 | right: auto; |
| 5636 | bottom: auto; |
| 5637 | } |
| 5638 | .resource-stack-layout .section-card-menu .card-info ul { |
| 5639 | list-style: none; |
| 5640 | margin: 0; |
| 5641 | } |
| 5642 | .resource-stack-layout .section-card-menu .card-info ul li { |
| 5643 | list-style: none; |
| 5644 | margin: 0; |
| 5645 | padding: 15px 0; |
| 5646 | border-top-width: 1px; |
| 5647 | border-top-style: solid; |
| 5648 | border-top-color: #959595; |
| 5649 | } |
| 5650 | .resource-stack-layout .section-card-menu .card-info ul li a, .resource-stack-layout .section-card-menu .card-info ul li a:focus, .resource-stack-layout .section-card-menu .card-info ul li a:link, .resource-stack-layout .section-card-menu .card-info ul li a:visited, .resource-stack-layout .section-card-menu .card-info ul li a:active, .resource-stack-layout .section-card-menu .card-info ul li a:hover { |
| 5651 | color: #363636 !important; |
| 5652 | } |
| 5653 | .resource-stack-layout .section-card-menu .card-info ul li:first-child { |
| 5654 | border-top: none; |
| 5655 | } |
| 5656 | .resource-stack-layout .section-card-menu .card-info ul li:hover .title:after { |
| 5657 | opacity: 1; |
| 5658 | -webkit-transition: opacity 0.5s; |
| 5659 | -moz-transition: opacity 0.5s; |
| 5660 | -o-transition: opacity 0.5s; |
| 5661 | transition: opacity 0.5s; |
| 5662 | } |
| 5663 | .resource-stack-layout .section-card-menu .card-info ul li:hover .description { |
| 5664 | max-height: 30px; |
| 5665 | opacity: 1; |
| 5666 | -webkit-transition: max-height 0.5s, opacity 1s; |
| 5667 | -moz-transition: max-height 0.5s, opacity 1s; |
| 5668 | -o-transition: max-height 0.5s, opacity 1s; |
| 5669 | transition: max-height 0.5s, opacity 1s; |
| 5670 | } |
| 5671 | .resource-stack-layout .section-card-menu .card-info .title { |
| 5672 | font-size: 16px; |
| 5673 | margin-bottom: -2px; |
| 5674 | position: relative; |
| 5675 | } |
| 5676 | .resource-stack-layout .section-card-menu .card-info .title:after { |
| 5677 | background: url(../images/stack-arrow-right.png); |
| 5678 | content: ''; |
| 5679 | opacity: 0; |
| 5680 | -webkit-transition: opacity 0.25s; |
| 5681 | -moz-transition: opacity 0.25s; |
| 5682 | -o-transition: opacity 0.25s; |
| 5683 | transition: opacity 0.25s; |
| 5684 | position: absolute; |
| 5685 | right: 0px; |
| 5686 | top: 3px; |
| 5687 | width: 10px; |
| 5688 | height: 15px; |
| 5689 | } |
| 5690 | .resource-stack-layout .section-card-menu .card-info .title.more { |
| 5691 | text-transform: uppercase; |
| 5692 | color: #898989; |
| 5693 | display: inline-block; |
| 5694 | } |
| 5695 | .resource-stack-layout .section-card-menu .card-info .title.more:after { |
| 5696 | background: url(../images/stack-arrow-right.png); |
| 5697 | content: ''; |
| 5698 | display: block; |
| 5699 | position: absolute; |
| 5700 | right: -20px; |
| 5701 | top: 3px; |
| 5702 | width: 10px; |
| 5703 | height: 15px; |
| 5704 | } |
| 5705 | .resource-stack-layout .section-card-menu .card-info .description { |
| 5706 | max-height: 0px; |
| 5707 | opacity: 0; |
| 5708 | overflow: hidden; |
| 5709 | font-size: 13px; |
| 5710 | line-height: 15px; |
| 5711 | /* Hover off */ |
| 5712 | -webkit-transition: max-height 0.5s, opacity 0.5s; |
| 5713 | -moz-transition: max-height 0.5s, opacity 0.5s; |
| 5714 | -o-transition: max-height 0.5s, opacity 0.5s; |
| 5715 | transition: max-height 0.5s, opacity 0.5s; |
| 5716 | } |
| 5717 | .resource-stack-layout .section-card-menu .card-info .description .text { |
| 5718 | height: 30px; |
| 5719 | } |
| 5720 | .resource-stack-layout:after { |
| 5721 | content: "."; |
| 5722 | display: block; |
| 5723 | height: 0; |
| 5724 | clear: both; |
| 5725 | visibility: hidden; |
| 5726 | } |
| 5727 | |
| 5728 | /* Generate the flow layout styles for a 3-column 16-col span */ |
| 5729 | .resource-flow-layout.col-16 { |
| 5730 | margin: 0 -14px 0 0; |
| 5731 | width: 954px; |
| 5732 | } |
| 5733 | .resource-flow-layout.col-16 .resource-card, .resource-flow-layout.col-16 .resource-card-stack { |
| 5734 | margin: 0 14px 20px 0; |
| 5735 | } |
| 5736 | .resource-flow-layout.col-16 .resource-card-row-stack-last { |
| 5737 | margin-bottom: 0px !important; |
| 5738 | } |
| 5739 | .resource-flow-layout.col-16 .resource-card-col-stack-last { |
| 5740 | margin-bottom: 0px !important; |
| 5741 | } |
| 5742 | .resource-flow-layout.col-16 .resource-card-3x6 { |
| 5743 | width: 145px; |
| 5744 | height: 284px; |
| 5745 | } |
| 5746 | .resource-flow-layout.col-16 .resource-card-3x12 { |
| 5747 | width: 145px; |
| 5748 | height: 588px; |
| 5749 | } |
| 5750 | .resource-flow-layout.col-16 .resource-card-3x18 { |
| 5751 | width: 145px; |
| 5752 | height: 892px; |
| 5753 | } |
| 5754 | .resource-flow-layout.col-16 .resource-card-6x6 { |
| 5755 | width: 304px; |
| 5756 | height: 284px; |
| 5757 | } |
| 5758 | .resource-flow-layout.col-16 .resource-card-6x12 { |
| 5759 | width: 304px; |
| 5760 | height: 588px; |
| 5761 | } |
| 5762 | .resource-flow-layout.col-16 .resource-card-6x18 { |
| 5763 | width: 304px; |
| 5764 | height: 892px; |
| 5765 | } |
| 5766 | .resource-flow-layout.col-16 .resource-card-9x6 { |
| 5767 | width: 463px; |
| 5768 | height: 284px; |
| 5769 | } |
| 5770 | .resource-flow-layout.col-16 .resource-card-9x12 { |
| 5771 | width: 463px; |
| 5772 | height: 588px; |
| 5773 | } |
| 5774 | .resource-flow-layout.col-16 .resource-card-9x18 { |
| 5775 | width: 463px; |
| 5776 | height: 892px; |
| 5777 | } |
| 5778 | .resource-flow-layout.col-16 .resource-card-12x6 { |
| 5779 | width: 622px; |
| 5780 | height: 284px; |
| 5781 | } |
| 5782 | .resource-flow-layout.col-16 .resource-card-12x12 { |
| 5783 | width: 622px; |
| 5784 | height: 588px; |
| 5785 | } |
| 5786 | .resource-flow-layout.col-16 .resource-card-12x18 { |
| 5787 | width: 622px; |
| 5788 | height: 892px; |
| 5789 | } |
| 5790 | .resource-flow-layout.col-16 .resource-card-15x6 { |
| 5791 | width: 781px; |
| 5792 | height: 284px; |
| 5793 | } |
| 5794 | .resource-flow-layout.col-16 .resource-card-15x12 { |
| 5795 | width: 781px; |
| 5796 | height: 588px; |
| 5797 | } |
| 5798 | .resource-flow-layout.col-16 .resource-card-15x18 { |
| 5799 | width: 781px; |
| 5800 | height: 892px; |
| 5801 | } |
| 5802 | .resource-flow-layout.col-16 .resource-card-18x6 { |
| 5803 | width: 940px; |
| 5804 | height: 284px; |
| 5805 | } |
| 5806 | .resource-flow-layout.col-16 .resource-card-18x12 { |
| 5807 | width: 940px; |
| 5808 | height: 420px; |
| 5809 | } |
| 5810 | .resource-flow-layout.col-16 .resource-card-18x18 { |
| 5811 | width: 940px; |
| 5812 | height: 892px; |
| 5813 | } |
| 5814 | .resource-flow-layout.col-16 .resource-card-3x2 { |
| 5815 | width: 145px; |
| 5816 | height: 95px; |
| 5817 | } |
| 5818 | .resource-flow-layout.col-16 .resource-card-3x2x3 { |
| 5819 | width: 145px; |
| 5820 | height: 90px; |
| 5821 | margin-bottom: 7px; |
| 5822 | } |
| 5823 | .resource-flow-layout.col-16 .resource-card-3x3 { |
| 5824 | width: 145px; |
| 5825 | height: 142px; |
| 5826 | } |
| 5827 | .resource-flow-layout.col-16 .resource-card-3x3x2 { |
| 5828 | width: 145px; |
| 5829 | height: 138px; |
| 5830 | margin-bottom: 8px; |
| 5831 | } |
| 5832 | .resource-flow-layout.col-16 .resource-card-6x2 { |
| 5833 | width: 304px; |
| 5834 | height: 95px; |
| 5835 | } |
| 5836 | .resource-flow-layout.col-16 .resource-card-6x2x3 { |
| 5837 | width: 304px; |
| 5838 | height: 90px; |
| 5839 | margin-bottom: 7px; |
| 5840 | } |
| 5841 | .resource-flow-layout.col-16 .resource-card-6x3 { |
| 5842 | width: 304px; |
| 5843 | height: 142px; |
| 5844 | } |
| 5845 | .resource-flow-layout.col-16 .resource-card-6x3x2 { |
| 5846 | width: 304px; |
| 5847 | height: 138px; |
| 5848 | margin-bottom: 8px; |
| 5849 | } |
| 5850 | .resource-flow-layout.col-16 .resource-card-9x2 { |
| 5851 | width: 463px; |
| 5852 | height: 95px; |
| 5853 | } |
| 5854 | .resource-flow-layout.col-16 .resource-card-9x2x3 { |
| 5855 | width: 463px; |
| 5856 | height: 90px; |
| 5857 | margin-bottom: 7px; |
| 5858 | } |
| 5859 | .resource-flow-layout.col-16 .resource-card-9x3 { |
| 5860 | width: 463px; |
| 5861 | height: 142px; |
| 5862 | } |
| 5863 | .resource-flow-layout.col-16 .resource-card-9x3x2 { |
| 5864 | width: 463px; |
| 5865 | height: 138px; |
| 5866 | margin-bottom: 8px; |
| 5867 | } |
| 5868 | .resource-flow-layout.col-16 .resource-card-12x2 { |
| 5869 | width: 622px; |
| 5870 | height: 95px; |
| 5871 | } |
| 5872 | .resource-flow-layout.col-16 .resource-card-12x2x3 { |
| 5873 | width: 622px; |
| 5874 | height: 90px; |
| 5875 | margin-bottom: 7px; |
| 5876 | } |
| 5877 | .resource-flow-layout.col-16 .resource-card-12x3 { |
| 5878 | width: 622px; |
| 5879 | height: 142px; |
| 5880 | } |
| 5881 | .resource-flow-layout.col-16 .resource-card-12x3x2 { |
| 5882 | width: 622px; |
| 5883 | height: 138px; |
| 5884 | margin-bottom: 8px; |
| 5885 | } |
| 5886 | .resource-flow-layout.col-16 .resource-card-15x2 { |
| 5887 | width: 781px; |
| 5888 | height: 95px; |
| 5889 | } |
| 5890 | .resource-flow-layout.col-16 .resource-card-15x2x3 { |
| 5891 | width: 781px; |
| 5892 | height: 90px; |
| 5893 | margin-bottom: 7px; |
| 5894 | } |
| 5895 | .resource-flow-layout.col-16 .resource-card-15x3 { |
| 5896 | width: 781px; |
| 5897 | height: 142px; |
| 5898 | } |
| 5899 | .resource-flow-layout.col-16 .resource-card-15x3x2 { |
| 5900 | width: 781px; |
| 5901 | height: 138px; |
| 5902 | margin-bottom: 8px; |
| 5903 | } |
| 5904 | .resource-flow-layout.col-16 .resource-card-18x2 { |
| 5905 | width: 940px; |
| 5906 | height: 95px; |
| 5907 | } |
| 5908 | .resource-flow-layout.col-16 .resource-card-18x2x3 { |
| 5909 | width: 940px; |
| 5910 | height: 90px; |
| 5911 | margin-bottom: 7px; |
| 5912 | } |
| 5913 | .resource-flow-layout.col-16 .resource-card-18x3 { |
| 5914 | width: 940px; |
| 5915 | height: 142px; |
| 5916 | } |
| 5917 | .resource-flow-layout.col-16 .resource-card-18x3x2 { |
| 5918 | width: 940px; |
| 5919 | height: 138px; |
| 5920 | margin-bottom: 8px; |
| 5921 | } |
| 5922 | |
| 5923 | /* Generate the flow layout styles for a 3-column 16-col span */ |
| 5924 | .resource-flow-layout.col-12 { |
| 5925 | margin: 0 -14px 0 0; |
| 5926 | width: 714px; |
| 5927 | } |
| 5928 | |
| 5929 | .resource-flow-layout.col-12 .resource-card, .resource-flow-layout.col-12 .resource-card-stack { |
| 5930 | margin: 0 14px 20px 0; |
| 5931 | } |
| 5932 | .resource-flow-layout.col-12 .resource-card-row-stack-last { |
| 5933 | margin-bottom: 0px !important; |
| 5934 | } |
| 5935 | .resource-flow-layout.col-12 .resource-card-col-stack-last { |
| 5936 | margin-bottom: 0px !important; |
| 5937 | } |
| 5938 | .resource-flow-layout.col-12 .resource-card-3x6 { |
| 5939 | width: 105px; |
| 5940 | height: 284px; |
| 5941 | } |
| 5942 | .resource-flow-layout.col-12 .resource-card-3x12 { |
| 5943 | width: 105px; |
| 5944 | height: 588px; |
| 5945 | } |
| 5946 | .resource-flow-layout.col-12 .resource-card-3x18 { |
| 5947 | width: 105px; |
| 5948 | height: 892px; |
| 5949 | } |
| 5950 | .resource-flow-layout.col-12 .resource-card-6x6 { |
| 5951 | width: 224px; |
| 5952 | height: 284px; |
| 5953 | } |
| 5954 | .resource-flow-layout.col-12 .resource-card-6x12 { |
| 5955 | width: 224px; |
| 5956 | height: 588px; |
| 5957 | } |
| 5958 | .resource-flow-layout.col-12 .resource-card-6x18 { |
| 5959 | width: 224px; |
| 5960 | height: 892px; |
| 5961 | } |
| 5962 | .resource-flow-layout.col-12 .resource-card-9x6 { |
| 5963 | width: 343px; |
| 5964 | height: 284px; |
| 5965 | } |
| 5966 | .resource-flow-layout.col-12 .resource-card-9x12 { |
| 5967 | width: 343px; |
| 5968 | height: 588px; |
| 5969 | } |
| 5970 | .resource-flow-layout.col-12 .resource-card-9x18 { |
| 5971 | width: 343px; |
| 5972 | height: 892px; |
| 5973 | } |
| 5974 | .resource-flow-layout.col-12 .resource-card-12x6 { |
| 5975 | width: 462px; |
| 5976 | height: 284px; |
| 5977 | } |
| 5978 | .resource-flow-layout.col-12 .resource-card-12x12 { |
| 5979 | width: 462px; |
| 5980 | height: 588px; |
| 5981 | } |
| 5982 | .resource-flow-layout.col-12 .resource-card-12x18 { |
| 5983 | width: 462px; |
| 5984 | height: 892px; |
| 5985 | } |
| 5986 | .resource-flow-layout.col-12 .resource-card-15x6 { |
| 5987 | width: 581px; |
| 5988 | height: 284px; |
| 5989 | } |
| 5990 | .resource-flow-layout.col-12 .resource-card-15x12 { |
| 5991 | width: 581px; |
| 5992 | height: 588px; |
| 5993 | } |
| 5994 | .resource-flow-layout.col-12 .resource-card-15x18 { |
| 5995 | width: 581px; |
| 5996 | height: 892px; |
| 5997 | } |
| 5998 | .resource-flow-layout.col-12 .resource-card-18x6 { |
| 5999 | width: 700px; |
| 6000 | height: 284px; |
| 6001 | } |
| 6002 | .resource-flow-layout.col-12 .resource-card-18x12 { |
| 6003 | width: 700px; |
| 6004 | height: 420px; |
| 6005 | } |
| 6006 | .resource-flow-layout.col-12 .resource-card-18x18 { |
| 6007 | width: 700px; |
| 6008 | height: 892px; |
| 6009 | } |
| 6010 | .resource-flow-layout.col-12 .resource-card-3x2 { |
| 6011 | width: 105px; |
| 6012 | height: 95px; |
| 6013 | } |
| 6014 | .resource-flow-layout.col-12 .resource-card-3x2x3 { |
| 6015 | width: 105px; |
| 6016 | height: 90px; |
| 6017 | margin-bottom: 7px; |
| 6018 | } |
| 6019 | .resource-flow-layout.col-12 .resource-card-3x3 { |
| 6020 | width: 105px; |
| 6021 | height: 142px; |
| 6022 | } |
| 6023 | .resource-flow-layout.col-12 .resource-card-3x3x2 { |
| 6024 | width: 105px; |
| 6025 | height: 138px; |
| 6026 | margin-bottom: 8px; |
| 6027 | } |
| 6028 | .resource-flow-layout.col-12 .resource-card-6x2 { |
| 6029 | width: 224px; |
| 6030 | height: 95px; |
| 6031 | } |
| 6032 | .resource-flow-layout.col-12 .resource-card-6x2x3 { |
| 6033 | width: 224px; |
| 6034 | height: 90px; |
| 6035 | margin-bottom: 7px; |
| 6036 | } |
| 6037 | .resource-flow-layout.col-12 .resource-card-6x3 { |
| 6038 | width: 224px; |
| 6039 | height: 142px; |
| 6040 | } |
| 6041 | .resource-flow-layout.col-12 .resource-card-6x3x2 { |
| 6042 | width: 224px; |
| 6043 | height: 138px; |
| 6044 | margin-bottom: 8px; |
| 6045 | } |
| 6046 | .resource-flow-layout.col-12 .resource-card-9x2 { |
| 6047 | width: 343px; |
| 6048 | height: 95px; |
| 6049 | } |
| 6050 | .resource-flow-layout.col-12 .resource-card-9x2x3 { |
| 6051 | width: 343px; |
| 6052 | height: 90px; |
| 6053 | margin-bottom: 7px; |
| 6054 | } |
| 6055 | .resource-flow-layout.col-12 .resource-card-9x3 { |
| 6056 | width: 343px; |
| 6057 | height: 142px; |
| 6058 | } |
| 6059 | .resource-flow-layout.col-12 .resource-card-9x3x2 { |
| 6060 | width: 343px; |
| 6061 | height: 138px; |
| 6062 | margin-bottom: 8px; |
| 6063 | } |
| 6064 | .resource-flow-layout.col-12 .resource-card-12x2 { |
| 6065 | width: 462px; |
| 6066 | height: 95px; |
| 6067 | } |
| 6068 | .resource-flow-layout.col-12 .resource-card-12x2x3 { |
| 6069 | width: 462px; |
| 6070 | height: 90px; |
| 6071 | margin-bottom: 7px; |
| 6072 | } |
| 6073 | .resource-flow-layout.col-12 .resource-card-12x3 { |
| 6074 | width: 462px; |
| 6075 | height: 142px; |
| 6076 | } |
| 6077 | .resource-flow-layout.col-12 .resource-card-12x3x2 { |
| 6078 | width: 462px; |
| 6079 | height: 138px; |
| 6080 | margin-bottom: 8px; |
| 6081 | } |
| 6082 | .resource-flow-layout.col-12 .resource-card-15x2 { |
| 6083 | width: 581px; |
| 6084 | height: 95px; |
| 6085 | } |
| 6086 | .resource-flow-layout.col-12 .resource-card-15x2x3 { |
| 6087 | width: 581px; |
| 6088 | height: 90px; |
| 6089 | margin-bottom: 7px; |
| 6090 | } |
| 6091 | .resource-flow-layout.col-12 .resource-card-15x3 { |
| 6092 | width: 581px; |
| 6093 | height: 142px; |
| 6094 | } |
| 6095 | .resource-flow-layout.col-12 .resource-card-15x3x2 { |
| 6096 | width: 581px; |
| 6097 | height: 138px; |
| 6098 | margin-bottom: 8px; |
| 6099 | } |
| 6100 | .resource-flow-layout.col-12 .resource-card-18x2 { |
| 6101 | width: 700px; |
| 6102 | height: 95px; |
| 6103 | } |
| 6104 | .resource-flow-layout.col-12 .resource-card-18x2x3 { |
| 6105 | width: 700px; |
| 6106 | height: 90px; |
| 6107 | margin-bottom: 7px; |
| 6108 | } |
| 6109 | .resource-flow-layout.col-12 .resource-card-18x3 { |
| 6110 | width: 700px; |
| 6111 | height: 142px; |
| 6112 | } |
| 6113 | .resource-flow-layout.col-12 .resource-card-18x3x2 { |
| 6114 | width: 700px; |
| 6115 | height: 138px; |
| 6116 | margin-bottom: 8px; |
| 6117 | } |
| 6118 | |
| 6119 | /* Generate the flow layout styles for a 3-column 13-col span */ |
| 6120 | |
| 6121 | .resource-flow-layout.col-13 { |
| 6122 | margin: 0 -14px 0 0; |
| 6123 | width: 774px; |
| 6124 | } |
| 6125 | .resource-flow-layout.col-13 .resource-card, .resource-flow-layout.col-13 .resource-card-stack { |
| 6126 | margin: 0 14px 20px 0; |
| 6127 | } |
| 6128 | .resource-flow-layout.col-13 .resource-card-row-stack-last { |
| 6129 | margin-bottom: 0px !important; |
| 6130 | } |
| 6131 | .resource-flow-layout.col-13 .resource-card-col-stack-last { |
| 6132 | margin-bottom: 0px !important; |
| 6133 | } |
| 6134 | .resource-flow-layout.col-13 .resource-card-3x6 { |
| 6135 | width: 115px; |
| 6136 | height: 284px; |
| 6137 | } |
| 6138 | .resource-flow-layout.col-13 .resource-card-3x12 { |
| 6139 | width: 115px; |
| 6140 | height: 588px; |
| 6141 | } |
| 6142 | .resource-flow-layout.col-13 .resource-card-3x18 { |
| 6143 | width: 115px; |
| 6144 | height: 892px; |
| 6145 | } |
| 6146 | .resource-flow-layout.col-13 .resource-card-6x6 { |
| 6147 | width: 244px; |
| 6148 | height: 284px; |
| 6149 | } |
| 6150 | .resource-flow-layout.col-13 .resource-card-6x12 { |
| 6151 | width: 244px; |
| 6152 | height: 588px; |
| 6153 | } |
| 6154 | .resource-flow-layout.col-13 .resource-card-6x18 { |
| 6155 | width: 244px; |
| 6156 | height: 892px; |
| 6157 | } |
| 6158 | .resource-flow-layout.col-13 .resource-card-9x6 { |
| 6159 | width: 373px; |
| 6160 | height: 284px; |
| 6161 | } |
| 6162 | .resource-flow-layout.col-13 .resource-card-9x12 { |
| 6163 | width: 373px; |
| 6164 | height: 588px; |
| 6165 | } |
| 6166 | .resource-flow-layout.col-13 .resource-card-9x18 { |
| 6167 | width: 373px; |
| 6168 | height: 892px; |
| 6169 | } |
| 6170 | .resource-flow-layout.col-13 .resource-card-12x6 { |
| 6171 | width: 502px; |
| 6172 | height: 284px; |
| 6173 | } |
| 6174 | .resource-flow-layout.col-13 .resource-card-12x12 { |
| 6175 | width: 502px; |
| 6176 | height: 588px; |
| 6177 | } |
| 6178 | .resource-flow-layout.col-13 .resource-card-12x18 { |
| 6179 | width: 502px; |
| 6180 | height: 892px; |
| 6181 | } |
| 6182 | .resource-flow-layout.col-13 .resource-card-15x6 { |
| 6183 | width: 631px; |
| 6184 | height: 284px; |
| 6185 | } |
| 6186 | .resource-flow-layout.col-13 .resource-card-15x12 { |
| 6187 | width: 631px; |
| 6188 | height: 588px; |
| 6189 | } |
| 6190 | .resource-flow-layout.col-13 .resource-card-15x18 { |
| 6191 | width: 631px; |
| 6192 | height: 892px; |
| 6193 | } |
| 6194 | .resource-flow-layout.col-13 .resource-card-18x6 { |
| 6195 | width: 760px; |
| 6196 | height: 284px; |
| 6197 | } |
| 6198 | .resource-flow-layout.col-13 .resource-card-18x12 { |
| 6199 | width: 760px; |
| 6200 | height: 420px; |
| 6201 | } |
| 6202 | .resource-flow-layout.col-13 .resource-card-18x18 { |
| 6203 | width: 760px; |
| 6204 | height: 892px; |
| 6205 | } |
| 6206 | .resource-flow-layout.col-13 .resource-card-3x2 { |
| 6207 | width: 115px; |
| 6208 | height: 95px; |
| 6209 | } |
| 6210 | .resource-flow-layout.col-13 .resource-card-3x2x3 { |
| 6211 | width: 115px; |
| 6212 | height: 90px; |
| 6213 | margin-bottom: 7px; |
| 6214 | } |
| 6215 | .resource-flow-layout.col-13 .resource-card-3x3 { |
| 6216 | width: 115px; |
| 6217 | height: 142px; |
| 6218 | } |
| 6219 | .resource-flow-layout.col-13 .resource-card-3x3x2 { |
| 6220 | width: 115px; |
| 6221 | height: 138px; |
| 6222 | margin-bottom: 8px; |
| 6223 | } |
| 6224 | .resource-flow-layout.col-13 .resource-card-6x2 { |
| 6225 | width: 244px; |
| 6226 | height: 95px; |
| 6227 | } |
| 6228 | .resource-flow-layout.col-13 .resource-card-6x2x3 { |
| 6229 | width: 244px; |
| 6230 | height: 90px; |
| 6231 | margin-bottom: 7px; |
| 6232 | } |
| 6233 | .resource-flow-layout.col-13 .resource-card-6x3 { |
| 6234 | width: 244px; |
| 6235 | height: 142px; |
| 6236 | } |
| 6237 | .resource-flow-layout.col-13 .resource-card-6x3x2 { |
| 6238 | width: 244px; |
| 6239 | height: 138px; |
| 6240 | margin-bottom: 8px; |
| 6241 | } |
| 6242 | .resource-flow-layout.col-13 .resource-card-9x2 { |
| 6243 | width: 373px; |
| 6244 | height: 95px; |
| 6245 | } |
| 6246 | .resource-flow-layout.col-13 .resource-card-9x2x3 { |
| 6247 | width: 373px; |
| 6248 | height: 90px; |
| 6249 | margin-bottom: 7px; |
| 6250 | } |
| 6251 | .resource-flow-layout.col-13 .resource-card-9x3 { |
| 6252 | width: 373px; |
| 6253 | height: 142px; |
| 6254 | } |
| 6255 | .resource-flow-layout.col-13 .resource-card-9x3x2 { |
| 6256 | width: 373px; |
| 6257 | height: 138px; |
| 6258 | margin-bottom: 8px; |
| 6259 | } |
| 6260 | .resource-flow-layout.col-13 .resource-card-12x2 { |
| 6261 | width: 502px; |
| 6262 | height: 95px; |
| 6263 | } |
| 6264 | .resource-flow-layout.col-13 .resource-card-12x2x3 { |
| 6265 | width: 502px; |
| 6266 | height: 90px; |
| 6267 | margin-bottom: 7px; |
| 6268 | } |
| 6269 | .resource-flow-layout.col-13 .resource-card-12x3 { |
| 6270 | width: 502px; |
| 6271 | height: 142px; |
| 6272 | } |
| 6273 | .resource-flow-layout.col-13 .resource-card-12x3x2 { |
| 6274 | width: 502px; |
| 6275 | height: 138px; |
| 6276 | margin-bottom: 8px; |
| 6277 | } |
| 6278 | .resource-flow-layout.col-13 .resource-card-15x2 { |
| 6279 | width: 631px; |
| 6280 | height: 95px; |
| 6281 | } |
| 6282 | .resource-flow-layout.col-13 .resource-card-15x2x3 { |
| 6283 | width: 631px; |
| 6284 | height: 90px; |
| 6285 | margin-bottom: 7px; |
| 6286 | } |
| 6287 | .resource-flow-layout.col-13 .resource-card-15x3 { |
| 6288 | width: 631px; |
| 6289 | height: 142px; |
| 6290 | } |
| 6291 | .resource-flow-layout.col-13 .resource-card-15x3x2 { |
| 6292 | width: 631px; |
| 6293 | height: 138px; |
| 6294 | margin-bottom: 8px; |
| 6295 | } |
| 6296 | .resource-flow-layout.col-13 .resource-card-18x2 { |
| 6297 | width: 760px; |
| 6298 | height: 95px; |
| 6299 | } |
| 6300 | .resource-flow-layout.col-13 .resource-card-18x2x3 { |
| 6301 | width: 760px; |
| 6302 | height: 90px; |
| 6303 | margin-bottom: 7px; |
| 6304 | } |
| 6305 | .resource-flow-layout.col-13 .resource-card-18x3 { |
| 6306 | width: 760px; |
| 6307 | height: 142px; |
| 6308 | } |
| 6309 | .resource-flow-layout.col-13 .resource-card-18x3x2 { |
| 6310 | width: 760px; |
| 6311 | height: 138px; |
| 6312 | margin-bottom: 8px; |
| 6313 | } |
| 6314 | |
| 6315 | /* |
| 6316 | The following are styles for cards in the flowlayout above, styled by the number of rows they span |
| 6317 | */ |
| 6318 | /* Single row items, might be simpler to just apply a class */ |
| 6319 | .resource-card-3x6 > .card-bg, .resource-card-6x6 > .card-bg, .resource-card-9x6 > .card-bg, .resource-card-12x6 > .card-bg, .resource-card-15x6 > .card-bg, .resource-card-18x6 > .card-bg { |
| 6320 | height: 192px; |
| 6321 | } |
| 6322 | .resource-card-3x6 > .card-info, .resource-card-6x6 > .card-info, .resource-card-9x6 > .card-info, .resource-card-12x6 > .card-info, .resource-card-15x6 > .card-info, .resource-card-18x6 > .card-info { |
| 6323 | padding: 4px 12px 6px 12px; |
| 6324 | top: 192px; |
| 6325 | } |
| 6326 | .resource-card-3x6 > .card-info .section, .resource-card-6x6 > .card-info .section, .resource-card-9x6 > .card-info .section, .resource-card-12x6 > .card-info .section, .resource-card-15x6 > .card-info .section, .resource-card-18x6 > .card-info .section { |
| 6327 | font-size: 12px; |
| 6328 | margin-bottom: 1px; |
| 6329 | } |
| 6330 | .resource-card-3x6 > .card-info .title, .resource-card-6x6 > .card-info .title, .resource-card-9x6 > .card-info .title, .resource-card-12x6 > .card-info .title, .resource-card-15x6 > .card-info .title, .resource-card-18x6 > .card-info .title { |
| 6331 | font-size: 16px; |
| 6332 | margin-bottom: -2px; |
| 6333 | } |
| 6334 | .resource-card-3x6 > .card-info .description, .resource-card-6x6 > .card-info .description, .resource-card-9x6 > .card-info .description, .resource-card-12x6 > .card-info .description, .resource-card-15x6 > .card-info .description, .resource-card-18x6 > .card-info .description { |
| 6335 | font-size: 13px; |
| 6336 | line-height: 15px; |
| 6337 | } |
| 6338 | .resource-card-3x6 > .card-info .description .text, .resource-card-6x6 > .card-info .description .text, .resource-card-9x6 > .card-info .description .text, .resource-card-12x6 > .card-info .description .text, .resource-card-15x6 > .card-info .description .text, .resource-card-18x6 > .card-info .description .text { |
| 6339 | height: 30px; |
| 6340 | } |
| 6341 | |
| 6342 | /* Double row items */ |
| 6343 | .resource-card-3x12 > .card-bg, .resource-card-6x12 > .card-bg, .resource-card-9x12 > .card-bg, .resource-card-12x12 > .card-bg, .resource-card-15x12 > .card-bg, .resource-card-18x12 > .card-bg { |
| 6344 | height: 320px; |
| 6345 | } |
| 6346 | .resource-card-3x12 > .card-info, .resource-card-6x12 > .card-info, .resource-card-9x12 > .card-info, .resource-card-12x12 > .card-info, .resource-card-15x12 > .card-info, .resource-card-18x12 > .card-info { |
| 6347 | padding: 4px 12px 6px 12px; |
| 6348 | top: 320px; |
| 6349 | } |
| 6350 | .resource-card-3x12 > .card-info .section, .resource-card-6x12 > .card-info .section, .resource-card-9x12 > .card-info .section, .resource-card-12x12 > .card-info .section, .resource-card-15x12 > .card-info .section, .resource-card-18x12 > .card-info .section { |
| 6351 | font-size: 12px; |
| 6352 | margin-bottom: 1px; |
| 6353 | } |
| 6354 | .resource-card-3x12 > .card-info .title, .resource-card-6x12 > .card-info .title, .resource-card-9x12 > .card-info .title, .resource-card-12x12 > .card-info .title, .resource-card-15x12 > .card-info .title, .resource-card-18x12 > .card-info .title { |
| 6355 | font-size: 16px; |
| 6356 | margin-bottom: -2px; |
| 6357 | white-space: normal; |
| 6358 | } |
| 6359 | .resource-card-3x12 > .card-info .description, .resource-card-6x12 > .card-info .description, .resource-card-9x12 > .card-info .description, .resource-card-12x12 > .card-info .description, .resource-card-15x12 > .card-info .description, .resource-card-18x12 > .card-info .description { |
| 6360 | font-size: 13px; |
| 6361 | line-height: 15px; |
| 6362 | } |
| 6363 | |
| 6364 | /* 1/3 row items */ |
| 6365 | .resource-card-3x2 > .card-bg, .resource-card-6x2 > .card-bg, .resource-card-9x2 > .card-bg, .resource-card-12x2 > .card-bg, .resource-card-15x2 > .card-bg, .resource-card-18x2 > .card-bg { |
| 6366 | left: 0; |
| 6367 | top: 0; |
| 6368 | width: 90px; |
| 6369 | height: 100%; |
| 6370 | position: absolute; |
| 6371 | display: block; |
| 6372 | } |
| 6373 | .resource-card-3x2 > .card-info, .resource-card-6x2 > .card-info, .resource-card-9x2 > .card-info, .resource-card-12x2 > .card-info, .resource-card-15x2 > .card-info, .resource-card-18x2 > .card-info { |
| 6374 | left: 90px; |
| 6375 | padding: 4px 12px 4px 12px; |
| 6376 | height: 80px; |
| 6377 | overflow: hidden; |
| 6378 | } |
| 6379 | .resource-card-3x2 > .card-info .section, .resource-card-6x2 > .card-info .section, .resource-card-6x3 > .card-info .section, .resource-card-9x2 > .card-info .section, .resource-card-12x2 > .card-info .section, .resource-card-15x2 > .card-info .section, .resource-card-18x2 > .card-info .section { |
| 6380 | font-size: 12px; |
| 6381 | margin-bottom: 1px; |
| 6382 | /* display: none; */ |
| 6383 | } |
| 6384 | .resource-card-3x2 > .card-info .title, .resource-card-6x2 > .card-info .title, .resource-card-9x2 > .card-info .title, .resource-card-12x2 > .card-info .title, .resource-card-15x2 > .card-info .title, .resource-card-18x2 > .card-info .title { |
| 6385 | font-size: 16px; |
| 6386 | margin-bottom: -2px; |
| 6387 | white-space: normal; |
| 6388 | overflow: visible; |
| 6389 | text-overflow: ellipsis; |
| 6390 | } |
| 6391 | .resource-card-3x2 > .card-info .title:after, .resource-card-6x2 > .card-info .title:after, .resource-card-9x2 > .card-info .title:after, .resource-card-12x2 > .card-info .title:after, .resource-card-15x2 > .card-info .title:after, .resource-card-18x2 > .card-info .title:after { |
| 6392 | /* content: url(../images/link-out.png); */ |
| 6393 | display: block; |
| 6394 | } |
| 6395 | .resource-card-3x2 > .card-info .description, .resource-card-6x2 > .card-info .description, .resource-card-9x2 > .card-info .description, .resource-card-12x2 > .card-info .description, .resource-card-15x2 > .card-info .description, .resource-card-18x2 > .card-info .description { |
| 6396 | display: none; |
| 6397 | } |
| 6398 | |
smain@google.com | cda1a9a | 2014-06-19 17:07:46 -0700 | [diff] [blame] | 6399 | |
| 6400 | /* Override to show the description instead of the content section */ |
| 6401 | .no-section .resource-card-3x2 > .card-info .section, |
| 6402 | .no-section .resource-card-6x2 > .card-info .section { |
| 6403 | display: none; |
| 6404 | } |
| 6405 | .no-section .resource-card-3x2 > .card-info .description, |
| 6406 | .no-section .resource-card-6x2 > .card-info .description { |
| 6407 | display: block; |
| 6408 | } |
| 6409 | |
Dirk Dougherty | c392165 | 2014-05-13 16:55:26 -0700 | [diff] [blame] | 6410 | /* 1/2 row items */ |
| 6411 | .resource-card-3x3 > .card-bg, .resource-card-6x3 > .card-bg, .resource-card-9x3 > .card-bg, .resource-card-12x3 > .card-bg, .resource-card-15x3 > .card-bg, .resource-card-18x3 > .card-bg { |
| 6412 | left: 0; |
| 6413 | top: 0; |
| 6414 | width: 90px; |
| 6415 | height: 100%; |
| 6416 | position: absolute; |
| 6417 | display: block; |
| 6418 | } |
| 6419 | .resource-card-3x3 > .card-info, .resource-card-6x3 > .card-info, .resource-card-9x3 > .card-info, .resource-card-12x3 > .card-info, .resource-card-15x3 > .card-info, .resource-card-18x3 > .card-info { |
| 6420 | left: 90px; |
| 6421 | padding: 4px 12px 0px 12px; |
| 6422 | } |
| 6423 | .resource-card-3x3 > .card-info .section, .resource-card-6x3 > .card-info .section, .resource-card-9x3 > .card-info .section, .resource-card-12x3 > .card-info .section, .resource-card-15x3 > .card-info .section, .resource-card-18x3 > .card-info .section { |
| 6424 | font-size: 12px; |
| 6425 | margin-bottom: 1px; |
| 6426 | display: none; |
| 6427 | } |
| 6428 | .resource-card-3x3 > .card-info .title, .resource-card-6x3 > .card-info .title, .resource-card-9x3 > .card-info .title, .resource-card-12x3 > .card-info .title, .resource-card-15x3 > .card-info .title, .resource-card-18x3 > .card-info .title { |
| 6429 | font-size: 16px; |
| 6430 | margin-bottom: -2px; |
| 6431 | white-space: normal; |
| 6432 | overflow: visible; |
| 6433 | } |
| 6434 | .resource-card-3x3 > .card-info .description .text, .resource-card-6x3 > .card-info .description .text, .resource-card-9x3 > .card-info .description .text, .resource-card-12x3 > .card-info .description .text, .resource-card-15x3 > .card-info .description .text, .resource-card-18x3 > .card-info .description .text { |
| 6435 | font-size: 12px; |
| 6436 | line-height: 15px; |
| 6437 | padding-right: 0px !important; |
| 6438 | height: 80px; |
| 6439 | } |
| 6440 | .resource-card-3x3 > .card-info .description .util, .resource-card-6x3 > .card-info .description .util, .resource-card-9x3 > .card-info .description .util, .resource-card-12x3 > .card-info .description .util, .resource-card-15x3 > .card-info .description .util, .resource-card-18x3 > .card-info .description .util { |
| 6441 | display: none; |
| 6442 | } |
| 6443 | /* placement of plusone */ |
| 6444 | .resource-card-6x12 > .card-info .description .util, .resource-card-9x12 > .card-info .description .util, .resource-card-12x12 > .card-info .description .util, .resource-card-15x12 > .card-info .description .util { |
| 6445 | bottom:2px; |
| 6446 | } |
| 6447 | .resource-card-18x12 > .card-info .description .util { |
| 6448 | bottom:2px; |
| 6449 | } |
| 6450 | /* Overrides for col-16 6x6 cards linking to local content on landing pages. |
| 6451 | Suppresses "section" and puts the title above a hairline rule. */ |
| 6452 | .landing .card-info .section, .resource-flow-layout.col-16.landing .resource-card-9x6 .card-info .section { |
| 6453 | display:none; |
| 6454 | } |
| 6455 | .landing .card-info .title { |
| 6456 | color: #898989; |
| 6457 | font-size: 17px; |
| 6458 | line-height: 24px; |
| 6459 | margin-bottom: 6px; |
| 6460 | border-bottom: 1px solid #959595; |
| 6461 | padding-bottom: 0px; |
| 6462 | } |
| 6463 | .landing .card-info .description { |
| 6464 | font-size: 13px; |
| 6465 | line-height: 15px; |
| 6466 | } |
| 6467 | .landing .card-info .description .text { |
| 6468 | height:30px; |
| 6469 | } |
| 6470 | .landing .resource-card-6x6 > .card-info .description .util, .landing .resource-card-9x6 > .card-info .description .util { |
| 6471 | bottom:2px; |
| 6472 | } |
| 6473 | /* |
| 6474 | Generate a resource stack layout for a 3 column widget spanning 16 grid cols |
| 6475 | */ |
| 6476 | .resource-stack-layout.col-16 { |
| 6477 | margin: 0 -14px 0 0; |
| 6478 | width: 954px; |
| 6479 | } |
| 6480 | .resource-stack-layout.col-16 .resource-card-stack { |
| 6481 | margin: 0 14px 0 0; |
| 6482 | width: 304px; |
| 6483 | } |
| 6484 | |
| 6485 | /* Example of card menu tinting */ |
| 6486 | .resource-widget[data-section=distribute\/tools] .section-card-menu |
| 6487 | .card-bg:after { |
| 6488 | background: rgba(126, 55, 148, 0.4) !important; |
| 6489 | } |
| 6490 | .resource-widget[data-section=distribute\/tools] .section-card-menu |
| 6491 | .card-section-icon .icon { |
| 6492 | background-color: #7e3794 !important; |
| 6493 | } |
| 6494 | .resource-widget[data-section=distribute\/tools] .section-card-menu |
| 6495 | .card-info ul li { |
| 6496 | border-top-color: #7e3794 !important; |
| 6497 | } |
| 6498 | |
| 6499 | /* tinting for stacks */ |
| 6500 | |
| 6501 | div.jd-descr > .resource-widget[data-section=distribute\/tools] |
| 6502 | .section-card-menu .card-info ul li { |
| 6503 | border-top-color: #7e3794 !important; |
Dirk Dougherty | a6913b5 | 2014-06-11 17:28:38 -0700 | [diff] [blame] | 6504 | } |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6505 | |
smain@google.com | cda1a9a | 2014-06-19 17:07:46 -0700 | [diff] [blame] | 6506 | |
| 6507 | |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6508 | /** |
| 6509 | * UTILITIES |
| 6510 | */ |
| 6511 | |
| 6512 | |
| 6513 | .border-box { |
| 6514 | box-sizing: border-box; |
| 6515 | } |
| 6516 | |
| 6517 | .vertical-center-outer { |
| 6518 | display: table; |
| 6519 | height: 100%; |
| 6520 | width: 100%; |
| 6521 | } |
| 6522 | |
| 6523 | .vertical-center-inner { |
| 6524 | display: table-cell; |
| 6525 | vertical-align: middle; |
| 6526 | } |
| 6527 | |
| 6528 | /** |
| 6529 | * TYPE STYLES |
| 6530 | */ |
| 6531 | |
| 6532 | .landing-h1 { |
| 6533 | font-weight: 100; |
| 6534 | font-size: 60px; |
| 6535 | line-height: 78px; |
| 6536 | text-align: center; |
| 6537 | letter-spacing: -1px; |
| 6538 | } |
| 6539 | |
| 6540 | .landing-pre-h1 { |
| 6541 | font-weight: 400; |
| 6542 | font-size: 28px; |
| 6543 | color: #93B73F; |
| 6544 | line-height: 36px; |
| 6545 | text-align: center; |
| 6546 | letter-spacing: -1px; |
| 6547 | text-transform: uppercase; |
| 6548 | |
| 6549 | } |
| 6550 | |
| 6551 | .landing-h1.hero { |
| 6552 | text-align: left; |
| 6553 | } |
| 6554 | |
| 6555 | .landing-h2 { |
| 6556 | font-weight: 300; |
| 6557 | font-size: 42px; |
| 6558 | line-height: 64px; |
| 6559 | text-align: center; |
| 6560 | } |
| 6561 | |
| 6562 | .landing-subhead { |
| 6563 | color: #999999; |
| 6564 | font-size: 20px; |
| 6565 | line-height: 28px; |
| 6566 | font-weight:300; |
| 6567 | text-align: center; |
| 6568 | } |
| 6569 | .landing-subhead.hero { |
| 6570 | text-align: left; |
| 6571 | color: white; |
| 6572 | } |
| 6573 | |
| 6574 | .landing-hero-description { |
| 6575 | text-align: left; |
| 6576 | margin: 1em 0; |
| 6577 | } |
| 6578 | |
| 6579 | .landing-hero-description p { |
| 6580 | font-weight: 300; |
| 6581 | margin: 0; |
| 6582 | font-size: 18px; |
| 6583 | line-height: 24px; |
| 6584 | } |
| 6585 | |
| 6586 | .landing-body .landing-small { |
| 6587 | font-size: 14px; |
| 6588 | line-height: 19px; |
| 6589 | } |
| 6590 | |
| 6591 | .landing-body.landing-align-center { |
| 6592 | text-align: center; |
| 6593 | } |
| 6594 | |
| 6595 | .landing-align-left { |
| 6596 | text-align: left; |
| 6597 | } |
| 6598 | |
| 6599 | /** |
| 6600 | * LAYOUT |
| 6601 | */ |
| 6602 | |
| 6603 | #body-content, |
| 6604 | .fullpage, |
| 6605 | #jd-content, |
| 6606 | .jd-descr, |
| 6607 | .landing-body-content { |
| 6608 | height: 100%; |
| 6609 | } |
| 6610 | |
| 6611 | .landing-section { |
| 6612 | padding: 80px 10px 80px; |
| 6613 | width: 100%; |
| 6614 | margin-left: -10px; |
| 6615 | text-rendering: optimizeLegibility; |
| 6616 | } |
| 6617 | |
| 6618 | #extending-android-to-wearables { |
| 6619 | padding-top: 30px; |
| 6620 | } |
| 6621 | |
| 6622 | .landing-short-section { |
| 6623 | padding: 40px 10px 28px; |
| 6624 | } |
| 6625 | |
| 6626 | .landing-gray-background { |
| 6627 | background-color: #e9e9e9; |
| 6628 | } |
| 6629 | |
| 6630 | .landing-white-background { |
| 6631 | background-color: white; |
| 6632 | } |
| 6633 | |
| 6634 | .landing-red-background { |
| 6635 | color: white; |
| 6636 | background-color: hsl(8, 70%, 54%); |
| 6637 | } |
| 6638 | |
| 6639 | .landing-subhead-red { |
| 6640 | color: hsl(8, 71%, 84%); |
| 6641 | text-align: left; |
| 6642 | } |
| 6643 | |
| 6644 | .landing-subhead-red p { |
| 6645 | margin-top: 20px; |
| 6646 | } |
| 6647 | |
| 6648 | .landing-hero-container { |
| 6649 | height: 100%; |
| 6650 | } |
| 6651 | |
| 6652 | |
| 6653 | .preview-hero { |
Robert Ly | 908a05a | 2014-06-16 10:47:50 -0700 | [diff] [blame] | 6654 | height: calc(100% - 110px); |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6655 | min-height: 504px; |
| 6656 | margin-top: -5px; |
| 6657 | padding-top: 0; |
| 6658 | padding-bottom: 0; |
| 6659 | background-image: url(../../preview/images/hero.jpg); |
| 6660 | background-size: cover; |
| 6661 | background-position: right center; |
| 6662 | color: white; |
| 6663 | position: relative; |
| 6664 | overflow: hidden; |
| 6665 | } |
| 6666 | |
| 6667 | .wear-hero { |
Robert Ly | 908a05a | 2014-06-16 10:47:50 -0700 | [diff] [blame] | 6668 | height: calc(100% - 110px); |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6669 | min-height: 504px; |
| 6670 | margin-top: -5px; |
| 6671 | padding-top: 0; |
| 6672 | padding-bottom: 0; |
| 6673 | background-image: url(../../wear/images/hero.jpg); |
| 6674 | background-size: cover; |
| 6675 | background-position: top center; |
| 6676 | color: white; |
| 6677 | position: relative; |
| 6678 | overflow: hidden; |
| 6679 | } |
| 6680 | |
| 6681 | .tv-hero { |
Robert Ly | 908a05a | 2014-06-16 10:47:50 -0700 | [diff] [blame] | 6682 | height: calc(100% - 110px); |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6683 | min-height: 504px; |
| 6684 | margin-top: -5px; |
| 6685 | padding-top: 0; |
| 6686 | padding-bottom: 0; |
Joe Fernandez | fc0f545 | 2014-06-15 14:53:08 -0700 | [diff] [blame] | 6687 | background-image: url(../../tv/images/hero.jpg); |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6688 | background-size: cover; |
| 6689 | background-position: right center; |
| 6690 | color: white; |
| 6691 | position: relative; |
| 6692 | overflow: hidden; |
| 6693 | } |
| 6694 | |
| 6695 | .auto-hero { |
Robert Ly | 908a05a | 2014-06-16 10:47:50 -0700 | [diff] [blame] | 6696 | height: calc(100% - 110px); |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6697 | min-height: 504px; |
| 6698 | margin-top: -5px; |
| 6699 | padding-top: 0; |
| 6700 | padding-bottom: 0; |
| 6701 | background-image: url(../../auto/images/hero.jpg); |
| 6702 | background-size: cover; |
| 6703 | background-position: right center; |
| 6704 | color: white; |
| 6705 | position: relative; |
| 6706 | overflow: hidden; |
| 6707 | } |
| 6708 | |
| 6709 | .landing-hero-scrim { |
| 6710 | background: black; |
| 6711 | opacity: .2; |
| 6712 | position: absolute; |
| 6713 | width: 100%; |
| 6714 | height: 100%; |
| 6715 | margin-left: -10px; |
| 6716 | } |
| 6717 | |
| 6718 | .landing-hero-wrap { |
| 6719 | margin: 0 auto; |
| 6720 | width: 940px; |
| 6721 | clear: both; |
| 6722 | height: 100%; |
| 6723 | position: relative; |
| 6724 | } |
| 6725 | |
| 6726 | .landing-section-header { |
| 6727 | margin-bottom: 40px; |
| 6728 | } |
| 6729 | |
| 6730 | .landing-hero-wrap .landing-section-header { |
| 6731 | margin-bottom: 16px; |
| 6732 | } |
| 6733 | |
| 6734 | .landing-body { |
| 6735 | font-size: 18px; |
| 6736 | line-height: 24px; |
| 6737 | } |
| 6738 | |
| 6739 | .landing-button { |
| 6740 | white-space: nowrap; |
| 6741 | display: inline-block; |
| 6742 | padding: 16px 32px; |
| 6743 | font-size: 18px; |
| 6744 | font-weight: 500; |
| 6745 | line-height: 24px; |
| 6746 | cursor: pointer; |
| 6747 | color: white; |
| 6748 | -webkit-user-select: none; |
| 6749 | -moz-user-select: none; |
| 6750 | -o-user-select: none; |
| 6751 | user-select: none; |
| 6752 | -webkit-transition: .2s background-color ease-in-out; |
| 6753 | -moz-transition: .2s background-color ease-in-out; |
| 6754 | -o-transition: .2s background-color ease-in-out; |
| 6755 | transition: .2s background-color ease-in-out; |
| 6756 | } |
| 6757 | |
| 6758 | .landing-primary { |
smain@google.com | baf5b60 | 2014-06-19 22:24:44 -0700 | [diff] [blame] | 6759 | background-color: hsl(8, 70%, 44%); |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6760 | color: #f8f8f8; |
| 6761 | } |
| 6762 | |
| 6763 | .landing-button.landing-primary:hover { |
smain@google.com | baf5b60 | 2014-06-19 22:24:44 -0700 | [diff] [blame] | 6764 | background-color: hsl(8, 70%, 36%); |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6765 | } |
| 6766 | |
| 6767 | .landing-button.landing-primary:active { |
smain@google.com | baf5b60 | 2014-06-19 22:24:44 -0700 | [diff] [blame] | 6768 | background-color: hsl(8, 70%, 30%); |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6769 | } |
| 6770 | |
| 6771 | .landing-button.landing-secondary { |
smain@google.com | eb01827 | 2014-06-19 22:54:07 -0700 | [diff] [blame] | 6772 | background-color: #2faddb; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6773 | } |
| 6774 | |
| 6775 | .landing-button.landing-secondary:hover { |
smain@google.com | eb01827 | 2014-06-19 22:54:07 -0700 | [diff] [blame] | 6776 | background-color: #09c; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6777 | } |
| 6778 | |
| 6779 | .landing-button.landing-secondary:active { |
smain@google.com | cda1a9a | 2014-06-19 17:07:46 -0700 | [diff] [blame] | 6780 | background-color: #3990ab; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6781 | } |
| 6782 | |
| 6783 | a.landing-button, |
| 6784 | a.landing-button:hover, |
| 6785 | a.landing-button:visited { |
| 6786 | color: white !important; |
| 6787 | } |
| 6788 | |
| 6789 | .landing-video-link { |
| 6790 | white-space: nowrap; |
| 6791 | display: inline-block; |
| 6792 | padding: 16px 32px 16px 82px; |
| 6793 | font-size: 18px; |
| 6794 | font-weight: 400; |
| 6795 | line-height: 24px; |
| 6796 | cursor: pointer; |
| 6797 | color: hsla(0, 0%, 100%, .8); |
| 6798 | -webkit-user-select: none; |
| 6799 | -moz-user-select: none; |
| 6800 | -o-user-select: none; |
| 6801 | user-select: none; |
| 6802 | -webkit-transition: .2s color ease-in-out; |
| 6803 | -moz-transition: .2s color ease-in-out; |
| 6804 | -o-transition: .2s color ease-in-out; |
| 6805 | transition: .2s color ease-in-out; |
| 6806 | } |
| 6807 | |
| 6808 | .landing-video-link:before { |
| 6809 | height: 64px; |
| 6810 | width: 64px; |
| 6811 | display: inline-block; |
| 6812 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAFuklEQVR42u2dXWgcVRSAV9LWtBBTTZVWUhNqEQtq1QeroDRKFRFsROqTYPuo+JCiIoJKFC0USqlUfCiowRcfrBgVUUElefAPkW5T8aeaGn9aRbFsjP0x2cx8PuRMvFxmdjeb2Z17Z8+B85DsZPbO+eaec3/OPSkABdXsVI2gABSAqgJQAKoKQAGoKgAFoKoAFICqAlAAqgpAAai6DqDRAiwDeoFtwB7gPaAInABKwKToCWAMeB/YDdwJrAWWNLh9+QMAXABsBQ4A3wFTwAxQBmaBAAhjNJDPy3L938BXwAvArUCHAkh+kCXAVcA+YBw4bRg7MngtkgTlDPA98CywHmhTAP8/xCbgVeAvMZZpwDQllN7xB/AysKGlAQAXAvuBkzW85UVgCBgENlfQQbmuWAXELPAnsAvoaikAQBtwh/j3coLhS2LIfqCzzu/plL8fkvvFgZiR4L2lHrfkHQBgpQTFUwmGnwC212v0KjC2y/3jQPwDPA+05xYAcBHwubx1YZzhC02QBBBRbxgBzssdAOBy4JgRZE0ZTPuNr7FHDCbEhqNAd24AAN0yUbID7QSwsZChABut3hANXY8Bq70HIMb/Ocb4w81+66v0hmGrN0QQ1ngLQJYRvpWHMWWo4KDIaMnuCcVKgdlZAGL8t2J8vpPGrwChDLyWBMFlAA8D0z4ZvwKEs8D93gCQEc9Jy/jFgkdizaRDGUSs8wXAu1bQLQE9ngHosWbPAXDQeQAypT9rBd3+gociyxi2K9riLABZUj5iuZ6RgsciM2OzFxw2A7JrAO6VwGtKTwpG+Anoy9AVmb3gDHCPcwCAFcChRox6jPu9CazMeFQUAKNRL3AJwE2yopjq228BQPZ/d2bcCyaBTa4BeNGa8Q6naIA4GQWubiKEYWvBbp8zAGQt5VfL/fQ3GEAkTzXDLVkjokA2k5a7AuA2GaLNj/tTfvhq0pQgbcwLQtlQusYVALtlzSR191MjADNI9zbJDZWBR10BMGr5/4GMADQ0SAMDlht62xUAxy0AmzMEEMnhtIO0ZF2YAH5wITd0hQw/5wE04M1bjDyXZpC2hqMlYGnWAHqBf40APOEYgChI35VSWyasWfGqrAH0WVkOIw4CSC1IG2tDoSy7XJE1gPs8ArDoIG0BmJGk30wBDHgGYFFBOgbAtqwB7GxxAHerC8rOBU0Dt2gQzjYIb8gawDor+6HVhqFdrkzEwhabiAVOTMSkUb+06FLEUVfWgj5q0cW4g64AeNo66ZLlcnTDNmesBN4y8KArAG6QU42ttCEzBVzpCoAO4EfLDeV5SzIEvgHaXdqUP2BlQud1Ux55zj2uZUX02cPRnKalRLmu17qYmPWF5YbymJgVAh8Ay5wCII3ZEZOYm6fURGT2u9X43Mnk3CDHybmfmRVYXExPv9nKEcpLejqSC3SjdY2TBzTesHqB7wc0onTEV2KucxLApXKkJy9HlAI5anuJFwCkYQ/EuCJfD+mdBnYkXOssgHY53un7MdVZ4CVgqVcADAhjMafkfTioHc14P04yvvMApIEXy5F/+7S8y6UKolPyR4BVVf7Wi2IdawwIPhTrmAW+rmZ8bwBIQ7vloXwoVzNWS6UUrwAYy9YfOlqwKZDkgneA5Qu4l3cly84F9sqGhislywLmaozuYoGFXr0DII1ukxP1hxJ6QzR7HqLxRfumZaRzXZ3f4XXZyi7gCeB3kqsnzs+kSb9s5XHgMeD8RTxDLgq3rmeuYuFvNYCoR8wqujNi+L3UWBcu9wAMt3QZ8LiMlk5RuU50teq6kcEDgTolveIRYHUQBOek1O5cFu/ukLz7/ZJgNSm+OirebWpgaPS7slxfAr4EngGuX8jopqUBxGzyrAVuB54EXgc+lV4yLhO8cfn5E+ZqUD8kBu9sQvv0Hzj4rmoEBaAAVBWAAlBVAApAVQEoAFUFoABUFYACUFUACkC1CfofXVRJocowZVYAAAAASUVORK5CYII=); |
| 6813 | background-size: contain; |
| 6814 | position: absolute; |
| 6815 | content: ""; |
| 6816 | opacity: .7; |
| 6817 | margin-top: -19px; |
| 6818 | margin-left: -64px; |
| 6819 | -webkit-transition: .2s opacity ease-in-out; |
| 6820 | -moz-transition: .2s opacity ease-in-out; |
| 6821 | -o-transition: .2s opacity ease-in-out; |
| 6822 | transition: .2s opacity ease-in-out; |
| 6823 | } |
| 6824 | |
| 6825 | .landing-video-link:hover { |
| 6826 | color: hsla(0, 0%, 100%, 1); |
| 6827 | } |
| 6828 | |
| 6829 | .landing-video-link:hover:before { |
| 6830 | opacity: 1; |
| 6831 | } |
| 6832 | |
| 6833 | .landing-social-image { |
| 6834 | float: left; |
| 6835 | margin-right: 14px; |
| 6836 | height: 64px; |
| 6837 | width: 64px; |
| 6838 | } |
| 6839 | |
| 6840 | .landing-social-copy { |
| 6841 | padding-left: 78px; |
| 6842 | } |
| 6843 | |
| 6844 | .landing-scroll-down-affordance { |
| 6845 | position: absolute; |
| 6846 | bottom: 0; |
| 6847 | width: 100%; |
| 6848 | text-align: center; |
| 6849 | z-index: 10; |
| 6850 | } |
| 6851 | |
| 6852 | .landing-down-arrow { |
| 6853 | padding: 24px; |
| 6854 | display: inline-block; |
| 6855 | opacity: .5; |
| 6856 | -webkit-transition: .2s opacity ease-in-out; |
| 6857 | -moz-transition: .2s opacity ease-in-out; |
| 6858 | -o-transition: .2s opacity ease-in-out; |
| 6859 | transition: .2s opacity ease-in-out; |
| 6860 | |
| 6861 | -webkit-animation-name: pulse-opacity; |
| 6862 | -webkit-animation-duration: 4s; |
| 6863 | } |
| 6864 | |
| 6865 | .landing-down-arrow:hover { |
| 6866 | opacity: 1; |
| 6867 | } |
| 6868 | |
| 6869 | .landing-down-arrow img { |
| 6870 | height: 28px; |
| 6871 | width: 28px; |
| 6872 | margin: 0 auto; |
| 6873 | display: block; |
| 6874 | } |
| 6875 | |
| 6876 | .landing-divider { |
| 6877 | display: inline-block; |
| 6878 | height: 2px; |
| 6879 | background-color: white; |
| 6880 | position: relative; |
| 6881 | margin: 10px 0; |
| 6882 | } |
| 6883 | |
| 6884 | /* 3 CLOLUMN LAYOUT */ |
| 6885 | |
| 6886 | .landing-breakout { |
| 6887 | margin-top: 40px; |
| 6888 | margin-bottom: 40px; |
| 6889 | } |
| 6890 | |
| 6891 | .landing-breakout img { |
| 6892 | margin-bottom: 20px; |
| 6893 | } |
| 6894 | |
| 6895 | .landing-partners img { |
| 6896 | margin-bottom: 20px; |
| 6897 | } |
| 6898 | |
| 6899 | .landing-breakout p { |
| 6900 | padding: 0 23px; |
| 6901 | } |
| 6902 | |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6903 | .landing-breakout.landing-partners img { |
| 6904 | margin-bottom: 20px; |
| 6905 | } |
| 6906 | |
| 6907 | .col-3-wide { |
| 6908 | display: inline; |
| 6909 | float: left; |
| 6910 | margin-left: 10px; |
| 6911 | margin-right: 10px; |
| 6912 | } |
| 6913 | |
| 6914 | .col-3-wide { |
| 6915 | width: 302px; |
| 6916 | } |
| 6917 | |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6918 | /** |
| 6919 | * ANIMATION |
| 6920 | */ |
| 6921 | |
| 6922 | @-webkit-keyframes pulse-opacity { |
| 6923 | 0% { |
| 6924 | opacity: .5; |
| 6925 | } |
| 6926 | 20% { |
| 6927 | opacity: .5; |
| 6928 | } |
| 6929 | 40% { |
| 6930 | opacity: 1; |
| 6931 | } |
| 6932 | 60% { |
| 6933 | opacity: .5; |
| 6934 | } |
| 6935 | 80% { |
| 6936 | opacity: 1; |
| 6937 | } |
| 6938 | 100% { |
| 6939 | opacity: .5; |
| 6940 | } |
| 6941 | } |
| 6942 | |
| 6943 | |
| 6944 | |
| 6945 | /** |
| 6946 | * VIDEO |
| 6947 | */ |
| 6948 | |
| 6949 | #video-container { |
| 6950 | display:none; |
| 6951 | position:fixed; |
| 6952 | top:0; |
smain@google.com | 3de83c1 | 2014-12-12 19:06:52 -0800 | [diff] [blame] | 6953 | left:0; |
| 6954 | width:100%; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6955 | height:100%; |
smain@google.com | 3de83c1 | 2014-12-12 19:06:52 -0800 | [diff] [blame] | 6956 | background-color:rgba(0,0,0,0.8); |
| 6957 | z-index:9999; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6958 | } |
| 6959 | |
| 6960 | #video-frame { |
smain@google.com | 3de83c1 | 2014-12-12 19:06:52 -0800 | [diff] [blame] | 6961 | width:940px; |
| 6962 | height:100%; |
| 6963 | margin:72px auto; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6964 | display:none; |
smain@google.com | 3de83c1 | 2014-12-12 19:06:52 -0800 | [diff] [blame] | 6965 | position:relative; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6966 | } |
| 6967 | |
| 6968 | .video-close { |
smain@google.com | 698fff0 | 2014-11-20 20:39:33 -0800 | [diff] [blame] | 6969 | cursor: pointer; |
smain@google.com | 3de83c1 | 2014-12-12 19:06:52 -0800 | [diff] [blame] | 6970 | position: absolute; |
| 6971 | right: -49px; |
| 6972 | top: -49px; |
smain@google.com | 698fff0 | 2014-11-20 20:39:33 -0800 | [diff] [blame] | 6973 | pointer-events: all; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6974 | } |
| 6975 | |
| 6976 | #icon-video-close { |
smain@google.com | 698fff0 | 2014-11-20 20:39:33 -0800 | [diff] [blame] | 6977 | background-image: url("../images/close-white.png"); |
| 6978 | background-image: -webkit-image-set(url(../images/close-white.png) 1x, url(../images/close-white_2x.png) 2x); |
| 6979 | background-repeat: no-repeat; |
| 6980 | background-position: 0 0; |
| 6981 | background-size: 36px 36px; |
| 6982 | height: 36px; |
| 6983 | width: 36px; |
| 6984 | display:block; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6985 | } |
| 6986 | |
smain@google.com | 698fff0 | 2014-11-20 20:39:33 -0800 | [diff] [blame] | 6987 | #icon-video-close:hover { |
| 6988 | background-image: url("../images/close-grey.png"); |
| 6989 | background-image: -webkit-image-set(url(../images/close-grey.png) 1x, url(../images/close-grey_2x.png) 2x); |
| 6990 | } |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6991 | |
smain@google.com | 698fff0 | 2014-11-20 20:39:33 -0800 | [diff] [blame] | 6992 | /* Preload the hover images */ |
| 6993 | a.video-shadowbox-button.white:after { |
| 6994 | display:none; |
| 6995 | content:url("../images/close-grey.png") url("../images/close-grey_2x.png"); |
| 6996 | } |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 6997 | |
smain@google.com | 698fff0 | 2014-11-20 20:39:33 -0800 | [diff] [blame] | 6998 | a.video-shadowbox-button.white { |
| 6999 | background-image: url("../images/play-circle-white.png"); |
| 7000 | background-image: -webkit-image-set(url(../images/play-circle-white.png) 1x, url(../images/play-circle-white_2x.png) 2x); |
| 7001 | background-size: 36px 36px; |
| 7002 | background-repeat: no-repeat; |
| 7003 | background-position: right; |
| 7004 | padding: 16px 42px 16px 8px; |
| 7005 | font-size: 18px; |
| 7006 | font-weight: 500; |
| 7007 | line-height: 24px; |
| 7008 | color: #fff; |
| 7009 | text-decoration:none; |
| 7010 | } |
| 7011 | |
| 7012 | a.video-shadowbox-button.white:hover { |
| 7013 | color:#bababa !important; |
| 7014 | background-image: url("../images/play-circle-grey.png"); |
| 7015 | background-image: -webkit-image-set(url(../images/play-circle-grey.png) 1x, url(../images/play-circle-grey_2x.png) 2x); |
| 7016 | } |
| 7017 | |
| 7018 | /* Preload the hover images */ |
| 7019 | a.video-shadowbox-button.white:after { |
| 7020 | display:none; |
| 7021 | content:url("../images/play-circle-grey.png") url("../images/play-circle-grey_2x.png"); |
| 7022 | } |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7023 | |
| 7024 | /****************** |
Joe Fernandez | fc0f545 | 2014-06-15 14:53:08 -0700 | [diff] [blame] | 7025 | Styles for d.a.c/index: |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7026 | *******************/ |
| 7027 | |
| 7028 | |
| 7029 | |
| 7030 | /* Generic full screen carousel styling to be used across pages. */ |
| 7031 | .fullscreen-carousel { |
| 7032 | margin: 0 -10px; |
| 7033 | width: 100%; |
| 7034 | overflow: hidden; |
| 7035 | position: relative; |
| 7036 | } |
| 7037 | |
| 7038 | .fullscreen-carousel-content { |
| 7039 | width: 100%; |
| 7040 | height: 100%; |
| 7041 | position: relative; |
| 7042 | display: table; /* For vertical centering */ |
| 7043 | } |
| 7044 | |
| 7045 | .fullscreen-carousel .vcenter { |
| 7046 | display: table-cell; |
| 7047 | vertical-align: middle; |
| 7048 | position: relative; |
| 7049 | } |
| 7050 | |
| 7051 | .fullscreen-carousel .vcenter > div { |
| 7052 | margin: 10px auto; |
| 7053 | } |
| 7054 | |
| 7055 | /* Styles for the full-bleed hero image type. */ |
| 7056 | .fullscreen-carousel .hero, .fullscreen-carousel .hero h1 { |
| 7057 | color: #fff; |
| 7058 | } |
| 7059 | |
| 7060 | .fullscreen-carousel .hero h1 { |
| 7061 | font-weight: 300; |
| 7062 | font-size: 60px; |
| 7063 | line-height: 68px; |
| 7064 | letter-spacing: -1px; |
| 7065 | margin-top: 0; |
| 7066 | } |
| 7067 | |
| 7068 | .fullscreen-carousel .hero p { |
| 7069 | font-weight: 300; |
| 7070 | font-size: 18px; |
| 7071 | line-height: 24px; |
| 7072 | -webkit-font-smoothing: antialiased; |
| 7073 | } |
| 7074 | |
| 7075 | .fullscreen-carousel .hero .hero-bg { |
| 7076 | background-size: cover; |
| 7077 | width: 100%; |
| 7078 | height: 100%; |
| 7079 | position: absolute; |
| 7080 | left: 0px; |
| 7081 | top: 0px; |
| 7082 | } |
| 7083 | |
| 7084 | |
| 7085 | /* Full screen carousel styling for the resource flow layout type of content */ |
| 7086 | .fullscreen-carousel .resource-flow-layout:after { |
| 7087 | height: 0; /* Dont know why this is set at 10 in default.css */ |
| 7088 | } |
| 7089 | |
| 7090 | .fullscreen-carousel .resource-flow-layout { |
| 7091 | margin-bottom: 20px; |
| 7092 | } |
| 7093 | |
| 7094 | |
| 7095 | |
| 7096 | /* Generic Tab carousel styling to be used across multiple pages. */ |
| 7097 | |
| 7098 | .tab-carousel .tab-nav { |
| 7099 | list-style: none; |
| 7100 | position: relative; |
| 7101 | text-align: center; |
| 7102 | } |
| 7103 | |
| 7104 | .tab-carousel .tab-nav li { |
| 7105 | display: inline-block; |
| 7106 | font-size: 22px; |
| 7107 | font-weight: 400; |
| 7108 | line-height: 50px; |
| 7109 | list-style: none; |
| 7110 | margin: 0; |
| 7111 | padding: 0 25px; |
| 7112 | position: relative; |
| 7113 | } |
| 7114 | |
Joe Fernandez | fc0f545 | 2014-06-15 14:53:08 -0700 | [diff] [blame] | 7115 | .tab-carousel .tab-nav li a, |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7116 | .tab-carousel .tab-nav li a:hover { |
| 7117 | color: #333 !important; |
| 7118 | padding: 10px 10px 13px 10px; |
| 7119 | position: relative; |
| 7120 | z-index: 1000; |
| 7121 | } |
| 7122 | |
| 7123 | .tab-carousel .tab-nav li:after { |
| 7124 | background: #ddd; |
| 7125 | bottom: 0; |
| 7126 | content: ''; |
| 7127 | height: 4px; |
| 7128 | left: 0; |
| 7129 | position: absolute; |
| 7130 | width: 100%; |
| 7131 | z-index: 0; |
| 7132 | } |
| 7133 | |
| 7134 | .tab-carousel .tab-nav .highlight { |
| 7135 | position: absolute; |
| 7136 | height: 4px; |
| 7137 | width: 100px; |
| 7138 | bottom: 0; |
| 7139 | background: #33b5e5; |
| 7140 | } |
| 7141 | |
| 7142 | .tab-carousel .tab-carousel-content { |
| 7143 | position: relative; |
| 7144 | overflow: hidden; |
| 7145 | white-space: nowrap; |
| 7146 | } |
| 7147 | |
| 7148 | .tab-carousel .tab-carousel-content [data-tab] { |
| 7149 | display: inline-block; |
| 7150 | white-space: normal; |
| 7151 | } |
| 7152 | |
| 7153 | |
| 7154 | |
| 7155 | /* |
| 7156 | Resource styling for the tab carousel. The tab carousel contains either |
| 7157 | a 3 column layout of resources or a single full-width resource. The |
| 7158 | latter has the 18x12 class applied to it and can be styled differently |
| 7159 | that way. |
| 7160 | */ |
| 7161 | |
| 7162 | .tab-carousel .resource .image { |
| 7163 | width: 100%; |
| 7164 | height: 250px; |
| 7165 | background-repeat: no-repeat; |
| 7166 | background-size: contain; |
| 7167 | background-position: 50% 50%; |
| 7168 | } |
| 7169 | |
| 7170 | .tab-carousel .resource .info .title { |
| 7171 | font-size: 18px; |
| 7172 | line-height: 24px; |
| 7173 | } |
| 7174 | |
| 7175 | .tab-carousel .resource .info .summary, |
| 7176 | .tab-carousel .resource .info .cta { |
| 7177 | line-height: 24px; |
| 7178 | font-size: 16px; |
| 7179 | } |
| 7180 | |
| 7181 | .tab-carousel .resource-card-18x12 { |
| 7182 | position: relative; |
| 7183 | padding-left: 450px; |
| 7184 | box-sizing: border-box; |
| 7185 | display: table-cell; |
| 7186 | vertical-align: middle; |
| 7187 | } |
| 7188 | |
| 7189 | .tab-carousel .resource-card-18x12 .image { |
| 7190 | position: absolute; |
| 7191 | width: 420px; |
| 7192 | height: 100%; |
| 7193 | left: 0; |
| 7194 | top: 0; |
| 7195 | } |
| 7196 | |
| 7197 | .tab-carousel .resource-card-18x12 .info { |
| 7198 | display: inline-block; |
| 7199 | } |
| 7200 | |
| 7201 | .tab-carousel .resource-card-18x12 .info .title { |
| 7202 | margin-bottom: 26px; |
| 7203 | } |
| 7204 | |
| 7205 | |
| 7206 | |
| 7207 | |
| 7208 | |
Joe Fernandez | fc0f545 | 2014-06-15 14:53:08 -0700 | [diff] [blame] | 7209 | /* |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7210 | Styles for the entity link used in the actions bar and in the cta of |
| 7211 | the resources that appear in the tab carousel. |
| 7212 | */ |
| 7213 | .actions-bar a:after, |
| 7214 | .resource .cta:after { |
| 7215 | content: '›'; |
| 7216 | font-weight: 400; |
| 7217 | font-size: 22px; |
| 7218 | left: 5px; |
| 7219 | line-height: 1; |
| 7220 | position: relative; |
| 7221 | top: 1px; |
| 7222 | transition: left 190ms ease-out; |
| 7223 | } |
| 7224 | |
| 7225 | .actions-bar a:hover:after, |
| 7226 | .resource .cta:hover:after { |
| 7227 | left: 10px; |
| 7228 | } |
| 7229 | |
| 7230 | |
| 7231 | |
| 7232 | |
| 7233 | /* |
| 7234 | Styles for the actions bar. |
| 7235 | */ |
| 7236 | .actions-bar { |
| 7237 | background: #9acd00; |
| 7238 | margin: 0 -10px; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7239 | text-align: center; |
| 7240 | } |
| 7241 | |
| 7242 | .actions-bar .actions { |
| 7243 | padding: 30px 0 30px; |
| 7244 | text-align: justify; |
| 7245 | font-size: 0.1px; |
| 7246 | line-height: 0.1px; |
smain@google.com | cda1a9a | 2014-06-19 17:07:46 -0700 | [diff] [blame] | 7247 | margin: 0 10px 0 0; |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7248 | } |
| 7249 | |
| 7250 | .actions-bar .actions:after { |
| 7251 | content: ''; |
| 7252 | width: 100%; |
| 7253 | display: inline-block; |
| 7254 | } |
| 7255 | |
| 7256 | .actions-bar .actions > div { |
| 7257 | display: inline-block; |
| 7258 | } |
| 7259 | |
| 7260 | .actions-bar a { |
| 7261 | font-size: 21px; |
| 7262 | line-height: 27px; |
| 7263 | color: #fff; |
| 7264 | font-weight: 300; |
| 7265 | -webkit-font-smoothing: antialiased; |
| 7266 | } |
| 7267 | |
| 7268 | .actions-bar a:after { |
| 7269 | top: 0px; |
| 7270 | font-size: 22px; |
| 7271 | } |
| 7272 | |
| 7273 | .actions-bar a:hover { |
| 7274 | color: #fff !important; |
| 7275 | } |
| 7276 | |
| 7277 | |
| 7278 | |
| 7279 | |
| 7280 | |
Joe Fernandez | fc0f545 | 2014-06-15 14:53:08 -0700 | [diff] [blame] | 7281 | /* |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7282 | Specific styles for new home page layout of the carousels. |
| 7283 | */ |
| 7284 | |
| 7285 | /* Big blue button */ |
| 7286 | a.home-new-cta-btn, |
| 7287 | .home-new-carousel-1 .resource-card-18x6 .cta { |
| 7288 | white-space: nowrap; |
| 7289 | display: inline-block; |
| 7290 | padding: 14px 32px; |
| 7291 | font-size: 18px; |
| 7292 | font-weight: 500; |
| 7293 | line-height: 24px; |
| 7294 | cursor: pointer; |
| 7295 | background: #33b5e6; |
| 7296 | border-radius: 4px; |
| 7297 | margin-top: 20px; |
| 7298 | color: #fff; |
| 7299 | transition: 0.2s background-color ease-in-out; |
| 7300 | } |
| 7301 | |
| 7302 | .home-new-carousel-1 .resource-card-18x6 .cta:after { |
| 7303 | display: none; /* Hide the entity for this button */ |
| 7304 | } |
| 7305 | |
| 7306 | a.home-new-cta-btn:hover, |
| 7307 | .home-new-carousel-1 .resource-card-18x6 .cta:hover { |
| 7308 | color: #fff !important; |
| 7309 | background: #2d9fca; |
| 7310 | } |
| 7311 | |
| 7312 | .home-new-carousel-1 .resource-card-18x6 .cta { |
| 7313 | position: absolute; |
| 7314 | bottom: 20px; |
| 7315 | left: 16px; |
| 7316 | } |
| 7317 | |
| 7318 | /* Fullscreen carousel. */ |
| 7319 | .home-new-carousel-1 { |
| 7320 | max-height: 700px; /* Set max height so doesn't get too long */ |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7321 | } |
| 7322 | |
| 7323 | .home-new-carousel-1 .fullscreen-carousel-content { |
| 7324 | min-height: 450px; /* Set min height for all content */ |
| 7325 | } |
| 7326 | |
| 7327 | .home-new-carousel-1 .hero { |
| 7328 | background: #000; |
| 7329 | } |
| 7330 | |
| 7331 | .home-new-carousel-1 .hero-bg { |
| 7332 | background-image: url(/home-new/images/hero.jpg); |
| 7333 | background-position: right center; |
| 7334 | opacity: 0.85; |
| 7335 | } |
| 7336 | |
Joe Fernandez | fc0f545 | 2014-06-15 14:53:08 -0700 | [diff] [blame] | 7337 | /* |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7338 | Styling for special top card of full screen layout resource layout. |
| 7339 | We need to specifically style the 18x6 card to adjust its size and layout, |
| 7340 | since it's not a standard card, not sure if this is unique to the home page |
| 7341 | layout or should be namespaced within the fullscreen-carousel container. |
| 7342 | */ |
| 7343 | .home-new-carousel-1 .resource-flow-layout.col-16 .resource-card-18x6 { |
Robert Ly | 28d695a | 2014-06-25 01:38:51 -0700 | [diff] [blame] | 7344 | height: 320px; |
| 7345 | background-color:#F9F9F9; |
| 7346 | border-radius: 0px; |
| 7347 | box-shadow: 0px 0px 0px rgba(0, 0, 0, 0); |
| 7348 | |
Robert Ly | e7eeb40 | 2014-06-03 19:35:24 -0700 | [diff] [blame] | 7349 | } |
| 7350 | |
| 7351 | .home-new-carousel-1 .resource-card-18x6 .card-bg { |
| 7352 | width: 636px; |
| 7353 | height: 100%; |
| 7354 | } |
| 7355 | |
| 7356 | .home-new-carousel-1 .resource-card-18x6 .card-info { |
| 7357 | right: 0px; |
| 7358 | left: 636px; |
| 7359 | height: 100%; |
| 7360 | top: 0px; |
| 7361 | padding: 15px 22px; |
| 7362 | } |
| 7363 | |
| 7364 | .home-new-carousel-1 .resource-card-18x6 .card-info .util { |
| 7365 | display: none; |
| 7366 | } |
| 7367 | |
| 7368 | .home-new-carousel-1 .resource-card-18x6 .card-info .title { |
| 7369 | font-size: 20px; |
| 7370 | font-weight: 500; |
| 7371 | margin-top: 15px; |
| 7372 | margin-bottom: 15px; |
| 7373 | } |
| 7374 | |
| 7375 | .home-new-carousel-1 .resource-card-18x6 .card-info .text { |
| 7376 | font-size: 15px; |
| 7377 | line-height: 21px; |
| 7378 | } |
| 7379 | |
| 7380 | |
| 7381 | /* Tabbed carousel. */ |
| 7382 | .home-new-carousel-2 { |
| 7383 | margin: 35px auto 100px auto; |
| 7384 | } |
| 7385 | |
| 7386 | .home-new-carousel-2 h1 { |
| 7387 | font-size: 47px; |
| 7388 | font-weight: 100; |
| 7389 | line-height: 54px; |
| 7390 | text-align: center; |
Joe Fernandez | fc0f545 | 2014-06-15 14:53:08 -0700 | [diff] [blame] | 7391 | } |
Jeff Arneson | 3a5cb1b | 2014-08-22 15:40:47 -0700 | [diff] [blame] | 7392 | |
| 7393 | .annotation-message { |
| 7394 | display: block; |
| 7395 | font-style: italic; |
Jeff Arneson | 1e7fd55 | 2014-09-10 13:55:39 -0700 | [diff] [blame] | 7396 | color: #F80; |
| 7397 | } |
smain@google.com | fbdb2a1 | 2014-10-03 15:37:49 -0700 | [diff] [blame] | 7398 | |
| 7399 | |
| 7400 | |
| 7401 | /* Helpouts widget */ |
| 7402 | .resource-card-6x2.helpouts-card { |
smain@google.com | 55bbab9 | 2014-12-02 11:01:20 -0800 | [diff] [blame] | 7403 | width: 255px; |
smain@google.com | fbdb2a1 | 2014-10-03 15:37:49 -0700 | [diff] [blame] | 7404 | height: 40px; |
| 7405 | position:absolute; |
| 7406 | z-index:999; |
| 7407 | top:-8px; |
| 7408 | right:1px; |
| 7409 | } |
| 7410 | |
| 7411 | .resource-card-6x2.helpouts-card > .card-info { |
| 7412 | left:35px; |
| 7413 | height:35px; |
| 7414 | padding:4px 8px 4px 0; |
| 7415 | } |
| 7416 | |
| 7417 | .resource-card-6x2.helpouts-card > .card-info .helpouts-description { |
| 7418 | display:block; |
| 7419 | overflow:visible; |
| 7420 | font-size:12px; |
| 7421 | line-height:12px; |
| 7422 | text-align:right; |
| 7423 | color:#666; |
| 7424 | } |
| 7425 | |
| 7426 | .helpouts-description .link-color { |
| 7427 | text-transform: uppercase; |
| 7428 | } |
| 7429 | |
| 7430 | .resource-card-6x2 > .card-bg.helpouts-card-bg { |
| 7431 | width:35px; |
| 7432 | height:35px; |
| 7433 | margin:2px 0 0 0; |
| 7434 | background-image: url(../images/styles/helpouts-logo-35_2x.png); |
| 7435 | background-image: -webkit-image-set(url(../images/styles/helpouts-logo-35.png) 1x, url(../images/styles/helpouts-logo-35_2x.png) 2x); |
| 7436 | } |
| 7437 | |
| 7438 | .resource-card-6x2 > .card-bg.helpouts-card-bg:after { |
| 7439 | display:none; |
Dirk Dougherty | b87e300 | 2014-11-18 19:34:34 -0800 | [diff] [blame] | 7440 | } |