Файли
openidea/src/features/http-client/HttpClient.module.css
T
l0ng-ai 19d6eab21a feat(http-client): find in the response body and open the files .http lines name (#3383)
The response pane had no find: ⌘F (or a Find button next to Show Raw) now opens the console find bar with matches marked in the body. ⌘-click / ⌘B on the file a .http line names (< body, > handler, >> redirect, <> saved response) opens it; saved responses resolve against .idea/httpRequests/ (where IntelliJ IDEA writes them), then the request file's folder.
2026-11-14 22:32:50 +08:00

219 рядки
4.0 KiB
CSS

/* Editor gutter ▶ per request (same look as run configuration targets). */
/* No fixed width: the endpoints gutter is conditional (updateSpacer), so files
without endpoint markers keep a narrow gutter. */
.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);
}