blob: c8fc43b44fb711f35918ce32d641e3942c197e3c [file] [log] [blame]
Copybara854996b2021-09-07 19:36:02 +00001/* Copyright 2016 The Chromium Authors. All Rights Reserved.
2 *
3 * Use of this source code is governed by a BSD-style
4 * license that can be found in the LICENSE file or at
5 * https://developers.google.com/open-source/licenses/bsd
6 */
7
8@charset "utf-8";
9
10body {
11 margin: 0 0 3px 0;
12 min-width: 768px;
13}
14
15#monobar {
16 background: var(--chops-primary-header-bg);
17 margin: 0;
18 padding: 0;
19}
20
21#monobar th {
22 white-space: nowrap;
23 vertical-align: middle;
24 font-weight: normal;
25}
26
27.sidebar {
28 background: var(--chops-sidebar-bg);
29 border: var(--chops-normal-border);
30 padding: 4px;
31}
32
33.padded {
34 padding: 4px 1em;
35}
36
37#monobar a#wordmark {
38 font-family: sans-serif;
39 font-variant: small-caps;
40 font-size: 140%;
41 font-weight: bold;
42 font-style: oblique;
43 color: #822;
44 letter-spacing: 1px;
45 text-decoration: none;
46}
47
48#thumbnail_box {
49 background-color: var(--chops-white);
50 vertical-align: middle;
51}
52
53#thumbnail_box a, #thumbnail_box img {
54 display: block;
55}
56
57.toptabs a:link, .toptabs a:visited {
58 color: #444;
59 padding: 0 .5em ;
60 text-decoration: none;
61}
62
63.toptabs a:hover {
64 color: var(--chops-link-color);
65 text-decoration: underline;
66}
67
68.toptabs a.active {
69 font-weight: bold;
70 color: var(--chops-black);
71 text-decoration: none;
72}
73
74#userbar {
75 text-align: right;
76}
77
78#userbar a {
79 color: var(--chops-black);
80}
81
82.subt {
83 background: var(--chops-secondary-header-bg);
84 margin: 0;
85 padding: 4px 1em;
86 border: var(--chops-normal-border);
87 border-width: 1px 0 1px 0;
88}
89
90a:link, a:focus {
91 color: var(--chops-link-color);
92}
93
94a:active {
95 color: red;
96}
97
98input[type="text"] {
99 border-color: #999 #ccc #ccc;
100 border-style: solid;
101 border-width: 1px;
102 padding: 3px 3px;
103}
104
105input[type=button], input[type=reset], input[type=submit], .buttonify {
106 font-size: 100%;
107 background: var(--chops-button-bg);
108 color: var(--chops-button-color) !important;
109
110 padding: 6.1px 10px;
111 margin-right: .6em;
112 border: var(--chops-button-border);
113 border-radius: var(--chops-button-radius);
114 box-shadow: var(--chops-shadow);
115 cursor: pointer;
116 text-decoration: none;
117}
118
119.subt input[type=button], .subt input[type=reset], .subt input[type=submit], .subt .buttonify {
120 padding: 3px 6px;
121}
122
123input[type=submit], input[type=button].primary, a.primary {
124 background: var(--chops-primary-button-bg);
125 color: var(--chops-primary-button-color) !important;
126}
127
128input[type=submit].secondary {
129 background: var(--chops-button-bg);
130 color: var(--chops-button-color) !important;
131}
132
133input[type=submit]:disabled, input[type=button]:disabled {
134 background: var(--chops-button-disabled-bg);
135 color: var(--chops-button-disabled-color) !important;
136}
137
138.button_set {
139 float: right;
140 font-size: 95%;
141 display: flex;
142 margin-left: 2em;
143 margin-bottom: 5px; /* Offsets padding lost by flex+float. */
144}
145
146@-moz-document url-prefix() {
147 .buttonify {
148 padding: 2px 3px 2px 3px;
149 }
150}
151
152input[type=button]:hover, input[type=reset]:hover, input[type=submit]:hover, .buttonify:hover {
153 border-color: #666;
154 text-decoration: none !important;
155}
156
157.choice_chip {
158 padding: 4px 10px;
159 margin-left: 6px;
160 background: var(--chops-choice-bg);
161 color: var(--chops-choice-color);
162 border-radius: 50vh;
163 text-decoration: none;
164}
165
166.active_choice {
167 background: var(--chops-active-choice-bg);
168 color: var(--chops-active-choice-color);
169 font-weight: var(--chops-link-font-weight);
170}
171
172a.choice_chip, a.choice_chip:visited {
173 color: var(--chops-choice-color);
174}
175
176input[type=button]:active, input[type=reset]:active, input[type=submit]:active,
177input.primary:active, .buttonify:active {
178 background: var(--chops-gray-600);
179 color: var(--chops-white) !important;
180}
181
182textarea {
183 border-color: #999 #ccc #ccc;
184 border-style: solid;
185 border-width: 1px;
186}
187
188td td, th th, th td, td th {
189 font-size: 100%;
190}
191
192form {
193 padding: 0;
194 margin: 0;
195}
196
197.hidden {
198 display: none !important;
199}
200
201/* Project tab bar. */
202.gtb {
203 background: var(--chops-white);
204 border-bottom: 1px solid #ccc;
205 padding: 5px 10px 0 5px;
206 white-space: nowrap;
207}
208
209.user_bar {
210 cursor: pointer;
211 float: right;
212 margin: 5px 15px 6px 10px;
213}
214
215.gtb .gtbc {
216 clear: left;
217}
218
219table {
220 border-collapse: separate;
221}
222
223.nowrap { white-space: nowrap; }
224.nowrapspan span { white-space: nowrap; }
225.derived { font-style: italic; }
226
227.bubble_bg {
228 background: #eee;
229 margin-bottom: 0.6em;
230}
231
232.bubble {
233 padding: 4px;
234}
235
236#bub {
237 padding: 0 1px 0 1px;
238}
239
240.bub-top {
241 margin: 0 2px 2px;
242}
243
244.bub-bottom {
245 margin: 2px 2px 0;
246}
247
248.drop-down-bub {
249 font-size: 80%;
250 margin-top: -1px;
251}
252
253
254h4 {
255 color: #222;
256 font-size: 16pt;
257 margin: .4em;
258 padding: 0;
259}
260
261.section {
262 margin: 0 4px 1.6em 4px;
263 padding:4px;
264}
265.section .submit {
266 margin: 8px;
267}
268
269#maincol {
270 padding:4px;
271 background: var(--chops-page-bg);
272}
273
274.isf a, .at a, .isf a:visited, .at a:visited {
275 color: var(--chops-link-color);
276 text-decoration: none;
277}
278
279.at span {
280 margin-right: 1em;
281 white-space: nowrap;
282}
283
284.isf a:hover, .at a:hover {
285 color: var(--chops-link-color);
286 text-decoration: underline;
287}
288
289.at {
290 padding-top: 6px;
291 padding-bottom: 3px;
292}
293
294.st1 .inst1 a,
295.st2 .inst2 a,
296.st3 .inst3 a,
297.st4 .inst4 a,
298.st5 .inst5 a,
299.st6 .inst6 a,
300.st7 .inst7 a,
301.st8 .inst8 a,
302.st9 .inst9 a {
303 color: var(--chops-black);
304 font-weight: bold;
305 text-decoration: none;
306}
307
308.notice, .error {
309 font-weight: bold;
310 padding: 4px 16px;
311 border-radius: 4px;
312}
313
314.notice {
315 background: var(--chops-notice-bubble-bg);
316}
317
318.error {
319 background: var(--chops-error-bubble-bg);
320}
321
322.adminonly {
323 color: #a00;
324 font-style: italic;
325}
326
327.fielderror {
328 color: var(--chops-field-error-color);
329 font-weight: bold;
330 padding: 4px;
331}
332
333.tip, .help {
334 background: var(--chops-help-bubble-bg);
335 font-size: 92%;
336 margin: 5px;
337 padding: 6px;
338 border-radius: 6px;
339}
340
341.tip {
342 width: 14em;
343}
344
345.help {
346 width: 44em;
347}
348
349.x_icon::before {
350 content: "\00D7";
351}
352
353.x_icon {
354 text-decoration: none;
355 font-size: 130%;
356 color: #444 !important;
357 padding: 0 2px;
358 vertical-align:middle;
359}
360
361.x_icon:active {
362 color: var(--chops-white) !important;
363 background: #444;
364}
365
366/* Google standard */
367.gbh {
368 border-top: 1px solid #C9D7F1;
369 font-size: 1px;
370 height: 0;
371 position: absolute;
372 top: 24px;
373 width: 100%;
374}
375
376#pname {
377 font-size:300%;
378 margin: 0;
379 padding: 0;
380}
381
382#pname a,
383#pname a:visited {
384 text-decoration:none;
385 color: #666;
386}
387
388#project_summary_link {
389 text-decoration: none;
390 color: #444;
391}
392
393.vt td,
394.vt th,
395.vt {
396 vertical-align: top;
397}
398
399.indicator {
400 font-size: x-small;
401 color: var(--chops-link-color);
402}
403
404div.h4, table.h4 {
405 background-color: var(--chops-secondary-header-bg);
406 margin-bottom: 2px;
407 padding: 2px;
408 font-weight: bold;
409 position: relative;
410 margin-top: 2px;
411}
412
413.mainhdr {
414 background-color: #ebeff9;
415 border-bottom: 1px solid #6b90da;
416 font-weight: bold;
417 font-size: 133%;
418 padding: 2px;
419}
420
421.secondaryhdr {
422 background-color: #eee;
423 padding: 10px;
424 border-bottom: 1px solid #ddd;
425 border-left: 1px solid #ddd;
426 border-right: 1px solid #ddd;
427}
428
429h1 {
430 font-size: x-large;
431 margin-top: 0px;
432}
433
434h2 {
435 font-size: large;
436}
437
438h3 {
439 font-size: medium;
440 background: #eee;
441 padding: 0.5ex 0.5em 0.5ex 0.5em;
442 margin-right: 2em;
443}
444
445img {
446 border: 0;
447}
448
449#user_bar {
450 text-align: right;
451 margin-bottom: 10px;
452}
453
454#user_bar a {
455 color: var(--chops-link-color);
456 text-decoration: none;
457}
458
459#header {
460 position: relative;
461 height: 55px;
462 padding-top: 6px;
463 margin-bottom: -9px;
464}
465
466#title {
467 margin-left: 171px;
468 background-color: #eee;
469 font-size: large;
470 font-weight: bold;
471 padding-left: 3px;
472 padding-top: 1px;
473 padding-bottom: 1px;
474}
475
476.label { text-decoration: none; color: green !important; }
477.label:hover { text-decoration: underline; }
478
479.fieldvalue { text-decoration: none; }
480.fieldvalue:hover { text-decoration: underline; }
481
482.fieldvalue_url {
483 text-overflow: ellipsis;
484 white-space: nowrap;
485 overflow: hidden;
486}
487.fieldvalue_url:after {
488 content: "\A";
489 white-space: pre;
490}
491
492#colcontrol {
493 padding: 5px;
494}
495
496.cue {
497 margin-top: -4px;
498 padding: 1px;
499 background: var(--chops-notice-bubble-bg);
500 border: 1px solid #f0c36d;
501}
502.cue td span {
503 font-size: 85%;
504 text-align: center;
505 padding: 0 1em;
506}
507
508.results tr td { border-bottom: var(--chops-table-divider); }
509.resultstable tr td { border-bottom: var(--chops-table-divider); }
510
511.results th, .results_lite th {
512 background: var(--chops-table-header-bg);
513 text-align: left;
514 padding: 3px;
515 border: 0;
516 border-right: 1px solid var(--chops-white);
517}
518.results th:last-child { border-right: 0; }
519
520.results th a, .results th a:visited {
521 color: var(--chops-link-color);
522 padding-right: 4px;
523 margin-right: 4px;
524}
525.results td { cursor: pointer }
526.results td { padding: 6px; }
527.results td a { color: var(--chops-black); text-decoration: none; }
528#project_list .results td { padding: 18px; }
529#project_list table.results td.id { text-align: left; }
530
531.results td.id a,
532.results td.project a,
533.results td.url a { color: var(--chops-link-color); white-space: nowrap; }
534.results td.id a:visited,
535.results td.project a:visited,
536.results td.url a:visited { color: purple; }
537.results td.id a:hover, .results td.project a:hover, .results td.url a:hover { color: red; text-decoration: underline; }
538table.results .hoverTarget:hover a { color: #009; }
539.results .label { font-size: 80% }
540.results .selected { background-color: var(--chops-selected-bg); }
541.results td tt { color: #999; font-style: italic; font-weight: bold; }
542.results .displayproperties { font-size: 80%; color: #666; }
543
544.results .grid .gridtile tr { border: 0; }
545.results .grid .gridtile td { border: 0; }
546
547.comptable.all .comprow { display: table-row; }
548.comptable.active .comprow { display: none; }
549.comptable.active .comprow.active { display: table-row; }
550.comptable.toplevel .comprow { display: none; }
551.comptable.toplevel .comprow.toplevel { display: table-row; }
552.comptable.toplevel .comprow.toplevel.deprecated { display: none; }
553.comptable.myadmin .comprow { display: none; }
554.comptable.myadmin .comprow.myadmin { display: table-row; }
555.comptable.mycc .comprow { display: none; }
556.comptable.mycc .comprow.mycc { display: table-row; }
557.comptable.deprecated .comprow { display: none; }
558.comptable.deprecated .comprow.deprecated { display: table-row; }
559
560/* The revision flipper. */
561.flipper { font-family: monospace; font-size: 120%; }
562.flipper ul { list-style-type: none; padding: 0; margin: 0em 0.3em; }
563.flipper b { margin: 0em 0.3em; }
564
565.closed .ifOpened { display: none }
566.closed .opened span.ifOpened { display: inline }
567.opened .ifClosed { display: none }
568.opened .closed span.ifClosed { display: inline }
569
570a.star {
571 text-decoration: none;
572 cursor: pointer;
573 display: inline-block;
574 font-size: 18px;
575}
576
577a.spamflag {
578 text-decoration: none;
579 cursor: pointer;
580}
581
582.h3 {
583 font-size: 130%;
584 font-weight: bolder;
585}
586input { padding-left: 1px; padding-right: 1px; }
587textarea { padding-left: 1px; padding-right: 1px; }
588
589.pagination { font-size: 100%; float: right; white-space: nowrap; }
590.pagination a { margin-left: 0.3em; margin-right: 0.3em; }
591
592.author { margin-bottom: 1em; }
593
594#searchtips { padding-left: 2em; }
595#searchtips p { margin-left: 2em; }
596
597.issueList .inIssueList span,
598.issueAdvSearch .inIssueAdvSearch a,
599.issueSearchTips .inIssueSearchTips a {
600 font-weight: bold;
601 text-decoration: none;
602 color: var(--chops-black);
603}
604
605iframe[frameborder="1"] {
606 border: 1px solid #999;
607}
608
609/* For project menu */
610.menuDiv {
611 margin-top: 5px;
612 border-color: #C9D7F1 #3366CC #3366CC #A2BAE7;
613 border-style: solid;
614 border-width: 1px;
615 z-index: 1001;
616 padding: 0;
617 width: 175px;
618 background: var(--chops-white);
619 overflow: hidden;
620}
621.menuDiv .menuText {
622 padding: 3px;
623 text-decoration: none;
624 background: var(--chops-white);
625}
626.menuDiv .menuItem {
627 color: var(--chops-link-color);
628 padding: 3px;
629 text-decoration: none;
630 background: var(--chops-white);
631}
632.menuDiv .menuItem:hover {
633 color: var(--chops-white);
634 background: #3366CC;
635}
636.menuDiv .categoryTitle {
637 padding-left: 1px;
638}
639.menuDiv .menuCategory,
640.menuDiv .categoryTitle {
641 margin-top: 4px;
642}
643.menuDiv .menuSeparator {
644 margin: 0 0.5em;
645 border: 0;
646 border-top: 1px solid #C9D7F1;
647}
648
649.hostedBy {
650 text-align: center;
651 vertical-align: center;
652}
653
654.fullscreen-popup {
655 position: fixed;
656 right: 4%;
657 left: 4%;
658 top: 5%;
659 max-height: 90%;
660 opacity: 0.85;
661 -moz-opacity: 0.85;
662 -khtml-opacity: 0.85;
663 filter: alpha(opacity=85);
664 -moz-border-radius: 10px;
665
666 background: var(--chops-black);
667 color: var(--chops-white);
668 text-shadow: var(--chops-black) 1px 1px 7px;
669
670 padding: 1em;
671 z-index: 10;
672 overflow-x: hidden;
673 overflow-y: hidden;
674}
675
676/* Make links on this dark background a lighter blue. */
677.fullscreen-popup a {
678 color: #dd0;
679}
680
681div#keys_help th {
682 color: yellow;
683 text-align: left;
684}
685
686div#keys_help td {
687 font-weight: normal;
688 color: var(--chops-white);
689}
690
691td.shortcut {
692 text-align: right;
693}
694
695span.keystroke {
696 color: #8d0;
697 font-family: monospace;
698 font-size: medium;
699}
700
701.list {
702 background-color:var(--chops-white);
703 padding: 5px;
704}
705
706.list-foot {
707 background-color:var(--chops-white);
708 padding: 5px;
709 height: 20px;
710}
711
712.graytext {
713 color: #666;
714}
715
716.vspacer {
717 margin-top: 1em;
718}
719
720.hspacer {
721 margin-right: 1em;
722}
723
724.emphasis {
725 font-weight: bold;
726}
727
728.formrow {
729 vertical-align: top;
730 padding-bottom: .569em;
731 white-space: nowrap;
732 overflow: hidden;
733 padding-top: .2em;
734}
735
736.forminline {
737 display: inline-block;
738 vertical-align: top;
739}
740
741.formlabelgutter {
742 margin-top: 0.3em;
743 text-align: right;
744 vertical-align: top;
745 white-space: normal;
746 width: 13em;
747}
748
749.formlabel {
750 font-weight: bold;
751 text-align: right;
752}
753
754.forminputgutter {
755 margin-top: 0.3em;
756 text-align: left;
757 vertical-align: top;
758 white-space: normal;
759 width: 36em;
760}
761
762.forminput {
763 width: 100%;
764}
765
766.formshortinput {
767 width: 11em;
768}
769
770.formselectgutter {
771 margin-top: 0.3em;
772 text-align: left;
773 vertical-align: top;
774 white-space: normal;
775 width: 18em;
776}
777
778.formselect {
779 width: 18em;
780}
781
782.formqm {
783 margin-left: 0.25em;
784 margin-right: 0.25em;
785}
786
787.formerror {
788 color: #a00;
789 display: block;
790 text-align: left;
791}
792
793.tablerow {
794 vertical-align: top;
795 padding-bottom: .569em;
796 white-space: nowrap;
797 overflow: hidden;
798 padding-top: .2em;
799}
800
801.tablelabelgutter {
802 margin-top: 0.3em;
803 text-align: left;
804 vertical-align: top;
805 white-space: normal;
806 width: 10em;
807}
808
809.tablelabel {
810 font-weight: bold;
811 text-align: left;
812}
813
814/* Gecko */
815html>body .goog-inline-block {
816 display: -moz-inline-box; /* This is ignored by FF3 and later*/
817 display: inline-block; /* This is ignored by pre-FF3 Gecko */
818}
819
820/* Default rule */
821.goog-inline-block {
822 position: relative;
823 display: inline-block;
824}
825
826/* Pre-IE7 */
827* html .goog-inline-block {
828 display: inline;
829}
830
831/* IE7 */
832*:first-child+html .goog-inline-block {
833 display: inline;
834}
835
836#popular {
837 border: solid silver;
838 border-width: 1px 0 1px 0;
839 padding: 0.3em;
840 width: 40em;
841}
842
843#popular table {
844 width: 40em;
845}
846
847#popular td {
848 padding: 2px;
849 white-space: nowrap;
850}
851
852#intro {
853 background:#ada;
854 margin: 3em;
855 width: 52em;
856}
857
858.userlink_avail {
859 display: inline-block;
860 white-space: nowrap;
861}
862
863.availability_none {
864 font-weight: bold;
865 color: #FF1744;
866}
867
868.availability_unsure {
869 font-weight: bold;
870 color: #EF6C00;
871}
872
873.availability_never {
874 font-weight: bold;
875 color: #6A1B9A;
876}
877
878.availability_banned {
879 font-weight: bold;
880 color: var(--chops-black);
881}
882
883/* Just for screen readers. */
884.visually_hidden {
885 border: 0;
886 clip: rect(0 0 0 0);
887 height: 1px;
888 margin: -1px;
889 overflow: hidden;
890 padding: 0;
891 position: absolute;
892 width: 1px;
893}
894
895.not_styled_as_heading {
896 font-size: inherit !important;
897 font-weight: inherit !important;
898 display: inline !important;
899 background: inherit !important;
900 border: none !important;
901 padding: 0 !important;
902 margin: 0 !important;
903}
904
905/* Launch gates table. */
906
907#launch-gates-table {
908 border-collapse: collapse;
909}
910#launch-gates-table td, #launch-gates-table th {
911 border: 1px solid #ddd;
912 padding: 4px;
913}
914#launch-gates-table tr:nth-child(even){background-color: #f2f2f2;}
915
916#launch-gates-table th {
917 text-align: left;
918 background-color: #6ec5ff;
919}
920
921input.unlink_account, input.incoming_invite {
922 font-size: 80%;
923}