blob: 791eccaad3812dca03a8aa5e11e613eb68282548 [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
6pre.prettyprint {
7 padding: 0.5em;
8 overflow: auto;
9 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
10 font-size: 93%;
11}
12
13.role_label {
14 background-color: var(--chops-gray-600);
15 border-radius: 3px;
16 color: var(--chops-white);
17 display: inline-block;
18 padding: 2px 4px;
19 font-size: 75%;
20 font-weight: bold;
21 line-height: 14px;
22 vertical-align: text-bottom;
23}
24
25.date {
26 margin-right: 1em;
27}
28
29.issuedescription pre {
30 margin: 0 8px;
31 padding: 0 8px;
32 max-width: 80em;
33}
34
35.issuecomment pre.issue_text {
36 margin: 4px 8px;
37}
38
39.codefont .issue_text {
40 font-family: monospace;
41 font-size: 12px;
42}
43
44.issuedescription pre, .issuecomment pre {
45 white-space: pre-wrap;
46 white-space: -moz-pre-wrap;
47 white-space: -pre-wrap;
48 white-space: -o-pre-wrap;
49 font-family: var(--chops-font-family);
50}
51
52.issuecomment {
53 margin: 16px 8px;
54}
55
56.issuedescription pre a, .issuecomment pre a {
57 word-wrap: break-word;
58 word-break: break-all;
59}
60
61.closed_ref { text-decoration: line-through }
62.rowmajor { width: 700px; }
63
64.rowmajor th {
65 text-align: right;
66 white-space: nowrap;
67}
68
69@media (min-width: 425px) {
70 #issue-main {
71 display: flex;
72 }
73 #left-part {
74 width: 10%;
75 min-width: 20em;
76 }
77 #right-part {
78 width: 90%;
79 margin: 0;
80 padding: 0;
81 border-bottom: 2px solid var(--chops-page-bg);
82 }
83 #meta-float, .issueheader {
84 position: sticky;
85 z-index: 1;
86 top: var(--monorail-header-height);
87 }
88}
89
90@media (max-width: 840px) {
91 #meta-float, #summary-float {
92 top: 0;
93 }
94}
95
96#left-part {
97 background: var(--monorail-metadata-open-bg);
98 border: var(--chops-normal-border);
99}
100
101.closed_colors #left-part {
102 background: var(--monorail-metadata-closed-bg);
103}
104
105#meta-float th { white-space: nowrap; }
106.labelediting input { margin: 0 3px 4px 0; }
107.labelediting input { color: #060; }
108.collapse .ifExpand { display: none }
109.expand .ifCollapse { display: none }
110.inplace input { width: 100%; }
111.inplace td { border: 0; }
112.issueheader {
113 background: var(--monorail-metadata-open-bg);
114 border: var(--chops-normal-border);
115 padding: 2px;
116 border-left: 0;
117}
118
119.closed_colors .issueheader {
120 background: var(--monorail-metadata-closed-bg);
121}
122
123#flipper-box {
124 float: right;
125 height: 3em;
126 padding: 4px;
127 border-left: var(--chops-normal-border);
128}
129
130#flipper-box div {
131 text-align: center;
132 padding: 3px;
133}
134
135.closed_colors {
136 -: var(--chops-link-color);
137}
138
139.closed_colors td.issueheader, .closed_colors td.issueheader a {
140 background: #888;
141}
142
143#spam_banner {
144 border: 1px solid red;
145 background: var(--chops-red-50);
146 padding: .5em;
147 color: var(--chops-black);
148 margin: 2px;
149}
150
151#spam_banner a {
152 color: var(--chops-link-color);
153}
154
155.issuepage { margin-top: 0; }
156.issuepage td { padding: 2px; }
157.issuecomment {
158 max-width: 80em;
159}
160
161.issuecommentheader {
162 background: var(--chops-card-heading-bg);
163 padding: 2px 3px 3px 3px;
164}
165
166.issuedescription pre, .issuecomment pre {
167 padding-top: 6px;
168}
169
170.issuedescription pre b, .issuecomment pre b {
171 font-size: 110%;
172 font-weight: bolder;
173 padding: 3px 0 3px 0;
174}
175
176.issue_text:focus {
177 outline: 0;
178}
179
180.author { padding-left: 4px; }
181
182.ichcommands a {
183 color: var(--chops-gray-600);
184 text-decoration: none;
185}
186
187.issueheader .ichcommands a {
188 color: #555;
189}
190
191.issuecommentbody:focus {
192 outline: 0;
193}
194
195#issue_meta_details {
196 font-size: 95%;
197 vertical-align: top;
198 padding: 1em 5px 5px 5px;
199}
200
201#meta-float td, #meta-float td div, #meta-float div.widemeta {
202 max-width: 14em;
203 overflow-x: hidden;
204 text-overflow: ellipsis;
205}
206#meta-float td.widemeta, #meta-float td.widemeta div, #meta-float div.widemeta {
207 max-width: 20em;
208}
209
210.meta-floatheader {
211 padding: 0 5px;
212 position: relative;
213 min-width: 14em;
214}
215
216.issueheader a.material-icons {
217 padding: 0 5px;
218 text-decoration: none;
219 color: grey;
220 float: right;
221}
222
223.closed_colors #meta-float {
224 background: var(--monorail-metadata-closed-bg);
225}
226
227#meta-float table td, #meta-float table th {
228 margin: 0;
229 padding: 0;
230 padding-top: 5px;
231}
232
233.rel_issues a { white-space: nowrap; }
234
235.issue_restrictions {
236 padding: 2px 4px;
237 background-color: #fed;
238 min-width: 14em;
239 border: 2px solid var(--chops-white);
240}
241
242.issue_restrictions .restrictions_header {
243 padding: 0 0 2px 0;
244 text-align: center;
245 font-weight: bold;
246}
247
248.issue_restrictions ul {
249 padding: 0 2px;
250 margin: 0;
251 list-style: none;
252}
253
254.issue_restrictions .other_restriction {
255 white-space: nowrap;
256}
257
258.lock_grey {
259 background: no-repeat url(/static/images/lock.png);
260 width: 15px;
261 height: 16px
262}
263
264.updates {
265 background: var(--chops-card-details-bg);
266}
267
268.updates table {
269 width: 100%;
270 font-size: 90%;
271 padding: 4px;
272}
273
274.fakelink {
275 color: var(--chops-link-color);
276 cursor: pointer;
277 white-space: nowrap;
278}
279
280.undef { color: #666; }
281table.advquery {
282 border: var(--chops-card-border);
283 border-radius: var(--chops-radius);
284 box-shadow: var(--chops-shadow);
285}
286
287table.advquery td {
288 white-space: nowrap;
289 padding: 2px;
290}
291
292.focus td { background: var(--chops-card-heading-bg); }
293
294.eg {
295 color: #666;
296 font-size: 90%;
297}
298
299#submit { font-weight: bold; }
300div td .novel { color: #430; }
301div td .blockingsubmit { color: #a03; }
302div td .exclconflict { color: #a03; }
303div td .questionmark { color: #a03; }
304.issuecomment .delcom { background: #e8e8e8; }
305.numberentry { text-align: right; }
306
307.rollovercontrol { display: none; }
308.rolloverzone:hover .rollovercontrol { display: inline; }
309
310td u {
311 margin-left: .3em;
312 color: var(--chops-link-color);
313 cursor: pointer;
314 white-space: nowrap;
315 text-decoration: none;
316}
317
318td u:hover { text-decoration: underline; }
319#peopledetail input { margin-bottom: 2px; }
320#perm_defs { margin-top: 1em; }
321#perm_defs th { text-align:left; }
322
323#perm_defs td {
324 vertical-align:bottom;
325 padding-left: 1em;
326}
327
328.attachments { width:33%; margin-left: .7em;}
329.attachments table {
330 background: var(--chops-card-details-bg);
331 padding: 4px;
332 margin: 8px;
333}
334.attachments table tr td { padding: 0; margin: 0; font-size: 95%; }
335.preview { border: 2px solid #c3d9ff; padding: 1px; }
336.preview:hover { border: 2px solid blue; }
337.label { white-space: nowrap; }
338
339.cursor_on .author {
340 background: url(/static/images/show-arrow.gif) no-repeat 2px;
341}
342
343/* For Popup dialog boxes*/
344
345#update-issues-hotlists, #transfer-ownership-container, #remove-self-container {
346 position: fixed;
347 top: 0;
348 left: 0;
349 width: 100%;
350 height: 100%;
351 background: rgba(0, 0, 0, 0.4);
352 z-index: 10;
353}
354
355#update-issues-hotlists-dialog, #transfer-ownership-dialog, #remove-self-dialog {
356 position: fixed;
357 top: 50%;
358 left: 50%;
359 transform: translate(-50%, -50%);
360 background: var(--chops-white);
361 border: 3px solid #333;
362 padding: 1em;
363 max-height: 75%;
364 width: 75%;
365 max-width: 30em;
366 overflow-y: auto;
367}
368
369/* Issue Peek Feature */
370
371#infobubble {
372 position: absolute;
373 display: none;
374 border: 1px solid #666;
375 padding: 3px 5px 5px 5px;
376 background: #ebeff9;
377}
378
379#peekarea {
380 min-height: 30em;
381 font-size: 95%;
382 background: var(--chops-white);
383}
384
385.perms_EditIssue #peekarea {
386 min-height: 36.4em;
387}
388
389#issuesummary {
390 width: 300px;
391 max-width: 300px;
392 white-space: nowrap;
393 overflow: hidden;
394 text-overflow: ellipsis;
395}
396
397td.rowwidgets { padding: 2px 2px 0 7px; }
398.cursor_on td.rowwidgets {
399 background-image: url(/static/images/show-arrow.gif);
400 background-repeat: no-repeat;
401 background-position: 2px;
402}
403
404.loading {
405 background-image: url(/static/images/spin_16.gif);
406 background-repeat: no-repeat;
407 background-position: 2px;
408 padding: 4px 20px;
409}
410
411#peekheading {
412 background: #ebeff9;
413 font-size:140%;
414 padding:2px 2px 0; overflow-x: hidden;
415 white-space:nowrap;
416}
417
418.peek #meta-float, .peek #issuecomments {
419 height: 28em;
420 max-height: 28em;
421 overflow-y: auto;
422 overflow-x: hidden;
423 scroll: auto;
424}
425
426#hc_controls { float: right; }
427#hc_controls a.paginate { margin-left: 1px; }
428#hc_controls a.close { margin-left: 3px; }
429
430#infobuttons {
431 background: var(--chops-white);
432 /* for IE */
433 filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f1f1f1');
434 /* for webkit browsers */
435 background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f1f1f1));
436 /* for firefox 3.6+ */
437 background: -moz-linear-gradient(top, #fff, #f1f1f1);
438 border-top: 1px solid #ccc;
439 white-space:nowrap;
440}
441
442#infobuttons td {
443 padding: 0;
444}
445
446.custom_field_value_menu {
447 width: 20em;
448}
449
450.enum_checkbox {
451 display: inline-block;
452 width: 24%;
453 white-space: nowrap;
454 overflow: hidden;
455 text-overflow: ellipsis;
456 background: #f8f8f8;
457}
458
459.cue.scrim {
460 position: fixed;
461 z-index: 1;
462 left: 0;
463 top: 0;
464 width: 100%;
465 height: 100%;
466 overflow: auto;
467 background-color: rgb(0,0,0);
468 background-color: rgba(0,0,0,0.4);
469}
470
471#privacy_dialog {
472 background: #fefefe;
473 border: 1px solid #888;
474 border-radius: 4px;
475 margin: 15% auto;
476 padding: 20px;
477 width: 80%;
478 max-width: 40em;
479}
480
481#privacy_dialog .actions {
482 margin-top: 2em;
483 text-align: right;
484 font-weight: bold;
485}
486
487#privacy_dialog .actions a {
488 text-decoration: none;
489 margin-left: 2em;
490}
491
492#show-ranks, #hide-ranks, #add-issue-to-hotlist{
493 color: #555;
494 cursor: pointer;
495}
496
497.rel_issues:hover #show-ranks, #hide-ranks:hover, #add-issue-to-hotlist:hover {
498 text-decoration: underline;
499}
500
501#blocked-scrim {
502 position: fixed;
503 top: 0;
504 left: 0;
505 width: 100%;
506 height: 100%;
507 background: rgba(0, 0, 0, 0.4);
508 z-index: 10;
509}
510
511#blocked-table {
512 position: fixed;
513 top: 50%;
514 left: 50%;
515 transform: translate(-50%, -50%);
516 background: var(--chops-white);
517 border: 3px solid #333;
518 padding: 1em;
519 max-height: 75%;
520 width: 75%;
521 overflow-y: auto;
522}
523
524#blocked-rank {
525 display: table;
526 width: 100%;
527}
528
529#blocked-rank .closed a {
530 text-decoration: line-through;
531}
532
533.drag_item[draggable=true] {
534 position: relative;
535}
536
537.drag_item[draggable=false] {
538 cursor: wait;
539}
540
541.gripper {
542 color: var(--chops-primary-icon-color);
543 cursor: grab;
544 opacity: 0;
545}
546
547.drag_item[draggable=true]:hover .gripper {
548 opacity: 1;
549}
550
551.drag_container th, .drag_container td {
552 padding: 0.5em;
553}
554
555.drag_container th {
556 color: var(--chops-link-color);
557 background: var(--chops-table-header-bg);
558 text-align: left;
559}
560
561.drag_item.top td {
562 border-top: 2px solid #888;
563}
564
565.drag_item.bottom td {
566 border-bottom: 2px solid #888;
567}
568
569.component-suggestion {
570 display: inline-block;
571 cursor: pointer;
572 padding: 0.25em;
573 margin: 0.25em;
574 border: 1px solid #ddd;
575 border-radius: 0.25em;
576 background-color: #e3e9ff;
577}
578
579#preview_filterrules_area {
580 color: #430;
581 margin-top: 1em;
582}
583
584#preview_filterrules_area div {
585 margin-left: 1em;
586}
587
588#preview_filterrules_area div span {
589 font-style: italic;
590 text-decoration-line: underline;
591 text-decoration-style: dotted;
592}
593
594#preview_filterrules_warnings, #preview_filterrules_errors {
595 margin-top: 3px;
596}
597#preview_filterrules_warnings ul, #preview_filterrules_errors ul {
598 margin-top: 0;
599 list-style-type: none;
600}
601
602#preview_filterrules_errors ul {
603 color: red;
604}
605
606#searchtips p {
607 max-width: 60em;
608}