Files
openidea/src/features/run/Run.module.css
T
misswell 89b178f9aa feat(run): a Find entry on every console, not just the Run toolbar (#1764)
Console search exists (⌘F, the magnifier in a Run tab's toolbar), but a console without a
toolbar of its own — a stack-trace tab, say — offered no visible way in: the shortcut only
worked once the output had focus, and nothing said so.

Every uncontrolled ConsoleView now shows a small Find button over the output's top-right
corner, opening the same find bar (query, match count, Enter/Shift+Enter, case and regex
options). Consoles whose find bar a toolbar drives keep exactly one entry: the toolbar's.

How it was verified:
- pnpm vitest run src/features/run/findBar.test.tsx: 9 passed, including a new test that
  the button opens the find bar and focuses its input.
- pnpm typecheck.
2026-11-09 14:29:23 +08:00

1364 lines
24 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
.root {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
}
.tabs {
min-width: 0;
border: 0;
background: none;
}
.panel {
flex: 1;
display: flex;
min-height: 0;
}
.session {
flex: 1;
display: flex;
min-height: 0;
min-width: 0;
}
.toolbar {
flex: none;
width: 32px;
display: flex;
flex-direction: column;
align-items: center;
gap: 2px;
padding: 4px 0;
border-right: 1px solid var(--border);
}
.toolbarSep {
width: 16px;
height: 1px;
margin: 3px 0;
background: var(--border-strong);
}
.sessionBody {
flex: 1;
display: flex;
min-width: 0;
min-height: 0;
}
.testSplit {
flex: 1;
}
.consoleColumn {
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
height: 100%;
}
.notice {
flex: none;
padding: 4px 12px;
font-size: var(--fs-small);
color: var(--fg-subtle);
border-bottom: 1px solid var(--border);
}
.noticeLink {
color: var(--link);
font-size: inherit;
cursor: pointer;
}
.noticeLink:hover {
color: var(--link-hover);
text-decoration: underline;
}
/* Console */
.consoleFindOpen {
position: absolute;
top: 6px;
right: 14px;
z-index: 2;
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
padding: 0;
border: none;
border-radius: 4px;
color: var(--fg-secondary);
background: var(--bg-toolbar);
opacity: 0.6;
}
.consoleFindOpen:hover,
.consoleFindOpen:focus-visible {
opacity: 1;
color: var(--fg-primary);
}
.consoleWrap {
position: relative;
flex: 1;
display: flex;
flex-direction: column;
min-width: 0;
min-height: 0;
}
.console {
flex: 1;
min-height: 0;
overflow: auto;
position: relative;
padding: 4px 0;
font-family: var(--font-mono);
font-weight: var(--fw-code);
font-size: var(--fs-code);
color: var(--fg);
background: var(--bg-app);
-webkit-user-select: text;
user-select: text;
cursor: default;
outline: none;
contain: strict;
}
.consoleInner {
position: relative;
width: 100%;
min-width: max-content;
cursor: text;
}
.wrap .consoleInner {
min-width: 0;
}
.match {
border-radius: 2px;
}
.line {
position: absolute;
top: 0;
left: 0;
min-width: 100%;
padding: 0 12px;
line-height: 20px;
white-space: pre;
tab-size: 4;
}
.wrap .line {
width: 100%;
white-space: pre-wrap;
overflow-wrap: anywhere;
}
.stdout {
color: var(--fg);
}
.stderr {
color: color-mix(in srgb, var(--danger) 88%, var(--fg));
}
.system {
color: var(--fg-subtle);
font-style: italic;
}
.link {
color: var(--link);
text-decoration: underline;
text-decoration-color: color-mix(in srgb, var(--link) 45%, transparent);
text-underline-offset: 2px;
cursor: pointer;
}
.link:hover {
color: var(--link-hover);
text-decoration-color: currentColor;
}
/* Test runner */
.testPane {
display: flex;
flex-direction: column;
height: 100%;
min-width: 0;
border-right: 1px solid var(--border);
}
.testHeader {
flex: none;
display: flex;
align-items: center;
gap: 8px;
height: 28px;
padding: 0 4px 0 10px;
border-bottom: 1px solid var(--border);
font-size: var(--fs-ui);
color: var(--fg-secondary);
}
.testCounts {
display: flex;
gap: 10px;
min-width: 0;
overflow: hidden;
white-space: nowrap;
}
.testTree {
flex: 1;
min-height: 0;
}
.testRow {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
flex: 1;
}
.testName {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.testDuration {
flex: none;
padding-right: 8px;
color: var(--fg-subtle);
font-family: var(--font-mono);
font-size: var(--fs-small);
}
.testEmpty {
padding: 12px;
color: var(--fg-subtle);
font-size: var(--fs-ui);
}
.passed {
color: var(--success);
}
.failed {
color: var(--danger);
}
.skipped {
color: var(--fg-subtle);
}
.spacer {
flex: 1;
}
.kbd {
font-family: var(--font-keys);
color: var(--fg-secondary);
}
/* Title bar widget */
.widget {
display: flex;
align-items: center;
gap: 4px;
}
.widgetChooser {
display: inline-flex;
align-items: center;
gap: 4px;
max-width: 260px;
height: 30px;
border-radius: 6px;
}
.widgetButton {
width: 30px;
height: 30px;
border-radius: 6px;
}
.widgetLoading {
display: inline-flex;
align-items: center;
justify-content: center;
}
.widgetConfigIcon {
position: relative;
display: inline-flex;
flex: none;
}
/* Static, on the icon's top-right corner like IDEA. */
.widgetStatusDot {
position: absolute;
top: -2px;
right: -2px;
width: 7px;
height: 7px;
border-radius: 50%;
background: var(--success);
}
.widgetFilled {
/* Solid buttons need more room between them than the ghost ones. */
margin-inline: 2px;
color: var(--fg-on-accent, white);
}
.widgetFilledRun,
.widgetFilledRun:hover:not(:disabled) {
background: var(--success);
}
.widgetFilledStop,
.widgetFilledStop:hover:not(:disabled) {
background: var(--danger);
}
.widgetStopping {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0;
border: none;
line-height: 0;
background: var(--warning);
color: var(--fg-on-accent);
}
.widgetFilled:hover:not(:disabled) {
filter: brightness(0.94);
}
.widgetName {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.widgetIcon {
color: var(--fg-subtle);
flex: none;
}
.widgetChevron {
color: var(--fg-subtle);
flex: none;
}
.widgetButtons {
display: flex;
align-items: center;
gap: 2px;
}
.widgetRun:not(:disabled) {
color: var(--success);
}
/* Configuration chooser */
.chooser {
width: 340px;
padding: 0 0 4px;
}
.chooserSearch {
padding: 6px 8px;
border-bottom: 1px solid var(--border-popup);
}
.chooserList {
height: 100%;
}
.chooserRow {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
min-width: 0;
}
.chooserIcon {
flex: none;
color: var(--fg-subtle);
}
/* A running configuration: a dot on its icon. */
.chooserRunning {
position: relative;
display: inline-flex;
}
.chooserRunning::after {
content: "";
position: absolute;
right: -2px;
bottom: -1px;
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--success);
box-shadow: 0 0 0 1px var(--bg-popup);
}
.chooserName {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: left;
}
.chooserSelected {
color: var(--fg-strong);
font-weight: 500;
}
.chooserMuted {
flex: none;
color: var(--fg-faint);
font-size: var(--fs-small);
}
.chooserShortcut {
margin-left: auto;
font-family: var(--font-keys);
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.chooserEdit {
color: var(--fg-secondary);
}
/* IDEA draws temporary configurations with a translucent icon. */
.chooserTemporary {
opacity: 0.55;
}
.chooserCaption {
padding: 6px 10px 0;
color: var(--fg-secondary);
font-weight: 500;
}
.chooserMnemonic {
flex: none;
width: 8px;
color: var(--fg-subtle);
font-family: var(--font-keys);
font-size: var(--fs-small);
}
/* IDEA's popup ad text. */
.chooserHint {
padding: 4px 10px 0;
border-top: 1px solid var(--border-popup);
color: var(--fg-faint);
font-size: var(--fs-small);
}
.chooserActions {
display: flex;
margin-right: -4px;
}
.badge {
flex: none;
padding: 0 5px;
border-radius: var(--radius-small);
background: var(--bg-control);
color: var(--fg-muted);
font-size: var(--fs-tiny);
line-height: 16px;
}
/* Edit Configurations dialog */
.editDialog {
max-width: calc(100vw - 48px);
}
.editBody {
display: flex;
height: 100%;
min-height: min(520px, calc(100vh - 200px));
/* A cap, not just a floor: left list and right form scroll on their own
(IDEA), so the panes never grow the dialog body into one shared scroller.
vh − ~104px is what a full-height resized dialog's body can hold anyway. */
max-height: calc(100vh - 120px);
}
.editSidebar {
flex: none;
width: 250px;
min-height: 0;
display: flex;
flex-direction: column;
border-right: 1px solid var(--border-popup);
}
.editToolbar {
flex: none;
display: flex;
gap: 2px;
padding: 4px 6px;
border-bottom: 1px solid var(--border-popup);
}
.editList {
flex: 1;
min-height: 0;
overflow: auto;
padding: 4px 0;
}
.editGroup {
padding: 6px 12px 2px;
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.editItem {
display: flex;
align-items: center;
gap: 8px;
width: 100%;
height: var(--h-row);
padding: 0 12px 0 20px;
color: var(--fg);
font-size: var(--fs-ui);
}
.editItem:hover {
background: var(--bg-hover);
}
.editItemSelected,
.editItemSelected:hover {
background: var(--bg-selected-strong);
color: var(--fg-strong);
}
.editForm {
flex: 1;
min-width: 0;
overflow: auto;
padding: 12px 16px;
display: flex;
flex-direction: column;
gap: 8px;
}
.editFormTomcat {
overflow: hidden;
}
.tomcatTreeIconWrap {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
flex: none;
}
.tomcatTreeErrorBadge {
position: absolute;
right: -3px;
bottom: -3px;
width: 9px;
height: 9px;
border-radius: 50%;
background: var(--danger);
color: var(--fg-on-accent, white);
font-size: 8px;
font-weight: 700;
line-height: 9px;
text-align: center;
pointer-events: none;
}
.editForm > .notice {
border: 1px solid var(--border-popup);
border-radius: var(--radius-small);
margin-bottom: 4px;
}
.field {
display: grid;
grid-template-columns: 120px 1fr;
align-items: center;
gap: 12px;
}
.fieldTop {
align-items: start;
}
.fieldTop .fieldLabel {
padding-top: 4px;
}
.fieldLabel {
color: var(--fg-secondary);
font-size: var(--fs-ui);
}
.fieldControl {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
}
.fieldError {
color: var(--danger);
font-size: var(--fs-small);
}
.editGroupName {
color: var(--fg-strong);
}
.editEmpty {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 6px;
padding: 24px 12px;
color: var(--fg-subtle);
text-align: center;
}
.editFooterLink {
flex: none;
align-self: flex-start;
margin: 8px 12px;
}
/* Below "Edit configuration templates…". */
.editImportLink {
margin-top: 0;
}
.footerRun {
display: inline-flex;
align-items: center;
gap: 8px;
}
.formHeader {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: 16px;
padding-bottom: 10px;
border-bottom: 1px solid var(--border-popup);
}
.formHeaderTomcat {
padding-bottom: 4px;
border-bottom: none;
flex: none;
}
.formHeaderTomcat .field {
grid-template-columns: auto 1fr;
gap: 10px;
max-width: 440px;
}
.storeProjectGroup {
display: inline-flex;
align-items: center;
gap: 6px;
}
.formSection {
display: flex;
align-items: center;
gap: 8px;
}
.formSectionTitle {
flex: 1;
font-weight: 600;
color: var(--fg-strong);
}
.formSection .noticeLink {
display: inline-flex;
align-items: center;
gap: 2px;
}
.inputWithButton {
display: flex;
align-items: center;
gap: 6px;
min-width: 0;
}
.inputWithButton > :first-child {
flex: 1;
min-width: 0;
}
.inputWithButton > button {
flex-shrink: 0;
}
.textarea {
min-height: 72px;
padding: 6px 8px;
resize: vertical;
border: 0;
border-radius: var(--radius-control, 4px);
background: var(--bg-field, var(--bg-button));
box-shadow: inset 0 0 0 1px var(--border-button);
color: var(--fg-strong);
font-family: var(--font-mono);
font-size: var(--fs-ui);
outline: none;
}
.textarea:focus {
box-shadow: inset 0 0 0 1px var(--focus-ring);
}
.textareaInvalid {
box-shadow: inset 0 0 0 1px var(--danger);
}
.taskList {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 4px;
}
.taskList > button:last-of-type {
align-self: flex-start;
}
.taskRow {
display: flex;
align-items: center;
gap: 4px;
min-height: var(--h-row);
}
.taskRow > :first-child {
min-width: 0;
}
.taskRow > .taskLabel,
.taskRow > input {
flex: 1;
}
.taskLabel {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.chip {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 4px 2px 10px;
border-radius: 999px;
background: var(--bg-elev);
color: var(--fg);
font-size: var(--fs-small);
}
.typeNested {
padding-left: 16px;
}
.emptyHints {
text-align: left;
color: var(--fg-subtle);
}
.emptyHints ul {
margin: 4px 0 0;
padding: 0;
list-style: none;
}
.emptyHints li::before {
content: "— ";
}
.envDialog {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px 16px;
}
.envPanel {
display: flex;
flex-direction: column;
border: 1px solid var(--border-popup);
border-radius: var(--radius-small);
}
.envDisabled {
opacity: 0.55;
}
.envGrid {
height: 140px;
overflow: auto;
}
.envHeader,
.envGridRow {
display: grid;
grid-template-columns: 2fr 3fr;
gap: 4px;
align-items: center;
padding: 0 8px;
min-height: var(--h-row);
}
.envHeader {
position: sticky;
top: 0;
background: var(--bg-popup, var(--bg));
color: var(--fg-subtle);
font-size: var(--fs-small);
border-bottom: 1px solid var(--border-popup);
}
.envSystemRow {
color: var(--fg-subtle);
}
.envOverridden {
text-decoration: line-through;
}
.envCell {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-family: var(--font-mono);
font-size: var(--fs-small);
}
.editPreview {
display: flex;
flex-direction: column;
gap: 4px;
margin-top: 8px;
padding: 8px 10px;
border-radius: var(--radius-small);
background: var(--bg-elev);
}
.editPreview code {
font-family: var(--font-mono);
font-size: var(--fs-small);
color: var(--fg);
overflow-wrap: anywhere;
}
.footerError {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--danger);
font-size: var(--fs-ui);
}
/* Editor gutter ▶ run icons */
.runGutter {
width: 14px;
}
.runGutter :global(.cm-gutterElement) {
display: flex;
align-items: center;
justify-content: center;
}
.runMarker {
width: 14px;
height: 14px;
display: flex;
align-items: center;
justify-content: center;
border-radius: var(--radius-small);
cursor: pointer;
}
/* Run dialogs (rerun confirmation, $Prompt$). */
.dialogBody {
display: flex;
flex-direction: column;
gap: 8px;
padding: 12px 16px;
}
/* Folded console lines ("<N internal lines>"). */
.fold {
color: var(--fg-fold-placeholder);
background: var(--bg-fold-placeholder);
border: none;
border-radius: 3px;
padding: 0 6px;
font: inherit;
cursor: pointer;
}
.fold:hover {
color: var(--fg);
}
.foldToggle {
display: inline-flex;
align-items: center;
margin-left: 6px;
padding: 0 2px;
border: none;
border-radius: 3px;
background: none;
color: var(--fg-faint);
vertical-align: middle;
cursor: pointer;
}
.foldToggle:hover {
color: var(--fg);
background: var(--bg-fold-placeholder);
}
/* Typed console input: echoed in the same colour once sent. */
.userInput {
color: var(--ansi-green);
}
.inputCaret {
display: inline-block;
width: 1px;
height: 1.1em;
margin-left: 1px;
vertical-align: text-bottom;
background: transparent;
}
.console:focus .inputCaret {
background: var(--fg);
animation: caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink {
50% {
background: transparent;
}
}
/* "Emulate terminal in output console": the terminal widget fills the console. */
.terminalConsole {
flex: 1;
min-width: 0;
min-height: 0;
padding: 4px 0 0 8px;
background: var(--bg-island);
}
/* Tomcat Server configuration tabs, sections, and Application Servers dialog */
.srOnly {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}
.tomcatContainer {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}
.tomcatTabs {
flex: none;
display: flex;
align-items: center;
gap: 4px;
padding: 2px 0 8px;
border-bottom: 1px solid var(--border-popup);
margin-bottom: 6px;
}
.tomcatScrollArea {
flex: 1;
min-height: 0;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 10px;
padding-right: 4px;
padding-bottom: 8px;
}
.tomcatFormRow {
display: grid;
grid-template-columns: 126px 1fr;
align-items: center;
gap: 10px;
}
.tomcatRowLabel {
color: var(--fg-secondary);
font-size: var(--fs-ui);
white-space: normal;
}
.tomcatSection {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 2px;
}
.tomcatSectionHeader {
display: flex;
align-items: center;
gap: 8px;
color: var(--fg-secondary);
font-size: var(--fs-ui);
font-weight: 500;
}
.tomcatSectionLine {
flex: 1;
height: 1px;
background: var(--border-popup);
}
.tomcatOpenBrowserControls {
display: flex;
align-items: center;
flex-wrap: nowrap;
gap: 8px;
padding-left: 14px;
}
.tomcatBrowserSelect {
width: 124px;
flex: none;
}
.tomcatDotsBtn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 26px;
height: var(--h-control, 24px);
padding: 0;
border-radius: var(--radius-control, 4px);
background: var(--bg-button);
box-shadow: inset 0 0 0 1px var(--border-button);
color: var(--fg);
font-size: var(--fs-ui);
cursor: pointer;
flex: none;
}
.tomcatDotsBtn:hover {
background: var(--bg-hover);
}
.tomcatUrlRow {
display: grid;
grid-template-columns: 40px 1fr;
align-items: center;
gap: 8px;
padding-left: 34px;
}
.tomcatUrlLabel {
color: var(--fg-secondary);
font-size: var(--fs-ui);
}
.tomcatInputInside {
position: relative;
display: flex;
align-items: center;
flex: 1;
min-width: 0;
}
.tomcatInputInside > input {
flex: 1;
min-width: 0;
padding-right: 28px;
}
.tomcatInputInside:has(.tomcatInlineChevronBtn) > input {
padding-right: 52px;
}
.tomcatInlineIconBtn {
position: absolute;
right: 3px;
width: 20px;
height: 20px;
color: var(--fg-subtle);
}
.tomcatInputInside:has(.tomcatInlineChevronBtn) .tomcatInlineIconBtn {
right: 25px;
}
.tomcatInlineChevronBtn {
position: absolute;
right: 3px;
width: 20px;
height: 20px;
color: var(--fg-subtle);
border-left: 1px solid var(--border-button);
border-radius: 0 var(--radius-control, 4px) var(--radius-control, 4px) 0;
}
.tomcatDivider {
flex: none;
height: 1px;
background: var(--border-popup);
margin: 2px 0;
}
.tomcatUpdateRow {
display: flex;
align-items: center;
gap: 14px;
}
.tomcatUpdateSelect {
width: 164px;
max-width: 100%;
}
.tomcatServerSettingsGrid {
display: grid;
grid-template-columns: minmax(220px, 260px) 1fr;
gap: 16px 24px;
align-items: start;
padding-left: 14px;
}
.tomcatPortsCol {
display: flex;
flex-direction: column;
gap: 8px;
}
.tomcatPortField {
display: grid;
grid-template-columns: 90px 1fr;
align-items: center;
gap: 8px;
}
.tomcatFlagsCol {
display: flex;
flex-direction: column;
gap: 10px;
padding-top: 2px;
}
.tomcatWarningBar {
flex: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
padding: 8px 4px 2px;
margin-top: 4px;
border-top: 1px solid var(--border-popup);
background: transparent;
}
.tomcatWarningText {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--warning, var(--fg-strong));
font-size: var(--fs-ui);
font-weight: 500;
}
.appServersBody {
display: flex;
min-height: 360px;
max-height: 480px;
}
.appServersSidebar {
width: 200px;
flex: none;
display: flex;
flex-direction: column;
border-right: 1px solid var(--border-popup);
}
.appServersToolbar {
display: flex;
align-items: center;
gap: 2px;
padding: 4px 6px;
border-bottom: 1px solid var(--border-popup);
}
.appServersToolbarPlain {
display: flex;
align-items: center;
gap: 2px;
padding: 2px 0;
}
.appServersList {
flex: 1;
overflow: auto;
padding: 4px 0;
}
.appServersDetail {
flex: 1;
min-width: 0;
overflow: auto;
padding: 12px 16px;
display: flex;
flex-direction: column;
gap: 8px;
}
.appServerFieldRow {
display: grid;
grid-template-columns: 145px 1fr;
align-items: center;
gap: 10px;
}
.appServerFieldLabel {
color: var(--fg-secondary);
font-size: var(--fs-ui);
white-space: nowrap;
}
.appServersLibs {
flex: 1;
display: flex;
flex-direction: column;
min-height: 140px;
border: 1px solid var(--border-popup);
border-radius: var(--radius-small);
}
.appServersLibTree {
flex: 1;
overflow: auto;
padding: 4px 0;
}
.appServersLibHeader {
display: flex;
align-items: center;
gap: 6px;
padding: 2px 8px;
font-size: var(--fs-ui);
color: var(--fg-secondary);
}
.appServersLibRow {
display: flex;
align-items: center;
gap: 6px;
width: 100%;
padding: 2px 8px 2px 24px;
font-family: var(--font-mono);
font-size: var(--fs-small);
color: var(--fg);
text-align: left;
}
.appServersLibRow:hover {
background: var(--bg-hover);
}
.appServersLibRowSelected,
.appServersLibRowSelected:hover {
background: var(--bg-selected-strong);
color: var(--fg-strong);
}
.tomcatBoxPanel {
display: flex;
flex-direction: column;
min-height: 120px;
border: 1px solid var(--border-popup);
border-radius: var(--radius-small);
}
.tomcatDeployPanel {
min-height: 220px;
}
.tomcatLogsPanel {
min-height: 185px;
}
.tomcatCoveragePanel {
min-height: 110px;
}
.tomcatEnvPanel {
min-height: 130px;
}
.tomcatBoxSmall {
min-height: 76px;
}
.tomcatBoxEmpty {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 24px 12px;
color: var(--fg-subtle);
font-size: var(--fs-ui);
}
.tomcatPlainLabel {
color: var(--fg-secondary);
font-size: var(--fs-ui);
}
.tomcatSaveLogRow {
display: grid;
grid-template-columns: auto 1fr;
align-items: center;
gap: 10px;
}
.tomcatLogHeader,
.tomcatLogRow {
display: grid;
grid-template-columns: 72px 1fr 90px;
align-items: center;
gap: 8px;
min-height: var(--h-row);
padding: 0 10px;
font-size: var(--fs-ui);
}
.tomcatLogHeader {
color: var(--fg-subtle);
font-size: var(--fs-small);
border-bottom: 1px solid var(--border-popup);
}
.tomcatLogRow {
cursor: pointer;
}
.tomcatLogRow:hover {
background: var(--bg-hover);
}
.tomcatLogRowSelected,
.tomcatLogRowSelected:hover {
background: var(--bg-selected-strong);
color: var(--fg-strong);
}
.tomcatLogCheckCell {
display: flex;
align-items: center;
justify-content: center;
}
.tomcatEnvHeader,
.tomcatEnvRow {
display: grid;
grid-template-columns: 1fr 2fr;
align-items: center;
gap: 8px;
min-height: var(--h-row);
padding: 0 10px;
font-size: var(--fs-ui);
}
.tomcatEnvHeader {
color: var(--fg-subtle);
font-size: var(--fs-small);
border-bottom: 1px solid var(--border-popup);
}
.tomcatEnvRow:hover {
background: var(--bg-hover);
}
.tomcatEnvRowSelected,
.tomcatEnvRowSelected:hover {
background: var(--bg-selected-strong);
color: var(--fg-strong);
}
.tomcatRunnerList {
display: flex;
flex-direction: column;
border: 1px solid var(--border-popup);
border-radius: var(--radius-small);
padding: 2px 0;
}
.tomcatScriptRow {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: 10px;
}
.tomcatDebugConnectionSection {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 2px;
}
.tomcatDebugTransportRow {
display: flex;
align-items: center;
gap: 16px;
}
.tomcatDebugPortRow {
display: flex;
align-items: center;
gap: 10px;
}
.tomcatDebugLabel {
width: 72px;
color: var(--fg-secondary);
font-size: var(--fs-ui);
flex: none;
}
.tomcatRadioLabel {
display: inline-flex;
align-items: center;
gap: 6px;
color: var(--fg-subtle);
font-size: var(--fs-ui);
}
.tomcatDebugPortInput {
width: 110px;
}
.tomcatDebugSettingsBtnWrap {
margin-left: auto;
}
.tomcatBeforeLaunchFooter {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 16px;
margin-top: 4px;
}
.tomcatSectionToggle {
display: inline-flex;
align-items: center;
gap: 4px;
color: var(--fg-secondary);
font-size: var(--fs-ui);
font-weight: 500;
cursor: pointer;
}
.addServerDialogBody {
display: flex;
flex-direction: column;
gap: 10px;
padding: 14px 16px;
}
.addServerFieldRow {
display: grid;
grid-template-columns: 145px 1fr;
align-items: center;
gap: 10px;
}
.addServerErrorRow {
display: flex;
align-items: center;
gap: 8px;
color: var(--fg);
font-size: var(--fs-ui);
}
.addServerErrorIcon {
color: var(--danger);
flex: none;
}