Файли
openidea/src/features/project-tree/FileRefactor.module.css
T
l0ng-ai 1828601b2a fix(project): align the file Copy dialog (#4706)
The Copy dialog states what it copies (file, directory or item count) above aligned New name / To directory fields, with the directory hint under its field and the Open copy in editor option in the footer.
2026-11-20 14:30:52 +08:00

193 рядки
3.0 KiB
CSS

.form {
display: flex;
flex-direction: column;
gap: var(--space-2);
padding: 14px;
}
.refactorForm {
display: flex;
flex-direction: column;
gap: var(--space-3);
padding: var(--space-3) var(--space-4);
}
.subject {
color: var(--fg-emphasis);
font-size: var(--fs-ui);
font-weight: 600;
overflow-wrap: anywhere;
}
.moveDestination {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: var(--space-1) var(--space-2);
}
.moveDestination > .fieldLabel {
line-height: var(--h-field);
}
.destinationControls {
display: flex;
flex: 1 1 244px;
flex-direction: column;
gap: var(--space-2);
min-width: 0;
}
.destinationField {
display: flex;
align-items: center;
gap: var(--space-1);
}
.destinationField input {
flex: 1 1 0;
}
.destinationField button {
flex: none;
}
.destinationPath {
color: var(--fg-subtle);
font-size: var(--fs-small);
font-family: var(--font-mono);
overflow-wrap: anywhere;
}
.fieldLabel {
color: var(--fg);
font-size: var(--fs-ui);
overflow-wrap: anywhere;
}
.copyFields {
display: grid;
grid-template-columns: fit-content(42%) minmax(0, 1fr);
align-items: start;
gap: var(--space-2);
}
.copyFields > .fieldLabel {
display: flex;
align-items: center;
min-height: var(--h-field);
}
.error {
color: var(--danger);
font-size: var(--fs-small);
}
.options {
display: flex;
flex-direction: column;
gap: var(--space-1-5);
margin-top: 4px;
}
.busy {
display: flex;
align-items: center;
gap: var(--space-1-5);
color: var(--fg-muted);
font-size: var(--fs-ui);
}
.previewSummary {
padding: 12px 14px 8px;
font-size: var(--fs-ui);
color: var(--fg-muted);
}
.previewList {
list-style: none;
margin: 0;
padding: 0;
max-height: 420px;
overflow: auto;
padding: 0 14px 10px;
}
.previewFile + .previewFile {
margin-top: 4px;
}
.previewFileRow {
height: var(--h-row);
display: flex;
align-items: center;
gap: var(--space-1-5);
font-size: var(--fs-ui);
}
.previewName {
color: var(--fg-emphasis);
}
.previewPath {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: var(--fg-subtle);
font-size: var(--fs-small);
}
.spacer {
flex: 1;
}
.previewCount {
flex: none;
font-size: var(--fs-small);
color: var(--fg-muted);
}
.previewOccurrences {
list-style: none;
margin: 0;
padding: 0 0 0 28px;
}
.previewLineRow {
display: flex;
align-items: center;
gap: var(--space-2);
height: var(--h-row);
}
.previewLineNo {
flex: none;
min-width: 28px;
text-align: right;
font-family: var(--font-mono);
font-size: var(--fs-small);
color: var(--fg-faint);
}
.previewCode {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: pre;
font-family: var(--font-mono);
font-size: var(--fs-small);
color: var(--fg-editor);
}
.previewOld {
color: var(--fg-muted);
text-decoration: line-through;
}
.previewNew {
text-decoration: none;
background: var(--bg-search-match);
color: var(--fg-search-match);
}