Files
openidea/src/features/run/Run.module.css
T
l0ng-ai 4bb22df1fb fix(run): show before-launch tasks as ordered tags (#5261)
Show before-launch tasks as compact tags numbered in execution order. Tags wrap within the configuration form, and each task has a remove button and a menu for moving it up or down. Shell commands stay editable in place.
2026-11-23 09:14:10 +08:00

1749 lines
33 KiB
CSS

.root {
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
min-width: 0;
}
.scriptsRow {
display: flex;
align-items: center;
gap: var(--space-1);
min-width: 0;
}
.scriptsStrong {
font-weight: 500;
}
.scriptsMeta {
flex: none;
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.tabs {
min-width: 0;
border: 0;
background: none;
}
/* Archived agent tabs (`run_command`), after the run tabs. */
.agentArchive {
display: flex;
flex: none;
align-items: center;
gap: var(--space-1);
height: 22px;
margin: 0 4px;
padding: 0 6px;
border: 0;
border-radius: var(--radius-small);
background: none;
color: var(--fg-muted);
font: inherit;
cursor: pointer;
}
.agentArchive:hover {
background: var(--bg-hover);
}
.agentArchive[data-active] {
color: var(--accent);
}
.agentArchiveCount {
font-size: var(--fs-small);
}
.panel {
flex: 1;
display: flex;
min-height: 0;
}
.session {
flex: 1;
display: flex;
min-height: 0;
min-width: 0;
}
.topToolbarSession {
flex-direction: column;
}
.toolbar {
flex: none;
width: 32px;
display: flex;
flex-direction: column;
align-items: center;
gap: var(--space-0-5);
padding: 4px 0;
border-right: 1px solid var(--border);
min-height: 0;
/* A pane shorter than the buttons (the Services detail) scrolls them with the wheel
instead of growing the pane and adding a second scrollbar. */
overflow-y: auto;
scrollbar-width: none;
}
.toolbar::-webkit-scrollbar {
display: none;
}
.toolbarGroup {
display: flex;
flex: none;
flex-direction: inherit;
align-items: center;
gap: var(--space-0-5);
max-width: 100%;
}
.toolbarGroup + .toolbarGroup::before {
content: "";
width: 16px;
height: 1px;
margin: 3px 0;
background: var(--border-strong);
}
.topToolbarSession .toolbar {
width: auto;
flex-direction: row;
flex-wrap: wrap;
gap: var(--space-0-5) var(--space-2);
padding: var(--space-0-5) var(--space-1);
border-right: none;
border-bottom: 1px solid var(--border);
}
.topToolbarSession .toolbarGroup {
flex-wrap: wrap;
}
.topToolbarSession .toolbarGroup::before {
display: none;
}
.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-elev);
opacity: 0.6;
}
.consoleFindOpen:hover,
.consoleFindOpen:focus-visible {
opacity: 1;
color: var(--fg-strong);
}
.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 var(--space-3);
line-height: inherit;
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;
}
.testToolbar,
.testStatusBar {
flex: none;
display: flex;
align-items: center;
min-height: 28px;
border-bottom: 1px solid var(--border);
}
.testToolbar {
flex-wrap: wrap;
gap: var(--space-1);
padding: var(--space-0-5) var(--space-1);
}
.testFilters {
display: flex;
gap: var(--space-0-5);
padding-inline-end: var(--space-1);
border-inline-end: 1px solid var(--border);
}
.testStatusBar {
gap: var(--space-2);
padding: var(--space-0-5) var(--space-2);
border-block-end-width: var(--space-0-5);
font-size: var(--fs-ui);
color: var(--fg-secondary);
}
.testStatusBar[data-outcome="passed"] {
border-block-end-color: var(--success);
}
.testStatusBar[data-outcome="skipped"] {
border-block-end-color: var(--warning);
}
.testStatusBar[data-running] {
border-block-end-color: var(--accent);
}
.testStatusBar[data-outcome="failed"] {
border-block-end-color: var(--danger);
}
.testCounts {
display: flex;
flex-wrap: wrap;
gap: var(--space-0-5) var(--space-2);
min-width: 0;
white-space: nowrap;
}
.testStatus {
flex: none;
}
.testTotalDuration {
color: var(--fg-subtle);
font-variant-numeric: tabular-nums;
}
.testTree {
flex: 1;
min-height: 0;
}
.testRow {
display: flex;
align-items: center;
gap: var(--space-1-5);
min-width: 0;
flex: 1;
}
.testRow .testStatus {
width: var(--oi-tree-icon-size, 16px);
height: var(--oi-tree-icon-size, 16px);
}
.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-size: var(--fs-small);
font-variant-numeric: tabular-nums;
}
.testTree [aria-selected="true"] .testDuration {
color: var(--fg);
}
.testEmpty {
padding: 12px;
color: var(--fg-subtle);
font-size: var(--fs-ui);
}
.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;
min-width: 0;
gap: var(--space-1);
}
.widgetChooser {
min-width: 0;
display: inline-flex;
align-items: center;
gap: var(--space-1);
max-width: 260px;
height: var(--h-toolbar-widget);
border-radius: var(--radius-toolbar-dropdown);
}
.widgetDevice {
composes: widgetChooser;
max-width: 180px;
}
.widgetButton {
width: var(--titlebar-tool-button);
height: var(--titlebar-tool-button);
border-radius: var(--radius-toolbar-button);
}
.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;
}
/* Stays the red Stop button, like IDEA. White is too faint on the dark theme's --danger. */
.widgetStopping svg {
color: var(--bg-elev);
}
.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 {
flex: none;
display: flex;
align-items: center;
gap: var(--space-0-5);
}
.widgetRun:not(:disabled) {
color: var(--success);
}
/* Configuration chooser */
.chooser {
display: flex;
flex-direction: column;
overflow: hidden;
padding-block-end: var(--space-1);
}
.chooserSearch {
flex: none;
padding: 6px 8px;
border-bottom: 1px solid var(--border-popup);
}
.chooserViewport {
min-height: 0;
}
.chooserList {
height: 100%;
overflow-x: hidden;
}
.chooserRow {
display: flex;
align-items: center;
gap: var(--space-1-5);
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 {
min-width: 0;
max-width: 35%;
overflow: hidden;
text-overflow: ellipsis;
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 {
flex: none;
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 {
flex: none;
padding: 4px 10px 0;
border-top: 1px solid var(--border-popup);
color: var(--fg-faint);
font-size: var(--fs-small);
}
.chooserActions {
display: flex;
flex: none;
margin-right: -4px;
}
.chooserSeparator {
flex: 1;
height: 1px;
margin: 0 4px;
background: var(--border-popup);
}
/* IDEA: the number of configurations after "All Configurations". */
.chooserCount {
margin-left: 6px;
color: var(--fg-faint);
}
.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);
}
.editDialog [data-dialog-body] {
display: flex;
flex-direction: column;
}
.editBody {
display: flex;
flex: 1 1 auto;
height: min(520px, calc(100vh - 200px));
min-height: 0;
}
.editSplit {
flex: 1;
}
.editSidebar {
container: run-config-navigation / inline-size;
min-height: 0;
display: flex;
flex-direction: column;
}
.editDetails {
container: run-config-content / inline-size;
}
.editToolbar {
flex: none;
display: flex;
gap: var(--space-0-5);
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: var(--space-2);
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);
}
.editTarget {
flex: 0 1 auto;
min-width: 0;
max-width: 25%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.editItem .failed {
flex: none;
}
@container run-config-navigation (max-width: 220px) {
.editItem .chooserMuted {
display: none;
}
}
.editForm {
flex: 1;
min-width: 0;
min-height: 0;
overflow: auto;
padding: 12px 16px;
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.configFields {
flex: 1;
min-height: 0;
display: grid;
grid-template-columns: fit-content(40%) minmax(0, 1fr);
grid-template-rows: [notice] auto [header] auto [options] minmax(0, 1fr);
column-gap: var(--space-3);
min-width: 0;
}
.configFields > *,
.formSettings > * {
grid-column: 1 / -1;
min-width: 0;
}
.configFields > .notice {
grid-row: notice;
}
.configFields:not(.configFieldsTomcat) > .notice,
.configFields:not(.configFieldsTomcat) > .formHeader {
margin-bottom: var(--space-2);
}
.configFields:not(.configFieldsTomcat) > .formHeader,
.configFields:not(.configFieldsTomcat) > .formHeader > .field,
.formSettings > .field {
grid-template-columns: subgrid;
}
.formSettings {
display: grid;
grid-row: options;
grid-template-columns: subgrid;
row-gap: var(--space-2);
align-content: start;
overflow: auto;
}
.formHeader > .field {
grid-column: 1 / -1;
}
.editFormTomcat {
overflow: hidden;
}
.configFieldsTomcat {
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.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: fit-content(40%) minmax(0, 1fr);
align-items: start;
column-gap: var(--space-3);
row-gap: var(--space-1);
min-width: 0;
}
.fieldTop {
align-items: start;
}
.fieldTop .fieldLabel {
padding-top: 4px;
}
.fieldLabel {
color: var(--fg-secondary);
font-size: var(--fs-ui);
padding-top: max(0px, calc((var(--h-field) - 1.4em) / 2));
overflow-wrap: anywhere;
}
.fieldControl {
display: flex;
flex-direction: column;
gap: var(--space-1);
min-width: 0;
}
.fieldControl > * {
max-width: 100%;
}
.fieldControl > span {
overflow-wrap: anywhere;
}
.fieldError {
color: var(--danger);
font-size: var(--fs-small);
}
.editGroupName {
color: var(--fg-strong);
font-weight: 600;
}
.editEmpty {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: var(--space-1-5);
padding: 24px 12px;
color: var(--fg-subtle);
text-align: center;
}
.editFooterLink {
flex: none;
align-self: flex-start;
margin: 8px 12px;
max-width: calc(100% - 24px);
text-align: left;
overflow-wrap: anywhere;
}
/* Below "Edit configuration templates…". */
.editImportLink {
margin-top: 0;
}
.footerRun {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-2);
min-width: 0;
}
.formHeader {
display: grid;
grid-row: header;
grid-template-columns: minmax(0, 1fr);
align-items: center;
gap: var(--space-4);
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;
}
.nameControl {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-2) var(--space-4);
min-width: 0;
}
.nameControl > input {
flex: 1 1 160px;
min-width: 0;
}
.storeProjectGroup {
display: inline-flex;
align-items: center;
gap: var(--space-1-5);
min-width: 0;
}
.formSection {
display: flex;
align-items: center;
gap: var(--space-2);
}
.formSectionTitle {
flex: 1;
font-weight: 600;
color: var(--fg-strong);
min-width: 0;
}
.formSection .noticeLink {
display: inline-flex;
align-items: center;
gap: var(--space-0-5);
}
.inputWithButton {
display: flex;
align-items: center;
gap: var(--space-1-5);
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;
}
.textareaWithButton {
display: flex;
align-items: flex-start;
gap: var(--space-1-5);
min-width: 0;
}
.textareaWithButton > textarea {
flex: 1;
min-width: 0;
}
.textareaWithButton > button {
flex-shrink: 0;
}
/* One visual line per line of text: a long argument scrolls instead of wrapping. */
.expandedTextarea {
width: 100%;
height: 100%;
min-height: 160px;
box-sizing: border-box;
resize: none;
white-space: pre;
overflow: auto;
}
.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: var(--space-1);
}
.taskList > button:last-of-type {
align-self: flex-start;
}
.taskRow {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: var(--space-1);
min-height: var(--h-row);
}
.taskRow > :first-child {
min-width: 0;
}
.beforeLaunchTasks {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--space-1);
}
.taskTag {
display: inline-flex;
align-items: center;
gap: var(--space-1);
min-width: 0;
max-width: 100%;
min-height: var(--h-list-row);
padding-inline: var(--space-2) var(--space-1);
border-radius: var(--radius-small);
background: var(--bg-elev);
color: var(--fg);
font-size: var(--fs-ui);
}
.taskName {
display: inline-flex;
align-items: center;
gap: var(--space-1);
min-width: 0;
min-height: var(--h-list-row);
text-align: start;
}
.taskName:hover {
color: var(--fg-strong);
}
.taskOrder {
flex: none;
color: var(--fg-muted);
}
.taskTag .taskCommand {
width: 24ch;
height: var(--h-control-small);
}
.taskLabel {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.chips {
display: flex;
flex-wrap: wrap;
gap: var(--space-1-5);
}
.chip {
display: inline-flex;
align-items: center;
gap: var(--space-1);
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: "— ";
}
.envWindow {
height: 500px;
}
.envWindow > [data-dialog-body] {
display: flex;
flex-direction: column;
}
.envDialog {
display: flex;
flex: 1;
flex-direction: column;
min-height: 0;
gap: var(--space-2);
padding: var(--space-3) var(--space-4);
}
.envPanel {
display: flex;
flex: 1;
flex-direction: column;
min-height: calc(var(--h-row) * 3 + var(--space-3));
overflow: hidden;
border: 1px solid var(--border-popup);
border-radius: var(--radius-small);
}
.envDisabled {
opacity: 0.55;
}
.envGrid {
flex: 1;
min-height: 0;
overflow: auto;
scrollbar-gutter: stable;
scroll-padding-top: var(--h-row);
}
.envHeader,
.envGridRow {
display: grid;
grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
gap: var(--space-1);
align-items: center;
padding: 0 var(--space-2);
min-height: var(--h-row);
}
.envHeader {
position: sticky;
top: 0;
z-index: 1;
background: var(--bg-popup);
color: var(--fg-subtle);
font-size: var(--fs-ui);
border-bottom: 1px solid var(--border-popup);
}
.envGridRow input {
width: 100%;
height: var(--h-row);
}
.envGridRow input:focus-visible {
box-shadow: inset 0 0 0 1px var(--focus-ring);
border-radius: var(--radius-small);
}
.envError {
color: var(--danger);
font-size: var(--fs-ui);
overflow-wrap: anywhere;
}
.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-ui);
}
.editPreview {
display: flex;
flex-direction: column;
gap: var(--space-1);
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: var(--space-1-5);
color: var(--danger);
font-size: var(--fs-ui);
min-width: 0;
}
.footerError > svg {
flex: none;
}
@container run-config-content (max-width: 360px) {
.configFields,
.editForm > .field {
grid-template-columns: minmax(0, 1fr);
}
}
/* Editor gutter ▶ run icons (the column collapses when the file has none) */
.runGutter :global(.cm-gutterElement) {
display: flex;
align-items: center;
/* Spare width stays left of the icons, which sit next to the code. */
justify-content: flex-end;
}
.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: var(--space-2);
padding: 12px 16px;
}
.exportReport {
display: flex;
flex-direction: column;
gap: var(--space-3);
padding: var(--space-3) var(--space-4) var(--space-1);
font-size: var(--fs-ui);
}
.exportFormats,
.exportOutput {
min-inline-size: 0;
margin: 0;
padding: 0;
border: 0;
}
.exportReport legend {
margin-block-end: var(--space-2);
padding: 0;
color: var(--fg-strong);
font-weight: 600;
}
.exportFormats {
display: grid;
justify-items: start;
gap: var(--space-1);
}
.exportOutput {
display: grid;
grid-template-columns: max-content minmax(0, 1fr);
align-items: center;
gap: var(--space-2);
}
.exportOutput > label {
max-inline-size: 120px;
overflow-wrap: anywhere;
color: var(--fg);
}
/* 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 {
position: sticky;
inset-inline-start: 0;
z-index: 1;
display: inline-grid;
place-items: center;
width: var(--space-3);
margin-inline-start: calc(-1 * var(--space-3));
padding: 0;
border: none;
border-radius: var(--radius-small);
background: var(--bg-app);
color: var(--fg-faint);
vertical-align: top;
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: var(--space-1);
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: var(--space-2);
margin-top: 2px;
}
.tomcatSectionHeader {
display: flex;
align-items: center;
gap: var(--space-2);
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: var(--space-2);
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: var(--space-2);
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: var(--space-4) 24px;
align-items: start;
padding-left: 14px;
}
.tomcatPortsCol {
display: flex;
flex-direction: column;
gap: var(--space-2);
}
.tomcatPortField {
display: grid;
grid-template-columns: 90px 1fr;
align-items: center;
gap: var(--space-2);
}
.tomcatFlagsCol {
display: flex;
flex-direction: column;
gap: 10px;
padding-top: 2px;
}
.tomcatWarningBar {
flex: none;
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--space-3);
padding: 8px 4px 2px;
margin-top: 4px;
border-top: 1px solid var(--border-popup);
background: transparent;
}
.tomcatWarningText {
display: inline-flex;
align-items: center;
gap: var(--space-1-5);
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: var(--space-0-5);
padding: 4px 6px;
border-bottom: 1px solid var(--border-popup);
}
.appServersToolbarPlain {
display: flex;
align-items: center;
gap: var(--space-0-5);
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: var(--space-2);
}
.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: var(--space-1-5);
padding: 2px 8px;
font-size: var(--fs-ui);
color: var(--fg-secondary);
}
.appServersLibRow {
display: flex;
align-items: center;
gap: var(--space-1-5);
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: var(--space-2);
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: var(--space-2);
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: var(--space-2);
margin-top: 2px;
}
.tomcatDebugTransportRow {
display: flex;
align-items: center;
gap: var(--space-4);
}
.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: var(--space-1-5);
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: var(--space-4);
margin-top: 4px;
}
.tomcatSectionToggle {
display: inline-flex;
align-items: center;
gap: var(--space-1);
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: var(--space-2);
color: var(--fg);
font-size: var(--fs-ui);
}
.addServerErrorIcon {
color: var(--danger);
flex: none;
}