mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-24 16:04:21 +00:00
222 lines
4.1 KiB
CSS
222 lines
4.1 KiB
CSS
.root {
|
||
flex: 1;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.count {
|
||
color: var(--fg-subtle);
|
||
font-size: var(--fs-tiny);
|
||
}
|
||
.split {
|
||
flex: 1;
|
||
min-height: 0;
|
||
}
|
||
.changes {
|
||
height: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 0;
|
||
}
|
||
.toolbar {
|
||
flex: none;
|
||
height: 32px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 2px;
|
||
padding: 0 6px;
|
||
}
|
||
.sep {
|
||
width: 1px;
|
||
height: 16px;
|
||
margin: 0 4px;
|
||
background: var(--border);
|
||
}
|
||
.treeWrap {
|
||
flex: 1;
|
||
min-height: 0;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.empty {
|
||
color: var(--fg-subtle);
|
||
}
|
||
.check {
|
||
flex: none;
|
||
width: 14px;
|
||
height: 14px;
|
||
margin-right: 2px;
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 3px;
|
||
background: var(--bg-checkbox, var(--bg-input));
|
||
box-shadow: inset 0 0 0 1px var(--control-off);
|
||
color: var(--fg-on-accent);
|
||
--icon-color: currentColor;
|
||
}
|
||
.checkOn {
|
||
background: var(--accent);
|
||
box-shadow: none;
|
||
}
|
||
.icon {
|
||
flex: none;
|
||
}
|
||
.label {
|
||
flex: 0 0 auto;
|
||
max-width: 75%;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
}
|
||
.groupLabel {
|
||
color: var(--fg-strong);
|
||
font-weight: 600;
|
||
}
|
||
.detail {
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
color: var(--fg-subtle);
|
||
}
|
||
.partial {
|
||
flex: none;
|
||
padding: 0 4px;
|
||
border-radius: var(--radius-small);
|
||
background: color-mix(in srgb, var(--vcs-modified) 16%, transparent);
|
||
color: var(--vcs-modified);
|
||
font-size: var(--fs-tiny);
|
||
line-height: 14px;
|
||
}
|
||
.commit {
|
||
height: 100%;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 0;
|
||
border-top: 1px solid var(--border);
|
||
}
|
||
.tabs {
|
||
min-width: 0;
|
||
border: 0;
|
||
background: none;
|
||
}
|
||
.commitBar {
|
||
flex: none;
|
||
height: 32px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
padding: 0 6px 0 12px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
}
|
||
.grow {
|
||
flex: 1;
|
||
}
|
||
.lineLen {
|
||
color: var(--fg-faint);
|
||
font-family: var(--font-mono);
|
||
font-size: var(--fs-tiny);
|
||
}
|
||
.lineLenWarn {
|
||
color: var(--warning);
|
||
}
|
||
.message {
|
||
--pad: 10px;
|
||
flex: 1;
|
||
min-height: 40px;
|
||
margin: 0;
|
||
padding: 6px var(--pad);
|
||
resize: none;
|
||
border: 0;
|
||
border-top: 1px solid var(--border);
|
||
outline: none;
|
||
color: var(--fg-strong);
|
||
font-family: var(--font-mono);
|
||
font-size: var(--fs-code);
|
||
line-height: var(--lh-code);
|
||
-webkit-user-select: text;
|
||
user-select: text;
|
||
/* Right margin guide at the subject length limit. */
|
||
background:
|
||
linear-gradient(
|
||
to right,
|
||
transparent calc(var(--pad) + var(--guide)),
|
||
var(--border) calc(var(--pad) + var(--guide)),
|
||
var(--border) calc(var(--pad) + var(--guide) + 1px),
|
||
transparent calc(var(--pad) + var(--guide) + 1px)
|
||
)
|
||
no-repeat,
|
||
var(--bg-island, var(--bg-app));
|
||
}
|
||
.message::placeholder {
|
||
color: var(--fg-subtle);
|
||
font-family: var(--font-ui);
|
||
font-size: var(--fs-ui);
|
||
}
|
||
.commitActions {
|
||
flex: none;
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
gap: 6px 8px;
|
||
padding: 8px 6px 10px 12px;
|
||
white-space: nowrap;
|
||
overflow: hidden;
|
||
}
|
||
.commitActions > button {
|
||
flex: none;
|
||
}
|
||
.hint {
|
||
margin-left: auto;
|
||
color: var(--fg-faint);
|
||
font-family: var(--font-keys);
|
||
font-size: var(--fs-small);
|
||
}
|
||
.stashList {
|
||
flex: 1;
|
||
}
|
||
.stashRow {
|
||
flex: 1;
|
||
min-width: 0;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
.stashMessage {
|
||
flex: 1;
|
||
min-width: 0;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
text-overflow: ellipsis;
|
||
}
|
||
/* Settings › Commit › Show right margin off. */
|
||
.noMargin {
|
||
background: var(--bg-island, var(--bg-app));
|
||
}
|
||
.inspections {
|
||
flex: none;
|
||
padding: 2px 10px 0;
|
||
color: var(--warning);
|
||
font-size: var(--fs-small);
|
||
line-height: 1.4;
|
||
}
|
||
/* A change list group or file row (drag source / drop target between lists). */
|
||
.nodeRow {
|
||
flex: 1;
|
||
min-width: 0;
|
||
align-self: stretch;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
border-radius: var(--radius-small);
|
||
}
|
||
.dropTarget {
|
||
box-shadow: inset 0 0 0 1px var(--accent);
|
||
background: color-mix(in srgb, var(--accent) 12%, transparent);
|
||
}
|
||
/* Only the active change list is bold, as in IDEA. */
|
||
.inactiveList {
|
||
font-weight: 400;
|
||
}
|