Файли
openidea/src/features/http-client/HttpClient.module.css
T
l0ng-ai d171a946fe fix(editor): Spring, endpoint, npm, Docker and plugin gutter icons join the shared icon area (#3472)
Following #3452, the remaining line-marker kinds kept a gutter column each (a Spring controller showed its mapping icons in a second column beside the run icon). Scripts and Docker/Compose targets join the run icons in the shared icon area (hidden with them), Spring mappings and endpoints follow, then plugin line markers, gutter actions and indexed mappings (now 14px like the others). Presses go to the pressed icon's source.
2026-11-15 10:31:42 +08:00

217 рядки
3.9 KiB
CSS

/* Editor gutter ▶ per request (same look as run configuration targets). */
.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;
}
/* Toolbar panel above `.http` files. */
.toolbar {
display: flex;
align-items: center;
gap: 4px;
height: var(--h-header);
padding: 0 8px;
background: var(--bg-editor);
border-bottom: 1px solid var(--border);
font-family: var(--font-ui);
font-size: var(--fs-ui);
color: var(--fg-secondary);
}
.toolbarLabel {
margin-left: 8px;
}
/* Tool window. */
.root {
height: 100%;
}
.list {
height: 100%;
overflow: auto;
display: flex;
flex-direction: column;
}
.entry {
display: flex;
align-items: center;
gap: 8px;
height: var(--h-list-row);
padding: 0 8px;
border: none;
background: transparent;
color: var(--fg);
font: inherit;
text-align: left;
cursor: default;
flex: none;
}
.entry:hover {
background: var(--bg-tree-hover);
}
.entrySelected,
.entrySelected:hover {
background: var(--bg-tree-selected);
}
.runningRow {
display: flex;
align-items: center;
gap: 8px;
height: var(--h-list-row);
padding: 0 8px;
color: var(--fg-secondary);
}
.status {
font-family: var(--font-mono);
font-size: var(--fs-small);
flex: none;
}
.statusOk {
color: var(--success);
}
.statusRedirect {
color: var(--warning);
}
.statusError {
color: var(--danger);
}
.method {
font-family: var(--font-mono);
font-size: var(--fs-small);
color: var(--syn-keyword);
flex: none;
}
.url {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.when {
color: var(--fg-muted);
font-size: var(--fs-small);
flex: none;
}
.exchange {
height: 100%;
display: flex;
flex-direction: column;
min-width: 0;
}
.statusLine {
display: flex;
align-items: center;
gap: 12px;
height: var(--h-header);
padding: 0 8px;
flex: none;
}
.meta {
color: var(--fg-secondary);
font-size: var(--fs-small);
}
.requestLine {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--fg-muted);
font-family: var(--font-mono);
font-size: var(--fs-small);
text-align: right;
}
.tabBody {
flex: 1;
min-height: 0;
overflow: auto;
outline: none;
}
.tabBody:focus-visible {
outline: 2px solid var(--focus-ring);
outline-offset: -2px;
}
.pre {
margin: 0;
padding: 8px;
font-family: var(--font-mono);
font-size: var(--fs-code);
line-height: var(--lh-code);
color: var(--fg-editor);
white-space: pre-wrap;
word-break: break-all;
-webkit-user-select: text;
user-select: text;
}
.truncated {
color: var(--fg-muted);
}
.headers {
border-collapse: collapse;
margin: 4px 8px;
font-family: var(--font-mono);
font-size: var(--fs-small);
-webkit-user-select: text;
user-select: text;
}
.headers th {
text-align: left;
font-weight: normal;
color: var(--syn-property);
padding: 2px 16px 2px 0;
vertical-align: top;
white-space: nowrap;
}
.headers td {
padding: 2px 0;
color: var(--fg);
word-break: break-all;
}
.center {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}
/* The request being sent, in place of a response. */
.pending {
display: flex;
flex-direction: column;
gap: 10px;
padding: 12px;
}
.pendingLine {
display: flex;
align-items: center;
gap: 8px;
color: var(--fg-secondary);
}
.pendingRequest {
font-family: var(--font-mono);
overflow-wrap: anywhere;
}
.pendingMethod {
font-weight: 600;
}
.match {
border-radius: 2px;
color: var(--fg-search-match);
background: var(--bg-search-match);
}
.matchCurrent {
background: var(--bg-search-match-current);
}