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