1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
|
/* Copyright 2024 The Chromium Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file. */
/* #css_wrapper_metadata_start
* #type=style-lit
* #import=chrome://resources/cr_elements/cr_shared_vars.css.js
* #import=chrome://resources/cr_elements/cr_icons_lit.css.js
* #import=chrome://resources/cr_elements/cr_shared_style_lit.css.js
* #include=cr-icons-lit cr-shared-style-lit
* #css_wrapper_metadata_end */
:host {
display: block;
height: 100%;
}
cr-icon {
--iron-icon-fill-color: var(--google-grey-700);
flex-shrink: 0;
height: var(--cr-icon-size);
width: var(--cr-icon-size);
}
cr-icon[icon='cr:warning'] {
/* TODO(dbeam): find dark mode equivalent for this orange. */
--iron-icon-fill-color: #ff9800; /* --paper-orange-500 */
}
cr-icon[icon='cr:error'] {
--iron-icon-fill-color: var(--error-color);
}
.section {
padding: 0 var(--cr-section-padding);
}
#heading {
align-items: center;
display: flex;
height: 40px;
margin-bottom: 30px;
padding: 8px 12px 0;
}
#heading span {
flex: 1;
margin: 0 10px;
}
#dev-reload-button {
margin-inline-end: 12px;
}
#errorsList {
min-height: 100px;
}
.error-item {
padding-inline-start: 0;
}
.error-item cr-icon-button {
margin: 0;
}
.error-item.selected {
background-color: rgba(0, 0, 0, 0.08);
}
.error-item .start {
align-items: center;
align-self: stretch; /* Makes the tappable area fill its parent. */
display: flex;
flex: 1;
padding: 0 var(--cr-section-padding);
}
.error-message {
flex-grow: 1;
margin-inline-start: 10px;
word-break: break-word;
}
.devtools-controls {
padding: 0 var(--cr-section-padding);
}
.details-heading {
align-items: center;
display: flex;
height: var(--cr-section-min-height);
}
.stack-trace-container {
list-style: none;
margin-top: 0;
padding: 0;
}
.stack-trace-container li {
cursor: pointer;
font-family: monospace;
padding: 4px;
}
.stack-trace-container li.selected,
.stack-trace-container li:hover {
background: var(--google-blue-100);
color: var(--google-grey-900); /* Same in light & dark modes. */
}
extensions-code-section {
height: 200px;
margin-bottom: 20px;
}
:host-context(.focus-outline-visible) .start:focus {
outline: -webkit-focus-ring-color auto 5px;
}
.start:focus {
outline: none;
}
.context-url {
word-wrap: break-word;
}
|