blob: f529f16988044d1c94cbf4e8829f867dd4839336 [file] [log] [blame]
Scott Maine4d8f1b2012-06-21 18:03:05 -07001/* color definitions */
2/* 16 column layout */
3/* clearfix idiom */
4/* common mixins */
5/* page layout + top-level styles */
Scott Maine4d8f1b2012-06-21 18:03:05 -07006::selection {
7 background-color: #0099cc;
8 color: #fff; }
Scott Mainb7f96372013-02-07 16:56:43 -08009::-webkit-selection {
10 background-color: #0099cc;
11 color: #fff; }
12::-moz-selection {
13 background-color: #0099cc;
14 color: #fff; }
Scott Maine4d8f1b2012-06-21 18:03:05 -070015
16html, 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
26body {
Scott Main9ada2262012-06-23 14:59:36 -070027 color: #222;
Scott Main6a7a66b2012-06-23 11:20:48 -070028 font: 14px/19px Roboto, sans-serif;
Scott Maine4d8f1b2012-06-21 18:03:05 -070029 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 Main98a2a712013-07-17 13:15:04 -070093
Scott Maine4d8f1b2012-06-21 18:03:05 -070094#devdoc-nav h2 {
95 border:0;
96}
97
98#devdoc-nav.fixed {
99 position: fixed;
100 margin:0;
Dirk Doughertyc3921652014-05-13 16:55:26 -0700101 top: 65px; /* sticky-header height + 20px gutter */
102}
Scott Main98a2a712013-07-17 13:15:04 -0700103
Scott Main6b2dc272012-09-11 14:27:34 -0700104#devdoc-nav span.small {
105 font-size:12px;
106 font-weight:normal;
107}
Scott Maine4d8f1b2012-06-21 18:03:05 -0700108
109#content {
110 width: 760px;
111 float: left; }
112
113a:hover,
114acronym:hover {
115 color: #7aa1b0 !important; }
116
117a:focus,
118a:active {
119 color: #33b5e5 !important; }
Scott Main98a2a712013-07-17 13:15:04 -0700120
Scott Maind4cb7832012-11-28 11:10:09 -0800121a.external-link {
122 background:url('../images/styles/open_new_page.png') no-repeat 100% 50%;
123 padding-right:16px;
124}
Scott Maine4d8f1b2012-06-21 18:03:05 -0700125
126img {
127 border: none; }
128#jd-content img {
129 margin-bottom:15px;
130}
131
132ul {
133 margin: 0;
134 padding: 0; }
135
136strong {
137 font-weight: 500; }
138
139em {
140 font-style: italic; }
141
Scott Maindb3678b2012-10-23 14:13:41 -0700142acronym,
143.tooltip-link {
Scott Maine4d8f1b2012-06-21 18:03:05 -0700144 border-bottom: 1px dotted #555555;
145 cursor: help; }
146
Scott Maindb3678b2012-10-23 14:13:41 -0700147acronym:hover,
148.tooltip-link:hover {
149 color: #7aa1b0;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700150 border-bottom-color: #7aa1b0; }
151
152img.with-shadow,
153video.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 Maine4d8f1b2012-06-21 18:03:05 -0700161 * 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 Mainab4daf42012-11-30 11:27:17 -0800273 text-decoration: none;
274 word-wrap:break-word; }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700275 #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 Mainad08f072013-08-20 16:49:57 -0700303 #nav .nav-section-header.empty {
304 padding:0; }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700305 #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 Main502c9392012-11-27 15:00:40 -0800330 padding:0 0 0 10px;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700331 }
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 Mainac71b2b2012-11-30 14:40:58 -0800337 #nav li.expanded li ul.tree-list-children {
Dirk Doughertyf5ffd4a2013-08-19 12:26:07 -0700338 padding: 0;
Scott Mainac71b2b2012-11-30 14:40:58 -0800339 }
340 #nav li.expanded li ul.tree-list-children .tree-list-children {
Scott Main98a2a712013-07-17 13:15:04 -0700341 padding:0 0 0 10px;
Scott Mainac71b2b2012-11-30 14:40:58 -0800342 }
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 Mainb7b49712014-03-18 05:29:15 -0700356 #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 Maine4d8f1b2012-06-21 18:03:05 -0700369 #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 Mainac71b2b2012-11-30 14:40:58 -0800393 #nav li ul.tree-list-children > li:last-child {
394 padding-bottom:0;
395 }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700396 #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 Mainac71b2b2012-11-30 14:40:58 -0800401 #nav li ul.tree-list-children ul {
402 display:block; }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700403
Scott Main70557ee2013-10-30 14:47:40 -0700404#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 Maine4d8f1b2012-06-21 18:03:05 -0700415.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.com20ef3822014-06-13 16:05:28 -0700427 margin:36px 0 23px; /* same as h1 */
428 padding:0 0 10px;} /* same as h1 */
Scott Maine4d8f1b2012-06-21 18:03:05 -0700429.content-header.just-links {
430 margin-bottom:0;
431 padding-bottom:0;}
Scott Main98a2a712013-07-17 13:15:04 -0700432
Scott Maine4d8f1b2012-06-21 18:03:05 -0700433.content-header h1 {
smain@google.com20ef3822014-06-13 16:05:28 -0700434 margin:0;
435 padding:0;
436 width: 700px;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700437}
Scott Main07816042013-12-19 12:47:38 -0800438.content-header > div:first-child {
smain@google.com20ef3822014-06-13 16:05:28 -0700439 height:1px; /* set fixed height for the header div to ensure the
Scott Main07816042013-12-19 12:47:38 -0800440 next/prev links align with toc on training classes */
441}
Scott Maine4d8f1b2012-06-21 18:03:05 -0700442
443.content-footer {
444 border-top: 1px solid #ccc;
445 margin-top: 10px;
446 padding-top:10px;
smain@google.com5bc3a1a2014-06-17 20:02:53 -0700447 width:100%; }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700448
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.com5bc3a1a2014-06-17 20:02:53 -0700458.content-footer .plus-container {
459 margin:5px 0 0;
460 text-align:right;
461 float:right;
462}
Scott Maine4d8f1b2012-06-21 18:03:05 -0700463
464.paging-links {
smain@google.com5bc3a1a2014-06-17 20:02:53 -0700465 position: relative;
466 height:30px; }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700467 .paging-links a {
468 position: absolute; }
469 .paging-links a,
470 .training-nav-top a {
471 font-size: 14px;
472 line-height: 30px;
473 color: #555555;
474 text-decoration: none;
475 text-transform: uppercase; }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700476 .paging-links .prev-page-link:before,
477 .training-nav-top .prev-page-link:before {
478 content: '';
479 background: transparent url(../images/styles/disclosure_left.png) no-repeat scroll 50% 50%;
480 width: 10px;
481 height: 10px;
482 display: inline-block;
483 margin-right: 5px; }
Scott Maina4888dc2012-10-02 23:25:21 -0700484 .training-nav-top .next-page-link,
Scott Maine4d8f1b2012-06-21 18:03:05 -0700485 .training-nav-top .start-class-link,
486 .training-nav-top .start-course-link {
487 right: 10px; }
Scott Maina4888dc2012-10-02 23:25:21 -0700488 .paging-links .prev-page-link {
489 left: -15px; }
490 .paging-links .next-page-link {
smain@google.com5bc3a1a2014-06-17 20:02:53 -0700491 right: 0; }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700492 .next-page-link:after,
493 .start-class-link:after,
494 .start-course-link:after,
Scott Main0b2db162013-05-15 01:15:50 -0700495 .next-class-link:after,
496 .go-link:after {
Scott Maine4d8f1b2012-06-21 18:03:05 -0700497 content: '';
498 background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%;
499 width: 10px;
500 height: 10px;
501 display: inline-block;
502 margin-left: 5px; }
Scott Main25c89dd2013-10-07 14:17:55 -0700503 .prev-page-link.inline:before {
504 content: none; }
505 .next-page-link.inline:after {
506 content: none; }
Scott Main98a2a712013-07-17 13:15:04 -0700507
smain@google.com5bc3a1a2014-06-17 20:02:53 -0700508 .content-footer .paging-links .next-page-link {
509 left:0;
510 }
Scott Main98a2a712013-07-17 13:15:04 -0700511
Scott Maine4d8f1b2012-06-21 18:03:05 -0700512 .training-nav-top a {
513 display:block;
514 float:left;
Scott Mainf3d01042012-10-02 20:36:45 -0700515 width:122px;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700516 height:28px;
Scott Mainf3d01042012-10-02 20:36:45 -0700517 padding: 8px;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700518 line-height:28px;
519 text-align:center;
520 border:1px solid #DADADA;
521 border-bottom:0;
522 }
Scott Main5a1123e2012-09-26 12:51:28 -0700523
Scott Maine4d8f1b2012-06-21 18:03:05 -0700524 .training-nav-top a.next-page-link {
525 border-left:0;
Scott Mainf3d01042012-10-02 20:36:45 -0700526 width:123px;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700527 }
Scott Main98a2a712013-07-17 13:15:04 -0700528
Scott Main5a1123e2012-09-26 12:51:28 -0700529 .paging-links a.disabled,
Scott Maine4d8f1b2012-06-21 18:03:05 -0700530 .training-nav-top a.disabled,
531 .content-footer a.disabled {
Scott Main5a1123e2012-09-26 12:51:28 -0700532 color:#bbb;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700533 }
Scott Main98a2a712013-07-17 13:15:04 -0700534
Scott Main5a1123e2012-09-26 12:51:28 -0700535 .paging-links a.disabled:hover,
Scott Maine4d8f1b2012-06-21 18:03:05 -0700536 .training-nav-top a.disabled:hover,
537 .content-footer a.disabled:hover {
538 cursor:default;
Scott Main5a1123e2012-09-26 12:51:28 -0700539 color:#bbb !important;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700540 }
Scott Main98a2a712013-07-17 13:15:04 -0700541
Scott Maine4d8f1b2012-06-21 18:03:05 -0700542 .training-nav-top a.start-class-link,
543 .training-nav-top a.start-course-link {
Scott Maina4888dc2012-10-02 23:25:21 -0700544 width:262px;
Scott Maine4d8f1b2012-06-21 18:03:05 -0700545 }
Scott Main98a2a712013-07-17 13:15:04 -0700546
Scott Main9ee0fae2014-01-23 10:50:57 -0800547 .paging-links a.start-class-link {
548 width:100%;
Scott Main9ee0fae2014-01-23 10:50:57 -0800549 }
550
Scott Main5a1123e2012-09-26 12:51:28 -0700551 /* list of classes on course landing page */
552 ol.class-list {
553 list-style:none;
554 margin-left:0;
555 }
556 ol.class-list>li {
557 margin:0 0 15px;
558 padding:5px 0 0;
559 overflow:hidden;
560 border-top:1px solid #ccc;
561 }
562 ol.class-list li a.title {
563 font-size:16px;
564 margin:0;
565 clear:left;
566 display:block;
567 height:32px;
568 padding:0 4px;
569 }
570 ol.class-list li a.title h2 {
571 color:inherit;
572 margin:0 0 10px;
573 display:block;
574 float:left;
575 width:675px;
576 }
577 ol.class-list li a.title span {
578 display:none;
579 float:left;
580 font-size:18px;
581 font-weight:bold;
582 background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%;
583 width: 10px;
584 height: 32px;
585 }
586 ol.class-list li a.title:hover {
587 background:#ddd;
588 color:#258AAF !important;
589 }
590 ol.class-list li a.title:hover span {
591 display:block;
592 }
Scott Main98a2a712013-07-17 13:15:04 -0700593
Scott Main5a1123e2012-09-26 12:51:28 -0700594 #jd-content
595 ol.class-list li img {
596 float:left;
597 clear:left;
598 width:64px;
599 margin:0 20px 0 0;
600 }
601 ol.class-list li p.description {
602 float:left;
603 display:block;
604 width:250px;
605 margin:0;
606 }
607 ol.class-list li p.description.article {
608 width: 550px;
609 }
610 ol.class-list ol {
611 float:left;
612 width:320px;
613 margin:0 0 0 30px;
614 list-style:none;
615 margin:0 0 0 20px;
616 }
617 ol.class-list div.lessons li {
618 margin:0 0 6px;
619 line-height:16px;
620 }
Scott Main98a2a712013-07-17 13:15:04 -0700621
622
Scott Maine4d8f1b2012-06-21 18:03:05 -0700623 .hide {
624 display:none !important;
625 }
Scott Main98a2a712013-07-17 13:15:04 -0700626
Scott Main98a2a712013-07-17 13:15:04 -0700627
628
Scott Mainbbffb4b2012-11-13 07:40:16 -0800629 /* inner-doc tabs w/ title */
Scott Main98a2a712013-07-17 13:15:04 -0700630
Scott Mainbbffb4b2012-11-13 07:40:16 -0800631div#title-tabs-wrapper {
632 border-bottom:1px solid #ccc;
633 margin:20px 0 30px;
634}
635h1.with-title-tabs {
636 display:inline-block;
637 margin:0 0 -1px 0;
638 padding:0 60px 0 0;
639 border-bottom:1px solid #F9F9F9;
640}
641ul#title-tabs {
642 list-style:none;
643 padding:0;
644 height:29px;
645 margin:0;
646 font-size:16px;
647 line-height:26px;
648 display:inline-block;
649 vertical-align:bottom;
650}
651ul#title-tabs li {
652 display:block;
653 float:left;
654 margin-right:40px;
655 border-bottom: 3px solid transparent;
656}
657ul#title-tabs li.selected {
658 border-bottom: 3px solid #93C;
659}
660ul#title-tabs li a {
661 color:#333;
662}
663ul#title-tabs li a:hover,
Scott Mainbbffb4b2012-11-13 07:40:16 -0800664ul#title-tabs li a:active {
665 color:#93C !important;
666}
667
668
Scott Maine4d8f1b2012-06-21 18:03:05 -0700669
670/* content body */
671@-webkit-keyframes glowheader {
672 from {
673 background-color: #33b5e5;
674 color: #000;
675 border-bottom-color: #000; }
676
677 to {
678 background-color: transparent;
679 color: #33b5e5;
680 border-bottom-color: #33b5e5; } }
681
682@-moz-keyframes glowheader {
683 from {
684 background-color: #33b5e5;
685 color: #000;
686 border-bottom-color: #000; }
687
688 to {
689 background-color: transparent;
690 color: #33b5e5;
691 border-bottom-color: #33b5e5; } }
692
693@keyframes glowheader {
694 from {
695 background-color: #33b5e5;
696 color: #000;
697 border-bottom-color: #000; }
698
699 to {
700 background-color: transparent;
701 color: #33b5e5;
702 border-bottom-color: #33b5e5; } }
703
Dirk Doughertyca1230c2014-05-14 20:00:03 -0700704h1:target,
Scott Maine4d8f1b2012-06-21 18:03:05 -0700705h2:target,
706h3:target {
707 -webkit-animation-name: glowheader;
708 -moz-animation-name: glowheader;
709 animation-name: glowheader;
710 -webkit-animation-duration: 0.7s;
711 -moz-animation-duration: 0.7s;
712 animation-duration: 0.7s;
713 -webkit-animation-timing-function: ease-out;
714 -moz-animation-timing-function: ease-out;
715 animation-timing-function: ease-out; }
716
717.design ol h4 {
718 margin-bottom:0;
719}
720.design ol {
721 counter-reset: item; }
Scott Mainb9ae92b2012-07-19 11:01:27 -0700722 .design ol>li {
Scott Maine4d8f1b2012-06-21 18:03:05 -0700723 font-size: 14px;
724 line-height: 20px;
725 list-style-type: none;
726 position: relative; }
Scott Mainb9ae92b2012-07-19 11:01:27 -0700727 .design ol>li:before {
Scott Maine4d8f1b2012-06-21 18:03:05 -0700728 content: counter(item) ". ";
729 counter-increment: item;
730 position: absolute;
731 left: -20px;
732 top: 0; }
733 .design ol li.value-1:before {
734 content: "1. "; }
735 .design ol li.value-2:before {
736 content: "2. "; }
737 .design ol li.value-3:before {
738 content: "3. "; }
739 .design ol li.value-4:before {
740 content: "4. "; }
741 .design ol li.value-5:before {
742 content: "5. "; }
743 .design ol li.value-6:before {
744 content: "6. "; }
745 .design ol li.value-7:before {
746 content: "7. "; }
747 .design ol li.value-8:before {
748 content: "8. "; }
749 .design ol li.value-9:before {
750 content: "9. "; }
751 .design ol li.value-10:before {
752 content: "10. "; }
Scott Mainb9ae92b2012-07-19 11:01:27 -0700753.design .with-callouts ol>li {
Scott Maine4d8f1b2012-06-21 18:03:05 -0700754 list-style-position: inside;
755 margin-left: 0; }
Scott Mainb9ae92b2012-07-19 11:01:27 -0700756 .design .with-callouts ol>li:before {
Scott Maine4d8f1b2012-06-21 18:03:05 -0700757 display: inline;
758 left: -20px;
759 float: left;
760 width: 17px;
761 color: #33b5e5;
762 font-weight: 500; }
Scott Mainb9ae92b2012-07-19 11:01:27 -0700763.design .with-callouts ul>li {
764 list-style-position: outside; }
Scott Maine4d8f1b2012-06-21 18:03:05 -0700765
766/* special list items */
767li.no-bullet {
768 list-style-type: none !important; }
769li.no-bullet *{
770 margin:0; }
771
772.design li.with-icon {
773 position: relative;
774 margin-left: 20px;
775 min-height: 30px; }
776 .design li.with-icon p {
777 margin-left: 0 !important; }
778 .design li.with-icon:before {
779 position: absolute;
780 left: -40px;
781 top: 0;
782 content: '';
783 width: 30px;
784 height: 30px; }
785 .design li.with-icon.tablet:before {
786 background-image: url(../images/styles/ico_phone_tablet.png); }
787 .design li.with-icon.web:before {
788 background-image: url(../images/styles/ico_web.png); }
789 .design li.with-icon.action:before {
790 background-image: url(../images/styles/ico_action.png); }
791 .design li.with-icon.use:before {
792 background-image: url(../images/styles/ico_use.png); }
793
794/* figures and callouts */
795.figure {
796 position: relative; }
797 .figure.pad-below {
798 margin-bottom: 20px; }
799 .figure .figure-callout {
800 position: absolute;
801 color: #fff;
802 font-weight: 500;
803 font-size: 16px;
804 line-height: 23px;
805 text-align: center;
806 background: transparent url(../images/styles/callout.png) no-repeat scroll 50% 50%;
807 padding-right: 2px;
808 width: 30px;
809 height: 29px;
810 z-index: 1000; }
811 .figure .figure-callout.top {
812 top: -9px; }
813 .figure .figure-callout.right {
814 right: -5px; }
815
816.figure-caption {
817 margin: 0 10px 20px 0;
818 font-size: 14px;
819 line-height: 20px;
820 font-style: italic; }
821
822/* rows of figures */
823.figure-row {
824 font-size: 0;
825 line-height: 0;
826 /* to prevent space between figures */ }
827 .figure-row .figure {
828 display: inline-block;
829 vertical-align: top; }
830 .figure-row .figure + .figure {
831 margin-left: 10px;
832 /* reintroduce space between figures */ }
833
834/* video containers */
835.framed-galaxynexus-land-span-13 {
836 background: transparent url(../images/styles/device_galaxynexus_blank_land_span13.png) no-repeat
837scroll top left;
838 padding: 42px 122px 62px 126px;
839 overflow: hidden; }
840 .framed-galaxynexus-land-span-13, .framed-galaxynexus-land-span-13 video,
841.framed-galaxynexus-land-span-13 img {
842 width: 512px;
843 height: 286px; }
844
Robert Lyd78354d2012-11-01 17:09:52 -0700845
846.framed-galaxynexus-land-span-8{
847 background: transparent url(../images/styles/device_galaxynexus_blank_land_span8.png) no-repeat
848scroll top left;
849 padding: 26px 68px 38px 72px;
850 overflow: hidden; }
851 .framed-galaxynexus-land-span-8, .framed-galaxynexus-land-span-8 video,
852.framed-galaxynexus-land-span-8 img {
853 width: 320px;
854 height: 180px; }
855
Scott Maine4d8f1b2012-06-21 18:03:05 -0700856.framed-galaxynexus-port-span-9 {
857 background: transparent url(../images/styles/device_galaxynexus_blank_port_span9.png) no-repeat
858scroll top left;
859 padding: 95px 122px 107px 124px;
860 overflow: hidden; }
861 .framed-galaxynexus-port-span-9, .framed-galaxynexus-port-span-9 video,
862.framed-galaxynexus-port-span-9 img {
863 width: 274px;
864 height: 488px; }
865
866.framed-galaxynexus-port-span-5 {
867 background: transparent url(../images/styles/device_galaxynexus_blank_port_span5.png) no-repeat
868scroll top left;
869 padding: 75px 31px 76px 33px;
870 overflow: hidden; }
871 .framed-galaxynexus-port-span-5, .framed-galaxynexus-port-span-5 video,
872.framed-galaxynexus-port-span-5 img {
873 width: 216px;
874 height: 384px; }
875
Scott Main27403b82013-07-10 16:36:05 -0700876.framed-nexus4-port-216 {
877 background: transparent url(../images/styles/device_nexus4_blank_port_432.png) no-repeat
878scroll top left;
879 background-size:240px 465px;
880 padding: 52px 12px 52px 12px;
881 overflow: hidden; }
882 .framed-nexus4-port-216, .framed-nexus4-port-216 video,
883 .framed-nexus4-port-216 img {
884 width: 216px;
885 height: 360px; }
Scott Mainb16376f2014-05-21 20:35:47 -0700886
Dirk Doughertyd5d3f802013-10-26 12:14:47 -0700887.framed-nexus5-port-span-5 {
888 background: transparent url(../images/styles/device_nexus5_blank_port_span5.png) no-repeat
889 scroll top left;
890 padding: 52px 33px 69px 31px;
891 overflow: hidden;
892}
Scott Main27403b82013-07-10 16:36:05 -0700893
Dirk Doughertyd5d3f802013-10-26 12:14:47 -0700894.framed-nexus5-port-span-5,
895.framed-nexus5-port-span-5 video,
896.framed-nexus5-port-span-5 img {
897 width: 216px;
898 height: 384px;
899}
Scott Main27403b82013-07-10 16:36:05 -0700900
Dirk Doughertyca1858a2013-10-29 16:25:00 -0700901.framed-nexus5-land-span-13 {
902 background: transparent url(../images/styles/device_nexus5_blank_land_span13.png) no-repeat scroll top left;
903 padding: 36px 119px 54px 108px;
904 overflow: hidden;
905}
906
907.framed-nexus5-land-span-13,
908.framed-nexus5-land-span-13 video,
909.framed-nexus5-land-span-13 img {
910 width: 533px;
911 height: 300px;
912}
913
914.framed-nexus5-port-span-5,
915.framed-nexus5-port-span-5 video,
916.framed-nexus5-port-span-5 img {
917 width: 216px;
918 height: 384px;
919}
920
smain@google.comc91ecb72014-06-23 10:22:23 -0700921/* wear device frames */
922
923.framed-wear-square {
924 background: transparent url(../images/styles/device_wear_square.png) no-repeat scroll top left;
925 background-size: 302px 302px;
926 height:222px;
927 width:222px;
928 padding:40px;
929 overflow:hidden;
930}
931
932#jd-content
933.framed-wear-square img {
934 height:222px;
935 width: 222px;
936 padding:0;
937 margin:0;
938}
939
940
941
942
943
944
Scott Maine4d8f1b2012-06-21 18:03:05 -0700945/* landing page disclosures */
946.landing-page-link {
947 text-decoration: none;
948 font-weight: 500;
949 color: #333333; }
950 .landing-page-link:after {
951 content: '';
952 background: transparent url(../images/styles/disclosure_right.png) no-repeat scroll 50% 50%;
953 width: 10px;
954 height: 10px;
955 display: inline-block;
956 margin-left: 5px; }
957
958/* tooltips */
959.tooltip-box {
960 position: absolute;
961 background-color: rgba(0, 0, 0, 0.9);
962 border-radius: 2px;
963 font-size: 14px;
964 line-height: 20px;
965 color: #fff;
966 padding: 6px 10px;
967 max-width: 250px;
968 z-index: 10000; }
969 .tooltip-box.below:after {
970 position: absolute;
971 content: '';
972 line-height: 0;
973 display: block;
974 top: -10px;
975 left: 5px;
976 border: 5px solid transparent;
977 border-bottom-color: rgba(0, 0, 0, 0.9); }
978
979/* video note */
980.video-instructions {
981 margin-top: 10px;
982 margin-bottom: 10px; }
983 .video-instructions:before {
984 content: '';
985 background: transparent url(../images/styles/ico_movie_inline.png) no-repeat scroll top left;
986 display: inline-block;
987 width: 12px;
988 height: 12px;
989 margin-right: 8px; }
990 .video-instructions:after {
991 content: 'Click device screen to replay movie.'; }
992
993/* download buttons */
994.download-button {
995 display: block;
996 margin-bottom: 5px;
997 text-decoration: none;
998 background-color: #33b5e5;
999 color: #fff !important;
1000 font-weight: 500;
1001 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
1002 padding: 6px 12px;
1003 border-radius: 2px; }
1004 .download-button:hover, .download-button:focus {
1005 background-color: #0099cc;
1006 color: #fff !important; }
1007 .download-button:active {
1008 background-color: #006699; }
1009
1010/* UI tables and other things found in Writing style and Settings pattern */
1011.ui-table {
1012 width: 100%;
1013 background-color: #282828;
1014 color: #fff;
1015 border-radius: 2px;
1016 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
1017 border-collapse: separate; }
1018 .ui-table th,
1019 .ui-table td {
1020 padding: 5px 10px;
Scott Main98a2a712013-07-17 13:15:04 -07001021 background-color: inherit;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001022 border:0;}
1023 .ui-table thead th {
1024 font-weight: bold; }
1025 .ui-table tfoot td {
1026 border-top: 1px solid #494949;
1027 border-right: 1px solid #494949;
1028 text-align: center; }
1029 .ui-table tfoot td:last-child {
1030 border-right: 0; }
1031
1032.layout-with-list-item-margins {
1033 margin-left: 30px !important; }
1034
1035.emulate-content-left-padding {
1036 margin-left: 10px; }
1037
1038.do-dont-label {
1039 margin-bottom: 10px;
1040 padding-left: 20px;
1041 background: transparent none no-repeat scroll 0px 3px; }
1042 .do-dont-label.bad {
1043 background-image: url(../images/styles/ico_wrong.png); }
1044 .do-dont-label.good {
1045 background-image: url(../images/styles/ico_good.png); }
Dirk Doughertyf5ffd4a2013-08-19 12:26:07 -07001046
Scott Maine4d8f1b2012-06-21 18:03:05 -07001047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065/***** PREVIOUSLY style.css ******************/
1066
1067
1068
1069
1070
1071@media screen, projection, print {
1072[dir='rtl'] {
1073 direction: rtl;
1074}
1075html {
1076 line-height: 20px;
1077}
1078pre, table, input, textarea, code {
1079 font-size: 1em;
1080}
1081address, abbr, cite {
1082 font-style: normal;
1083}
1084[dir='rtl'] th {
1085 text-align: right;
1086}
1087html[lang^=ja] blockquote, html[lang^=ja] q, html[lang^=ko] blockquote, html[lang^=ko] q,
1088html[lang^=zh] blockquote, html[lang^=zh] q {
1089 font-style: normal;
1090}
1091q {
1092 font-style: italic;
1093}
1094fieldset, iframe, img {
1095 border: 0;
1096}
Scott Main98a2a712013-07-17 13:15:04 -07001097img {
Scott Mainb7f96372013-02-07 16:56:43 -08001098 -ms-interpolation-mode: bicubic;
1099 vertical-align: middle;
1100 max-width: 100%;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001101}
1102q {
1103 quotes: none;
1104}
1105sup, sub {
1106 font-size: 11px;
1107 line-height: 0;
1108}
1109}
1110
1111@media screen, projection {
1112
1113table, fieldset {
1114 margin: 0;
1115}
1116h1 {
1117 color:#333;
Dirk Doughertya6913b52014-06-11 17:28:38 -07001118 font-size: 34px;
smain@google.com20ef3822014-06-13 16:05:28 -07001119 margin: 36px 0 27px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001120 padding:0 0 10px;
Dirk Doughertya6913b52014-06-11 17:28:38 -07001121 font-weight:300;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001122}
1123h1, h2 {
smain@google.com20ef3822014-06-13 16:05:28 -07001124 line-height: 30px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001125}
1126h1.short {
1127 margin-right:320px;
1128}
1129h1.short {
1130 margin-right:320px;
1131}
1132h1.super {
Scott Main98a2a712013-07-17 13:15:04 -07001133 font-size: 37px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001134}
1135h2 {
1136 color:#333;
Dirk Doughertya6913b52014-06-11 17:28:38 -07001137 font-size: 26px;
1138 margin: 32px 0 20px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001139 padding:0;
Dirk Doughertya6913b52014-06-11 17:28:38 -07001140 font-weight:300;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001141}
1142h3 {
1143 color:#333;
Dirk Doughertya6913b52014-06-11 17:28:38 -07001144 font-size: 21px;
1145 font-weight:400;
1146 margin:21px 0 14px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001147}
1148h3, h4 {
Dirk Doughertya6913b52014-06-11 17:28:38 -07001149 line-height: 21px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001150}
1151h4 {
Dirk Doughertya6913b52014-06-11 17:28:38 -07001152 font-size: 18px;
1153 margin: 12px 0;
1154 font-weight:500;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001155}
1156h5 {
Scott Main98a2a712013-07-17 13:15:04 -07001157 font-size: 14px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001158}
1159h5, h6 {
Scott Mainb7f96372013-02-07 16:56:43 -08001160 margin: 5px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001161}
1162h6 {
Scott Main98a2a712013-07-17 13:15:04 -07001163 font-size: 12px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001164}
1165hr { /* applied to the bottom of h2 elements */
Scott Mainb7f96372013-02-07 16:56:43 -08001166 height: 1px;
Dirk Doughertya6913b52014-06-11 17:28:38 -07001167 margin: 3px 0 12px;
Scott Mainb7f96372013-02-07 16:56:43 -08001168 border: 0;
1169 background: #ccc;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001170}
1171p, pre, table, form {
1172 margin: 0 0 15px;
1173}
1174small {
Scott Mainb7f96372013-02-07 16:56:43 -08001175 font-size: 11.5px;
1176 color: #000;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001177}
1178ul, ol {
1179 margin: 0 0 15px 18px;
1180 padding: 0;
1181}
1182[dir='rtl'] ul, [dir='rtl'] ol {
1183 margin: 10px 30px 10px 10px;
1184}
1185ul ul, ul ol, ol ul, ol ol {
1186 margin-bottom: 0;
1187 margin-top: 0;
1188}
1189li {
Scott Main52948fc2012-09-18 11:27:59 -07001190 margin:0 0 5px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001191}
1192dd {
1193 margin:0 0 10px 30px;
1194}
Scott Maina07be8e2013-03-06 12:12:21 -08001195dd p,
1196dd pre,
1197dd ul,
1198dd ol,
1199dd dl {
Scott Main24790db2013-03-19 14:38:59 -07001200 margin-top:10px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001201}
Scott Maindb3678b2012-10-23 14:13:41 -07001202li p,
1203li pre,
1204li ul,
Scott Maina07be8e2013-03-06 12:12:21 -08001205li ol,
1206li dl {
Scott Maindb3678b2012-10-23 14:13:41 -07001207 margin-top:5px;
1208 margin-bottom:5px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001209}
Scott Main13cd8f12013-11-12 11:50:59 -08001210dl dd dl:first-child {
1211 margin-top:0;
1212}
Scott Maine4d8f1b2012-06-21 18:03:05 -07001213pre strong, pre b, a strong, a b, a code {
1214 color: inherit;
1215}
1216pre, code {
1217 color: #060;
Scott Maina07be8e2013-03-06 12:12:21 -08001218 font: 13px/1.5 monospace;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001219}
1220code {
1221 font-weight:bold;
Scott Maina07be8e2013-03-06 12:12:21 -08001222 font: 13px/14px monospace;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001223}
1224
1225legend {
1226 display: none;
1227}
1228a:link, a:visited {
1229 color: #258aaf;
1230 text-decoration: none;
1231}
1232a:focus, a:hover, a:active {
1233 color: #33B5E5;
1234 text-decoration: none;
1235}
1236strong, b {
1237 font-weight:bold;
Scott Main9ada2262012-06-23 14:59:36 -07001238 color: #222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001239}
1240table {
1241 border-collapse: collapse;
1242 border-spacing: 0;
1243 border:0;
1244 margin: .5em 1em 1em 0;
1245 width:100%; /* consistent table widths; within IE's quirks */
1246 background-color:#f7f7f7;
1247}
1248th, td {
1249 padding: 4px 12px;
1250 vertical-align: top;
1251 text-align: left;
1252}
1253td {
1254 background-color:inherit;
1255 border:solid 1px #DDD;
1256}
Scott Maineb410352013-01-14 19:03:40 -08001257td *:last-child {
1258 margin-bottom:0;
1259}
Scott Maine4d8f1b2012-06-21 18:03:05 -07001260th {
1261 background-color: #999;
1262 color: #fff;
1263 border:solid 1px #DDD;
1264 font-weight: normal;
1265}
1266tr:first-of-type th:first-of-type:empty {
1267 visibility: hidden;
1268}
Dirk Doughertya6913b52014-06-11 17:28:38 -07001269
Scott Maine4d8f1b2012-06-21 18:03:05 -07001270/* --------------------------------------------------------------------------
1271Footer
1272*/
1273.line {
1274 clear: both;
1275 background: #acbc00;
1276 background: -moz-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%);
1277 background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #acbc00),
1278color-stop(50%, #acbc00), color-stop(50%, #bdde00), color-stop(100%, #bdde00));
1279 background: -webkit-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%);
1280 background: -o-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%);
1281 background: -ms-linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%);
1282 background: linear-gradient(top, #acbc00 0, #acbc00 50%, #bdde00 50%, #bdde00 100%);
1283 height: 2px;
1284 margin-top: 150px;
1285 position: relative;
1286 z-index: 11;
1287}
1288#footer {
1289 font-size:11px;
1290 clear: both;
1291 color: #999;
1292 padding: 15px 0;
1293 margin-top:10px;
1294 width:auto;
1295}
1296#footer-local ul {
Scott Mainb7f96372013-02-07 16:56:43 -08001297 list-style: none;
1298 margin: 5px 0 30px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001299}
1300#footer-local li {
1301 display: inline;
1302}
1303#footer-local li+li:before {
1304 content: '|';
1305 padding: 0 3px;
Scott Mainb7f96372013-02-07 16:56:43 -08001306 color: #e5e5e5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001307}
1308#footer-global {
1309 padding: 10px 15px;
Scott Mainb7f96372013-02-07 16:56:43 -08001310 background: #f5f5f5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001311}
1312#footer-global {
1313 border-top: 1px solid #ebebeb;
1314 font-size: 11.5px;
1315 line-height: 1.8;
1316 list-style: none;
1317}
1318#footer-global ul {
1319 margin: 0;
1320}
1321#footer-global li {
1322 display: inline;
1323 font-weight: bold;
1324}
1325#footer-global li+li:before {
1326 content: '¬?';
1327 padding: 0 3px;
1328}
1329* html #footer-global li {
1330 margin: 0 13px 0 0;
1331}
1332* [dir='rtl'] #footer-global li {
1333 margin: 0 0 0 13px;
1334}
1335*+html #footer-global li {
1336 margin: 0 13px 0 0;
1337}
1338*+[dir='rtl'] #footer-global li {
1339 margin: 0 0 0 13px;
1340}
1341#footer-global li a {
1342 font-weight: normal;
1343}
1344.locales {
1345 margin: 10px 0 0 0px;
1346}
1347[dir='rtl'] .locales {
1348 background-position: right center;
1349 float: left;
1350 padding: 0 24px 0 0;
1351}
1352.locales form {
Scott Main98a2a712013-07-17 13:15:04 -07001353 margin: 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001354}
1355.locales select, .sites select {
1356 line-height: 3.08;
1357 margin: 0px 0;
1358 border: solid 1px #EBEBEB;
1359 -webkit-appearance: none;
1360 background: white url('../images/arrows-up-down.png') right center no-repeat;
1361 height: 30px;
Scott Main9ada2262012-06-23 14:59:36 -07001362 color: #222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001363 line-height: normal;
1364 padding: 5px;
1365 width: 230px;
1366}
1367}
1368
1369/* =============================================================================
1370 Print Only
1371 ========================================================================== */
1372@media print {
Roman Nurik393830e2012-08-01 10:37:40 -07001373 /* configure printed page */
1374 @page {
1375 margin: 0.75in 1in;
1376 widows: 4;
1377 orphans: 4;
1378 }
1379
1380 /* reset spacing metrics */
1381 html, body, .wrap {
1382 margin: 0 !important;
1383 padding: 0 !important;
1384 width: auto !important;
1385 }
1386
1387 /* leave enough space on the left for bullets */
1388 body {
1389 padding-left: 20px !important;
1390 }
1391 #doc-col {
1392 margin-left: 0;
1393 }
1394
1395 /* hide a bunch of non-content elements */
1396 #header, #footer, #nav-x, #side-nav,
1397 .training-nav-top, .training-nav-bottom,
1398 #doc-col .content-footer,
1399 .nav-x, .nav-y,
Dirk Doughertyc3921652014-05-13 16:55:26 -07001400 .paging-links {
Roman Nurik393830e2012-08-01 10:37:40 -07001401 display: none !important;
1402 }
1403
1404 /* remove extra space above page titles */
1405 #doc-col .content-header {
1406 margin-top: 0;
1407 }
1408
1409 /* bump up spacing above subheadings */
1410 h2 {
1411 margin-top: 40px !important;
1412 }
1413
1414 /* print link URLs where possible and give links default text color */
1415 p a:after {
1416 content: " (" attr(href) ")";
1417 font-size: 80%;
1418 }
1419 p a {
1420 word-wrap: break-word;
1421 }
1422 a {
1423 color: inherit;
1424 }
1425
1426 /* syntax highlighting rules */
1427 .str { color: #060; }
1428 .kwd { color: #006; font-weight: bold; }
1429 .com { color: #600; font-style: italic; }
1430 .typ { color: #404; font-weight: bold; }
1431 .lit { color: #044; }
1432 .pun { color: #440; }
1433 .pln { color: #000; }
1434 .tag { color: #006; font-weight: bold; }
1435 .atn { color: #404; }
1436 .atv { color: #060; }
Scott Maine4d8f1b2012-06-21 18:03:05 -07001437}
1438
1439/* =============================================================================
1440 Columns
1441 ========================================================================== */
1442
1443@media screen, projection, print {
1444.full {
Scott Mainb7f96372013-02-07 16:56:43 -08001445 padding: 2.5em 0;
1446 border-top: solid 1px #ddd;
1447 border-bottom: solid 1px #ddd;
Scott Main98a2a712013-07-17 13:15:04 -07001448 background: #f7f7f7;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001449}
1450.wrap {
Scott Mainb7f96372013-02-07 16:56:43 -08001451 margin: 0 auto;
1452 width: 940px;
1453 clear: both;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001454}
1455.cols {
1456 height: 1%;
1457 margin: 0 -1.533742331288343558282%;
1458 width: 103.06748466257669%}
1459*+html .cols {
1460 margin-bottom: 20px;
1461}
1462.cols:after {
1463 clear: both;
1464 content: ' ';
1465 display: block;
1466 height: 0;
1467 visibility: hidden;
1468}
1469.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12,
1470.col-13, .col-14, .col-15, .col-16 {
1471 display: inline;
Scott Mainb7f96372013-02-07 16:56:43 -08001472 float: left;
1473 margin-left: 10px;
1474 margin-right: 10px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001475}
1476/*
1477* html .col-1, * html .col-2, * html .col-3, * html .col-4, * html .col-5, * html .col-6, * html
1478.col-7, * html .col-8, * html .col-9, * html .col-10, * html .col-11, * html .col-12 {
1479 margin: 0;
1480 padding: 0 1.4% 20px;
1481}
1482[dir='rtl'] .col-1, [dir='rtl'] .col-2, [dir='rtl'] .col-3, [dir='rtl'] .col-4, [dir='rtl'] .col-5,
1483[dir='rtl'] .col-6, [dir='rtl'] .col-7, [dir='rtl'] .col-8, [dir='rtl'] .col-9, [dir='rtl'] .col-10,
1484[dir='rtl'] .col-11, [dir='rtl'] .col-12 {
1485 float: right;
1486}
1487*/
1488.col-1 { width: 40px }
1489.col-2 { width: 100px }
1490.col-3 { width: 160px }
1491.col-4 { width: 220px }
1492.col-5 { width: 280px }
1493.col-6 { width: 340px }
1494.col-7 { width: 400px }
1495.col-8 { width: 460px }
1496.col-9 { width: 520px }
1497.col-10 { width: 580px }
1498.col-11 { width: 640px }
1499.col-12 { width: 700px }
1500.col-13 { width: 760px }
1501.col-14 { width: 820px }
1502.col-15 { width: 880px }
1503.col-16 { width: 940px }
1504}
1505
1506.col-right {
1507 margin-right:0px;
1508}
1509
1510@media screen and (max-width:772px) {
1511.col-5, .col-6, .col-7 {
1512 clear: both;
1513 width: 97.0238096%}
1514}
1515
1516/* =============================================================================
1517 Layout
1518 ========================================================================== */
1519@media screen, projection, print {
1520
1521/* --------------------------------------------------------------------------
1522Header, Login, Nav-X, Search
1523*/
1524#header {
Dirk Doughertyc3921652014-05-13 16:55:26 -07001525 margin: 0;
1526 padding: 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001527}
1528#header:before, #header:after {
Scott Mainb7f96372013-02-07 16:56:43 -08001529 content: "";
1530 display: table;
1531 clear: both
Scott Maine4d8f1b2012-06-21 18:03:05 -07001532}
1533.logo, .nav-x {
1534 float: left;
1535}
1536.nav-x {
1537 margin-top: -2px;
Scott Mainb7f96372013-02-07 16:56:43 -08001538 list-style-type: none;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001539}
1540.nav-x a {
1541 color: #333;
1542 font-size: 16px;
1543}
smain@google.com6040ffa2014-06-13 15:06:23 -07001544.about a.selected {
1545 color: #9933CC;
1546}
Scott Maine4d8f1b2012-06-21 18:03:05 -07001547.design a.selected {
1548 color: #33b5e5;
1549}
1550.develop a.selected {
1551 color: #F80;
1552}
1553.distribute a.selected {
1554 color: #9C0;
1555}
1556
1557
1558
1559.nav-x li {
1560 display: inline;
1561 margin-right: 45px;
1562}
1563.search {
Scott Mainb7f96372013-02-07 16:56:43 -08001564 float: right;
1565 position: relative;
1566 width: 220px
Scott Maine4d8f1b2012-06-21 18:03:05 -07001567}
1568.search .bottom, .search .left, .search .right {
Scott Mainb7f96372013-02-07 16:56:43 -08001569 position: absolute;
1570 background-color: #a3a3a3;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001571}
1572.search .bottom {
Scott Mainb7f96372013-02-07 16:56:43 -08001573 width: 220px;
1574 height: 1px;
1575 top: 24px;
1576 left: 0
Scott Maine4d8f1b2012-06-21 18:03:05 -07001577}
Scott Main98a2a712013-07-17 13:15:04 -07001578.search .left, .search .right {
Scott Mainb7f96372013-02-07 16:56:43 -08001579 height: 5px;
1580 width: 1px
Scott Maine4d8f1b2012-06-21 18:03:05 -07001581}
Scott Mainb7f96372013-02-07 16:56:43 -08001582.search .left { top: 19px; left: 0 }
Scott Maine4d8f1b2012-06-21 18:03:05 -07001583.search .right { top: 19px; right: 0 }
1584.search form {
Scott Mainb7f96372013-02-07 16:56:43 -08001585 float: left;
1586 margin-top: 2px;
1587 width: inherit;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001588}
1589.search .close,
1590#player-frame .close {
1591 position: absolute;
1592 right: 8px;
1593 bottom: 4px;
1594 width: 16px;
1595 height: 16px;
1596 margin: 0;
1597 text-indent: -1000em;
1598 background: url(../images/close.png) no-repeat 0 0;
1599 z-index:9999;
1600}
1601.search .close:hover, .search .close:focus,
1602#player-frame .close:hover, #player-frame .close:focus {
1603 background-position: -16px 0;
1604 cursor:pointer;
1605}
1606#player-frame .close {
1607 top: 6px;
1608}
1609.search form input {
Scott Mainb7f96372013-02-07 16:56:43 -08001610 color: #999;
1611 font-size: 1em;
1612 width: inherit;
1613 border: none;
1614 margin: 0;
1615 padding:0 0 0 6px;
1616 z-index: 1500;
1617 background-color: transparent
Scott Maine4d8f1b2012-06-21 18:03:05 -07001618}
1619.search:hover .bottom, .search:hover .left, .search:hover .right {
Scott Mainb7f96372013-02-07 16:56:43 -08001620 background-color: #33b5e5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001621}
1622.search:hover .icon {
Scott Mainb7f96372013-02-07 16:56:43 -08001623 background-position: -8px 0
Scott Maine4d8f1b2012-06-21 18:03:05 -07001624}
1625.search form input:focus {
Scott Mainb7f96372013-02-07 16:56:43 -08001626 color: #222;
1627 font-weight: bold;
1628 outline:0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001629}
1630/* Search Dropdown */
1631.search-dropdown {
Scott Mainb7f96372013-02-07 16:56:43 -08001632 padding: 15px;
1633 width: 192px;
1634 border: solid 1px #c5c5c5;
1635 background: #fff;
1636 position: absolute;
1637 top: 35px;
1638 left: 0;
1639 -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2);
1640 -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2);
1641 box-shadow: 0 0 10px rgba(0,0,0,0.2)
Scott Maine4d8f1b2012-06-21 18:03:05 -07001642}
1643.search-dropdown ul, .search-dropdown ul li {
Scott Mainb7f96372013-02-07 16:56:43 -08001644 list-style-type: none;
1645 margin: 0;
1646 padding: 0
Scott Maine4d8f1b2012-06-21 18:03:05 -07001647}
1648.search-dropdown ul li {
Scott Main98a2a712013-07-17 13:15:04 -07001649 clear: both
Scott Maine4d8f1b2012-06-21 18:03:05 -07001650}
1651.search-dropdown img {
Scott Mainb7f96372013-02-07 16:56:43 -08001652 float: left;
1653 margin: 0 10px 10px 0
Scott Maine4d8f1b2012-06-21 18:03:05 -07001654}
1655.search-dropdown h6 {
Scott Mainb7f96372013-02-07 16:56:43 -08001656 color: #222;
1657 margin: 0;
1658 line-height: normal
Scott Maine4d8f1b2012-06-21 18:03:05 -07001659}
1660.search-dropdown .desc {
Scott Mainb7f96372013-02-07 16:56:43 -08001661 color: #999;
1662 font-size: 11.5px;
1663 line-height: normal;
1664 margin: 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001665}
1666.search-dropdown li a:hover h6, .search-dropdown li a:hover .desc {
Scott Mainb7f96372013-02-07 16:56:43 -08001667 color: #33b5e5
Scott Maine4d8f1b2012-06-21 18:03:05 -07001668}
1669/* --------------------------------------------------------------------------
1670Buttons
1671*/
1672.button, a.button, .button-secondary, a.button-secondary {
Scott Mainb7f96372013-02-07 16:56:43 -08001673 border-image: initial;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001674 -webkit-border-radius: 2px;
1675 -moz-border-radius: 2px;
1676 border-radius: 2px;
1677 cursor: pointer;
1678}
1679.button, a.button {
Scott Mainab4daf42012-11-30 11:27:17 -08001680 display:inline-block;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001681 background-color: #09c;
1682 background-image: -webkit-gradient(linear, left top, left bottom, from(#2faddb), to(#09c));
1683 background-image: -webkit-linear-gradient(top, #2faddb, #09c);
1684 background-image: -moz-linear-gradient(top, #2faddb, #09c);
1685 background-image: -ms-linear-gradient(top, #2faddb, #09c);
1686 background-image: -o-linear-gradient(top, #2faddb, #09c);
1687 background-image: linear-gradient(top, #2faddb, #09c);
1688 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#2faddb', EndColorStr='#0099cc',GradientType=0);
1689 border: 1px solid #3990ab;
1690 color: #fff;
1691}
1692.button-secondary, a.button-secondary {
1693 background-color: #f3f3f3;
1694 border: 1px solid #dcdcdc;
1695 color: #444;
1696}
1697a.button, a.button:visited, a.button-secondary, a.button-secondary:visited {
Scott Maine4d8f1b2012-06-21 18:03:05 -07001698 margin-right: 16px;
Scott Mainb7f96372013-02-07 16:56:43 -08001699 font-weight: 400;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001700 min-width: 54px;
1701 outline: 0;
1702 padding: 8px 15px;
1703 text-align: center;
1704}
1705.button, .button-secondary {
Scott Maine4d8f1b2012-06-21 18:03:05 -07001706 margin-right: 16px;
Scott Mainb7f96372013-02-07 16:56:43 -08001707 font-weight: 400;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001708 min-width: 54px;
1709 outline: 0;
1710 padding: 0 15px;
1711 text-align: center;
1712}
1713.button:hover, a.button:hover {
1714 border-color: #09c;
1715 background-color: #4cadcb;
1716 background-image: -webkit-gradient(linear, left top, left bottom, from(#5dbcd9), to(#4cadcb));
1717 background-image: -webkit-linear-gradient(top, #5dbcd9, #4cadcb);
1718 background-image: -moz-linear-gradient(top, #5dbcd9, #4cadcb);
1719 background-image: -ms-linear-gradient(top, #5dbcd9, #4cadcb);
1720 background-image: -o-linear-gradient(top, #5dbcd9, #4cadcb);
1721 background-image: linear-gradient(top, #5dbcd9, #4cadcb);
1722 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5dbcd9',
1723EndColorStr='#4cadcb',GradientType=0);
1724 color: #fff !important;
1725}
1726.button:active, a.button:active {
1727 background-color: #1e799a;
1728 background-image: none;
1729 border-color: #30b7e6;
1730}
Scott Maindb3678b2012-10-23 14:13:41 -07001731a.button.big.subtitle {
1732 line-height:18px;
1733}
Scott Maine4d8f1b2012-06-21 18:03:05 -07001734.button-secondary:hover, a.button-secondary:hover {
1735 border-color: #dbdbdb;
1736 background-color: #f3f3f3;
1737 background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec));
1738 background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec);
1739 background-image: -moz-linear-gradient(top, #f9f9f9, #ececec);
1740 background-image: -ms-linear-gradient(top, #f9f9f9, #ececec);
1741 background-image: -o-linear-gradient(top, #f9f9f9, #ececec);
1742 background-image: linear-gradient(top, #f9f9f9, #ececec);
1743 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9',
1744EndColorStr='#ececec');
1745 color: #33B5E5 !important;
1746}
1747.button-secondary:active, a.button-secondary:active {
Scott Maindb3678b2012-10-23 14:13:41 -07001748 border-color: #dadada;
Scott Mainb7f96372013-02-07 16:56:43 -08001749 background: #ebebeb; /* Old browsers */
1750 /* IE9 SVG, needs conditional override of 'filter' to 'none' */
1751 background:
Scott Maine4d8f1b2012-06-21 18:03:05 -07001752url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/
1753Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0Jv
1754eD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+
1755CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIg
1756eDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ViZWJl
1757YiIgc3RvcC1vcGFjaXR5PSIxIi8+
1758CiAgICA8c3RvcCBvZmZzZXQ9IjEwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIxIi8+
1759CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZhZmFmYSIgc3RvcC1vcGFjaXR5PSIxIi8+
1760CiAgICA8c3RvcCBvZmZzZXQ9IjkwJSIgc3RvcC1jb2xvcj0iI2Y5ZjlmOSIgc3RvcC1vcGFjaXR5PSIxIi8+
1761CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmY2ZjYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFy
1762R3JhZGllbnQ+
1763CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIg
1764Lz4KPC9zdmc+);
Scott Mainb7f96372013-02-07 16:56:43 -08001765 background: -moz-linear-gradient(top, #ebebeb 0%, #f9f9f9 5%, #fafafa 50%, #f9f9f9 90%,
Scott Maine4d8f1b2012-06-21 18:03:05 -07001766#ffffff 100%); /* FF3.6+ */
Scott Mainb7f96372013-02-07 16:56:43 -08001767 background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebebeb),
Scott Maine4d8f1b2012-06-21 18:03:05 -07001768color-stop(5%,#f9f9f9), color-stop(50%,#fafafa), color-stop(90%,#f9f9f9), color-stop(100%,#ffffff));
1769/* Chrome,Safari4+ */
Scott Mainb7f96372013-02-07 16:56:43 -08001770 background: -webkit-linear-gradient(top, #ebebeb 0%,#f9f9f9 5%,#fafafa 50%,#f9f9f9
Scott Maine4d8f1b2012-06-21 18:03:05 -0700177190%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
Scott Mainb7f96372013-02-07 16:56:43 -08001772 background: -o-linear-gradient(top, #ebebeb 0%,#f9f9f9 5%,#fafafa 50%,#f9f9f9 90%,#ffffff
Scott Maine4d8f1b2012-06-21 18:03:05 -07001773100%); /* Opera 11.10+ */
Scott Mainb7f96372013-02-07 16:56:43 -08001774 background: -ms-linear-gradient(top, #ebebeb 0%,#f9f9f9 5%,#fafafa 50%,#f9f9f9 90%,#ffffff
Scott Maine4d8f1b2012-06-21 18:03:05 -07001775100%); /* IE10+ */
Scott Mainb7f96372013-02-07 16:56:43 -08001776 background: linear-gradient(top, #ebebeb 0%,#f9f9f9 5%,#fafafa 50%,#f9f9f9 90%,#ffffff
Scott Maine4d8f1b2012-06-21 18:03:05 -07001777100%); /* W3C */
Scott Mainb7f96372013-02-07 16:56:43 -08001778 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ebebeb',
Scott Maine4d8f1b2012-06-21 18:03:05 -07001779endColorstr='#ffffff',GradientType=0 ); /* IE6-8 */
Scott Mainb7f96372013-02-07 16:56:43 -08001780 -webkit-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05);
1781 -moz-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05);
Scott Main98a2a712013-07-17 13:15:04 -07001782 box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05);
Scott Mainb7f96372013-02-07 16:56:43 -08001783 color: #258AAF !important;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001784}
1785.button.big {
1786 font-size:20px;
1787 display:inline-block;
1788}
Scott Maindb3678b2012-10-23 14:13:41 -07001789.button.big span.small {
1790 font-size:14px;
1791}
1792.button-caption {
1793 margin-top:10px;
1794 font-size:12px;
1795 font-style:italic;
1796}
Scott Maine4d8f1b2012-06-21 18:03:05 -07001797
1798.button.disabled,
1799.button.disabled:hover,
1800.button.disabled:active {
1801 background:#ebebeb;
Scott Maindb3678b2012-10-23 14:13:41 -07001802 color:#999 !important;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001803 border-color:#999;
1804 cursor:default;
1805}
1806
1807.training-nav-top a.button-secondary,
1808.training-nav-bottom a.button-secondary {
1809 display:block;
1810 float:left;
1811 margin:0;
1812 width:130px;
1813 text-transform:uppercase;
1814 font-weight:bold;
Scott Main98a2a712013-07-17 13:15:04 -07001815
Scott Maine4d8f1b2012-06-21 18:03:05 -07001816 background-color: #f3f3f3;
1817 background-image: -webkit-gradient(linear, left top, left bottom, from(#f9f9f9), to(#ececec));
1818 background-image: -webkit-linear-gradient(top, #f9f9f9, #ececec);
1819 background-image: -moz-linear-gradient(top, #f9f9f9, #ececec);
1820 background-image: -ms-linear-gradient(top, #f9f9f9, #ececec);
1821 background-image: -o-linear-gradient(top, #f9f9f9, #ececec);
1822 background-image: linear-gradient(top, #f9f9f9, #ececec);
1823 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9',
1824EndColorStr='#ececec');
1825 color: #33B5E5;
1826}
1827
1828.training-nav-top a.button-secondary:hover,
1829.training-nav-bottom a.button-secondary:hover {
1830 background-color: #09c;
1831 background-image: -webkit-gradient(linear, left top, left bottom, from(#2faddb), to(#09c));
1832 background-image: -webkit-linear-gradient(top, #2faddb, #09c);
1833 background-image: -moz-linear-gradient(top, #2faddb, #09c);
1834 background-image: -ms-linear-gradient(top, #2faddb, #09c);
1835 background-image: -o-linear-gradient(top, #2faddb, #09c);
1836 background-image: linear-gradient(top, #2faddb, #09c);
1837 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#2faddb', EndColorStr='#09c');
1838 border: 1px solid #3990ab;
1839 color: #fff !important;
1840}
1841
1842.training-nav-top a.button-secondary.last,
1843.training-nav-bottom a.button-secondary.last {
1844 border-left:0;
1845}
1846
1847.training-nav-top a.button-secondary.double-size,
1848.training-nav-bottom a.button-secondary.double-size {
1849 width:291px;
1850}
1851
1852.training-nav-top,
1853.training-nav-bottom {
1854 float:right;
1855 margin:0 0 0 20px;
1856}
1857
smain@google.com20ef3822014-06-13 16:05:28 -07001858.training-nav-top {
1859 position:relative;
1860 top:73px;
1861}
1862
Scott Maine4d8f1b2012-06-21 18:03:05 -07001863.training-nav-bottom {
1864 padding:0 0 20px;
1865}
1866
1867#tb-wrapper,
1868#qv-wrapper {
1869 float:right;
1870 clear:right;
smain@google.com20ef3822014-06-13 16:05:28 -07001871 margin:6px 0 0 30px; /* negative top-margin to counter the content-header bottom margin */
Dirk Doughertyc3921652014-05-13 16:55:26 -07001872 padding:0 0 30px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001873}
1874
Scott Maincef39242013-06-19 20:25:34 -07001875#tb-wrapper {
smain@google.com20ef3822014-06-13 16:05:28 -07001876 margin:51px 0 0 20px; /* negative top-margin to counter the content-header bottom margin */
Scott Maincef39242013-06-19 20:25:34 -07001877}
1878
Scott Maine4d8f1b2012-06-21 18:03:05 -07001879#tb,
1880#qv {
1881 font-size:13px;
1882 line-height:18px;
1883 width:238px;
1884 border:1px solid #ccc;
1885 float:right;
1886}
1887
1888#tb {
1889 width:278px;
1890}
1891
1892#tb h2,
1893#qv h2 {
1894 margin:10px 15px;
1895 padding:0;
1896 text-transform:uppercase;
1897 border-bottom:1px solid gainsboro;
1898}
1899
1900#tb *,
1901#qv * {
1902 font-size:inherit;
1903}
1904
Scott Main8c0f5b32013-07-08 15:12:02 -07001905#tb .download-box,
1906#qv .download-box {
Scott Maine4d8f1b2012-06-21 18:03:05 -07001907 padding:0 0 0 15px;
1908}
1909
Scott Main8c0f5b32013-07-08 15:12:02 -07001910#tb .download-box .filename,
1911#qv .download-box .filename {
Scott Maine4d8f1b2012-06-21 18:03:05 -07001912 font-size:11px;
1913 margin:4px 4px 10px;
1914 color:#666;
1915}
1916
1917
1918/* Dev guide quicknav */
1919
1920.sidebox-wrapper {
1921 float:right;
1922 clear:right;
1923 margin:0 0 0 20px;
1924 padding:0 0 20px;
1925}
1926
1927.sidebox {
1928 width:226px;
1929 font-size:13px;
1930 line-height:18px;
1931 border-left:4px solid #99CC00;
1932 float:right;
1933 padding:0 0 0 10px;
Scott Main24bbcd52012-09-21 14:33:43 -07001934 margin:0 0 1em 20px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001935}
1936
1937.sidebox h2,
1938.sidebox h3,
1939.sidebox h4,
1940.sidebox h5 {
1941 font-weight:bold;
1942 margin:0 0 10px;
Scott Main2c2c0532014-02-11 18:16:20 -08001943 line-height: 16px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07001944}
1945
1946.sidebox * {
1947 font-size:inherit;
1948}
1949
Scott Mainafc4db32013-11-20 16:53:12 -08001950.sidebox > *:last-child {
1951 margin-bottom:0;
1952}
1953
Scott Maine4d8f1b2012-06-21 18:03:05 -07001954#tb ol,
1955#tb ul,
1956#qv ul {
1957 margin:0 15px 10px 35px;
1958}
1959
smain@google.com9cb34ea2014-06-13 17:47:43 -07001960#tb p {
1961 margin:0 15px 10px;
1962}
1963
Scott Maine4d8f1b2012-06-21 18:03:05 -07001964#qv ol {
1965 list-style:none;
1966 margin:0 15px 15px;
1967 font-size:inherit;
1968 line-height:inherit;
1969}
1970
1971#tb ol ol,
1972#tb ul ul,
1973#qv ol ol,
1974#qv ul ul,
1975.sidebox ol ol,
1976.sidebox ul ul {
1977 margin-bottom:0;
1978}
1979
1980#qv ol ol {
1981 margin:3px 0 3px 15px;
1982}
1983
1984.sidebox p,
1985#qv p,
1986#tb p {
1987 margin: 0 0 10px;
1988}
1989
Dirk Dougherty547d9e92013-04-15 18:13:47 -07001990/* related resources blocks in checklists */
1991
Dirk Dougherty2e3fb812014-06-01 21:28:20 -07001992/* related resources sections that have dynamic content */
Dirk Dougherty547d9e92013-04-15 18:13:47 -07001993
Dirk Dougherty547d9e92013-04-15 18:13:47 -07001994
Dirk Dougherty547d9e92013-04-15 18:13:47 -07001995
Dirk Dougherty2e3fb812014-06-01 21:28:20 -07001996h3.rel-resources {
1997margin:1.25em auto;
Dirk Dougherty547d9e92013-04-15 18:13:47 -07001998}
Scott Maine4d8f1b2012-06-21 18:03:05 -07001999
2000/* --------------------------------------------------------------------------
2001Form
2002*/
2003.article form {
2004 margin: 0 0 20px;
2005}
2006.article form .form-required {
2007 color: #dd4b39;
2008}
2009.article form fieldset {
2010 margin: 0 0 20px;
2011 padding: 0;
2012}
2013.article form legend {
2014 display: block;
2015 line-height: 1.5;
2016 margin: 0;
2017 padding: 0;
2018}
2019/*
2020.article form ol, .article form ul {
2021 margin: 0 0 0 1em;
2022 padding: 0 0 0 1em;
2023}
2024[dir='rtl'] .article form ol, [dir='rtl'] .article form ul {
2025 margin: 0 1em 0 0;
2026 padding: 0 1em 0 0;
2027}
2028.article form ol ul, .article form ul ul, [dir='rtl'] .article form ol ul, [dir='rtl'] .article form
2029ul ul {
2030 list-style: none;
2031 margin: 0;
2032 padding: 0;
2033}
2034.article form li {
2035 margin: 0 0 20px;
2036}
2037.article form li li {
2038 margin: 0 0 5px;
2039}
2040*/
2041.article form label {
2042 display: block;
2043 margin: 0 0 5px;
2044 padding: 0;
2045}
2046.article form input[type='text'], .article form select, .article form textarea, .article form
2047.checkbox-group, .article form .radio-group {
2048 margin-bottom: 15px;
2049}
2050.checkbox-group input {
Scott Mainb7f96372013-02-07 16:56:43 -08002051 width: 13px;
2052 height: 13px;
2053 background: #fff;
2054 border: solid 1px #c6c6c6;
2055 float: left;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002056}
2057.article form .checkbox-group, .article form .radio-group {
Scott Mainb7f96372013-02-07 16:56:43 -08002058 display: block
Scott Maine4d8f1b2012-06-21 18:03:05 -07002059}
2060.article form select {
2061 border: solid 1px #ebebeb;
2062 border-top-color: #ddd;
2063 -webkit-appearance: none;
2064 background: #f3f3f3 url(../images/arrows-up-down.png) right center no-repeat;
2065 height: 30px;
Scott Main9ada2262012-06-23 14:59:36 -07002066 color: #222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002067 line-height: normal;
2068 padding: 5px;
2069 width: 130px;
2070}
Scott Main98a2a712013-07-17 13:15:04 -07002071
Scott Maine4d8f1b2012-06-21 18:03:05 -07002072.article form .browse .browse-msg {
Scott Main98a2a712013-07-17 13:15:04 -07002073 font-size: 11.5px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002074}
2075.article form .browse .button-secondary {
Scott Mainb7f96372013-02-07 16:56:43 -08002076 height: auto;
2077 line-height: 25px;
2078 font-size: 11px;
2079 padding: 0 8px;
2080 margin: 0 10px 15px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002081}
2082.article form input[type='text'], .article form textarea {
2083 border: 1px solid #ebebeb;
2084 border-top-color: #dcdcdc;
Scott Main9ada2262012-06-23 14:59:36 -07002085 color: #222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002086 line-height: normal;
2087 padding: 6px 10px;
Scott Main98a2a712013-07-17 13:15:04 -07002088 width: 300px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002089}
2090.article form textarea {
2091 height: 150px;
2092}
2093.article form input[type='text']:focus, .article form textarea:focus {
2094 border-color: #33B5E5;
2095 -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
2096 -o-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
2097 -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
2098 box-shadow: inset 0 1px 2px rgba(0, 0, 0, .2);
2099 outline: 0;
2100}
2101.article form input[disabled], .article form textarea[disabled], .article form label.form-disabled {
2102 color: #999;
2103}
2104.article form input[type='text'][disabled], .article form textarea[disabled] {
2105 background-color: #ebebeb;
2106}
2107form .form-error input[type='text'], form .form-error textarea {
2108 border-color: #dd4b39;
Scott Mainb7f96372013-02-07 16:56:43 -08002109 margin-right: 20px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002110}
2111.aside {
2112 -moz-border-radius: 2px;
2113 -webkit-border-radius: 2px;
2114 border-radius: 2px;
2115 margin: 10px 0;
2116 padding: 20px;
Scott Mainb7f96372013-02-07 16:56:43 -08002117 color: #666;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002118 position: relative;
Scott Mainb7f96372013-02-07 16:56:43 -08002119 background: #f9f9f9;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002120}
2121/*
2122.aside, .notification, .promo {
2123 -moz-border-radius: 2px;
2124 -webkit-border-radius: 2px;
2125 border-radius: 2px;
2126 margin: 10px 0;
2127 padding: 10px;
2128 position: relative;
2129}
2130.aside>:first-child, .notification>:first-child, .promo>:first-child {
2131 margin-top: 0;
2132}
2133.aside>:last-child, .notification>:last-child, .promo>:last-child {
2134 margin-bottom: 0;
2135}
2136.aside {
2137 background: #f9f9f9;
2138}
2139.notification {
2140 background: #fffbe4;
2141 border-color: #f8f6e6;
2142}
2143.promo {
2144 background: #f6f9ff;
2145 border-color: #eff2f9;
2146}
2147*/
Scott Maindb3678b2012-10-23 14:13:41 -07002148
2149/* SDK TOS styles */
2150
2151div.sdk-terms {
2152 white-space: pre-wrap;
2153 word-wrap: break-word;
2154 font-family: inherit;
2155 font-size: inherit;
2156 padding: 10px;
2157 height: 370px;
2158 width: 738px;
2159 border: 1px solid #444;
2160 background: transparent;
2161 overflow:auto;
2162 margin:0 0 10px;
2163}
2164
2165div.sdk-terms.fullsize {
2166 padding: 0;
2167 height: auto;
2168 width: auto;
2169 border:none;
2170}
2171
2172div.sdk-terms h3,
2173div.sdk-terms h2 {
2174 margin:0;
2175}
2176
2177div#sdk-terms-form {
2178 padding:0 0 0 10px;
2179}
2180
Scott Main11ac05b2012-11-15 14:57:44 -08002181div#sdk-terms-form input {
Scott Maindb3678b2012-10-23 14:13:41 -07002182 display:inline;
2183 margin:4px 4px 4px 0;
2184}
2185
2186
Scott Maine4d8f1b2012-06-21 18:03:05 -07002187/* --------------------------------------------------------------------------
2188Code Style
2189*/
2190pre {
Scott Maindb3678b2012-10-23 14:13:41 -07002191 margin:0 0 1em 0;
2192 padding: 1em;
2193 overflow: auto;
2194 border: solid 1px #ddd;
Scott Main98a2a712013-07-17 13:15:04 -07002195 background: #f7f7f7;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002196}
Scott Main70557ee2013-10-30 14:47:40 -07002197.str { color: #800; } /* Code string */
Scott Maine4d8f1b2012-06-21 18:03:05 -07002198.kwd { color: #008; }
Scott Maine4d8f1b2012-06-21 18:03:05 -07002199.typ { color: #606; }
2200.lit { color: #066; }
2201.pun { color: #660; }
2202.pln { color: #000; }
2203.tag { color: #008; }
2204.atn { color: #828; }
Scott Main70557ee2013-10-30 14:47:40 -07002205.atv { color: #800; } /* XML string */
Scott Maine4d8f1b2012-06-21 18:03:05 -07002206.dec { color: #606; }
2207
2208/* --------------------------------------------------------------------------
2209Three-Pane
2210*/
2211/* Package Nav & Classes Nav */
2212.three-pane {
Scott Mainb7f96372013-02-07 16:56:43 -08002213 position: relative;
2214 border-top: solid 1px #ebebeb;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002215}
2216#packages-nav .js-pane,
2217#classes-nav .js-pane {
2218 overflow:visible;
2219}
2220#packages-nav {
2221 height:270px;
Scott Mainb7f96372013-02-07 16:56:43 -08002222 max-height: inherit;
2223 overflow: hidden;
Scott Main98a2a712013-07-17 13:15:04 -07002224 position: relative;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002225}
2226#classes-nav {
Scott Mainb7f96372013-02-07 16:56:43 -08002227 overflow: hidden;
Scott Main98a2a712013-07-17 13:15:04 -07002228 position: relative;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002229}
2230#packages-nav ul, #classes-nav ul {
Scott Mainb7f96372013-02-07 16:56:43 -08002231 list-style-type: none;
2232 margin: 10px 0 20px 0;
Scott Main98a2a712013-07-17 13:15:04 -07002233 padding: 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002234}
2235#classes-nav li {
Scott Mainb7f96372013-02-07 16:56:43 -08002236 font-weight: bold;
2237 margin: 5px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002238}
2239#packages-nav li,
2240#classes-nav li li {
Scott Mainb7f96372013-02-07 16:56:43 -08002241 margin: 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002242}
2243#packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited,
2244#classes-nav li a, #classes-nav li a:active, #classes-nav li a:visited {
Scott Mainb7f96372013-02-07 16:56:43 -08002245 padding: 0 0 0 4px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002246}
2247#packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited,
2248#classes-nav li li a, #classes-nav li li a:active, #classes-nav li li a:visited,
2249#nav-tree li a, #nav-tree li a:active, #nav-tree li a:visited {
Scott Mainb7f96372013-02-07 16:56:43 -08002250 color: #222;
Scott Main98a2a712013-07-17 13:15:04 -07002251 font-weight: normal;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002252}
2253#packages-nav li a, #packages-nav li a:active, #packages-nav li a:visited,
2254#classes-nav li li a, #classes-nav li li a:active, #classes-nav li li a:visited {
Scott Mainb7f96372013-02-07 16:56:43 -08002255 display: block;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002256}
2257#packages-nav li.selected a, #packages-nav li.selected a:active, #packages-nav li.selected
2258a:visited,
2259#classes-nav li li.selected a, #classes-nav li li.selected a:active, #classes-nav li li.selected
2260a:visited,
2261#nav-tree li div.selected {
2262 font-weight: 500;
2263 color: #0099cc;
2264 background-color:#fff; }
2265 #packages-nav li.selected ul li a,
2266 #classes-nav li.selected ul li a {
2267 /* don't highlight child items */
2268 color: #555555; }
2269#nav-tree li div.selected a {
2270 font-weight: 500;
2271 color: #0099cc;
2272}
2273#nav-swap {
2274 height:30px;
2275 border-top:1px solid #ccc;
2276}
2277#nav-swap a {
2278 display:inline-block;
2279 height:100%;
Scott Main9ada2262012-06-23 14:59:36 -07002280 color: #222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002281 font-size: 12px;
2282 padding: 5px 0 5px 5px;
2283}
2284
2285#nav-swap .fullscreen {
2286 float: right;
2287 width: 24px;
2288 height: 24px;
2289 text-indent: -1000em;
2290 padding:0;
2291 margin:3px 5px 0;
2292 background: url(../images/fullscreen.png) no-repeat -24px 0;
2293}
2294#nav-swap .fullscreen.disabled {
2295 background-position: 0 0;
2296}
Scott Main98a2a712013-07-17 13:15:04 -07002297#nav-swap .fullscreen:hover,
Scott Maine4d8f1b2012-06-21 18:03:05 -07002298#nav-swap .fullscreen:focus {
2299 cursor:pointer;
2300}
2301
2302
2303/* nav tree */
Scott Main42d6e582013-11-20 19:30:41 -08002304#side-nav, #swapper,
Scott Maine4d8f1b2012-06-21 18:03:05 -07002305#nav-tree, #tree-list {
2306 overflow:hidden;
2307 margin-left:0;
2308}
2309
Scott Main42d6e582013-11-20 19:30:41 -08002310#devdoc-nav {
2311 overflow:visible !important; /* To keep the "to top" button visible */
2312}
2313
Scott Maine4d8f1b2012-06-21 18:03:05 -07002314#nav-tree ul {
2315 list-style:none;
2316 padding:0;
2317 margin:10px 0;
2318}
2319
2320#nav-tree ul li div {
2321 padding:0 0 0 4px;
2322}
2323
2324#side-nav #nav-tree ul li a,
2325#side-nav #nav-tree ul li span.no-children {
2326 padding: 0;
2327 margin: 0;
2328}
2329
2330#nav-tree .plus {
2331 margin: 0 3px 0 0;
2332}
2333
2334#nav-tree ul ul {
2335 list-style: none;
2336 margin: 0;
2337 padding: 0 0 0 0;
2338}
2339
2340#nav-tree ul li {
2341 margin: 0;
2342 padding: 0 0 0 0;
2343 white-space: nowrap;
2344}
2345
2346#nav-tree .children_ul {
2347 padding:0;
2348 margin:0;
2349}
2350#nav-tree .children_ul li div {
2351 padding:0 0 0 10px;
2352}
2353#nav-tree .children_ul .children_ul li div {
2354 padding:0 0 0 20px;
2355}
2356
2357#nav-tree a.nolink {
Scott Main9ada2262012-06-23 14:59:36 -07002358 color: #222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002359 text-decoration: none;
2360}
2361
2362#nav-tree span.label {
2363 width: 100%;
2364}
2365
2366#nav-tree {
2367 overflow-x: auto;
2368 overflow-y: scroll;
2369 outline:0;
2370}
2371
2372
2373/* Content */
2374#doc-col {
2375 margin-right:0;
2376}
smain@google.comb8281c72014-06-19 09:51:30 -07002377
2378/* Uncomment this for preview release watermark
2379#doc-col {
2380 background: url('../images/preview.png') repeat;
2381}
2382*/
2383
Scott Maine4d8f1b2012-06-21 18:03:05 -07002384#doc-content-container {
Scott Main98a2a712013-07-17 13:15:04 -07002385 margin-left: 291px
Scott Maine4d8f1b2012-06-21 18:03:05 -07002386}
2387#doc-header, #doc-content {
Scott Mainb7f96372013-02-07 16:56:43 -08002388 padding: 1em 2em;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002389}
2390#doc-header {
Scott Main98a2a712013-07-17 13:15:04 -07002391 background: #f7f7f7;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002392}
2393#doc-header h1 {
Scott Mainb7f96372013-02-07 16:56:43 -08002394 line-height: 0;
2395 margin-bottom: 15px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002396}
2397#api-info-block {
Scott Mainb7f96372013-02-07 16:56:43 -08002398 float: right;
2399 font-weight: bold;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002400}
2401#api-info-block a, #api-info-block a:active, #api-info-block a:visited {
Scott Mainb7f96372013-02-07 16:56:43 -08002402 color: #222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002403}
2404#api-info-block a:hover, #api-info-block a:focus {
Scott Mainb7f96372013-02-07 16:56:43 -08002405 color: #33B5E5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002406}
2407#api-nav-header {
2408 height:19px; /* plus 16px padding = 35; same as #nav li */
2409 font-size:14px;
2410 padding: 8px 0;
2411 margin: 0;
2412 border-bottom: 1px solid #CCC;
2413 background:#e9e9e9;
2414 background: rgba(0, 0, 0, 0.05); /* matches #nav li.expanded */
2415
2416}
2417#api-nav-title {
2418 padding:0 5px;
2419 white-space:nowrap;
2420}
2421
2422#api-level-toggle {
2423 float:right;
2424 padding:0 5px;
2425}
2426
2427#api-level-toggle label {
2428 margin:0;
2429 vertical-align:top;
2430 line-height: 19px;
2431 font-size:13px;
2432 height: 19px;
2433}
2434
2435#api-level-toggle .select-wrapper {
2436 width: 35px;
2437 display: inline-block;
2438 overflow: hidden;
2439}
2440#api-level-toggle select {
2441 border: 0;
2442 appearance:none;
2443 -moz-appearance:none;
2444 -webkit-appearance: none;
2445 background: transparent url(../images/arrows-up-down.png) 23px 5px no-repeat;
Scott Main9ada2262012-06-23 14:59:36 -07002446 color: #222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002447 height: 19px;
2448 line-height: 19px;
2449 padding: 0;
2450 margin:1px 0 0 0;
2451 width:150%;
2452 font-size:13px;
2453 vertical-align:top;
2454 outline:0;
2455}
2456
2457
2458/* Toggle for revision notes and stuff */
2459div.toggle-content.closed .toggle-content-toggleme {
2460 display:none;
2461}
2462
2463#jd-content img.toggle-content-img {
2464 margin:0 5px 5px 0;
2465}
Dirk Doughertyf5ffd4a2013-08-19 12:26:07 -07002466
Scott Main220c3442012-07-16 15:40:17 -07002467div.toggle-content-toggleme {
2468 padding:0 0 0 15px;
Scott Main03c972c2012-06-26 22:23:22 -07002469}
Scott Maine4d8f1b2012-06-21 18:03:05 -07002470
2471
2472/* API LEVEL FILTERED MEMBERS */
2473
2474.absent,
2475.absent a:link,
2476.absent a:visited,
2477.absent a:hover,
2478.absent * {
2479 color:#bbb !important;
2480 cursor:default !important;
2481 text-decoration:none !important;
2482}
2483#devdoc-nav li.absent.selected,
2484#devdoc-nav li.absent.selected *,
2485#devdoc-nav div.label.absent.selected,
2486#devdoc-nav div.label.absent.selected * {
2487 background-color:#eaeaea !important;
2488}
2489.absent h4.jd-details-title,
2490.absent h4.jd-details-title * {
2491 background-color:#f6f6f6 !important;
2492}
2493.absent img {
2494 opacity: .3;
2495 filter: alpha(opacity=30);
2496 -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
2497}
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507/* JQUERY RESIZABLE STYLES */
2508.ui-resizable { position: relative; }
2509.ui-resizable-handle { position: absolute; display: none; font-size: 0.1px; z-index:1; }
2510.ui-resizable .ui-resizable-handle { display: block; border-bottom: 1px solid #e4e4e4; }
2511/*body .ui-resizable-disabled .ui-resizable-handle { display: none; }
2512body .ui-resizable-autohide .ui-resizable-handle { display: none; }*/
2513.ui-resizable-s { cursor: s-resize; height: 10px; width: 100% !important; bottom: -11px; left: 0;
2514border-bottom: solid 1px #ededed;
2515 background: #f7f7f7 url("../images/resizable-s2.png") no-repeat scroll center center; }
2516/*
Scott Main98a2a712013-07-17 13:15:04 -07002517.ui-resizable-e {
Scott Maine4d8f1b2012-06-21 18:03:05 -07002518cursor: e-resize; width: 10px; right: 0; top: 0; height: 100%; border-right: solid
25191px #ededed;background: #f7f7f7 url("../images/resizable-e2.png") no-repeat scroll center center; }
2520*/
2521
2522/* --------------------------------------------------------------------------
2523Lightbox
2524*/
Scott Main98a2a712013-07-17 13:15:04 -07002525.lightbox {
Scott Mainb7f96372013-02-07 16:56:43 -08002526 width: 769px;
2527 padding: 1.5em;
2528 margin: 0 auto;
2529 border: solid 1px #dcdcdc;
2530 background: #fff;
2531 -moz-box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
2532 -webkit-box-shadow: 1px 1px 5px rgba(0,0,0,0.1);
2533 box-shadow: 1px 1px 5px rgba(0,0,0,0.1)
Scott Maine4d8f1b2012-06-21 18:03:05 -07002534}
2535.lightbox .header {
Scott Mainb7f96372013-02-07 16:56:43 -08002536 float: left;
2537 width: 720px;
Scott Main98a2a712013-07-17 13:15:04 -07002538 margin: -10px 20px 10px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002539}
2540.lightbox .close {
Scott Mainb7f96372013-02-07 16:56:43 -08002541 float: right;
2542 width: 10px;
2543 height: 10px;
2544 margin: -10px -10px 10px 0;
2545 text-indent: -1000em;
2546 background: url(../images/close.png) no-repeat 0 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002547}
2548.lightbox .close:hover, .lightbox .close:focus {
Scott Mainb7f96372013-02-07 16:56:43 -08002549 background-position: -10px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002550}
2551
Dirk Dougherty4f7e5152010-09-16 10:43:40 -07002552/* --------------------------------------------------------------------------
Dirk Doughertybb2b5532013-11-16 16:07:51 -08002553Styles for samples browser
Dirk Dougherty4f7e5152010-09-16 10:43:40 -07002554*/
2555
Scott Main498d7102013-08-21 15:47:38 -07002556#codesample-wrapper {
Scott Main70557ee2013-10-30 14:47:40 -07002557 width:100000px; /* super wide to contain floats, but doesn't cause scroll */
Scott Main498d7102013-08-21 15:47:38 -07002558 overflow:visible;
2559}
2560pre#codesample-block {
2561 float:left;
2562 overflow:visible;
2563 background:transparent;
2564 border:none;
2565}
Scott Mainf1435b72013-10-30 16:27:38 -07002566pre#codesample-block a.number {
2567 display:none;
2568}
Scott Main498d7102013-08-21 15:47:38 -07002569pre#codesample-block .code-line:hover {
2570 background:#e7e7e7;
2571}
2572pre#codesample-line-numbers {
2573 float:left;
2574 width:2em;
2575 background:transparent;
2576 border:none;
2577 border-right:1px solid #ccc;
2578 padding-left:0;
2579 font-family:monospace;
2580 text-align:right;
2581 -webkit-touch-callout: none;
2582 -webkit-user-select: none;
2583 -khtml-user-select: none;
2584 -moz-user-select: -moz-none;
2585 -ms-user-select: none;
2586 user-select: none;
2587}
2588pre#codesample-line-numbers a {
2589 color:#999;
2590}
2591pre#codesample-line-numbers.hidden {
2592 display:none;
2593}
2594pre#codesample-block span.code-line {
2595 width:100%;
2596 display:inline-block;
2597}
2598
Dirk Doughertybb2b5532013-11-16 16:07:51 -08002599/*
2600Styles for displaying image or video resources in samples browser.
2601Resources are marked as no-display if they exceed the size limit.
2602*/
2603div#codesample-resource img, div#codesample-resource video {
2604 border: 1px solid #ececec;
2605}
2606
2607div#codesample-resource.noDisplay div {
2608 border: 1px solid #ececec;
2609 width:120px;
2610 margin-bottom:4px;
2611 padding:20px;
2612}
2613
2614div#codesample-resource .noDisplay-message:after {
2615 font-style:italic;
2616 font-size:12px;
2617 content: 'This resource is not available for browsing. To view it, please download the project.';
2618}
2619
2620/*
2621Styles for project structure (treeview) page
2622*/
Dirk Dougherty4f7e5152010-09-16 10:43:40 -07002623.structure-dir {
2624background-image:url(../../assets/images/folder.png);
2625background-repeat:no-repeat;
2626background-position:16px 2px;
2627 margin:.25em 0 0 0;
2628 padding:0 0 0 0;
2629}
2630
2631.structure-toggleme {
2632 margin:0 0 0 3em;
2633 padding:0 0 0 0;
2634 text-decoration:none;
2635}
2636
2637.structure-java{
2638background-image:url(../../assets/images/file-java.png);
2639background-repeat:no-repeat;
2640background-position:0px 2px;
2641 margin:.3em 0 0 0;
2642 padding:.3em 0 .3em 22px;
2643}
2644
2645.structure-file {
2646background-image:url(../../assets/images/file-generic.png);
2647background-repeat:no-repeat;
2648background-position:0px 2px;
2649 margin:.3em 0 0 0;
2650 padding:.3em 0 .3em 22px;
2651}
2652
2653.structure-xml {
2654background-image:url(../../assets/images/file-xml.png);
2655background-repeat:no-repeat;
2656background-position:0px 2px;
2657 margin:.3em 0 0 0;
2658 padding:.3em 0 .25em 22px;
2659}
2660
2661.structure-img {
2662background-image:url(../../assets/images/file-image.png);
2663background-repeat:no-repeat;
2664background-position:0px 2px;
2665 margin:.3em 0 0 0;
2666 padding:.3em 0 .25em 22px;
2667}
2668
2669.structure-manifest {
2670background-image:url(../../assets/images/file-manifest.png);
2671background-repeat:no-repeat;
2672 margin:.0 0 0 1.25em;
2673 padding:0 0 0 22px;
2674 text-decoration:none;
2675}
2676
2677#jd-content .structure-toggle-img {
2678 margin:.5em 0 0 0;
2679padding-right:2.1em;
2680}
2681
2682.dirInfo {
2683 margin-left:2em;
2684}
2685
2686.structure-dir a {
2687 text-decoration:none;
2688}
2689
2690.structure-manifest a {
2691 text-decoration: none;
2692}
2693.structure-file a {
2694 text-decoration: none;
2695}
2696
2697.sampleEmbed {
2698 background-color:rgb(249, 249, 249);
2699}
2700
2701.sampleEmbed ol.lineNumbers {
2702 list-style-type: decimal;
2703 padding-left:1em;
2704}
2705
2706.sampleEmbed ol.lineNumbers li {
2707border-left:1px solid #ddd;
2708border-right:1px solid #ddd;
2709color:gray;
2710background-color:#f7f7f7;
2711margin:0 0 0 24px;
2712padding: 2px 2px 2px 6px;
2713}
2714
2715.sampleEmbed ol.lineNumbers li:hover {
2716background: #efefef;
2717}
2718
Scott Main0ad622b2013-09-04 21:14:06 -07002719.samples-nav li a {
2720 overflow: hidden;
2721 text-overflow: ellipsis;
2722 white-space: nowrap;
2723}
2724
Dirk Dougherty4f7e5152010-09-16 10:43:40 -07002725/* --------------------------------------------------------------------------
2726Styles for raw formatted line numbers (not used with listformatted version)
2727div.sampleLine div.lineNumber {
2728 display: inline;
2729}
2730div.sampleLine div.lineCode {
2731 display: inline;
2732 padding-left:6px;
2733}
2734div.sampleLine {
2735 padding:0;
2736 margin:0;
2737}*/
2738
Scott Maine4d8f1b2012-06-21 18:03:05 -07002739/* --------------------------------------------------------------------------
Dirk Dougherty4c2dfcf2013-07-08 16:05:05 -07002740Butterbar
2741*/
2742#butterbar-wrapper {
2743 position:absolute;
2744 top:0;
2745 left:0;
2746 width:100%;
2747}
2748#butterbar {
2749 width:940px;
2750 margin:0 auto;
2751}
2752#butterbar-message {
2753 background-color:#f80;
2754 float:right;
2755 font-size:12px;
2756 font-weight:bold;
2757 padding:0 10px;
2758 border-radius: 0 0 5px 5px;
2759}
2760#butterbar-message a {color:#fff !important}
2761#butterbar-message a:hover {text-decoration:underline;}
2762
2763/* --------------------------------------------------------------------------
Scott Maine4d8f1b2012-06-21 18:03:05 -07002764Misc
2765*/
2766
2767
2768.clearfix:before, .clearfix:after {
Scott Mainb7f96372013-02-07 16:56:43 -08002769 content: "";
2770 display: table
Scott Maine4d8f1b2012-06-21 18:03:05 -07002771}
2772.clearfix:after {
Scott Mainb7f96372013-02-07 16:56:43 -08002773 clear: both
Scott Maine4d8f1b2012-06-21 18:03:05 -07002774}
2775.clearfix {
Scott Mainb7f96372013-02-07 16:56:43 -08002776 *zoom: 1
Scott Maine4d8f1b2012-06-21 18:03:05 -07002777}
2778table.blank th, table.blank td {
2779 border: 0;
Scott Mainb7f96372013-02-07 16:56:43 -08002780 background: none
Scott Maine4d8f1b2012-06-21 18:03:05 -07002781}
2782.caption {
Scott Mainb7f96372013-02-07 16:56:43 -08002783 margin: 0.5em 0 2em 0;
2784 color: #000;
Scott Mainb16376f2014-05-21 20:35:47 -07002785 font-size: 11.5px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002786}
2787
Scott Main25c89dd2013-10-07 14:17:55 -07002788.nolist, .nolist ul, .nolist ol {
Scott Maine4d8f1b2012-06-21 18:03:05 -07002789 list-style:none;
Scott Main2ccbd3f2012-08-01 12:05:12 -07002790 margin-left:0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002791}
Scott Main5747d382012-11-30 12:02:42 -08002792#tb .nolist {
2793 margin-left:15px;
2794}
Scott Maine4d8f1b2012-06-21 18:03:05 -07002795
Scott Main8aa725e2013-04-25 10:00:32 -07002796dl.xml>dt {
2797 text-transform:uppercase;
2798}
2799dl.xml dl.attr {
2800 margin-top:0;
2801}
Scott Maine4d8f1b2012-06-21 18:03:05 -07002802
2803pre.classic {
2804 background-color:transparent;
2805 border:none;
2806 padding:0;
2807}
2808
2809p.img-caption {
2810 margin: -10px 0 20px;
2811 font-size:13px;
2812 color:#666;
2813}
2814
Scott Main48dd7f22013-02-21 10:52:02 -08002815div.figure,
2816div.figure-right {
Scott Maine4d8f1b2012-06-21 18:03:05 -07002817 float:right;
2818 clear:right;
2819 margin:10px 0 0 0;
2820 padding:0 0 0 20px;
2821 /* width must be defined w/ an inline style matching the image width */
2822}
2823
Scott Main48dd7f22013-02-21 10:52:02 -08002824div.figure-left {
2825 float:left;
2826 clear:left;
2827 margin:10px 0 0 0;
Scott Maind6cb8fa2013-02-21 13:05:03 -08002828 padding:0 20px 0 0;
Scott Main48dd7f22013-02-21 10:52:02 -08002829 /* width must be defined w/ an inline style matching the image width */
2830}
2831
2832img.frame {
2833 border:1px solid #DDD;
2834 padding:4px;
2835}
2836
Scott Maine4d8f1b2012-06-21 18:03:05 -07002837p.table-caption {
Scott Main24bbcd52012-09-21 14:33:43 -07002838 margin: 0 0 4px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07002839 font-size:13px;
2840 color:#666;
2841}
2842
Scott Main24bbcd52012-09-21 14:33:43 -07002843p.code-caption {
Scott Main98a2a712013-07-17 13:15:04 -07002844 margin-bottom: 4px;
Scott Maina07be8e2013-03-06 12:12:21 -08002845 font: 12px/1.5 monospace;
Scott Main24bbcd52012-09-21 14:33:43 -07002846 color:#666;
2847}
2848
Scott Main98a2a712013-07-17 13:15:04 -07002849div.note,
2850div.caution,
Scott Main54d2a9b2012-07-24 14:54:32 -07002851div.warning {
2852 margin: 0 0 15px;
2853}
2854
Scott Main98a2a712013-07-17 13:15:04 -07002855p.note, div.note,
2856p.caution, div.caution,
Scott Maine4d8f1b2012-06-21 18:03:05 -07002857p.warning, div.warning {
2858 padding: 0 0 0 10px;
2859 border-left: 4px solid;
2860}
2861
Scott Main24bbcd52012-09-21 14:33:43 -07002862p.note, div.note {
Scott Maine4d8f1b2012-06-21 18:03:05 -07002863 border-color: #258AAF;
2864}
2865
Scott Main24bbcd52012-09-21 14:33:43 -07002866p.caution, div.caution {
Scott Maine4d8f1b2012-06-21 18:03:05 -07002867 border-color: #FF8800;
2868}
2869
Scott Main24bbcd52012-09-21 14:33:43 -07002870p.warning, div.warning {
Scott Maine4d8f1b2012-06-21 18:03:05 -07002871 border-color: #ff4443;
2872}
2873
Scott Main412eaf22012-06-22 14:36:33 -07002874div.note.design {
2875 border-left: 4px solid #33B5E5;
2876}
2877
2878div.note.develop {
2879 border-left: 4px solid #F80;
2880}
2881
2882div.note.distribute {
2883 border-left: 4px solid #9C0;
2884}
2885
2886.note p, .caution p, .warning p {
2887 margin:0 0 5px;
2888}
2889
2890.note p:last-child, .caution p:last-child, .warning p:last-child {
2891 margin-bottom:0;
2892}
2893
Scott Main5b5ff1a2012-09-12 10:29:45 -07002894body.about blockquote {
Scott Maine4d8f1b2012-06-21 18:03:05 -07002895 display:block;
2896 float:right;
2897 width:280px;
2898 font-size:20px;
2899 font-style:italic;
2900 line-height:24px;
2901 color:#33B5E5;
2902 margin:0 0 20px 30px;
2903}
2904
Scott Maine4d8f1b2012-06-21 18:03:05 -07002905div.design-announce p {
2906 margin:0 0 10px;
2907}
2908
Scott Maindb3678b2012-10-23 14:13:41 -07002909.expandable {
2910 height:34px;
2911 padding-left:20px;
2912 position:relative;
2913}
2914.expandable:before {
2915 content: '';
2916 background-image: url(../images/styles/disclosure_down.png);
2917 background-repeat:no-repeat;
2918 background-position: -12px -9px;
2919 width: 20px;
2920 height: 20px;
2921 display: inline-block;
2922 position: absolute;
2923 top: 0;
2924 left: 0; }
2925}
2926.expandable.expanded:before {
2927 background-image: url(../images/styles/disclosure_up.png);
2928}
2929
Scott Mainaaf76642013-06-19 18:04:30 -07002930/* notice box for cross links between Design/Develop docs */
Scott Main13cd8f12013-11-12 11:50:59 -08002931a.notice-developers-video,
Scott Mainaaf76642013-06-19 18:04:30 -07002932a.notice-developers,
Scott Main13cd8f12013-11-12 11:50:59 -08002933a.notice-designers-video,
Scott Mainaaf76642013-06-19 18:04:30 -07002934a.notice-designers {
Scott Maind2af6d22013-05-13 18:39:06 -07002935 float:right;
Scott Maine80ddbe2013-07-12 19:22:24 -07002936 clear:right;
Scott Mainaaf76642013-06-19 18:04:30 -07002937 width:238px;
Scott Maind2af6d22013-05-13 18:39:06 -07002938 min-height:50px;
2939 margin:0 0 20px 20px;
2940 border:1px solid #ddd;
2941}
Scott Main13cd8f12013-11-12 11:50:59 -08002942a.notice-developers-video.wide,
Scott Main5eccda82013-07-30 14:56:45 -07002943a.notice-developers.wide,
Scott Main13cd8f12013-11-12 11:50:59 -08002944a.notice-designers-video.wide,
Scott Main5eccda82013-07-30 14:56:45 -07002945a.notice-designers.wide {
2946 width:278px;
2947}
Scott Main13cd8f12013-11-12 11:50:59 -08002948a.notice-developers-video div,
Scott Mainaaf76642013-06-19 18:04:30 -07002949a.notice-developers div,
Scott Main13cd8f12013-11-12 11:50:59 -08002950a.notice-designers-video div,
Scott Mainaaf76642013-06-19 18:04:30 -07002951a.notice-designers div {
Scott Main9bfcd732013-05-14 09:14:35 -07002952 min-height:40px;
Scott Maind19c2c82013-06-19 18:48:27 -07002953 background:url('../images/styles/notice-developers@2x.png') no-repeat 10px 10px;
2954 background-size:40px 40px;
Scott Main9bfcd732013-05-14 09:14:35 -07002955 padding:10px 10px 10px 60px;
Scott Maind2af6d22013-05-13 18:39:06 -07002956}
Scott Mainaaf76642013-06-19 18:04:30 -07002957a.notice-designers div {
Scott Maind19c2c82013-06-19 18:48:27 -07002958 background:url('../images/styles/notice-designers@2x.png') no-repeat 10px 10px;
2959 background-size:40px 40px;
Scott Mainaaf76642013-06-19 18:04:30 -07002960}
Scott Main13cd8f12013-11-12 11:50:59 -08002961a.notice-designers-video div {
2962 background:url('../images/styles/notice-designers-video@2x.png') no-repeat 10px 10px;
2963 background-size:40px 40px;
2964}
2965a.notice-developers-video div {
2966 background:url('../images/styles/notice-developers-video@2x.png') no-repeat 10px 10px;
2967 background-size:40px 40px;
2968}
2969a.notice-developers-video:hover,
Scott Mainaaf76642013-06-19 18:04:30 -07002970a.notice-developers:hover,
Scott Main13cd8f12013-11-12 11:50:59 -08002971a.notice-designers-video:hover,
Scott Mainaaf76642013-06-19 18:04:30 -07002972a.notice-designers:hover {
Scott Maind2af6d22013-05-13 18:39:06 -07002973 background:#eee;
2974}
Scott Main13cd8f12013-11-12 11:50:59 -08002975a.notice-developers-video h3,
Scott Mainaaf76642013-06-19 18:04:30 -07002976a.notice-developers h3,
Scott Main13cd8f12013-11-12 11:50:59 -08002977a.notice-designers-video h3,
Scott Mainaaf76642013-06-19 18:04:30 -07002978a.notice-designers h3 {
Scott Main4e5b39d2013-11-13 16:49:22 -08002979 font-size:13px;
2980 line-height:18px;
2981 font-weight:bold;
Scott Maind2af6d22013-05-13 18:39:06 -07002982 text-transform:uppercase;
2983 color:#000 !important;
Scott Main4e5b39d2013-11-13 16:49:22 -08002984 margin:0 0 1px;
Scott Maind2af6d22013-05-13 18:39:06 -07002985}
Scott Main13cd8f12013-11-12 11:50:59 -08002986a.notice-developers-video p,
Scott Mainaaf76642013-06-19 18:04:30 -07002987a.notice-developers p,
Scott Main13cd8f12013-11-12 11:50:59 -08002988a.notice-designers-video p,
Scott Mainaaf76642013-06-19 18:04:30 -07002989a.notice-designers p {
Scott Maind2af6d22013-05-13 18:39:06 -07002990 margin:0;
Scott Main4e5b39d2013-11-13 16:49:22 -08002991 line-height:14px;
Scott Main9bfcd732013-05-14 09:14:35 -07002992}
Scott Main13cd8f12013-11-12 11:50:59 -08002993a.notice-developers-video.left,
Scott Mainaaf76642013-06-19 18:04:30 -07002994a.notice-developers.left,
Scott Main13cd8f12013-11-12 11:50:59 -08002995a.notice-designers-video.left,
Scott Mainaaf76642013-06-19 18:04:30 -07002996a.notice-designers.left {
Scott Main9bfcd732013-05-14 09:14:35 -07002997 margin-left:0;
2998 float:left;
Scott Maind2af6d22013-05-13 18:39:06 -07002999}
3000
3001
Scott Maind7026f72013-06-17 15:08:49 -07003002/* hide nested list items; companion to hideNestedLists() */
3003.hide-nested li ol,
3004.hide-nested li ul {
3005 display:none;
3006}
3007
3008a.header-toggle {
3009 display:block;
3010 float:right;
3011 text-transform:uppercase;
3012 font-size:.8em !important;
3013 font-weight:normal;
3014 margin-top:2px;
3015}
3016
3017
smain@google.com95948b82014-06-16 19:24:25 -07003018/* for IDE instruction toggle (Studio/Eclipse/Other) */
3019select.ide {
3020 background: transparent;
3021 border: 1px solid #bbb;
3022 border-left: 0;
3023 border-right: 0;
3024 margin: 10px 0;
3025 padding: 10px 0;
3026 color:#666;
3027}
3028select.ide,
3029select.ide option {
3030 font-family: inherit;
3031 font-size:16px;
3032 font-weight:500;
3033}
3034/* hide all except eclipse by default */
3035.select-ide.studio,
3036.select-ide.other {
3037 display:none;
3038}
3039/* ... unless eclipse also includes one of the others */
3040.select-ide.eclipse.studio,
3041.select-ide.eclipse.other {
3042 display:block;
3043}
3044
3045
Dirk Doughertybec14292013-04-10 20:23:40 -07003046/* -----------------------------------------------
Scott Main98a2a712013-07-17 13:15:04 -07003047good/bad example containers
Dirk Doughertybec14292013-04-10 20:23:40 -07003048*/
Scott Maindb3678b2012-10-23 14:13:41 -07003049
Dirk Doughertybec14292013-04-10 20:23:40 -07003050div.example-block {
3051 background-repeat: no-repeat;
Scott Main98a2a712013-07-17 13:15:04 -07003052 background-position:10px 8px;
Dirk Doughertybec14292013-04-10 20:23:40 -07003053 background-color:#ccc;
3054 padding:4px;
3055 margin:.8em auto 1.5em 2em;
3056 width:260px;
3057 float:right;
3058}
3059/* red container */
3060.example-block.bad {
3061 background-image: url(/images/example-bad.png);
3062 background-color:#f4cccc;
3063}
3064/* green container */
3065.example-block.good {
3066 background-image: url(/images/example-good.png);
3067 background-color:#d9ead3;
3068}
3069/* container heading div */
3070#jd-content .example-block .heading {
3071 font-weight:bold;
3072 margin:6px 0 9px 36px;
3073 padding:6px auto;
3074}
3075/* container image (if any) */
3076#jd-content .example-block img {
3077 margin:0;
3078 padding:0px;
3079}
3080
3081.example-block table {
3082 margin:0;
3083}
Scott Maindb3678b2012-10-23 14:13:41 -07003084
Scott Maine4d8f1b2012-06-21 18:03:05 -07003085/* -----------------------------------------------
Scott Main98a2a712013-07-17 13:15:04 -07003086Dialog box for popup messages
Scott Maine4d8f1b2012-06-21 18:03:05 -07003087*/
3088
3089div.dialog {
3090 height:0;
3091 margin:0 auto;
3092}
3093
3094div.dialog>div {
3095 z-index:99;
3096 position:fixed;
3097 margin:70px 0;
3098 width: 391px;
3099 height: 200px;
3100 background: #F7F7F7;
3101-moz-box-shadow: 0 0 15px rgba(0,0,0,0.5);
3102-webkit-box-shadow: 0 0 15px rgba(0,0,0,0.5);
3103box-shadow: 0 0 15px rgba(0,0,0,0.5);
3104}
3105/* IE6 can't position fixed */
3106* html div.dialog div { position:absolute; }
3107
3108
3109div#deprecatedSticker {
3110 display:none;
3111 z-index:99;
3112 position:fixed;
3113 right:15px;
3114 top:114px;
3115 margin:0;
3116 padding:1em;
3117 background:#FFF;
3118 border:1px solid #dddd00;
3119 box-shadow:-5px 5px 10px #ccc;
3120 -moz-box-shadow:-5px 5px 10px #ccc;
3121 -webkit-box-shadow:-5px 5px 10px #ccc;
3122}
3123
3124div#naMessage {
3125 display:none;
3126 width:555px;
3127 height:0;
3128 margin:0 auto;
3129}
3130
3131div#naMessage div {
3132 z-index:99;
3133 width:450px;
3134 position:fixed;
3135 margin:50px 0;
3136 padding:4em 4em 3em;
3137 background:#FFF;
3138 border:1px solid #999;
3139 box-shadow:-10px 10px 40px #888;
3140 -moz-box-shadow:-10px 10px 40px #888;
3141 -webkit-box-shadow:-10px 10px 40px #888;
3142}
3143/* IE6 can't position fixed */
3144* html div#naMessage div { position:absolute; }
3145
3146div#naMessage strong {
3147 font-size:1.1em;
3148}
3149
3150
3151/* --------------------------------------------------------------------------
Scott Main98a2a712013-07-17 13:15:04 -07003152Slideshow Controls & Next/Prev
Scott Maine4d8f1b2012-06-21 18:03:05 -07003153*/
Scott Main98a2a712013-07-17 13:15:04 -07003154.slideshow-next, .slideshow-prev {
Scott Mainb7f96372013-02-07 16:56:43 -08003155 width: 20px;
3156 height: 36px;
3157 text-indent: -1000em;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003158}
3159.slideshow-container {
Scott Mainb7f96372013-02-07 16:56:43 -08003160 margin: 2em 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003161}
3162.slideshow-container:before, .slideshow-container:after {
Scott Mainb7f96372013-02-07 16:56:43 -08003163 content: "";
3164 display: table;
3165 clear: both;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003166}
3167a.slideshow-next, a.slideshow-next:visited {
3168
Scott Mainb7f96372013-02-07 16:56:43 -08003169 float: right;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003170
Scott Mainb7f96372013-02-07 16:56:43 -08003171 background: url(../images/arrow-right.png) no-repeat 0 0
Scott Maine4d8f1b2012-06-21 18:03:05 -07003172
3173}
3174
3175a.slideshow-prev, a.slideshow-prev:visited {
3176
Scott Main98a2a712013-07-17 13:15:04 -07003177 float: left;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003178
Scott Mainb7f96372013-02-07 16:56:43 -08003179 background: url(../images/arrow-left.png) no-repeat 0 0
Scott Maine4d8f1b2012-06-21 18:03:05 -07003180
3181}
3182
3183.slideshow-next:hover, .slideshow-prev:hover, .slideshow-next:focus, .slideshow-prev:focus {
3184
Scott Main98a2a712013-07-17 13:15:04 -07003185 background-position: 0 -36px
Scott Maine4d8f1b2012-06-21 18:03:05 -07003186
3187}
3188
3189.slideshow-next:active, .slideshow-prev:active {
3190
Scott Main98a2a712013-07-17 13:15:04 -07003191 background-position: 0 -72px
Scott Maine4d8f1b2012-06-21 18:03:05 -07003192
3193}
3194.slideshow-nav {
Scott Mainb7f96372013-02-07 16:56:43 -08003195 width: 74px;
Scott Main98a2a712013-07-17 13:15:04 -07003196 margin: 0 auto;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003197}
3198.slideshow-nav a, .slideshow-nav a:visited {
Scott Mainb7f96372013-02-07 16:56:43 -08003199 display: inline-block;
3200 width: 12px;
3201 height: 12px;
3202 margin: 0 2px 20px 2px;
3203 background: #ccc;
3204 -webkit-border-radius: 50%;
3205 -moz-border-radius: 50%;
3206 border-radius: 50%;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003207}
3208.slideshow-nav a:hover, .slideshow-nav a:focus {
3209
Scott Mainb7f96372013-02-07 16:56:43 -08003210 background: #33B5E5
Scott Maine4d8f1b2012-06-21 18:03:05 -07003211}
3212
3213.slideshow-nav a:active {
3214
Scott Mainb7f96372013-02-07 16:56:43 -08003215 background: #1e799a;
Scott Main98a2a712013-07-17 13:15:04 -07003216 background: #ebebeb;
Scott Mainb7f96372013-02-07 16:56:43 -08003217 -webkit-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05);
3218 -moz-box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05);
3219 box-shadow: inset 0px 0px 5px 2px rgba(0, 0, 0, .05);
Scott Maine4d8f1b2012-06-21 18:03:05 -07003220}
3221.slideshow-nav a.active, .slideshow-nav a.active:active, .slideshow-nav a.active:visited {
Scott Mainb7f96372013-02-07 16:56:43 -08003222 background: #33B5E5
Scott Maine4d8f1b2012-06-21 18:03:05 -07003223}
3224/* --------------------------------------------------------------------------
3225Tabs
3226*/
3227ul.tabs {
Scott Mainb7f96372013-02-07 16:56:43 -08003228 padding: 0;
Scott Main98a2a712013-07-17 13:15:04 -07003229 margin: 2em 0 0 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003230}
3231ul.tabs:before, ul.tabs:after {
Scott Mainb7f96372013-02-07 16:56:43 -08003232 content: "";
3233 display: table;
3234 clear: both;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003235}
3236ul.tabs li {
Scott Mainb7f96372013-02-07 16:56:43 -08003237 list-style-type: none;
Scott Main98a2a712013-07-17 13:15:04 -07003238 float: left;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003239}
3240ul.tabs li a, ul.tabs li a:active, ul.tabs li a:visited {
Scott Mainb7f96372013-02-07 16:56:43 -08003241 display: block;
3242 height: 36px;
3243 line-height: 36px;
3244 padding: 0 15px;
3245 margin-right: 2px;
3246 color: #222;
3247 -moz-border-radius-topleft: 2px;
3248 -moz-border-radius-topright: 2px;
3249 -moz-border-radius-bottomright: px;
3250 -moz-border-radius-bottomleft: px;
3251 -webkit-border-radius: 2px 2px px px;
Scott Main98a2a712013-07-17 13:15:04 -07003252 border-radius: 2px 2px px px;
Scott Mainb7f96372013-02-07 16:56:43 -08003253 border-top: solid 1px #ebebeb;
3254 border-left: solid 1px #ebebeb;
3255 border-right: solid 1px #ebebeb;
3256 background-color: #fff;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003257 background-image: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#fafafa));
3258 background-image: -webkit-linear-gradient(top, #ffffff, #fafafa);
3259 background-image: -moz-linear-gradient(top, #ffffff, #fafafa);
3260 background-image: -ms-linear-gradient(top, #ffffff, #fafafa);
3261 background-image: -o-linear-gradient(top, #ffffff, #fafafa);
3262 background-image: linear-gradient(top, #ffffff, #fafafa);
3263 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#ffffff',
3264EndColorStr='#fafafa');
3265}
3266ul.tabs li a:hover {
Scott Main98a2a712013-07-17 13:15:04 -07003267 color: #33B5E5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003268}
3269ul.tabs li a.selected {
Scott Mainb7f96372013-02-07 16:56:43 -08003270 height: 37px;
3271 color: #33B5E5;
3272 background-color: #f7f7f7;
3273 background-image: none;
3274 border-color: #ddd;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003275}
3276.tab-content {
Scott Mainb7f96372013-02-07 16:56:43 -08003277 padding: 1.2em;
3278 margin: -1px 0 2em 0;
3279 -webkit-border-radius: 2px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003280 -moz-border-radius: 2px;
3281 border-radius: 2px;
Scott Mainb7f96372013-02-07 16:56:43 -08003282 border: solid 1px #ddd;
3283 background: #f7f7f7;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003284}
3285/* --------------------------------------------------------------------------
3286Feature Boxes
3287*/
3288.feature-box {
3289 width: 291px;
3290 height: 200px;
3291 position: relative;
3292 background: #F7F7F7;
3293}
3294.box-border .top, .box-border .bottom, .box-border .left, .box-border .right {
Scott Mainb7f96372013-02-07 16:56:43 -08003295 z-index: 100;
3296 position: absolute;
3297 background-color: #aaa;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003298}
3299.box-border .top, .box-border .bottom {
Scott Mainb7f96372013-02-07 16:56:43 -08003300 width: 291px;
3301 height: 1px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003302}
3303.dialog .box-border .top,
3304.dialog .box-border .bottom { width:391px; }
3305
Scott Main98a2a712013-07-17 13:15:04 -07003306.box-border .left, .box-border .right {
Scott Mainb7f96372013-02-07 16:56:43 -08003307 width: 1px;
Scott Main98a2a712013-07-17 13:15:04 -07003308 height: 8px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003309}
3310.box-border .top { top: 0; left: 0 }
3311.box-border .top .left { top: 1px; left: 0 }
3312.box-border .top .right { top: 1px; right: 0 }
3313.box-border .bottom .left { top: -8px; left: 0 }
3314.box-border .bottom { top: 200px; left: 0 }
3315.box-border .bottom .right { top: -8px; right: 0 }
3316
3317.feature-box h4,
3318.dialog h4 {
3319 margin: 15px 18px 10px;
3320 padding:0;
3321}
3322
3323.feature-box p,
3324.dialog p {
3325 margin: 10px 18px;
3326 padding:0;
3327}
3328.feature-box .link,
3329.dialog .link {
3330 border-top: 1px solid #dedede;
3331 bottom: 0;
3332 position: absolute;
3333 width: inherit;
3334}
3335.feature-box a, .feature-box h4,
3336.dialog a, .dialog h4 {
3337 -webkit-transition: color .4s ease;
3338 -moz-transition: color .4s ease;
3339 -o-transition: color .4s ease;
3340 transition: color .4s ease;
3341}
3342.feature-box:hover {
Scott Main98a2a712013-07-17 13:15:04 -07003343 cursor: pointer;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003344}
3345.feature-box:hover .box-border .top, .feature-box:hover .box-border .bottom, .feature-box:hover
Scott Main98a2a712013-07-17 13:15:04 -07003346.left, .feature-box:hover .right {
Scott Mainb7f96372013-02-07 16:56:43 -08003347 background-color: #33B5E5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003348}
3349.feature-box:hover h4, .feature-box:hover a {
Scott Mainb7f96372013-02-07 16:56:43 -08003350 color: #33B5E5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003351}
3352/* --------------------------------------------------------------------------
3353Page-Specific Styles
3354*/
Scott Main98a2a712013-07-17 13:15:04 -07003355.colors {
Scott Mainb7f96372013-02-07 16:56:43 -08003356 position: relative;
3357 float: left;
3358 width: 92px;
3359 margin: 40px 0 20px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003360}
3361.colors div {
Scott Mainb7f96372013-02-07 16:56:43 -08003362 color: #fff;
3363 font-size: 11.5px;
3364 width: 82px;
3365 height: 82px;
3366 margin-top:-30px;
3367 line-height: 82px;
3368 text-align: center;
3369 border: solid 5px #fff;
3370 -webkit-border-radius: 50%;
3371 -moz-border-radius: 50%;
3372 border-radius: 50%;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003373}
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388/* ########### REFERENCE DOCS ################## */
3389
3390#packages-nav h2,
3391#classes-nav h2 {
3392 font-size:18px;
3393 margin:0;
3394 padding:0 0 0 4px;
3395}
3396
3397#jd-header {
Dirk Doughertya6913b52014-06-11 17:28:38 -07003398 padding: 0 0 12px;
3399 margin: 20px 0 12px;
3400 font-size:12px;
3401 padding-bottom:12px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003402 border-bottom:solid 1px #ccc;
3403}
3404
3405#jd-header h1 {
3406 margin:0;
Dirk Doughertya6913b52014-06-11 17:28:38 -07003407 padding:0 0 6px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003408}
3409
Dirk Doughertya6913b52014-06-11 17:28:38 -07003410/* not sure if this is needed in the ref docs, disabling for now
3411.jd-descr h2 {
3412 margin:16px 0;
3413}
3414*/
3415
Scott Maine4d8f1b2012-06-21 18:03:05 -07003416/* page-top-right container for reference pages (holds
3417links to summary tables) */
3418#api-info-block {
Dirk Doughertya6913b52014-06-11 17:28:38 -07003419 font-size:12px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003420 margin:20px 0 0;
3421 padding:0 10px 6px;
3422 font-weight:normal;
3423 float:right;
3424 text-align:right;
3425 color:#999;
Dirk Doughertya6913b52014-06-11 17:28:38 -07003426 max-width:80%;
3427 font-size: 12px;
3428 line-height:14px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003429}
3430
3431#api-info-block div.api-level {
3432 font-weight:bold;
3433 font-size:inherit;
3434 float:none;
Scott Main9ada2262012-06-23 14:59:36 -07003435 color:#222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003436 padding:0;
3437 margin:0;
3438}
3439
3440/* inheritance table */
3441.jd-inheritance-table {
3442 border-spacing:0;
3443 margin:0;
3444 padding:0;
Dirk Doughertya6913b52014-06-11 17:28:38 -07003445 font-size:12px;
3446 line-height:14px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003447 background-color:transparent;
3448}
3449.jd-inheritance-table tr td {
3450 border: none;
3451 margin: 0;
3452 padding: 0;
3453 background-color:transparent;
3454}
3455.jd-inheritance-table .jd-inheritance-space {
3456 font-weight:bold;
3457 width:1em;
3458}
3459.jd-inheritance-table .jd-inheritance-interface-cell {
3460 padding-left: 17px;
3461}
3462
3463
3464
3465.jd-sumtable a {
3466 text-decoration:none;
3467}
3468
3469.jd-sumtable a:hover {
3470 text-decoration:underline;
3471}
3472
3473/* the link inside a sumtable for "Show All/Hide All" */
3474.toggle-all {
3475 display:block;
3476 float:right;
3477 font-weight:normal;
3478 font-size:0.9em;
3479}
3480
3481/* adjustments for in/direct subclasses tables */
3482.jd-sumtable.jd-sumtable-subclasses {
3483 margin: 1em 0 0 0;
3484 max-width:968px;
3485 background-color:transparent;
3486 font-size:13px;
3487}
3488
3489/* extra space between end of method name and open-paren */
3490.sympad {
3491 margin-right: 2px;
3492}
3493
3494/* right alignment for the return type in sumtable */
3495.jd-sumtable .jd-typecol {
3496 text-align:right;
3497}
3498
3499/* adjustments for the expando table-in-table */
3500.jd-sumtable-expando {
3501 margin:.5em 0;
3502 padding:0;
3503}
3504
3505/* a div that holds a short description */
3506.jd-descrdiv {
3507 padding:3px 1em 0 1em;
3508 margin:0;
3509 border:0;
3510}
3511
3512#jd-content img.jd-expando-trigger-img {
3513 padding:0 4px 4px 0;
3514 margin:0;
3515}
3516
3517.jd-sumtable-subclasses div#subclasses-direct,
3518.jd-sumtable-subclasses div#subclasses-indirect {
3519 margin:0 0 0 13px;
3520}
3521
3522
3523
3524/********* MEMBER REF *************/
3525
3526
3527.jd-details {
3528/* border:1px solid #669999;
3529 padding:4px; */
3530 margin:0 0 1em;
3531}
3532
3533/* API reference: a container for the
3534.tagdata blocks that make up the detailed
3535description */
3536.jd-details-descr {
3537 padding:0;
3538 margin:.5em .25em;
3539}
3540
3541/* API reference: a block containing
3542a detailed description, a params table,
3543seealso list, etc */
3544.jd-tagdata {
3545 margin:.5em 1em;
3546}
3547
3548.jd-tagdata p {
3549 margin:0 0 1em 1em;
3550}
3551
3552/* API reference: adjustments to
3553the detailed description block */
3554.jd-tagdescr {
3555 margin:.25em 0 .75em 0;
3556}
3557
3558.jd-tagdescr ol,
3559.jd-tagdescr ul {
3560 margin:0 2.5em;
3561 padding:0;
3562}
3563
3564.jd-tagdescr table,
3565.jd-tagdescr img {
3566 margin:.25em 1em;
3567}
3568
3569.jd-tagdescr li {
3570margin:0 0 .25em 0;
3571padding:0;
3572}
3573
3574/* API reference: heading marking
3575the details section for constants,
3576attrs, methods, etc. */
3577h4.jd-details-title {
3578 font-size:1.15em;
3579 background-color: #E2E2E2;
3580 margin:1.5em 0 .6em;
3581 padding:3px 95px 3px 3px; /* room for api-level */
3582}
Scott Mainab4daf42012-11-30 11:27:17 -08003583body.google h4.jd-details-title {
3584 background-color: #FFF;
3585 padding-top:5px;
3586 border-top: 1px solid #ccc;
3587}
3588body.google table.jd-sumtable th {
3589 background-color: #FFF;
3590 color:#000;
3591}
Scott Maine4d8f1b2012-06-21 18:03:05 -07003592
3593h4.jd-tagtitle {
3594 margin:0;
3595}
3596
3597h4 .normal {
3598 font-weight:normal;
3599}
3600
3601/* API reference: heading for "Parameters", "See Also", etc.,
3602in details sections */
3603h5.jd-tagtitle {
3604 margin:0 0 .25em 0;
3605 font-size:1em;
3606}
3607
3608.jd-tagtable {
3609 margin:0;
3610 background-color:transparent;
Scott Main03c972c2012-06-26 22:23:22 -07003611 width:auto;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003612}
3613
3614.jd-tagtable td,
3615.jd-tagtable th {
3616 border:none;
3617 background-color:#fff;
3618 vertical-align:top;
3619 font-weight:normal;
3620 padding:2px 10px;
3621}
3622
3623.jd-tagtable th {
3624 font-style:italic;
3625}
3626
3627/* Inline api level indicator for methods */
3628div.api-level {
3629 font-size:.8em;
3630 font-weight:normal;
3631 color:#999;
3632 float:right;
3633 padding:0 8px 0;
3634 margin-top:-30px;
3635}
3636
3637table.jd-tagtable td,
3638table.jd-tagtable th {
3639 background-color:transparent;
3640}
3641
3642table.jd-tagtable th {
3643 color:inherit;
3644}
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668/* SEARCH FILTER */
3669
Scott Main0e76e7e2013-03-12 10:24:07 -07003670.menu-container {
3671 position:relative;
3672}
Scott Maine4d8f1b2012-06-21 18:03:05 -07003673#search_autocomplete {
3674 font-weight:normal;
3675}
3676
Scott Main0e76e7e2013-03-12 10:24:07 -07003677.search_filtered_wrapper.reference {
Scott Maine4d8f1b2012-06-21 18:03:05 -07003678 width: 193px;
3679 float: right;
3680}
Scott Main0e76e7e2013-03-12 10:24:07 -07003681.search_filtered_wrapper.docs {
3682 width:875px;
3683 float: left;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003684 position:absolute;
Scott Main0e76e7e2013-03-12 10:24:07 -07003685 top:26px;
3686 right:66px;
3687}
3688.suggest-card {
3689 position:relative;
3690 width:170px;
3691 min-height:90px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003692 padding:5px;
3693 border: solid 1px #C5C5C5;
3694 background: white;
Scott Main0e76e7e2013-03-12 10:24:07 -07003695 top: 15px;
3696 margin-right:-5px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003697 -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2);
3698 -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
3699 box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
3700}
Scott Main0e76e7e2013-03-12 10:24:07 -07003701.suggest-card.reference {
3702 position:absolute;
3703 z-index:999;
3704 min-width:171px; /* +padding and border makes this match input width */
3705 min-height:93px; /* add 3px because this has 1 not 4px top border */
3706 width:auto;
3707 top:41px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003708 margin:0;
Scott Main0e76e7e2013-03-12 10:24:07 -07003709}
3710.suggest-card.develop {
3711 z-index:997;
3712 border-top: solid 4px #F80;
3713 float:right;
3714}
3715.suggest-card.design {
3716 z-index:996;
3717 border-top: solid 4px #33b5e5;
3718 float:right;
3719}
3720.suggest-card.distribute {
3721 z-index:995;
3722 border-top: solid 4px #9C0;
3723 float:right;
3724}
3725.child-card {
3726 width:100%;
3727}
3728.suggest-card.dummy {
3729 width:172px;
3730 float:right;
3731 border:0;
3732 background:transparent;
3733 -moz-box-shadow: none;
3734 -webkit-box-shadow: none;
3735 box-shadow: none;
3736}
3737
3738ul.search_filtered {
3739 min-width:100%;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003740 list-style: none;
Scott Main0e76e7e2013-03-12 10:24:07 -07003741 margin: 0 0 5px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003742 padding: 0;
3743}
Scott Main0e76e7e2013-03-12 10:24:07 -07003744.search_filtered .jd-selected {
3745 background:#efefef;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003746 cursor:pointer;
3747}
Scott Main0e76e7e2013-03-12 10:24:07 -07003748.search_filtered .jd-selected,
3749.search_filtered .jd-selected a {
3750 color:#09C !important;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003751}
3752
3753.no-display {
3754 display: none;
3755}
3756
Scott Main0e76e7e2013-03-12 10:24:07 -07003757.search_filtered li.jd-autocomplete {
Scott Maine4d8f1b2012-06-21 18:03:05 -07003758 font-size: 0.81em;
3759 border: none;
Scott Main7e447ed2013-02-19 17:22:37 -08003760 margin: 0 0 2px;
3761 padding: 0;
3762 line-height:1.5em;
3763}
3764
Scott Main0e76e7e2013-03-12 10:24:07 -07003765.search_filtered li a {
Scott Main7e447ed2013-02-19 17:22:37 -08003766 padding:0 5px;
3767 color:#222 !important;
Scott Main0e76e7e2013-03-12 10:24:07 -07003768 display:inline-block;
3769 line-height:12px;
Scott Main7e447ed2013-02-19 17:22:37 -08003770}
3771
Scott Main0e76e7e2013-03-12 10:24:07 -07003772.search_filtered li.header {
Scott Main7e447ed2013-02-19 17:22:37 -08003773 font-weight:bold;
Scott Main0e76e7e2013-03-12 10:24:07 -07003774 color:#444;
Scott Main7e447ed2013-02-19 17:22:37 -08003775 border: none;
3776 margin: 8px 0 2px;
3777 padding:1px 5px;
3778 line-height:1.5em;
3779}
Scott Main0e76e7e2013-03-12 10:24:07 -07003780.search_filtered li.header.small {
3781 font-size:0.85em;
3782}
Scott Main7e447ed2013-02-19 17:22:37 -08003783
Scott Main98a2a712013-07-17 13:15:04 -07003784.suggest-card.reference
Scott Main0e76e7e2013-03-12 10:24:07 -07003785.search_filtered li.header {
3786 color:#aaa;
3787 font-size: 0.81em;
3788}
3789
3790.search_filtered li.header:first-child {
Scott Main7e447ed2013-02-19 17:22:37 -08003791 margin: 0 0 2px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07003792}
3793
3794.show-item {
3795 display: table-row;
3796}
3797.hide-item {
3798 display: hidden;
3799}
3800
3801
3802
3803
3804
3805/* SEARCH RESULTS */
3806
Scott Maine4d8f1b2012-06-21 18:03:05 -07003807
3808#leftSearchControl .gsc-twiddle {
3809 background-image : none;
3810}
3811
3812#leftSearchControl td, #searchForm td {
3813 border: 0px solid #000;
3814 padding:0;
3815}
3816
3817#leftSearchControl .gsc-resultsHeader .gsc-title {
3818 padding-left : 0px;
3819 font-weight : bold;
3820 font-size : 13px;
3821 color:#006699;
3822 display : none;
3823}
3824
3825#leftSearchControl .gsc-resultsHeader div.gsc-results-selector {
3826 display : none;
3827}
3828
3829#leftSearchControl .gsc-resultsRoot {
3830 padding-top : 6px;
3831}
3832
3833#leftSearchControl div.gs-visibleUrl-long {
3834 display : block;
3835 color:#006699;
3836}
3837
3838#leftSearchControl .gsc-webResult {
3839 padding:0 0 20px 0;
3840}
3841
3842.gsc-webResult div.gs-visibleUrl-short,
3843table.gsc-branding,
3844.gsc-clear-button {
3845 display : none;
3846}
3847
3848.gsc-cursor-box .gsc-cursor div.gsc-cursor-page,
3849.gsc-cursor-box .gsc-trailing-more-results a.gsc-trailing-more-results,
3850#leftSearchControl a,
3851#leftSearchControl a b {
3852 color:#006699;
3853}
3854
3855.gsc-resultsHeader {
3856 display: none;
3857}
3858
3859/* Disable built in search forms */
3860.gsc-control form.gsc-search-box {
3861 display : none;
3862}
3863table.gsc-search-box {
3864 margin:6px 0 0 0;
3865 border-collapse:collapse;
3866}
3867
3868td.gsc-input {
3869 padding:0 2px;
3870 width:100%;
3871 vertical-align:middle;
3872}
3873
3874input.gsc-input {
3875 border:1px solid #BCCDF0;
3876 width:99%;
3877 padding-left:2px;
3878 font-size:.95em;
3879}
3880
3881td.gsc-search-button {
3882 text-align: right;
3883 padding:0;
3884 vertical-align:top;
3885}
3886
3887
3888#searchResults {
3889 overflow:hidden; /* because the repositioned page links makes the section think it needs to scroll
3890(it doesn't) */
3891 height:auto;
3892}
3893
3894#searchResults .gsc-control {
3895 position:relative;
3896 width:auto;
3897 padding:0 0 10px;
3898}
3899
3900#searchResults .gsc-tabsArea {
3901 position:relative;
3902 white-space:nowrap;
3903 float:left;
3904 width:200px;
3905}
3906
3907#searchResults .gsc-above-wrapper-area {
3908 display:none;
3909}
3910
3911#searchResults .gsc-resultsbox-visible {
3912 float:left;
3913 width:720px;
3914 margin-left:20px;
3915}
3916
3917#searchResults .gsc-tabHeader {
3918 padding: 3px 6px;
3919 position:relative;
3920 width:auto;
3921 display:block;
3922}
3923
3924#searchResults h2#searchTitle {
3925 padding:0;
3926 margin:5px 0;
3927 border:none;
3928}
3929
3930#searchResults h2#searchTitle em {
3931 font-style:normal;
3932 color:#33B5E5;
3933}
3934
3935#searchResults .gsc-table-result {
3936 margin:5px 0 10px 0;
3937 background-color:transparent;
3938}
3939#searchResults .gs-web-image-box, .gs-promotion-image-box {
3940 width:120px;
3941}
3942#searchResults .gs-web-image-box img.gs-image, .gs-promotion-image-box img.gs-promotion-image {
3943 max-width:120px;
3944}
3945
3946#searchResults .gsc-table-result .gsc-thumbnail {
3947 padding:0 20px 0 0;
3948}
3949
3950#searchResults td {
3951 background-color:transparent;
3952}
3953
3954#searchResults .gsc-expansionArea {
3955 position:relative;
3956}
3957#searchResults .gsc-tabsArea .gsc-cursor-box {
3958 width:200px;
3959 padding:20px 0 0 1px;
3960}
3961#searchResults .gsc-cursor-page {
3962 display:inline-block;
3963 float:left;
3964 margin:-1px 0 0 -1px;
3965 padding:0;
3966 height:27px;
3967 width:27px;
3968 text-align:center;
3969 line-height:2;
3970}
3971
3972#searchResults .gsc-tabHeader.gsc-tabhInactive,
3973#searchResults .gsc-cursor-page {
3974 text-decoration:none;
3975 color:#258AAF;
3976 border: solid 1px #DADADA;
3977}
3978
3979#searchResults .gsc-tabHeader.gsc-tabhInactive:hover,
3980#searchResults .gsc-cursor-page:hover {
3981 border-color: #DBDBDB;
3982 background-color: #F3F3F3;
3983 background-image: -webkit-gradient(linear, left top, left bottom, from(#F9F9F9), to(#ECECEC));
3984 background-image: -webkit-linear-gradient(top, #F9F9F9, #ECECEC);
3985 background-image: -moz-linear-gradient(top, #F9F9F9, #ECECEC);
3986 background-image: -ms-linear-gradient(top, #F9F9F9, #ECECEC);
3987 background-image: -o-linear-gradient(top, #F9F9F9, #ECECEC);
3988 background-image: linear-gradient(top, #F9F9F9, #ECECEC);
3989 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f9f9f9',
3990EndColorStr='#ececec');
3991 color: #33B5E5;
3992}
3993
3994#searchResults .gsc-tabHeader.gsc-tabhActive,
3995#searchResults .gsc-tabHeader.gsc-tabhActive:hover,
3996#searchResults .gsc-cursor-page.gsc-cursor-current-page,
3997#searchResults .gsc-cursor-page.gsc-cursor-current-page:hover {
3998 color:#fff;
3999 background-color: #09C;
4000 background-image: -webkit-gradient(linear, left top, left bottom, from(#2FADDB), to(#09C));
4001 background-image: -webkit-linear-gradient(top, #2FADDB, #09C);
4002 background-image: -moz-linear-gradient(top, #2FADDB, #09C);
4003 background-image: -ms-linear-gradient(top, #2FADDB, #09C);
4004 background-image: -o-linear-gradient(top, #2FADDB, #09C);
4005 background-image: linear-gradient(top, #2FADDB, #09C);
4006 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#2faddb', EndColorStr='#09c');
4007 border: 1px solid #3990AB;
4008 z-index:100;
4009}
4010
Dirk Doughertyc3921652014-05-13 16:55:26 -07004011
4012
4013
4014
4015/************ STICKY NAV BAR ******************/
4016
4017#header-wrapper {
4018 background: #f9f9f9;
4019 margin: 0 -10px 0 -10px;
4020 padding: 31px 10px 0px 10px;
4021 position: relative;
4022}
4023#header-wrapper #nav-x div.wrap {
4024 max-width: 940px;
4025 height: 38px;
4026}
4027#header-wrapper #nav-x ul.nav-x li {
4028 margin-right: 36px !important;
4029 margin-top: 5px;
4030 margin-bottom: 0px;
4031 height: 30px;
4032}
4033#header-wrapper #nav-x > div.wrap ul.nav-x li.active {
4034 color: #669900;
4035 border-bottom: 3px solid #669900;
4036}
4037#header-wrapper #nav-x > div.wrap ul.nav-x li.active a {
4038 color: #669900;
4039}
4040#header-wrapper #nav-x > div.wrap ul.nav-x a {
4041 font-size: 14.5px;
4042}
4043#header-wrapper .developer-console-btn {
4044 float: right;
4045 background: #fefefe;
4046 border-radius: 4px;
4047 padding: 8px 14px;
4048 box-shadow: 1px 1px 0px #7a7a7a;
4049 font-size: 14px;
4050 margin-top: -6px;
4051 cursor: pointer;
4052 color: #464646;
4053 margin-right: 20px;
4054}
4055/* not currently used */
4056#header-wrapper .shadow {
4057 width: 1034px;
4058 height: 4px;
4059 position: absolute;
4060 left: 50%;
4061 margin-left: -517px;
4062 bottom: -4px;
4063 background-image: url(../images/header-shadow.png);
4064}
4065
4066#context {
4067 clear: both;
4068 padding-top: 14px;
4069}
4070#context .breadcrumb {
4071 float: left;
4072 margin-bottom: 10px;
4073}
4074#context .util {
4075 float: right;
4076 margin-right: 20px;
4077}
4078
4079.breadcrumb {
4080 list-style: none;
4081 margin: 0;
4082 padding: 0;
4083 position: relative;
4084}
4085.breadcrumb li {
4086 float: left;
4087 padding: 0 20px 0 0;
4088 color: #000;
4089 white-space: nowrap;
4090}
4091.breadcrumb li a {
4092 color: #000;
4093}
4094.breadcrumb li:after {
4095 content: url(../images/breadcrumb.png);
4096 position: relative;
4097 top: 1px;
4098 left: 10px;
4099 width: 5px;
4100 height: 10px;
4101}
4102.breadcrumb li.current {
4103 font-weight: 700;
4104}
4105.breadcrumb li.current:after {
4106 display: none;
4107}
4108
4109/* Sticky Nav overrides */
4110.sticky-menu {
4111 position: fixed;
4112 width: 940px;
4113 height: 0px;
4114 z-index: 51;
4115 top: 12px;
4116}
4117#sticky-header {
4118 display: none;
4119 padding: 0 10px;
4120 position: fixed;
4121 background: #f9f9f9;
4122 top: 0px;
4123 left: 0px;
4124 right: 0px;
4125 height: 45px;
4126 box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
4127 border-bottom: 1px solid #a5c43a;
4128 z-index: 50;
4129}
4130#sticky-header.design {
4131 border-bottom: 1px solid #33b5e5;
4132}
4133#sticky-header.develop {
4134 border-bottom: 1px solid #F80;
4135}
4136#sticky-header.distribute {
4137 border-bottom: 1px solid #9C0;
4138}
4139#sticky-header.about {
4140 border-bottom: 1px solid #9933CC;
4141}
4142#sticky-header > div {
4143 overflow: hidden;
4144 *zoom: 1;
4145 width: 940px;
4146 margin: 0 auto;
4147 clear: both;
4148 padding-top: 9px;
4149}
4150#sticky-header > div .logo {
4151 float: left;
4152 width: 26px;
4153 height: 25px;
4154 background: url(../images/dac_logo.png);
Scott Mainc4264992014-05-20 10:11:17 -07004155 background-image: -webkit-image-set(url(../images/dac_logo.png) 1x, url(../images/dac_logo@2x.png) 2x);
Dirk Doughertyc3921652014-05-13 16:55:26 -07004156 z-index: 52;
4157 position: relative;
4158}
4159#sticky-header > div .top {
4160 float: left;
4161 width: 38px;
4162 height: 38px;
4163 position: relative;
4164 background: url(../images/styles/gototop.png);
4165 z-index: 52;
4166}
4167#sticky-header > div .breadcrumb {
4168 float: left;
4169 padding: 0 0 0 10px;
4170 border-left: 1px solid #d2d2d2;
4171 line-height: 24px;
4172 font-size: 14px;
4173 position: relative;
4174 top: 0px;
4175 z-index: 52;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004176}
4177
4178
Dirk Doughertyc3921652014-05-13 16:55:26 -07004179}
Scott Maine4d8f1b2012-06-21 18:03:05 -07004180
4181
4182
4183
4184
4185
4186
4187/*********** PREVIOUSLY dac-styles.css ***************/
4188
4189
Scott Maine4d8f1b2012-06-21 18:03:05 -07004190#header {
4191 border-bottom:0;
4192}
4193
4194#header .wrap {
4195 max-width:940px;
4196 height:41px;
4197 border-bottom:1px solid;
4198 border-color: #ccc;
4199 position:relative;
4200}
4201
4202.about #header .wrap {
4203 border-color: #9933CC;
4204}
4205
4206.design #header .wrap {
4207 border-color: #33b5e5;
4208}
4209
4210.develop #header .wrap {
4211 border-color: #F80;
4212}
4213
4214.distribute #header .wrap {
4215 border-color: #9C0;
4216}
4217
4218.logo a {
Scott Maine4d8f1b2012-06-21 18:03:05 -07004219 float:left;
4220}
4221
4222#header .logo {
4223 margin-top: -6px;
4224 margin-left: 0px;
4225 margin-bottom:0px;
4226 width: 160px;
4227 padding-right:10px;
4228}
4229
Scott Mainb7b49712014-03-18 05:29:15 -07004230
Robert Lye7eeb402014-06-03 19:35:24 -07004231#header-wrap .logo.landing-logo {
Scott Mainb7b49712014-03-18 05:29:15 -07004232 width:220px;
4233 margin:0;
Dirk Doughertyc3921652014-05-13 16:55:26 -07004234 padding:0;
4235 margin-bottom:22px;
Scott Mainb7b49712014-03-18 05:29:15 -07004236}
Robert Lye7eeb402014-06-03 19:35:24 -07004237#header-wrap .logo.landing-logo img {
Scott Mainb7b49712014-03-18 05:29:15 -07004238 padding:0 0 0 10px;
4239}
4240
Scott Maine4d8f1b2012-06-21 18:03:05 -07004241.search {
4242 height:25px;
4243 margin-top: -3px;
4244 margin-bottom: 0px;
4245}
4246
4247
4248
4249/* Quicknav */
4250.btn-quicknav {
4251 width:20px;
4252 height:28px;
4253 float:left;
4254 margin-left:6px;
4255 padding-right:10px;
4256 position:relative;
4257 cursor:pointer;
4258 border-right:1px solid #CCC;
4259}
4260
4261.btn-quicknav a {
4262 zoom:1;
4263 position:absolute;
4264 top:13px;
4265 left:5px;
4266 display:block;
4267 text-indent:-9999em;
4268 width:10px;
4269 height:5px;
4270 background:url(../images/quicknav_arrow.png) no-repeat;
4271}
4272
4273.btn-quicknav a.arrow-active {
4274 background-position: 0 -5px;
4275 display:none;
4276}
4277
4278#header-wrap.quicknav a.arrow-inactive {
4279 display:none;
4280}
4281
4282.btn-quicknav.active a.arrow-active {
4283 display:block;
4284}
4285
4286.nav-x li {
4287 display:block;
4288 float:left;
4289 margin-right:45px;
4290 -webkit-transition: all 0.25s linear;
4291 -moz-transition: all 0.25s linear;
4292 -ms-transition: all 0.25s linear;
4293 -o-transition: all 0.25s linear;
4294 transition: all 0.25s linear;
4295}
4296
4297#header-wrap.quicknav .nav-x li {
4298 min-width:160px;
4299 margin-right:20px;
4300}
4301
4302#header-wrap.quicknav li.last {
4303 margin-right:0px;
4304}
4305
4306#quicknav {
Scott Main98a2a712013-07-17 13:15:04 -07004307 float:none;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004308 clear:both;
smain@google.com20ef3822014-06-13 16:05:28 -07004309 margin-left:0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004310 margin-top:-30px;
4311 display:none;
4312 overflow:hidden;
4313}
4314
4315#header-wrap.quicknav #quicknav {
4316
4317}
4318
4319#quicknav ul {
4320 margin:10px 0;
4321 padding:0;
4322}
4323
smain@google.com20ef3822014-06-13 16:05:28 -07004324#quicknav ul li.about {
4325 border-top:1px solid #9933CC;
4326}
4327
Scott Maine4d8f1b2012-06-21 18:03:05 -07004328#quicknav ul li.design {
4329 border-top:1px solid #33b5e5;
4330}
4331
4332#quicknav ul li.develop {
4333 border-top:1px solid #FF8800;
4334}
4335
4336#quicknav ul li.distribute {
4337 border-top:1px solid #99cc00;
4338}
4339
4340#quicknav ul li {
4341 display:block;
4342 float:left;
4343 margin:0 20px 0 0;
4344 min-width:140px;
4345}
4346
4347#quicknav ul li.last {
4348 margin-right:0px;
4349}
4350
4351#quicknav ul li ul li {
4352 float:none;
4353}
4354
4355#quicknav ul li ul li a {
Scott Main9ada2262012-06-23 14:59:36 -07004356 color:#222;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004357}
4358
4359#quicknav ul li li ul,
4360#quicknav ul li li ul li {
4361 margin:0;
4362}
4363
4364#quicknav ul li li ul li:before {
4365 content:"\21B3";
4366}
4367
4368#header-wrap {
4369 -webkit-transition: all 0.25s ease-out;
4370 -moz-transition: all 0.25s ease-out;
4371 -ms-transition: all 0.25s ease-out;
4372 -o-transition: all 0.25s ease-out;
4373 transition: all 0.25s ease-out;
4374
4375}
4376
4377#header-wrap.quicknav {
Dirk Dougherty8f206072012-10-08 13:14:17 -07004378 height:196px;
Scott Main98a2a712013-07-17 13:15:04 -07004379
Scott Maine4d8f1b2012-06-21 18:03:05 -07004380}
4381
4382/* SEARCH AND MORE */
4383.search {
4384 position: absolute;
4385 width: 50px;
4386 height:28px;
4387 display: block;
4388 margin-top:-3px;
4389 margin-bottom:7px;
4390 overflow:hidden;
4391 z-index:100;
4392 right:54px;
4393 -webkit-transition: width 0.4s ease;
4394 -moz-transition: width 0.4s ease;
4395 -o-transition: width 0.4s ease;
4396 transition: width 0.4s ease;
4397}
4398
4399.search #search-btn {
4400 width:50px;
4401 height:28px;
4402 background:url(../images/icon_search.png) no-repeat;
4403 float:left;
4404}
4405
4406.search-inner {
4407 width:245px;
4408}
4409
4410.search:hover, .search.active {
4411 width:245px;
4412}
4413
4414.search .bottom, .search .left, .search .right {
Scott Mainb7f96372013-02-07 16:56:43 -08004415 position: absolute;
4416 background-color: #a2a2a2
Scott Maine4d8f1b2012-06-21 18:03:05 -07004417}
4418
4419.search .bottom {
Scott Mainb7f96372013-02-07 16:56:43 -08004420 width: 214px;
4421 height: 1px;
4422 top: 24px;
4423 left: 0
Scott Maine4d8f1b2012-06-21 18:03:05 -07004424}
4425
Scott Main98a2a712013-07-17 13:15:04 -07004426.search .left, .search .right {
Scott Mainb7f96372013-02-07 16:56:43 -08004427 height: 5px;
4428 width: 1px
Scott Maine4d8f1b2012-06-21 18:03:05 -07004429}
4430
4431.search .left {
4432 top: 22px;
4433 left: 56px;
4434 background-color:#CCC;
4435}
4436
4437.search .right {
4438 top: 22px;
4439 left: 238px;
4440 background-color:#CCC;
4441}
4442
4443.search form {
Scott Mainb7f96372013-02-07 16:56:43 -08004444 margin-top: 2px;
4445 width: 162px;
4446 float:left;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004447}
4448
4449.search form input {
Scott Mainb7f96372013-02-07 16:56:43 -08004450 color: #2f2f2f;
4451 font-size: 0.95em;
Scott Main98a2a712013-07-17 13:15:04 -07004452 width: 178px;
Scott Mainb7f96372013-02-07 16:56:43 -08004453 border: none;
Scott Main98a2a712013-07-17 13:15:04 -07004454 margin-left: 6px;
4455 z-index: 1500;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004456 position: relative;
Scott Mainb7f96372013-02-07 16:56:43 -08004457 background-color: transparent;
4458 border-bottom:1px solid #CCC;
4459 padding:0 0 0 4px;
4460 outline:none;
4461 height:24px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004462}
4463
4464.search:hover form input {
4465 border-bottom:1px solid #33B5E5;
4466}
4467
4468.search:hover .bottom, .search:hover .left, .search:hover .right {
Scott Mainb7f96372013-02-07 16:56:43 -08004469 background-color: #33b5e5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004470}
4471
4472.search:hover #search-btn {
Scott Mainb7f96372013-02-07 16:56:43 -08004473 background-position: 0 -28px
Scott Maine4d8f1b2012-06-21 18:03:05 -07004474}
4475
4476.search form input:focus {
Scott Mainb7f96372013-02-07 16:56:43 -08004477 color: #222;
4478 font-weight: bold
Scott Maine4d8f1b2012-06-21 18:03:05 -07004479}
4480
4481.moremenu {
4482 float: right;
Scott Mainb7f96372013-02-07 16:56:43 -08004483 position: relative;
4484 width: 50px;
4485 height:28px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004486 display: block;
4487 margin-top:-3px;
4488 margin-bottom:7px;
4489 overflow:hidden;
4490 -webkit-transition: width 0.25s ease;
4491 -moz-transition: width 0.25s ease;
4492 -o-transition: width 0.25s ease;
4493 transition: width 0.25s ease;
4494}
4495
4496.moremenu #more-btn {
4497 width:40px;
4498 height:28px;
4499 background:url(../images/icon_more.png) no-repeat;
4500 border-left:1px solid #CCC;
4501 float:left;
4502 cursor:pointer;
4503}
4504
4505.moremenu:hover #more-btn {
4506 background-position:0 -28px;
4507}
4508
4509.morehover {
4510 position:absolute;
4511 right:6px;
4512 top:-9px;
4513 width:40px;
4514 height:35px;
4515 z-index:99;
4516 overflow:hidden;
4517
4518 -webkit-opacity:0;
4519 -moz-opacity:0;
4520 -o-opacity:0;
4521 opacity:0;
4522
4523 -webkit-transform-origin:100% 0%;
Scott Main98a2a712013-07-17 13:15:04 -07004524 -moz-transform-origin:100% 0%;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004525 -o-transform-origin:100% 0%;
4526 transform-origin:100% 0%;
Scott Main98a2a712013-07-17 13:15:04 -07004527
Scott Maine4d8f1b2012-06-21 18:03:05 -07004528 -webkit-transition-property: -webkit-opacity;
4529 -webkit-transition-duration: .25s;
4530 -webkit-transition-timing-function:ease;
4531
Scott Main0e76e7e2013-03-12 10:24:07 -07004532 -moz-transition-property: -moz-opacity;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004533 -moz-transition-duration: .25s;
4534 -moz-transition-timing-function:ease;
4535
Scott Main0e76e7e2013-03-12 10:24:07 -07004536 -o-transition-property: -o-opacity;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004537 -o-transition-duration: .25s;
4538 -o-transition-timing-function:ease;
Scott Main98a2a712013-07-17 13:15:04 -07004539
Scott Main0e76e7e2013-03-12 10:24:07 -07004540 transition-property: opacity;
4541 transition-duration: .25s;
4542 transition-timing-function:ease;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004543}
4544
Scott Maine05e6f92013-01-29 13:34:17 -08004545.morehover:hover,
4546.morehover.hover {
Scott Maine4d8f1b2012-06-21 18:03:05 -07004547 opacity:1;
Scott Main55163c82012-07-18 16:18:25 -07004548 height:385px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004549 width:268px;
4550 -webkit-transition-property:height, -webkit-opacity;
4551}
4552
4553.morehover .top {
4554 width:268px;
4555 height:39px;
4556 background:url(../images/more_top.png) no-repeat;
4557}
4558
4559.morehover .mid {
4560 width:228px;
4561 background:url(../images/more_mid.png) repeat-y;
Scott Main55163c82012-07-18 16:18:25 -07004562 padding:10px 20px 0 20px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004563}
4564
4565.morehover .mid .header {
4566 border-bottom:1px solid #ccc;
4567 font-weight:bold;
4568}
4569
4570.morehover .bottom {
4571 width:268px;
4572 height:6px;
4573 background:url(../images/more_bottom.png) no-repeat;
4574}
4575
4576.morehover ul {
4577 margin:10px 10px 20px 0;
4578}
4579
4580.morehover ul li {
4581 list-style:none;
4582}
4583
4584.morehover ul li.active a,
4585.morehover ul li.active a:hover {
Scott Main9ada2262012-06-23 14:59:36 -07004586 color:#222 !important;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004587}
4588
4589.morehover ul li.active img {
4590 margin-right:4px;
4591}
4592
4593
4594
4595
4596/* MARQUEE */
4597.slideshow-container {
Scott Mainb7f96372013-02-07 16:56:43 -08004598 width:100%;
4599 overflow:hidden;
4600 position:relative;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004601}
4602.slideshow-container .slideshow-prev {
Scott Mainb7f96372013-02-07 16:56:43 -08004603 position:absolute;
4604 top:50%;
4605 left:0px;
4606 margin-top:-36px;
4607 z-index:99;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004608}
4609.slideshow-container .slideshow-next {
Scott Mainb7f96372013-02-07 16:56:43 -08004610 position:absolute;
4611 top:50%;
4612 margin-top:-36px;
4613 z-index:99;
4614 right:0px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004615}
4616
4617.slideshow-container .pagination {
Scott Mainb7f96372013-02-07 16:56:43 -08004618 position:absolute;
4619 bottom:20px;
4620 width:100%;
4621 text-align:center;
4622 z-index:99;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004623}
4624.slideshow-container .pagination ul {
Scott Mainb7f96372013-02-07 16:56:43 -08004625 margin:0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004626}
4627.slideshow-container .pagination ul li{
Scott Mainb7f96372013-02-07 16:56:43 -08004628 display: inline-block;
4629 width:12px;
4630 height:12px;
4631 text-indent:-8000px;
4632 list-style:none;
4633 margin: 0 2px;
4634 border-radius:6px;
4635 background-color:#ccc;
4636 cursor:pointer;
Scott Main98a2a712013-07-17 13:15:04 -07004637 -webkit-transition:color .5s ease-in;
4638 -moz-transition:color .5s ease-in;
4639 -o-transition:color .5s ease-in;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004640 transition:color .5s ease-in;
4641}
4642.slideshow-container .pagination ul li:hover {
Scott Mainb7f96372013-02-07 16:56:43 -08004643 background-color:#999;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004644}
4645.slideshow-container .pagination ul li.active {
Scott Mainb7f96372013-02-07 16:56:43 -08004646 background-color:#33b5e5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004647}
4648.slideshow-container .pagination ul li.active:hover {
Scott Mainb7f96372013-02-07 16:56:43 -08004649 background-color:#33b5e5;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004650}
4651.slideshow-container ul li {
Scott Mainb7f96372013-02-07 16:56:43 -08004652 display:inline;
4653 list-style:none;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004654}
4655
4656
Dirk Doughertya6913b52014-06-11 17:28:38 -07004657#landing h1 {
4658 margin:17px 0 20px 0 !important;
4659}
Scott Maine4d8f1b2012-06-21 18:03:05 -07004660
4661a.download-sdk {
4662 float:right;
4663 margin:-10px 0;
4664 height:30px;
4665 padding-top:4px;
4666 padding-bottom:0px;
4667}
4668
4669#nav-x {
Dirk Doughertyc3921652014-05-13 16:55:26 -07004670 padding-top: 13px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004671}
4672
Scott Main1d62fa82012-07-17 13:15:12 -07004673#nav-x .wrap {
Dirk Doughertyc3921652014-05-13 16:55:26 -07004674 min-height:32px;
Scott Main1d62fa82012-07-17 13:15:12 -07004675}
4676
Scott Maine4d8f1b2012-06-21 18:03:05 -07004677#nav-x .wrap,
4678#searchResults.wrap {
4679 max-width:940px;
4680 border-bottom:1px solid #CCC;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004681}
4682
Scott Maina214d842012-07-16 17:14:40 -07004683#searchResults.wrap #leftSearchControl {
4684 min-height:700px
4685}
Scott Maine4d8f1b2012-06-21 18:03:05 -07004686.nav-x {
4687 margin-left:0;
4688 margin-bottom:0;
4689}
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700/*
4701 * CSS Styles that are needed by jScrollPane for it to operate correctly.
4702 */
4703
4704.jspContainer {
4705 overflow: hidden;
4706 position: relative;
4707}
4708
4709.jspPane {
4710 position: absolute;
Scott Main2d967c62013-03-11 09:21:07 -07004711 width:100% !important; /* to avoid cut-off api names in reference in horiz scroll */
Scott Maine4d8f1b2012-06-21 18:03:05 -07004712}
4713
4714.jspVerticalBar {
4715 position: absolute;
4716 top: 0;
4717 right: 0;
4718 width: 4px;
4719 height: 100%;
4720 background: #f5f5f5;
4721}
4722
4723.jspHorizontalBar {
4724 position: absolute;
4725 bottom: 0;
4726 left: 0;
4727 width: 100%;
4728 height: 4px;
4729 background: #f5f5f5;
4730}
4731
4732.jspVerticalBar *,
4733.jspHorizontalBar * {
4734 margin: 0;
4735 padding: 0;
4736}
4737.jspCap {
4738 display: block;
4739}
4740
4741.jspVerticalBar .jspCap {
4742 height: 4px;
4743}
4744
4745.jspHorizontalBar .jspCap {
4746 width: 0;
4747 height: 100%;
4748}
4749
4750.jspHorizontalBar .jspCap {
4751 float: left;
4752}
4753
4754.jspTrack {
4755 position: relative;
4756}
4757
4758.jspDrag {
4759 background: #bbb;
4760 position: relative;
4761 top: 0;
4762 left: 0;
4763 cursor: pointer;
4764}
4765
4766.jspDrag:hover,
4767.jspDrag:active {
4768 border-color: #09c;
4769 background-color: #4cadcb;
4770 background-image: -webkit-gradient(linear, left top, right top, from(#5dbcd9), to(#4cadcb));
4771 background-image: -webkit-linear-gradient(left, #5dbcd9, #4cadcb);
4772 background-image: -moz-linear-gradient(left, #5dbcd9, #4cadcb);
4773 background-image: -ms-linear-gradient(left, #5dbcd9, #4cadcb);
4774 background-image: -o-linear-gradient(left, #5dbcd9, #4cadcb);
4775 background-image: linear-gradient(left, #5dbcd9, #4cadcb);
Scott Main98a2a712013-07-17 13:15:04 -07004776 filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#5dbcd9', EndColorStr='#4cadcb');
Scott Maine4d8f1b2012-06-21 18:03:05 -07004777}
4778
4779.jspHorizontalBar .jspTrack,
4780.jspHorizontalBar .jspDrag {
4781 float: left;
4782 height: 100%;
4783}
4784
4785.jspArrow {
4786 background: #999;
4787 text-indent: -20000px;
4788 display: block;
4789 cursor: pointer;
4790}
4791
4792.jspArrow.jspDisabled {
4793 cursor: default;
4794 background: #ccc;
4795}
4796
4797.jspVerticalBar .jspArrow {
4798 height: 16px;
4799}
4800
4801.jspHorizontalBar .jspArrow {
4802 width: 16px;
4803 float: left;
4804 height: 100%;
4805}
4806
4807.jspVerticalBar .jspArrow:focus {
4808 outline: none;
4809}
4810
4811.jspCorner {
4812 float: left;
4813 height: 100%;
4814}
4815
4816/* Yuk! CSS Hack for IE6 3 pixel bug :( */
4817* html .jspCorner {
4818 margin: 0 -3px 0 0;
4819}
4820/******* end of jscrollpane *********/
4821
4822
4823
4824
4825
4826/************ DEVELOP HOMEPAGE ******************/
4827
4828/* Slideshow */
4829.slideshow-develop {
Dirk Doughertya6913b52014-06-11 17:28:38 -07004830 height: 316px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004831 width: 940px;
4832 position: relative;
4833 overflow:hidden;
4834}
4835.slideshow-develop .frame {
4836 width: 940px;
Dirk Doughertya6913b52014-06-11 17:28:38 -07004837 height: 316px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004838}
4839.slideshow-develop img.play {
Scott Main06cb5c72012-07-23 14:34:34 -07004840 max-width:350px;
4841 max-height:240px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004842 margin:20px 0 0 90px;
4843 -webkit-transform: perspective(800px ) rotateY( 35deg );
4844 box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3);
4845 -moz-box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3);
4846 -webkit-box-shadow: -16px 20px 40px rgba(0, 0, 0, 0.3);
4847}
4848.slideshow-develop img.play.no-shadow {
4849 box-shadow: none;
4850 -moz-box-shadow: none;
4851 -webkit-box-shadow: none;
4852}
4853.slideshow-develop img.play.no-transform {
4854 -webkit-transform: none;
4855}
4856.slideshow-develop a.slideshow-next {
4857 background: url(../images/arrow-right-develop.png);
4858}
4859.slideshow-develop a.slideshow-prev {
4860 background: url(../images/arrow-left-develop.png);
4861}
4862.slideshow-develop .content-right {
4863 float: left;
4864}
Scott Maine4d8f1b2012-06-21 18:03:05 -07004865.slideshow-develop .content-right h2 {
4866 padding:0;
4867 margin-bottom:10px;
4868 border:none;
Dirk Doughertya6913b52014-06-11 17:28:38 -07004869 font-size:24px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07004870}
4871.slideshow-develop .item {
4872 height: 300px;
4873 width: 940px;
4874}
4875.slideshow-develop .pagination ul li.active {
4876 background-color: #F80;
4877}
4878.slideshow-develop .pagination ul li.active:hover {
4879 background-color: #F80;
4880}
Scott Main0e585702012-10-22 20:30:22 -07004881.slideshow-develop .item hr {
4882 margin:5px 0 10px;
4883}
4884.slideshow-develop .item p {
4885 margin:10px 0;
4886}
4887.slideshow-develop .item p.title-intro {
4888 position:absolute;
4889 margin:0;
4890}
Scott Maine4d8f1b2012-06-21 18:03:05 -07004891
4892/* Feeds */
4893.feed ul {
4894 margin: 0;
4895}
4896.feed .feed-nav {
4897 height: 25px;
4898 border-bottom: 1px solid #CCC;
4899}
4900.feed .feed-nav li {
4901 list-style: none;
4902 float: left;
Scott Main06cb5c72012-07-23 14:34:34 -07004903 height: 21px; /* +4px bottom border = 25px; same as .feed-nav */
Scott Maine4d8f1b2012-06-21 18:03:05 -07004904 margin-right: 25px;
4905 cursor: pointer;
4906}
4907.feed .feed-nav li.active {
4908 color: #000;
4909 border-bottom: 4px solid #F80;
4910}
4911.feed .feed-container {
4912 overflow: hidden;
4913 width: 460px;
4914}
4915.feed .feed-container .feed-frame {
4916 width: 1000px;
4917}
4918.feed .feed-container .feed-frame ul {
4919 float: left;
4920 width:460px;
4921}
4922.feed .feed-container .feed-frame ul ul {
4923 float: none;
4924 margin:10px 0 0 30px;
4925}
4926.feed .feed-container .feed-frame li {
4927 list-style: none;
4928 margin: 20px 0 20px 0;
4929 width: 460px;
4930 height:93px;
4931}
4932.feed .feed-container .feed-frame li.playlist {
4933 height:auto;
4934}
4935.feed .feed-container .feed-frame li.playlist a {
4936 height:93px;
4937 display:block;
4938}
4939.feed .feed-container .feed-frame li.more {
4940 height:20px;
4941 margin:10px 0 5px 5px;
4942}
4943.feed .feed-container .feed-frame li.more a {
4944 height:inherit;
4945}
4946.feed .feed-container .feed-frame li.playlist-video {
4947 list-style: none;
4948 margin: 0;
4949 width: 460px;
4950 height:55px;
4951 font-size:12px;
4952}
4953.feed .feed-container .feed-frame li.playlist-video a {
4954 height:45px;
4955 padding:5px;
4956}
4957.feed .feed-container .feed-frame li.playlist-video h5 {
4958 font-size:12px;
4959 line-height:13px;
4960 margin:0;
4961}
4962.feed .feed-container .feed-frame li.playlist-video p {
4963 margin:5px 0 0;
4964 line-height:15px;
4965}
4966.feed-container .feed-frame div.feed-image {
4967 float: left;
4968 border: 1px solid #999;
4969 margin:0 20px 0 0;
4970 width:122px;
4971 height:92px;
4972 background:url('../images/blog-default.png') no-repeat 0 0;
4973 background-size:180px;
4974}
4975#jd-content .feed .feed-container .feed-frame li img {
4976 float: left;
4977 border: 1px solid #999;
4978 margin:0 20px 0 0;
4979 width:122px;
4980 height:92px;
4981}
4982#jd-content .feed .feed-container .feed-frame li.playlist-video img {
4983 width:inherit;
4984 height:inherit;
4985}
4986
4987.feed .feed-container .feed-frame li a,
4988.feed .feed-container .feed-frame li a:active {
4989 color:#555 !important;
4990}
4991
4992.feed .feed-container .feed-frame li a:hover,
4993.feed .feed-container .feed-frame li a:hover * {
4994 color:#7AA1B0 !important;
4995}
4996
4997/* Video player */
4998#player-wrapper {
4999 display:none;
5000 margin: -1px auto 0;
5001 position: relative;
5002 width: 940px;
5003 height: 0px;
5004}
5005#player-frame {
5006 background: #EFEFEF;
5007 border: 1px solid #CCC;
5008 padding: 0px 207px;
5009 z-index: 10; /* stay above marque, but below search suggestions */
5010 width: 525px;
5011 height: 330px;
5012 position: relative;
5013}
5014
5015
5016
Scott Maine4d8f1b2012-06-21 18:03:05 -07005017/************ DEVELOP TOPIC CONTAINERS ************/
5018
5019.landing-banner,
5020.landing-docs {
Scott Mainafc4db32013-11-20 16:53:12 -08005021 margin:20px 0;
Scott Maine4d8f1b2012-06-21 18:03:05 -07005022}
Scott Mainafc4db32013-11-20 16:53:12 -08005023.landing-banner > div:first-child,
5024.landing-docs > div:first-child,
5025.landing-docs > .col-12 {
Scott Maine4d8f1b2012-06-21 18:03:05 -07005026 margin-left:0;
Scott Main0e71cee2012-08-07 13:59:43 -07005027 min-height:280px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07005028}
Scott Mainafc4db32013-11-20 16:53:12 -08005029.landing-banner.short > div {
5030 min-height:50px;
5031}
5032.landing-banner > div:last-child,
5033.landing-docs > div:last-child,
5034.landing-docs > .col-12 {
Scott Maine4d8f1b2012-06-21 18:03:05 -07005035 margin-right:0;
5036}
5037
Scott Mainafc4db32013-11-20 16:53:12 -08005038.landing-banner > div > *:last-child {
5039 margin-bottom:0;
5040}
Scott Maine4d8f1b2012-06-21 18:03:05 -07005041.landing-banner h1 {
Dirk Doughertya6913b52014-06-11 17:28:38 -07005042 margin-top:16px;
5043 padding-bottom:24px;
Scott Maine4d8f1b2012-06-21 18:03:05 -07005044}
Scott Mainafc4db32013-11-20 16:53:12 -08005045.landing-docs,
5046.landing-banner {
5047 clear:both;
Scott Maine6850d22012-10-08 15:59:01 -07005048 overflow:hidden;
Scott Main0e71cee2012-08-07 13:59:43 -07005049}
Scott Maine4d8f1b2012-06-21 18:03:05 -07005050.landing-docs h3 {
5051 font-size:14px;
5052 line-height:21px;
5053 color:#555;
5054 text-transform:uppercase;
5055 border-bottom:1px solid #CCC;
5056 margin:0 0 20px;
5057}
5058.landing-docs a {
5059 color:#333 !important;
5060}
Robert Ly40e90992012-11-28 17:46:17 -08005061
Scott Maine4d8f1b2012-06-21 18:03:05 -07005062.landing-docs a:hover,
5063.landing-docs a:hover * {
5064 color:#7AA1B0 !important
5065}
5066
Robert Ly40e90992012-11-28 17:46:17 -08005067.landing-docs .normal-links a {
5068 color:#258aaf !important;
5069}
5070
Scott Maine4d8f1b2012-06-21 18:03:05 -07005071.plusone {
5072 float:right;
Scott Mainb72b7b82012-07-19 11:03:41 -07005073}
Scott Main9edfa6d2012-08-14 15:04:40 -07005074
5075
5076
Scott Mainafc4db32013-11-20 16:53:12 -08005077.next-docs {
5078 border-top:1px solid #ccc;
5079 margin:40px 0 0;
5080 padding:5px 0 0;
5081 clear:left;
5082 overflow:hidden;
5083}
5084.next-docs div:first-child {
5085 margin-left:0;
5086}
5087.next-docs div:last-child {
5088 margin-right:0;
5089}
5090
5091.next-docs h2 {
5092 font-size:14px;
5093 line-height:21px;
5094 color:#555;
5095 text-transform:uppercase;
5096 border-bottom:none;
Scott Main9ee0fae2014-01-23 10:50:57 -08005097 margin:0 0 1em;
Scott Mainafc4db32013-11-20 16:53:12 -08005098 padding:5px 0 0;
5099}
5100
5101
5102
Scott Main9edfa6d2012-08-14 15:04:40 -07005103/************* HOME/LANDING PAGE *****************/
5104
5105.slideshow-home {
5106 height: 500px;
5107 width: 940px;
5108 border-bottom: 1px solid #CCC;
5109 position: relative;
5110 margin: 0;
5111}
5112.slideshow-home .frame {
5113 width: 940px;
5114 height: 500px;
5115}
5116.slideshow-home .content-left {
5117 float: left;
5118 text-align: center;
5119 vertical-align: center;
5120 margin: 0 0 0 35px;
5121}
5122.slideshow-home .content-right {
5123 margin: 80px 0 0 0;
5124}
5125.slideshow-home .content-right p {
5126 margin-bottom: 10px;
5127}
5128.slideshow-home .content-right p:last-child {
5129 margin-top: 15px;
5130}
5131.slideshow-home .content-right h1 {
5132 padding:0;
5133}
5134.slideshow-home .item {
5135 height: 500px;
5136 width: 940px;
5137}
5138.home-sections {
5139 padding: 30px 20px 20px;
5140 margin: 20px 0;
5141 background: -webkit-linear-gradient(top, #F6F6F6,#F9F9F9);
5142}
5143.home-sections ul {
5144 margin: 0;
5145}
5146.home-sections ul li {
5147 float: left;
5148 display: block;
5149 list-style: none;
5150 width: 170px;
5151 height: 35px;
5152 border: 1px solid #ccc;
5153 background: white;
5154 margin-right: 10px;
5155 border-radius: 1px;
5156 -webkit-border-radius: 1px;
5157 -moz-border-radius: 1px;
5158 box-shadow: 1px 1px 5px #EEE;
5159 -webkit-box-shadow: 1px 1px 5px #EEE;
5160 -moz-box-shadow: 1px 1px 5px #EEE;
5161 background: white;
5162}
5163.home-sections ul li:hover {
5164 background: #F9F9F9;
5165 border: 1px solid #CCC;
5166}
5167.home-sections ul li a,
5168.home-sections ul li a:hover {
5169 font-weight: bold;
5170 margin-top: 8px;
5171 line-height: 18px;
5172 float: left;
5173 width: 100%;
5174 text-align: center;
5175 color: #09c !important;
5176}
5177.home-sections ul li a {
5178 font-weight: bold;
5179 margin-top: 8px;
5180 line-height: 18px;
5181 float: left;
5182 width:100%;
5183 text-align:center;
5184}
5185.home-sections ul li img {
5186 float: left;
5187 margin: -8px 0 0 10px;
5188}
5189.home-sections ul li.last {
5190 margin-right: 0px;
5191}
Scott Mainf5089842012-08-14 16:31:07 -07005192.fullpage #footer {
Scott Main9edfa6d2012-08-14 15:04:40 -07005193 margin-top: -40px;
5194}
Dirk Doughertyc3921652014-05-13 16:55:26 -07005195
5196/************ DISTRIBUTE PAGES ******************/
5197
Dirk Doughertyc3921652014-05-13 16:55:26 -07005198.article-detail #body-content {
5199 padding-top: 10px;
5200}
5201
5202/* A container for grid sets with uppercase h3 and rule */
5203.dynamic-grid h3 {
5204 font-size:14px;
5205 line-height:21px;
5206 color:#555;
5207 text-transform:uppercase;
5208 border-bottom:1px solid #CCC;
5209 padding:8px 0 0 1px;
Dirk Dougherty2e3fb812014-06-01 21:28:20 -07005210 margin-bottom:14px;
Dirk Doughertyc3921652014-05-13 16:55:26 -07005211 clear:both;
5212}
5213
5214.top-right-float {
5215 float: right;
5216}
5217
5218.clearfloat {
5219 float: none;
5220 clear: both;
5221}
5222
5223.border-img {
5224 border: 1px solid #CCC;
5225}
5226
5227.center-img {
5228 margin: auto;
5229 text-align: center;
5230}
5231.center-img img {
5232 margin-bottom: 15px;
5233}
5234
5235.figure img, .border-img {
5236 margin-bottom: 15px;
5237}
5238
5239/************ RESOURCE CARDS ******************/
5240
5241/* Resource cards, 12, 13, 16-col */
5242
5243/* Basic card-styling with shadow */
5244.resource-card {
5245 border-radius: 1px;
5246 box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.12);
5247 background: #fefefe;
5248}
5249
5250/* Styling for background image including tinting and section icons in stacks */
5251.card-bg {
5252 display: block;
5253 position: absolute;
5254 vertical-align: top;
5255 width: 100%;
5256 left: 0;
5257 top: 0;
5258 background-size: cover;
5259 background-repeat: no-repeat;
5260 background-position: center;
5261 background-image: url(../images/resource-card-default-android.jpg);
5262}
5263.card-bg:after {
5264 content: "";
5265 display: block;
5266 height: 100%;
5267 width: 100%;
5268 opacity: 1;
5269 background: rgba(0, 0, 0, 0.2);
5270 -webkit-transition: opacity 0.5s;
5271 -moz-transition: opacity 0.5s;
5272 -o-transition: opacity 0.5s;
5273 transition: opacity 0.5s;
5274}
smain@google.comcda1a9a2014-06-19 17:07:46 -07005275.static .card-bg:after {
5276 display:none;
5277}
Dirk Doughertyc3921652014-05-13 16:55:26 -07005278.card-bg .card-section-icon {
5279 position: absolute;
5280 top: 50%;
5281 width: 100%;
5282 margin-top: -35px;
5283 text-align: center;
5284 padding-top: 65px;
5285 z-index: 100;
5286}
5287.card-bg .card-section-icon .icon {
5288 position: absolute;
5289 left: 50%;
5290 margin-left: -28px;
5291 top: 0px;
5292 width: 56px;
5293 height: 56px;
5294 background-repeat: no-repeat;
5295 background-position: 50% 50%;
5296 background-image: url(../images/stack-icon.png);
5297}
5298.card-bg .card-section-icon .section {
5299 text-transform: uppercase;
5300 color: white;
5301 font-size: 14px;
5302}
5303
5304.card-info {
5305 position: absolute;
5306 -webkit-box-sizing: border-box;
5307 -moz-box-sizing: border-box;
5308 box-sizing: border-box;
5309 top: 0;
5310 right: 0;
5311 bottom: 0;
5312 left: 0;
5313 overflow: hidden;
5314 background: #fefefe;
5315 padding: 4px 12px 6px 12px;
5316}
5317.card-info .section {
5318 text-transform: uppercase;
5319 color: #898989;
5320 font-size: 12px;
5321 margin-bottom: 1px;
5322}
5323.card-info .title {
5324 color: #363636;
5325 white-space: nowrap;
5326 overflow: hidden;
5327 text-overflow: ellipsis;
5328 padding-bottom: 5px;
5329 margin-bottom: -2px;
5330 font-size: 16px;
5331}
5332.card-info .description {
5333 overflow: hidden;
5334}
5335.card-info .description .text {
5336 color: #464646;
5337 font: 13px/15px Roboto Condensed;
5338 overflow: hidden;
5339 width:100%;
5340}
5341.card-info .description .util {
5342 position: absolute;
5343 right: 5px;
5344 bottom: 70px; /*-2px;*/
5345 opacity: 0;
5346 -webkit-transition: opacity 0.5s;
5347 -moz-transition: opacity 0.5s;
5348 -o-transition: opacity 0.5s;
5349 transition: opacity 0.5s;
5350}
5351.card-info.empty-desc .title {
5352 white-space: normal;
5353 overflow: visible;
5354}
5355.card-info.empty-desc .description {
5356 display: none;
5357}
5358/* Truncate card summaries at bounding box and
5359 * and apply ellipsis at lower right */
5360.ellipsis {
5361 overflow: hidden;
5362 float:right;
5363 line-height: 15px;
5364 width:100%;
5365}
5366.resource-card-6x6 .card-info .description .teddddddxt {
5367 float:left;
5368 position:relative;
5369 margin-left:0;
5370}
5371.ellipsis:before {
5372 content:"";
5373 float: left;
5374 width: 5px;
5375 height:100%;
5376}
5377.ellipsis > *:first-child.text {
5378 float: right;
5379 width: 100% !important;
5380 margin-left: -5px;
5381}
5382.ellipsis:after {
5383 content: "\02026";
5384 height:17px;
5385 padding-bottom:4px;
5386
5387 box-sizing: content-box;
5388 -webkit-box-sizing: content-box;
5389 -moz-box-sizing: content-box;
5390
5391 float: right; position: relative;
5392 top: -16px; left: 100%;
5393 width: 4em; margin-left: -4em;
5394 padding-right: 5px;
5395
5396 background: -webkit-gradient(linear, left top, right top,
5397 from(rgba(255, 255, 255, 0)), to(white), color-stop(65%, white));
5398 background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white);
5399 background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white);
5400 background: -ms-linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white);
5401 background: linear-gradient(to right, rgba(255, 255, 255, 0), white 65%, white);
5402}
5403.ellipsis:after {
5404 font-style: normal; color: #aaa;
5405 font-size:13px;
5406 text-align: right;
5407}
5408
5409/* Flow Layout */
5410.resource-flow-layout {
5411 display: inline-block;
5412}
5413.resource-flow-layout .resource-card, .resource-flow-layout .resource-card-stack {
5414 float: left;
5415 position: relative;
5416}
5417.resource-flow-layout .resource-card-stack > .resource-card {
5418 margin-right: 0px !important;
5419}
5420.resource-flow-layout:after {
5421 content: ".";
5422 display: block;
smain@google.com95c0d992014-06-20 10:22:38 -07005423 height: 0;
Dirk Doughertyca1230c2014-05-14 20:00:03 -07005424 position:relative;
Dirk Doughertyc3921652014-05-13 16:55:26 -07005425 clear: both;
5426 visibility: hidden;
5427}
Dirk Doughertyc3921652014-05-13 16:55:26 -07005428.resource-card:hover {
5429 cursor: pointer;
5430}
smain@google.comcda1a9a2014-06-19 17:07:46 -07005431.static .resource-card:hover {
5432 cursor: auto;
5433}
Dirk Doughertyc3921652014-05-13 16:55:26 -07005434.resource-card:hover .card-bg:after {
5435 opacity: 0;
5436}
5437/* disabled to make way for fade/ellipsis truncation,
Scott Mainb16376f2014-05-21 20:35:47 -07005438 and the plusone moves up.
Dirk Doughertyc3921652014-05-13 16:55:26 -07005439.resource-card:hover .card-info .description .text {
5440 padding-right: 70px;
5441} */
5442.resource-card:hover .card-info .description .util {
5443 opacity: 1;
5444}
5445
5446/* Carousel Layout */
5447/* Carousel styles for landing page */
5448.resource-carousel-layout {
5449 margin: 20px 0 20px 0;
5450 position: relative;
5451 overflow: hidden;
5452}
5453.resource-carousel-layout .slideshow-prev, .resource-carousel-layout .slideshow-next {
5454 display: none;
5455}
5456.resource-carousel-layout .pagination {
5457 bottom: 0px;
5458}
5459.resource-carousel-layout .frame li {
5460 position: relative;
5461}
5462.resource-carousel-layout .frame li .card-bg {
5463 height: 300px;
5464}
5465.resource-carousel-layout .frame li .card-info {
5466 padding: 7px 15px 0px 15px;
5467 top: 300px;
5468}
5469.resource-carousel-layout .frame li .card-info .section {
5470 font-size: 13px;
5471 margin-bottom: 7px;
5472}
5473.resource-carousel-layout .frame li .card-info .title {
5474 font-size: 25px;
5475 margin-bottom: 2px;
5476}
5477.resource-carousel-layout .frame li .card-info .description {
5478 font-family: 15px/16px Roboto Condensed, sans-serif;
5479}
5480.resource-carousel-layout .frame li .card-info .description .text {
5481 height: 40px;
5482}
5483.resource-carousel-layout .frame li .card-info .description .util {
5484 bottom:97px;
5485 right:4px;
5486}
5487
5488/* Stack Layout */
5489.resource-stack-layout {
5490 display: inline-block;
5491}
5492.resource-stack-layout .resource-card-stack {
5493 float: left;
5494 position: relative;
5495}
5496.resource-stack-layout .resource-card {
5497 margin-bottom: 20px;
5498 display: block;
5499 position: relative;
5500}
5501.resource-stack-layout .section-card-menu > .card-info .section, .resource-stack-layout .section-card > .card-info .title {
5502 /*text-transform: uppercase;*/
5503 color: #898989;
5504 font-size: 17px;
5505 line-height: 24px;
5506 margin-bottom: 6px;
5507}
5508.resource-stack-layout .section-card {
5509 height: 284px;
5510}
5511.resource-stack-layout .section-card > .card-bg {
5512 height: 192px;
5513}
5514.resource-stack-layout .section-card > .card-info {
5515 padding: 4px 12px 6px 12px;
5516 top: 192px;
5517}
5518.resource-stack-layout .section-card > .card-info .section {
5519 display: none;
5520}
5521.resource-stack-layout .section-card > .card-info .title {
5522 font-size: 17px;
5523 border-bottom: 1px solid #959595;
5524 padding-bottom: 0px;
5525}
5526.resource-stack-layout .section-card > .card-info .description {
5527 font-size: 13px;
5528 line-height: 15px;
5529}
5530.resource-stack-layout .section-card > .card-info .description .text {
5531 height: 30px;
5532}
5533.resource-stack-layout .related-card {
5534 height: 90px;
5535}
5536.resource-stack-layout .related-card > .card-bg {
5537 left: 0;
5538 top: 0;
5539 width: 90px;
5540 height: 100%;
5541 position: absolute;
5542 display: block;
5543}
5544.resource-stack-layout .related-card > .card-info {
5545 left: 90px;
5546 padding: 4px 12px 4px 12px;
5547}
5548.resource-stack-layout .related-card > .card-info .section {
5549 font-size: 12px;
5550 margin-bottom: 1px;
5551 display: none;
5552}
5553.resource-stack-layout .related-card > .card-info .title {
5554 font-size: 16px;
5555 margin-bottom: -2px;
5556 white-space: normal;
5557 overflow: visible;
5558 text-overflow: ellipsis;
5559}
5560.resource-stack-layout .related-card > .card-info .title:after {
5561 content: url(../images/link-out.png);
5562 display: block;
5563}
5564.resource-stack-layout .related-card > .card-info .description {
5565 display: none;
5566}
5567.resource-stack-layout .section-card-menu {
5568 /* Flexible height */
5569 display: block;
5570 height: auto;
5571 width: auto;
5572}
5573.resource-stack-layout .section-card-menu .card-bg {
5574 height: 155px;
5575 /* Flexible height */
5576 position: relative;
5577 display: inline-block;
5578 vertical-align: top;
5579}
5580.resource-stack-layout .section-card-menu .card-info {
5581 padding: 4px 12px 0px 12px;
5582 /* Flexible height */
5583 position: relative;
5584 left: auto;
5585 top: auto;
5586 right: auto;
5587 bottom: auto;
5588}
5589.resource-stack-layout .section-card-menu .card-info ul {
5590 list-style: none;
5591 margin: 0;
5592}
5593.resource-stack-layout .section-card-menu .card-info ul li {
5594 list-style: none;
5595 margin: 0;
5596 padding: 15px 0;
5597 border-top-width: 1px;
5598 border-top-style: solid;
5599 border-top-color: #959595;
5600}
5601.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 {
5602 color: #363636 !important;
5603}
5604.resource-stack-layout .section-card-menu .card-info ul li:first-child {
5605 border-top: none;
5606}
5607.resource-stack-layout .section-card-menu .card-info ul li:hover .title:after {
5608 opacity: 1;
5609 -webkit-transition: opacity 0.5s;
5610 -moz-transition: opacity 0.5s;
5611 -o-transition: opacity 0.5s;
5612 transition: opacity 0.5s;
5613}
5614.resource-stack-layout .section-card-menu .card-info ul li:hover .description {
5615 max-height: 30px;
5616 opacity: 1;
5617 -webkit-transition: max-height 0.5s, opacity 1s;
5618 -moz-transition: max-height 0.5s, opacity 1s;
5619 -o-transition: max-height 0.5s, opacity 1s;
5620 transition: max-height 0.5s, opacity 1s;
5621}
5622.resource-stack-layout .section-card-menu .card-info .title {
5623 font-size: 16px;
5624 margin-bottom: -2px;
5625 position: relative;
5626}
5627.resource-stack-layout .section-card-menu .card-info .title:after {
5628 background: url(../images/stack-arrow-right.png);
5629 content: '';
5630 opacity: 0;
5631 -webkit-transition: opacity 0.25s;
5632 -moz-transition: opacity 0.25s;
5633 -o-transition: opacity 0.25s;
5634 transition: opacity 0.25s;
5635 position: absolute;
5636 right: 0px;
5637 top: 3px;
5638 width: 10px;
5639 height: 15px;
5640}
5641.resource-stack-layout .section-card-menu .card-info .title.more {
5642 text-transform: uppercase;
5643 color: #898989;
5644 display: inline-block;
5645}
5646.resource-stack-layout .section-card-menu .card-info .title.more:after {
5647 background: url(../images/stack-arrow-right.png);
5648 content: '';
5649 display: block;
5650 position: absolute;
5651 right: -20px;
5652 top: 3px;
5653 width: 10px;
5654 height: 15px;
5655}
5656.resource-stack-layout .section-card-menu .card-info .description {
5657 max-height: 0px;
5658 opacity: 0;
5659 overflow: hidden;
5660 font-size: 13px;
5661 line-height: 15px;
5662 /* Hover off */
5663 -webkit-transition: max-height 0.5s, opacity 0.5s;
5664 -moz-transition: max-height 0.5s, opacity 0.5s;
5665 -o-transition: max-height 0.5s, opacity 0.5s;
5666 transition: max-height 0.5s, opacity 0.5s;
5667}
5668.resource-stack-layout .section-card-menu .card-info .description .text {
5669 height: 30px;
5670}
5671.resource-stack-layout:after {
5672 content: ".";
5673 display: block;
5674 height: 0;
5675 clear: both;
5676 visibility: hidden;
5677}
5678
5679/* Generate the flow layout styles for a 3-column 16-col span */
5680.resource-flow-layout.col-16 {
5681 margin: 0 -14px 0 0;
5682 width: 954px;
5683}
5684.resource-flow-layout.col-16 .resource-card, .resource-flow-layout.col-16 .resource-card-stack {
5685 margin: 0 14px 20px 0;
5686}
5687.resource-flow-layout.col-16 .resource-card-row-stack-last {
5688 margin-bottom: 0px !important;
5689}
5690.resource-flow-layout.col-16 .resource-card-col-stack-last {
5691 margin-bottom: 0px !important;
5692}
5693.resource-flow-layout.col-16 .resource-card-3x6 {
5694 width: 145px;
5695 height: 284px;
5696}
5697.resource-flow-layout.col-16 .resource-card-3x12 {
5698 width: 145px;
5699 height: 588px;
5700}
5701.resource-flow-layout.col-16 .resource-card-3x18 {
5702 width: 145px;
5703 height: 892px;
5704}
5705.resource-flow-layout.col-16 .resource-card-6x6 {
5706 width: 304px;
5707 height: 284px;
5708}
5709.resource-flow-layout.col-16 .resource-card-6x12 {
5710 width: 304px;
5711 height: 588px;
5712}
5713.resource-flow-layout.col-16 .resource-card-6x18 {
5714 width: 304px;
5715 height: 892px;
5716}
5717.resource-flow-layout.col-16 .resource-card-9x6 {
5718 width: 463px;
5719 height: 284px;
5720}
5721.resource-flow-layout.col-16 .resource-card-9x12 {
5722 width: 463px;
5723 height: 588px;
5724}
5725.resource-flow-layout.col-16 .resource-card-9x18 {
5726 width: 463px;
5727 height: 892px;
5728}
5729.resource-flow-layout.col-16 .resource-card-12x6 {
5730 width: 622px;
5731 height: 284px;
5732}
5733.resource-flow-layout.col-16 .resource-card-12x12 {
5734 width: 622px;
5735 height: 588px;
5736}
5737.resource-flow-layout.col-16 .resource-card-12x18 {
5738 width: 622px;
5739 height: 892px;
5740}
5741.resource-flow-layout.col-16 .resource-card-15x6 {
5742 width: 781px;
5743 height: 284px;
5744}
5745.resource-flow-layout.col-16 .resource-card-15x12 {
5746 width: 781px;
5747 height: 588px;
5748}
5749.resource-flow-layout.col-16 .resource-card-15x18 {
5750 width: 781px;
5751 height: 892px;
5752}
5753.resource-flow-layout.col-16 .resource-card-18x6 {
5754 width: 940px;
5755 height: 284px;
5756}
5757.resource-flow-layout.col-16 .resource-card-18x12 {
5758 width: 940px;
5759 height: 420px;
5760}
5761.resource-flow-layout.col-16 .resource-card-18x18 {
5762 width: 940px;
5763 height: 892px;
5764}
5765.resource-flow-layout.col-16 .resource-card-3x2 {
5766 width: 145px;
5767 height: 95px;
5768}
5769.resource-flow-layout.col-16 .resource-card-3x2x3 {
5770 width: 145px;
5771 height: 90px;
5772 margin-bottom: 7px;
5773}
5774.resource-flow-layout.col-16 .resource-card-3x3 {
5775 width: 145px;
5776 height: 142px;
5777}
5778.resource-flow-layout.col-16 .resource-card-3x3x2 {
5779 width: 145px;
5780 height: 138px;
5781 margin-bottom: 8px;
5782}
5783.resource-flow-layout.col-16 .resource-card-6x2 {
5784 width: 304px;
5785 height: 95px;
5786}
5787.resource-flow-layout.col-16 .resource-card-6x2x3 {
5788 width: 304px;
5789 height: 90px;
5790 margin-bottom: 7px;
5791}
5792.resource-flow-layout.col-16 .resource-card-6x3 {
5793 width: 304px;
5794 height: 142px;
5795}
5796.resource-flow-layout.col-16 .resource-card-6x3x2 {
5797 width: 304px;
5798 height: 138px;
5799 margin-bottom: 8px;
5800}
5801.resource-flow-layout.col-16 .resource-card-9x2 {
5802 width: 463px;
5803 height: 95px;
5804}
5805.resource-flow-layout.col-16 .resource-card-9x2x3 {
5806 width: 463px;
5807 height: 90px;
5808 margin-bottom: 7px;
5809}
5810.resource-flow-layout.col-16 .resource-card-9x3 {
5811 width: 463px;
5812 height: 142px;
5813}
5814.resource-flow-layout.col-16 .resource-card-9x3x2 {
5815 width: 463px;
5816 height: 138px;
5817 margin-bottom: 8px;
5818}
5819.resource-flow-layout.col-16 .resource-card-12x2 {
5820 width: 622px;
5821 height: 95px;
5822}
5823.resource-flow-layout.col-16 .resource-card-12x2x3 {
5824 width: 622px;
5825 height: 90px;
5826 margin-bottom: 7px;
5827}
5828.resource-flow-layout.col-16 .resource-card-12x3 {
5829 width: 622px;
5830 height: 142px;
5831}
5832.resource-flow-layout.col-16 .resource-card-12x3x2 {
5833 width: 622px;
5834 height: 138px;
5835 margin-bottom: 8px;
5836}
5837.resource-flow-layout.col-16 .resource-card-15x2 {
5838 width: 781px;
5839 height: 95px;
5840}
5841.resource-flow-layout.col-16 .resource-card-15x2x3 {
5842 width: 781px;
5843 height: 90px;
5844 margin-bottom: 7px;
5845}
5846.resource-flow-layout.col-16 .resource-card-15x3 {
5847 width: 781px;
5848 height: 142px;
5849}
5850.resource-flow-layout.col-16 .resource-card-15x3x2 {
5851 width: 781px;
5852 height: 138px;
5853 margin-bottom: 8px;
5854}
5855.resource-flow-layout.col-16 .resource-card-18x2 {
5856 width: 940px;
5857 height: 95px;
5858}
5859.resource-flow-layout.col-16 .resource-card-18x2x3 {
5860 width: 940px;
5861 height: 90px;
5862 margin-bottom: 7px;
5863}
5864.resource-flow-layout.col-16 .resource-card-18x3 {
5865 width: 940px;
5866 height: 142px;
5867}
5868.resource-flow-layout.col-16 .resource-card-18x3x2 {
5869 width: 940px;
5870 height: 138px;
5871 margin-bottom: 8px;
5872}
5873
5874/* Generate the flow layout styles for a 3-column 16-col span */
5875.resource-flow-layout.col-12 {
5876 margin: 0 -14px 0 0;
5877 width: 714px;
5878}
5879
5880.resource-flow-layout.col-12 .resource-card, .resource-flow-layout.col-12 .resource-card-stack {
5881 margin: 0 14px 20px 0;
5882}
5883.resource-flow-layout.col-12 .resource-card-row-stack-last {
5884 margin-bottom: 0px !important;
5885}
5886.resource-flow-layout.col-12 .resource-card-col-stack-last {
5887 margin-bottom: 0px !important;
5888}
5889.resource-flow-layout.col-12 .resource-card-3x6 {
5890 width: 105px;
5891 height: 284px;
5892}
5893.resource-flow-layout.col-12 .resource-card-3x12 {
5894 width: 105px;
5895 height: 588px;
5896}
5897.resource-flow-layout.col-12 .resource-card-3x18 {
5898 width: 105px;
5899 height: 892px;
5900}
5901.resource-flow-layout.col-12 .resource-card-6x6 {
5902 width: 224px;
5903 height: 284px;
5904}
5905.resource-flow-layout.col-12 .resource-card-6x12 {
5906 width: 224px;
5907 height: 588px;
5908}
5909.resource-flow-layout.col-12 .resource-card-6x18 {
5910 width: 224px;
5911 height: 892px;
5912}
5913.resource-flow-layout.col-12 .resource-card-9x6 {
5914 width: 343px;
5915 height: 284px;
5916}
5917.resource-flow-layout.col-12 .resource-card-9x12 {
5918 width: 343px;
5919 height: 588px;
5920}
5921.resource-flow-layout.col-12 .resource-card-9x18 {
5922 width: 343px;
5923 height: 892px;
5924}
5925.resource-flow-layout.col-12 .resource-card-12x6 {
5926 width: 462px;
5927 height: 284px;
5928}
5929.resource-flow-layout.col-12 .resource-card-12x12 {
5930 width: 462px;
5931 height: 588px;
5932}
5933.resource-flow-layout.col-12 .resource-card-12x18 {
5934 width: 462px;
5935 height: 892px;
5936}
5937.resource-flow-layout.col-12 .resource-card-15x6 {
5938 width: 581px;
5939 height: 284px;
5940}
5941.resource-flow-layout.col-12 .resource-card-15x12 {
5942 width: 581px;
5943 height: 588px;
5944}
5945.resource-flow-layout.col-12 .resource-card-15x18 {
5946 width: 581px;
5947 height: 892px;
5948}
5949.resource-flow-layout.col-12 .resource-card-18x6 {
5950 width: 700px;
5951 height: 284px;
5952}
5953.resource-flow-layout.col-12 .resource-card-18x12 {
5954 width: 700px;
5955 height: 420px;
5956}
5957.resource-flow-layout.col-12 .resource-card-18x18 {
5958 width: 700px;
5959 height: 892px;
5960}
5961.resource-flow-layout.col-12 .resource-card-3x2 {
5962 width: 105px;
5963 height: 95px;
5964}
5965.resource-flow-layout.col-12 .resource-card-3x2x3 {
5966 width: 105px;
5967 height: 90px;
5968 margin-bottom: 7px;
5969}
5970.resource-flow-layout.col-12 .resource-card-3x3 {
5971 width: 105px;
5972 height: 142px;
5973}
5974.resource-flow-layout.col-12 .resource-card-3x3x2 {
5975 width: 105px;
5976 height: 138px;
5977 margin-bottom: 8px;
5978}
5979.resource-flow-layout.col-12 .resource-card-6x2 {
5980 width: 224px;
5981 height: 95px;
5982}
5983.resource-flow-layout.col-12 .resource-card-6x2x3 {
5984 width: 224px;
5985 height: 90px;
5986 margin-bottom: 7px;
5987}
5988.resource-flow-layout.col-12 .resource-card-6x3 {
5989 width: 224px;
5990 height: 142px;
5991}
5992.resource-flow-layout.col-12 .resource-card-6x3x2 {
5993 width: 224px;
5994 height: 138px;
5995 margin-bottom: 8px;
5996}
5997.resource-flow-layout.col-12 .resource-card-9x2 {
5998 width: 343px;
5999 height: 95px;
6000}
6001.resource-flow-layout.col-12 .resource-card-9x2x3 {
6002 width: 343px;
6003 height: 90px;
6004 margin-bottom: 7px;
6005}
6006.resource-flow-layout.col-12 .resource-card-9x3 {
6007 width: 343px;
6008 height: 142px;
6009}
6010.resource-flow-layout.col-12 .resource-card-9x3x2 {
6011 width: 343px;
6012 height: 138px;
6013 margin-bottom: 8px;
6014}
6015.resource-flow-layout.col-12 .resource-card-12x2 {
6016 width: 462px;
6017 height: 95px;
6018}
6019.resource-flow-layout.col-12 .resource-card-12x2x3 {
6020 width: 462px;
6021 height: 90px;
6022 margin-bottom: 7px;
6023}
6024.resource-flow-layout.col-12 .resource-card-12x3 {
6025 width: 462px;
6026 height: 142px;
6027}
6028.resource-flow-layout.col-12 .resource-card-12x3x2 {
6029 width: 462px;
6030 height: 138px;
6031 margin-bottom: 8px;
6032}
6033.resource-flow-layout.col-12 .resource-card-15x2 {
6034 width: 581px;
6035 height: 95px;
6036}
6037.resource-flow-layout.col-12 .resource-card-15x2x3 {
6038 width: 581px;
6039 height: 90px;
6040 margin-bottom: 7px;
6041}
6042.resource-flow-layout.col-12 .resource-card-15x3 {
6043 width: 581px;
6044 height: 142px;
6045}
6046.resource-flow-layout.col-12 .resource-card-15x3x2 {
6047 width: 581px;
6048 height: 138px;
6049 margin-bottom: 8px;
6050}
6051.resource-flow-layout.col-12 .resource-card-18x2 {
6052 width: 700px;
6053 height: 95px;
6054}
6055.resource-flow-layout.col-12 .resource-card-18x2x3 {
6056 width: 700px;
6057 height: 90px;
6058 margin-bottom: 7px;
6059}
6060.resource-flow-layout.col-12 .resource-card-18x3 {
6061 width: 700px;
6062 height: 142px;
6063}
6064.resource-flow-layout.col-12 .resource-card-18x3x2 {
6065 width: 700px;
6066 height: 138px;
6067 margin-bottom: 8px;
6068}
6069
6070/* Generate the flow layout styles for a 3-column 13-col span */
6071
6072.resource-flow-layout.col-13 {
6073 margin: 0 -14px 0 0;
6074 width: 774px;
6075}
6076.resource-flow-layout.col-13 .resource-card, .resource-flow-layout.col-13 .resource-card-stack {
6077 margin: 0 14px 20px 0;
6078}
6079.resource-flow-layout.col-13 .resource-card-row-stack-last {
6080 margin-bottom: 0px !important;
6081}
6082.resource-flow-layout.col-13 .resource-card-col-stack-last {
6083 margin-bottom: 0px !important;
6084}
6085.resource-flow-layout.col-13 .resource-card-3x6 {
6086 width: 115px;
6087 height: 284px;
6088}
6089.resource-flow-layout.col-13 .resource-card-3x12 {
6090 width: 115px;
6091 height: 588px;
6092}
6093.resource-flow-layout.col-13 .resource-card-3x18 {
6094 width: 115px;
6095 height: 892px;
6096}
6097.resource-flow-layout.col-13 .resource-card-6x6 {
6098 width: 244px;
6099 height: 284px;
6100}
6101.resource-flow-layout.col-13 .resource-card-6x12 {
6102 width: 244px;
6103 height: 588px;
6104}
6105.resource-flow-layout.col-13 .resource-card-6x18 {
6106 width: 244px;
6107 height: 892px;
6108}
6109.resource-flow-layout.col-13 .resource-card-9x6 {
6110 width: 373px;
6111 height: 284px;
6112}
6113.resource-flow-layout.col-13 .resource-card-9x12 {
6114 width: 373px;
6115 height: 588px;
6116}
6117.resource-flow-layout.col-13 .resource-card-9x18 {
6118 width: 373px;
6119 height: 892px;
6120}
6121.resource-flow-layout.col-13 .resource-card-12x6 {
6122 width: 502px;
6123 height: 284px;
6124}
6125.resource-flow-layout.col-13 .resource-card-12x12 {
6126 width: 502px;
6127 height: 588px;
6128}
6129.resource-flow-layout.col-13 .resource-card-12x18 {
6130 width: 502px;
6131 height: 892px;
6132}
6133.resource-flow-layout.col-13 .resource-card-15x6 {
6134 width: 631px;
6135 height: 284px;
6136}
6137.resource-flow-layout.col-13 .resource-card-15x12 {
6138 width: 631px;
6139 height: 588px;
6140}
6141.resource-flow-layout.col-13 .resource-card-15x18 {
6142 width: 631px;
6143 height: 892px;
6144}
6145.resource-flow-layout.col-13 .resource-card-18x6 {
6146 width: 760px;
6147 height: 284px;
6148}
6149.resource-flow-layout.col-13 .resource-card-18x12 {
6150 width: 760px;
6151 height: 420px;
6152}
6153.resource-flow-layout.col-13 .resource-card-18x18 {
6154 width: 760px;
6155 height: 892px;
6156}
6157.resource-flow-layout.col-13 .resource-card-3x2 {
6158 width: 115px;
6159 height: 95px;
6160}
6161.resource-flow-layout.col-13 .resource-card-3x2x3 {
6162 width: 115px;
6163 height: 90px;
6164 margin-bottom: 7px;
6165}
6166.resource-flow-layout.col-13 .resource-card-3x3 {
6167 width: 115px;
6168 height: 142px;
6169}
6170.resource-flow-layout.col-13 .resource-card-3x3x2 {
6171 width: 115px;
6172 height: 138px;
6173 margin-bottom: 8px;
6174}
6175.resource-flow-layout.col-13 .resource-card-6x2 {
6176 width: 244px;
6177 height: 95px;
6178}
6179.resource-flow-layout.col-13 .resource-card-6x2x3 {
6180 width: 244px;
6181 height: 90px;
6182 margin-bottom: 7px;
6183}
6184.resource-flow-layout.col-13 .resource-card-6x3 {
6185 width: 244px;
6186 height: 142px;
6187}
6188.resource-flow-layout.col-13 .resource-card-6x3x2 {
6189 width: 244px;
6190 height: 138px;
6191 margin-bottom: 8px;
6192}
6193.resource-flow-layout.col-13 .resource-card-9x2 {
6194 width: 373px;
6195 height: 95px;
6196}
6197.resource-flow-layout.col-13 .resource-card-9x2x3 {
6198 width: 373px;
6199 height: 90px;
6200 margin-bottom: 7px;
6201}
6202.resource-flow-layout.col-13 .resource-card-9x3 {
6203 width: 373px;
6204 height: 142px;
6205}
6206.resource-flow-layout.col-13 .resource-card-9x3x2 {
6207 width: 373px;
6208 height: 138px;
6209 margin-bottom: 8px;
6210}
6211.resource-flow-layout.col-13 .resource-card-12x2 {
6212 width: 502px;
6213 height: 95px;
6214}
6215.resource-flow-layout.col-13 .resource-card-12x2x3 {
6216 width: 502px;
6217 height: 90px;
6218 margin-bottom: 7px;
6219}
6220.resource-flow-layout.col-13 .resource-card-12x3 {
6221 width: 502px;
6222 height: 142px;
6223}
6224.resource-flow-layout.col-13 .resource-card-12x3x2 {
6225 width: 502px;
6226 height: 138px;
6227 margin-bottom: 8px;
6228}
6229.resource-flow-layout.col-13 .resource-card-15x2 {
6230 width: 631px;
6231 height: 95px;
6232}
6233.resource-flow-layout.col-13 .resource-card-15x2x3 {
6234 width: 631px;
6235 height: 90px;
6236 margin-bottom: 7px;
6237}
6238.resource-flow-layout.col-13 .resource-card-15x3 {
6239 width: 631px;
6240 height: 142px;
6241}
6242.resource-flow-layout.col-13 .resource-card-15x3x2 {
6243 width: 631px;
6244 height: 138px;
6245 margin-bottom: 8px;
6246}
6247.resource-flow-layout.col-13 .resource-card-18x2 {
6248 width: 760px;
6249 height: 95px;
6250}
6251.resource-flow-layout.col-13 .resource-card-18x2x3 {
6252 width: 760px;
6253 height: 90px;
6254 margin-bottom: 7px;
6255}
6256.resource-flow-layout.col-13 .resource-card-18x3 {
6257 width: 760px;
6258 height: 142px;
6259}
6260.resource-flow-layout.col-13 .resource-card-18x3x2 {
6261 width: 760px;
6262 height: 138px;
6263 margin-bottom: 8px;
6264}
6265
6266/*
6267 The following are styles for cards in the flowlayout above, styled by the number of rows they span
6268*/
6269/* Single row items, might be simpler to just apply a class */
6270.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 {
6271 height: 192px;
6272}
6273.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 {
6274 padding: 4px 12px 6px 12px;
6275 top: 192px;
6276}
6277.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 {
6278 font-size: 12px;
6279 margin-bottom: 1px;
6280}
6281.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 {
6282 font-size: 16px;
6283 margin-bottom: -2px;
6284}
6285.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 {
6286 font-size: 13px;
6287 line-height: 15px;
6288}
6289.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 {
6290 height: 30px;
6291}
6292
6293/* Double row items */
6294.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 {
6295 height: 320px;
6296}
6297.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 {
6298 padding: 4px 12px 6px 12px;
6299 top: 320px;
6300}
6301.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 {
6302 font-size: 12px;
6303 margin-bottom: 1px;
6304}
6305.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 {
6306 font-size: 16px;
6307 margin-bottom: -2px;
6308 white-space: normal;
6309}
6310.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 {
6311 font-size: 13px;
6312 line-height: 15px;
6313}
6314
6315/* 1/3 row items */
6316.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 {
6317 left: 0;
6318 top: 0;
6319 width: 90px;
6320 height: 100%;
6321 position: absolute;
6322 display: block;
6323}
6324.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 {
6325 left: 90px;
6326 padding: 4px 12px 4px 12px;
6327 height: 80px;
6328 overflow: hidden;
6329}
6330.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 {
6331 font-size: 12px;
6332 margin-bottom: 1px;
6333 /* display: none; */
6334}
6335.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 {
6336 font-size: 16px;
6337 margin-bottom: -2px;
6338 white-space: normal;
6339 overflow: visible;
6340 text-overflow: ellipsis;
6341}
6342.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 {
6343 /* content: url(../images/link-out.png); */
6344 display: block;
6345}
6346.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 {
6347 display: none;
6348}
6349
smain@google.comcda1a9a2014-06-19 17:07:46 -07006350
6351/* Override to show the description instead of the content section */
6352.no-section .resource-card-3x2 > .card-info .section,
6353.no-section .resource-card-6x2 > .card-info .section {
6354 display: none;
6355}
6356.no-section .resource-card-3x2 > .card-info .description,
6357.no-section .resource-card-6x2 > .card-info .description {
6358 display: block;
6359}
6360
Dirk Doughertyc3921652014-05-13 16:55:26 -07006361/* 1/2 row items */
6362.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 {
6363 left: 0;
6364 top: 0;
6365 width: 90px;
6366 height: 100%;
6367 position: absolute;
6368 display: block;
6369}
6370.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 {
6371 left: 90px;
6372 padding: 4px 12px 0px 12px;
6373}
6374.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 {
6375 font-size: 12px;
6376 margin-bottom: 1px;
6377 display: none;
6378}
6379.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 {
6380 font-size: 16px;
6381 margin-bottom: -2px;
6382 white-space: normal;
6383 overflow: visible;
6384}
6385.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 {
6386 font-size: 12px;
6387 line-height: 15px;
6388 padding-right: 0px !important;
6389 height: 80px;
6390}
6391.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 {
6392 display: none;
6393}
6394/* placement of plusone */
6395.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 {
6396 bottom:2px;
6397}
6398.resource-card-18x12 > .card-info .description .util {
6399 bottom:2px;
6400}
6401/* Overrides for col-16 6x6 cards linking to local content on landing pages.
6402 Suppresses "section" and puts the title above a hairline rule. */
6403.landing .card-info .section, .resource-flow-layout.col-16.landing .resource-card-9x6 .card-info .section {
6404 display:none;
6405}
6406.landing .card-info .title {
6407 color: #898989;
6408 font-size: 17px;
6409 line-height: 24px;
6410 margin-bottom: 6px;
6411 border-bottom: 1px solid #959595;
6412 padding-bottom: 0px;
6413}
6414.landing .card-info .description {
6415 font-size: 13px;
6416 line-height: 15px;
6417}
6418.landing .card-info .description .text {
6419height:30px;
6420}
6421.landing .resource-card-6x6 > .card-info .description .util, .landing .resource-card-9x6 > .card-info .description .util {
6422 bottom:2px;
6423}
6424/*
6425 Generate a resource stack layout for a 3 column widget spanning 16 grid cols
6426*/
6427.resource-stack-layout.col-16 {
6428 margin: 0 -14px 0 0;
6429 width: 954px;
6430}
6431.resource-stack-layout.col-16 .resource-card-stack {
6432 margin: 0 14px 0 0;
6433 width: 304px;
6434}
6435
6436/* Example of card menu tinting */
6437.resource-widget[data-section=distribute\/tools] .section-card-menu
6438.card-bg:after {
6439 background: rgba(126, 55, 148, 0.4) !important;
6440}
6441.resource-widget[data-section=distribute\/tools] .section-card-menu
6442.card-section-icon .icon {
6443 background-color: #7e3794 !important;
6444}
6445.resource-widget[data-section=distribute\/tools] .section-card-menu
6446.card-info ul li {
6447 border-top-color: #7e3794 !important;
6448}
6449
6450/* tinting for stacks */
6451
6452div.jd-descr > .resource-widget[data-section=distribute\/tools]
6453.section-card-menu .card-info ul li {
6454 border-top-color: #7e3794 !important;
Dirk Doughertya6913b52014-06-11 17:28:38 -07006455}
Robert Lye7eeb402014-06-03 19:35:24 -07006456
smain@google.comcda1a9a2014-06-19 17:07:46 -07006457
6458
Robert Lye7eeb402014-06-03 19:35:24 -07006459/**
6460 * UTILITIES
6461 */
6462
6463
6464.border-box {
6465 box-sizing: border-box;
6466}
6467
6468.vertical-center-outer {
6469 display: table;
6470 height: 100%;
6471 width: 100%;
6472}
6473
6474.vertical-center-inner {
6475 display: table-cell;
6476 vertical-align: middle;
6477}
6478
6479/**
6480 * TYPE STYLES
6481 */
6482
6483.landing-h1 {
6484 font-weight: 100;
6485 font-size: 60px;
6486 line-height: 78px;
6487 text-align: center;
6488 letter-spacing: -1px;
6489}
6490
6491.landing-pre-h1 {
6492 font-weight: 400;
6493 font-size: 28px;
6494 color: #93B73F;
6495 line-height: 36px;
6496 text-align: center;
6497 letter-spacing: -1px;
6498 text-transform: uppercase;
6499
6500}
6501
6502.landing-h1.hero {
6503 text-align: left;
6504}
6505
6506.landing-h2 {
6507 font-weight: 300;
6508 font-size: 42px;
6509 line-height: 64px;
6510 text-align: center;
6511}
6512
6513.landing-subhead {
6514 color: #999999;
6515 font-size: 20px;
6516 line-height: 28px;
6517 font-weight:300;
6518 text-align: center;
6519}
6520.landing-subhead.hero {
6521 text-align: left;
6522 color: white;
6523}
6524
6525.landing-hero-description {
6526 text-align: left;
6527 margin: 1em 0;
6528}
6529
6530.landing-hero-description p {
6531 font-weight: 300;
6532 margin: 0;
6533 font-size: 18px;
6534 line-height: 24px;
6535}
6536
6537.landing-body .landing-small {
6538 font-size: 14px;
6539 line-height: 19px;
6540}
6541
6542.landing-body.landing-align-center {
6543 text-align: center;
6544}
6545
6546.landing-align-left {
6547 text-align: left;
6548}
6549
6550/**
6551 * LAYOUT
6552 */
6553
6554#body-content,
6555.fullpage,
6556#jd-content,
6557.jd-descr,
6558.landing-body-content {
6559 height: 100%;
6560}
6561
6562.landing-section {
6563 padding: 80px 10px 80px;
6564 width: 100%;
6565 margin-left: -10px;
6566 text-rendering: optimizeLegibility;
6567}
6568
6569#extending-android-to-wearables {
6570 padding-top: 30px;
6571}
6572
6573.landing-short-section {
6574 padding: 40px 10px 28px;
6575}
6576
6577.landing-gray-background {
6578 background-color: #e9e9e9;
6579}
6580
6581.landing-white-background {
6582 background-color: white;
6583}
6584
6585.landing-red-background {
6586 color: white;
6587 background-color: hsl(8, 70%, 54%);
6588}
6589
6590.landing-subhead-red {
6591 color: hsl(8, 71%, 84%);
6592 text-align: left;
6593}
6594
6595.landing-subhead-red p {
6596 margin-top: 20px;
6597}
6598
6599.landing-hero-container {
6600 height: 100%;
6601}
6602
6603
6604.preview-hero {
Robert Ly908a05a2014-06-16 10:47:50 -07006605 height: calc(100% - 110px);
Robert Lye7eeb402014-06-03 19:35:24 -07006606 min-height: 504px;
6607 margin-top: -5px;
6608 padding-top: 0;
6609 padding-bottom: 0;
6610 background-image: url(../../preview/images/hero.jpg);
6611 background-size: cover;
6612 background-position: right center;
6613 color: white;
6614 position: relative;
6615 overflow: hidden;
6616}
6617
6618.wear-hero {
Robert Ly908a05a2014-06-16 10:47:50 -07006619 height: calc(100% - 110px);
Robert Lye7eeb402014-06-03 19:35:24 -07006620 min-height: 504px;
6621 margin-top: -5px;
6622 padding-top: 0;
6623 padding-bottom: 0;
6624 background-image: url(../../wear/images/hero.jpg);
6625 background-size: cover;
6626 background-position: top center;
6627 color: white;
6628 position: relative;
6629 overflow: hidden;
6630}
6631
6632.tv-hero {
Robert Ly908a05a2014-06-16 10:47:50 -07006633 height: calc(100% - 110px);
Robert Lye7eeb402014-06-03 19:35:24 -07006634 min-height: 504px;
6635 margin-top: -5px;
6636 padding-top: 0;
6637 padding-bottom: 0;
Joe Fernandezfc0f5452014-06-15 14:53:08 -07006638 background-image: url(../../tv/images/hero.jpg);
Robert Lye7eeb402014-06-03 19:35:24 -07006639 background-size: cover;
6640 background-position: right center;
6641 color: white;
6642 position: relative;
6643 overflow: hidden;
6644}
6645
6646.auto-hero {
Robert Ly908a05a2014-06-16 10:47:50 -07006647 height: calc(100% - 110px);
Robert Lye7eeb402014-06-03 19:35:24 -07006648 min-height: 504px;
6649 margin-top: -5px;
6650 padding-top: 0;
6651 padding-bottom: 0;
6652 background-image: url(../../auto/images/hero.jpg);
6653 background-size: cover;
6654 background-position: right center;
6655 color: white;
6656 position: relative;
6657 overflow: hidden;
6658}
6659
6660.landing-hero-scrim {
6661 background: black;
6662 opacity: .2;
6663 position: absolute;
6664 width: 100%;
6665 height: 100%;
6666 margin-left: -10px;
6667}
6668
6669.landing-hero-wrap {
6670 margin: 0 auto;
6671 width: 940px;
6672 clear: both;
6673 height: 100%;
6674 position: relative;
6675}
6676
6677.landing-section-header {
6678 margin-bottom: 40px;
6679}
6680
6681.landing-hero-wrap .landing-section-header {
6682 margin-bottom: 16px;
6683}
6684
6685.landing-body {
6686 font-size: 18px;
6687 line-height: 24px;
6688}
6689
6690.landing-button {
6691 white-space: nowrap;
6692 display: inline-block;
6693 padding: 16px 32px;
6694 font-size: 18px;
6695 font-weight: 500;
6696 line-height: 24px;
6697 cursor: pointer;
6698 color: white;
6699 -webkit-user-select: none;
6700 -moz-user-select: none;
6701 -o-user-select: none;
6702 user-select: none;
6703 -webkit-transition: .2s background-color ease-in-out;
6704 -moz-transition: .2s background-color ease-in-out;
6705 -o-transition: .2s background-color ease-in-out;
6706 transition: .2s background-color ease-in-out;
6707}
6708
6709.landing-primary {
smain@google.combaf5b602014-06-19 22:24:44 -07006710 background-color: hsl(8, 70%, 44%);
Robert Lye7eeb402014-06-03 19:35:24 -07006711 color: #f8f8f8;
6712}
6713
6714.landing-button.landing-primary:hover {
smain@google.combaf5b602014-06-19 22:24:44 -07006715 background-color: hsl(8, 70%, 36%);
Robert Lye7eeb402014-06-03 19:35:24 -07006716}
6717
6718.landing-button.landing-primary:active {
smain@google.combaf5b602014-06-19 22:24:44 -07006719 background-color: hsl(8, 70%, 30%);
Robert Lye7eeb402014-06-03 19:35:24 -07006720}
6721
6722.landing-button.landing-secondary {
smain@google.comeb018272014-06-19 22:54:07 -07006723 background-color: #2faddb;
Robert Lye7eeb402014-06-03 19:35:24 -07006724}
6725
6726.landing-button.landing-secondary:hover {
smain@google.comeb018272014-06-19 22:54:07 -07006727 background-color: #09c;
Robert Lye7eeb402014-06-03 19:35:24 -07006728}
6729
6730.landing-button.landing-secondary:active {
smain@google.comcda1a9a2014-06-19 17:07:46 -07006731 background-color: #3990ab;
Robert Lye7eeb402014-06-03 19:35:24 -07006732}
6733
6734a.landing-button,
6735a.landing-button:hover,
6736a.landing-button:visited {
6737 color: white !important;
6738}
6739
6740.landing-video-link {
6741 white-space: nowrap;
6742 display: inline-block;
6743 padding: 16px 32px 16px 82px;
6744 font-size: 18px;
6745 font-weight: 400;
6746 line-height: 24px;
6747 cursor: pointer;
6748 color: hsla(0, 0%, 100%, .8);
6749 -webkit-user-select: none;
6750 -moz-user-select: none;
6751 -o-user-select: none;
6752 user-select: none;
6753 -webkit-transition: .2s color ease-in-out;
6754 -moz-transition: .2s color ease-in-out;
6755 -o-transition: .2s color ease-in-out;
6756 transition: .2s color ease-in-out;
6757}
6758
6759.landing-video-link:before {
6760 height: 64px;
6761 width: 64px;
6762 display: inline-block;
6763 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=);
6764 background-size: contain;
6765 position: absolute;
6766 content: "";
6767 opacity: .7;
6768 margin-top: -19px;
6769 margin-left: -64px;
6770 -webkit-transition: .2s opacity ease-in-out;
6771 -moz-transition: .2s opacity ease-in-out;
6772 -o-transition: .2s opacity ease-in-out;
6773 transition: .2s opacity ease-in-out;
6774}
6775
6776.landing-video-link:hover {
6777 color: hsla(0, 0%, 100%, 1);
6778}
6779
6780.landing-video-link:hover:before {
6781 opacity: 1;
6782}
6783
6784.landing-social-image {
6785 float: left;
6786 margin-right: 14px;
6787 height: 64px;
6788 width: 64px;
6789}
6790
6791.landing-social-copy {
6792 padding-left: 78px;
6793}
6794
6795.landing-scroll-down-affordance {
6796 position: absolute;
6797 bottom: 0;
6798 width: 100%;
6799 text-align: center;
6800 z-index: 10;
6801}
6802
6803.landing-down-arrow {
6804 padding: 24px;
6805 display: inline-block;
6806 opacity: .5;
6807 -webkit-transition: .2s opacity ease-in-out;
6808 -moz-transition: .2s opacity ease-in-out;
6809 -o-transition: .2s opacity ease-in-out;
6810 transition: .2s opacity ease-in-out;
6811
6812 -webkit-animation-name: pulse-opacity;
6813 -webkit-animation-duration: 4s;
6814}
6815
6816.landing-down-arrow:hover {
6817 opacity: 1;
6818}
6819
6820.landing-down-arrow img {
6821 height: 28px;
6822 width: 28px;
6823 margin: 0 auto;
6824 display: block;
6825}
6826
6827.landing-divider {
6828 display: inline-block;
6829 height: 2px;
6830 background-color: white;
6831 position: relative;
6832 margin: 10px 0;
6833}
6834
6835/* 3 CLOLUMN LAYOUT */
6836
6837.landing-breakout {
6838 margin-top: 40px;
6839 margin-bottom: 40px;
6840}
6841
6842.landing-breakout img {
6843 margin-bottom: 20px;
6844}
6845
6846.landing-partners img {
6847 margin-bottom: 20px;
6848}
6849
6850.landing-breakout p {
6851 padding: 0 23px;
6852}
6853
Robert Lye7eeb402014-06-03 19:35:24 -07006854.landing-breakout.landing-partners img {
6855 margin-bottom: 20px;
6856}
6857
6858.col-3-wide {
6859 display: inline;
6860 float: left;
6861 margin-left: 10px;
6862 margin-right: 10px;
6863}
6864
6865.col-3-wide {
6866 width: 302px;
6867}
6868
Robert Lye7eeb402014-06-03 19:35:24 -07006869/**
6870 * ANIMATION
6871 */
6872
6873@-webkit-keyframes pulse-opacity {
6874 0% {
6875 opacity: .5;
6876 }
6877 20% {
6878 opacity: .5;
6879 }
6880 40% {
6881 opacity: 1;
6882 }
6883 60% {
6884 opacity: .5;
6885 }
6886 80% {
6887 opacity: 1;
6888 }
6889 100% {
6890 opacity: .5;
6891 }
6892}
6893
6894
6895
6896/**
6897 * VIDEO
6898 */
6899
6900#video-container {
6901 display:none;
6902 position:fixed;
6903 top:0;
6904 left:-10px;
6905 width:102%;
6906 height:100%;
6907 background-color:rgba(0,0,0,0.7);
6908 z-index:99;
6909}
6910
6911#video-frame {
6912 width:940px;
6913 height:526.4px;
6914 margin:80px auto 0;
6915 display:none;
6916}
6917
6918.video-close {
6919cursor: pointer;
6920position: relative;
6921left: 940px;
6922top: 0;
6923pointer-events: all;
6924}
6925
6926#icon-video-close {
6927background-image: url("../images/close.png");
6928background-position: 0 0;
6929height: 36px;
6930width: 36px;
6931display:block;
6932}
6933
6934
6935
6936
6937/******************
Joe Fernandezfc0f5452014-06-15 14:53:08 -07006938Styles for d.a.c/index:
Robert Lye7eeb402014-06-03 19:35:24 -07006939*******************/
6940
6941
6942
6943/* Generic full screen carousel styling to be used across pages. */
6944.fullscreen-carousel {
6945 margin: 0 -10px;
6946 width: 100%;
6947 overflow: hidden;
6948 position: relative;
6949}
6950
6951.fullscreen-carousel-content {
6952 width: 100%;
6953 height: 100%;
6954 position: relative;
6955 display: table; /* For vertical centering */
6956}
6957
6958.fullscreen-carousel .vcenter {
6959 display: table-cell;
6960 vertical-align: middle;
6961 position: relative;
6962}
6963
6964.fullscreen-carousel .vcenter > div {
6965 margin: 10px auto;
6966}
6967
6968/* Styles for the full-bleed hero image type. */
6969.fullscreen-carousel .hero, .fullscreen-carousel .hero h1 {
6970 color: #fff;
6971}
6972
6973.fullscreen-carousel .hero h1 {
6974 font-weight: 300;
6975 font-size: 60px;
6976 line-height: 68px;
6977 letter-spacing: -1px;
6978 margin-top: 0;
6979}
6980
6981.fullscreen-carousel .hero p {
6982 font-weight: 300;
6983 font-size: 18px;
6984 line-height: 24px;
6985 -webkit-font-smoothing: antialiased;
6986}
6987
6988.fullscreen-carousel .hero .hero-bg {
6989 background-size: cover;
6990 width: 100%;
6991 height: 100%;
6992 position: absolute;
6993 left: 0px;
6994 top: 0px;
6995}
6996
6997
6998/* Full screen carousel styling for the resource flow layout type of content */
6999.fullscreen-carousel .resource-flow-layout:after {
7000 height: 0; /* Dont know why this is set at 10 in default.css */
7001}
7002
7003.fullscreen-carousel .resource-flow-layout {
7004 margin-bottom: 20px;
7005}
7006
7007
7008
7009/* Generic Tab carousel styling to be used across multiple pages. */
7010
7011.tab-carousel .tab-nav {
7012 list-style: none;
7013 position: relative;
7014 text-align: center;
7015}
7016
7017.tab-carousel .tab-nav li {
7018 display: inline-block;
7019 font-size: 22px;
7020 font-weight: 400;
7021 line-height: 50px;
7022 list-style: none;
7023 margin: 0;
7024 padding: 0 25px;
7025 position: relative;
7026}
7027
Joe Fernandezfc0f5452014-06-15 14:53:08 -07007028.tab-carousel .tab-nav li a,
Robert Lye7eeb402014-06-03 19:35:24 -07007029.tab-carousel .tab-nav li a:hover {
7030 color: #333 !important;
7031 padding: 10px 10px 13px 10px;
7032 position: relative;
7033 z-index: 1000;
7034}
7035
7036.tab-carousel .tab-nav li:after {
7037 background: #ddd;
7038 bottom: 0;
7039 content: '';
7040 height: 4px;
7041 left: 0;
7042 position: absolute;
7043 width: 100%;
7044 z-index: 0;
7045}
7046
7047.tab-carousel .tab-nav .highlight {
7048 position: absolute;
7049 height: 4px;
7050 width: 100px;
7051 bottom: 0;
7052 background: #33b5e5;
7053}
7054
7055.tab-carousel .tab-carousel-content {
7056 position: relative;
7057 overflow: hidden;
7058 white-space: nowrap;
7059}
7060
7061.tab-carousel .tab-carousel-content [data-tab] {
7062 display: inline-block;
7063 white-space: normal;
7064}
7065
7066
7067
7068/*
7069 Resource styling for the tab carousel. The tab carousel contains either
7070 a 3 column layout of resources or a single full-width resource. The
7071 latter has the 18x12 class applied to it and can be styled differently
7072 that way.
7073*/
7074
7075.tab-carousel .resource .image {
7076 width: 100%;
7077 height: 250px;
7078 background-repeat: no-repeat;
7079 background-size: contain;
7080 background-position: 50% 50%;
7081}
7082
7083.tab-carousel .resource .info .title {
7084 font-size: 18px;
7085 line-height: 24px;
7086}
7087
7088.tab-carousel .resource .info .summary,
7089.tab-carousel .resource .info .cta {
7090 line-height: 24px;
7091 font-size: 16px;
7092}
7093
7094.tab-carousel .resource-card-18x12 {
7095 position: relative;
7096 padding-left: 450px;
7097 box-sizing: border-box;
7098 display: table-cell;
7099 vertical-align: middle;
7100}
7101
7102.tab-carousel .resource-card-18x12 .image {
7103 position: absolute;
7104 width: 420px;
7105 height: 100%;
7106 left: 0;
7107 top: 0;
7108}
7109
7110.tab-carousel .resource-card-18x12 .info {
7111 display: inline-block;
7112}
7113
7114.tab-carousel .resource-card-18x12 .info .title {
7115 margin-bottom: 26px;
7116}
7117
7118
7119
7120
7121
Joe Fernandezfc0f5452014-06-15 14:53:08 -07007122/*
Robert Lye7eeb402014-06-03 19:35:24 -07007123 Styles for the entity link used in the actions bar and in the cta of
7124 the resources that appear in the tab carousel.
7125*/
7126.actions-bar a:after,
7127.resource .cta:after {
7128 content: '›';
7129 font-weight: 400;
7130 font-size: 22px;
7131 left: 5px;
7132 line-height: 1;
7133 position: relative;
7134 top: 1px;
7135 transition: left 190ms ease-out;
7136}
7137
7138.actions-bar a:hover:after,
7139.resource .cta:hover:after {
7140 left: 10px;
7141}
7142
7143
7144
7145
7146/*
7147 Styles for the actions bar.
7148*/
7149.actions-bar {
7150 background: #9acd00;
7151 margin: 0 -10px;
Robert Lye7eeb402014-06-03 19:35:24 -07007152 text-align: center;
7153}
7154
7155.actions-bar .actions {
7156 padding: 30px 0 30px;
7157 text-align: justify;
7158 font-size: 0.1px;
7159 line-height: 0.1px;
smain@google.comcda1a9a2014-06-19 17:07:46 -07007160 margin: 0 10px 0 0;
Robert Lye7eeb402014-06-03 19:35:24 -07007161}
7162
7163.actions-bar .actions:after {
7164 content: '';
7165 width: 100%;
7166 display: inline-block;
7167}
7168
7169.actions-bar .actions > div {
7170 display: inline-block;
7171}
7172
7173.actions-bar a {
7174 font-size: 21px;
7175 line-height: 27px;
7176 color: #fff;
7177 font-weight: 300;
7178 -webkit-font-smoothing: antialiased;
7179}
7180
7181.actions-bar a:after {
7182 top: 0px;
7183 font-size: 22px;
7184}
7185
7186.actions-bar a:hover {
7187 color: #fff !important;
7188}
7189
7190
7191
7192
7193
Joe Fernandezfc0f5452014-06-15 14:53:08 -07007194/*
Robert Lye7eeb402014-06-03 19:35:24 -07007195 Specific styles for new home page layout of the carousels.
7196*/
7197
7198/* Big blue button */
7199a.home-new-cta-btn,
7200.home-new-carousel-1 .resource-card-18x6 .cta {
7201 white-space: nowrap;
7202 display: inline-block;
7203 padding: 14px 32px;
7204 font-size: 18px;
7205 font-weight: 500;
7206 line-height: 24px;
7207 cursor: pointer;
7208 background: #33b5e6;
7209 border-radius: 4px;
7210 margin-top: 20px;
7211 color: #fff;
7212 transition: 0.2s background-color ease-in-out;
7213}
7214
7215.home-new-carousel-1 .resource-card-18x6 .cta:after {
7216 display: none; /* Hide the entity for this button */
7217}
7218
7219a.home-new-cta-btn:hover,
7220.home-new-carousel-1 .resource-card-18x6 .cta:hover {
7221 color: #fff !important;
7222 background: #2d9fca;
7223}
7224
7225.home-new-carousel-1 .resource-card-18x6 .cta {
7226 position: absolute;
7227 bottom: 20px;
7228 left: 16px;
7229}
7230
7231/* Fullscreen carousel. */
7232.home-new-carousel-1 {
7233 max-height: 700px; /* Set max height so doesn't get too long */
7234 margin-top: 20px;
7235}
7236
7237.home-new-carousel-1 .fullscreen-carousel-content {
7238 min-height: 450px; /* Set min height for all content */
7239}
7240
7241.home-new-carousel-1 .hero {
7242 background: #000;
7243}
7244
7245.home-new-carousel-1 .hero-bg {
7246 background-image: url(/home-new/images/hero.jpg);
7247 background-position: right center;
7248 opacity: 0.85;
7249}
7250
Joe Fernandezfc0f5452014-06-15 14:53:08 -07007251/*
Robert Lye7eeb402014-06-03 19:35:24 -07007252 Styling for special top card of full screen layout resource layout.
7253 We need to specifically style the 18x6 card to adjust its size and layout,
7254 since it's not a standard card, not sure if this is unique to the home page
7255 layout or should be namespaced within the fullscreen-carousel container.
7256*/
7257.home-new-carousel-1 .resource-flow-layout.col-16 .resource-card-18x6 {
7258 height: 334px;
7259}
7260
7261.home-new-carousel-1 .resource-card-18x6 .card-bg {
7262 width: 636px;
7263 height: 100%;
7264}
7265
7266.home-new-carousel-1 .resource-card-18x6 .card-info {
7267 right: 0px;
7268 left: 636px;
7269 height: 100%;
7270 top: 0px;
7271 padding: 15px 22px;
7272}
7273
7274.home-new-carousel-1 .resource-card-18x6 .card-info .util {
7275 display: none;
7276}
7277
7278.home-new-carousel-1 .resource-card-18x6 .card-info .title {
7279 font-size: 20px;
7280 font-weight: 500;
7281 margin-top: 15px;
7282 margin-bottom: 15px;
7283}
7284
7285.home-new-carousel-1 .resource-card-18x6 .card-info .text {
7286 font-size: 15px;
7287 line-height: 21px;
7288}
7289
7290
7291/* Tabbed carousel. */
7292.home-new-carousel-2 {
7293 margin: 35px auto 100px auto;
7294}
7295
7296.home-new-carousel-2 h1 {
7297 font-size: 47px;
7298 font-weight: 100;
7299 line-height: 54px;
7300 text-align: center;
Joe Fernandezfc0f5452014-06-15 14:53:08 -07007301}