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