yyxx
This commit is contained in:
@@ -1378,6 +1378,180 @@ body.has-modal-open {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.nexus-debug-bug {
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 20px;
|
||||
z-index: 1200;
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 999px;
|
||||
background: color-mix(in srgb, var(--surface) 88%, var(--brand-accent-2) 12%);
|
||||
color: var(--text);
|
||||
box-shadow: 0 18px 40px rgba(1, 22, 32, 0.18);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.nexus-debug-bug svg {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
.nexus-debug-badge {
|
||||
position: absolute;
|
||||
top: -4px;
|
||||
right: -2px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
padding: 0 6px;
|
||||
border-radius: 999px;
|
||||
background: var(--brand-accent-2);
|
||||
color: #07131a;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 700;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.nexus-debug-popup {
|
||||
position: fixed;
|
||||
right: 20px;
|
||||
bottom: 88px;
|
||||
z-index: 1199;
|
||||
width: min(560px, calc(100vw - 32px));
|
||||
max-height: min(70vh, 760px);
|
||||
display: none;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 24px;
|
||||
background: var(--surface);
|
||||
box-shadow: 0 28px 80px rgba(1, 22, 32, 0.24);
|
||||
}
|
||||
|
||||
.nexus-debug-popup.is-open {
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.nexus-debug-popup__head,
|
||||
.nexus-debug-popup__toolbar {
|
||||
padding: 18px 20px;
|
||||
}
|
||||
|
||||
.nexus-debug-popup__head {
|
||||
display: flex;
|
||||
align-items: start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.nexus-debug-popup__head h2 {
|
||||
margin: 8px 0 0;
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.nexus-debug-popup__toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
flex-wrap: wrap;
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.nexus-debug-popup__actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.nexus-debug-popup__body {
|
||||
overflow: auto;
|
||||
padding: 16px 20px 20px;
|
||||
display: grid;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.nexus-debug-empty {
|
||||
padding: 14px 16px;
|
||||
border: 1px dashed var(--line);
|
||||
border-radius: 16px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.nexus-debug-entry {
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 16px;
|
||||
background: color-mix(in srgb, var(--surface) 92%, var(--brand-accent-2) 8%);
|
||||
}
|
||||
|
||||
.nexus-debug-entry summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 12px 14px;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.nexus-debug-entry summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.nexus-debug-entry__meta {
|
||||
color: var(--muted);
|
||||
font-size: 0.82rem;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.nexus-debug-entry pre {
|
||||
margin: 0;
|
||||
padding: 0 14px 14px;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
font-size: 0.84rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
@media (max-width: 720px) {
|
||||
.nexus-debug-bug {
|
||||
right: 14px;
|
||||
bottom: 14px;
|
||||
}
|
||||
|
||||
.nexus-debug-popup {
|
||||
right: 12px;
|
||||
left: 12px;
|
||||
bottom: 82px;
|
||||
width: auto;
|
||||
max-height: 72vh;
|
||||
}
|
||||
|
||||
.nexus-debug-popup__head,
|
||||
.nexus-debug-popup__toolbar,
|
||||
.nexus-debug-popup__body {
|
||||
padding-left: 16px;
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.nexus-debug-entry summary {
|
||||
align-items: start;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.nexus-debug-entry__meta {
|
||||
text-align: left;
|
||||
}
|
||||
}
|
||||
|
||||
.module-box-title {
|
||||
margin: 0;
|
||||
font-size: 1.1rem;
|
||||
|
||||
Reference in New Issue
Block a user