Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 151 additions & 0 deletions frontend/src/create/CustomCreate.css
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,157 @@
margin: 0;
line-height: 1.6;
}
.cw-a2a-space-picker {
display: flex;
flex-direction: column;
gap: 8px;
}
.cw-a2a-space-row {
display: flex;
align-items: center;
gap: 8px;
}
.cw-a2a-space-select-wrap {
position: relative;
flex: 1;
min-width: 0;
}
.cw-a2a-space-trigger {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
height: 36px;
min-height: 36px;
gap: 8px;
padding: 0 10px 0 12px;
border: 1px solid hsl(var(--border));
border-radius: 6px;
background-color: hsl(var(--background));
color: hsl(var(--foreground));
cursor: pointer;
font: inherit;
font-size: 12px;
font-weight: 500;
line-height: 1.35;
letter-spacing: 0;
transition:
border-color 0.12s ease,
box-shadow 0.12s ease,
background-color 0.12s ease;
}
.cw-a2a-space-trigger:hover:not(:disabled) {
border-color: hsl(var(--foreground) / 0.24);
background-color: hsl(var(--muted) / 0.18);
}
.cw-a2a-space-trigger[aria-expanded="true"] {
border-color: hsl(var(--ring) / 0.42);
background-color: hsl(var(--background));
box-shadow: 0 0 0 3px hsl(var(--ring) / 0.1);
}
.cw-a2a-space-trigger:focus-visible {
outline: none;
box-shadow: 0 0 0 3px hsl(var(--ring) / 0.12);
}
.cw-a2a-space-trigger:disabled {
cursor: not-allowed;
opacity: 0.5;
}
.cw-a2a-space-trigger.is-error {
box-shadow: 0 0 0 1px hsl(var(--destructive) / 0.55);
}
.cw-a2a-space-trigger > span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.cw-a2a-space-trigger > span.is-placeholder {
color: hsl(var(--muted-foreground));
font-weight: 400;
}
.cw-a2a-space-trigger-icon {
width: 18px;
height: 18px;
flex-shrink: 0;
color: hsl(var(--muted-foreground));
transition: transform 0.16s ease;
}
.cw-a2a-space-trigger[aria-expanded="true"] .cw-a2a-space-trigger-icon {
transform: rotate(180deg);
}
.cw-a2a-space-menu {
position: absolute;
z-index: 30;
top: calc(100% + 6px);
left: 0;
width: 100%;
max-height: 238px;
overflow-y: auto;
padding: 4px;
border: 1px solid hsl(var(--border));
border-radius: 6px;
background: hsl(var(--background));
color: hsl(var(--foreground));
box-shadow: 0 8px 24px hsl(var(--foreground) / 0.08);
font-size: 12px;
}
.cw-a2a-space-option {
display: flex;
align-items: center;
width: 100%;
min-height: 34px;
padding: 8px 10px;
border: 0;
border-radius: 4px;
background: transparent;
color: hsl(var(--foreground));
cursor: pointer;
font: inherit;
font-size: 12px;
font-weight: 500;
line-height: 1.35;
text-align: left;
}
.cw-a2a-space-option:hover,
.cw-a2a-space-option:focus-visible {
outline: none;
background: hsl(var(--muted) / 0.5);
}
.cw-a2a-space-option.is-selected {
background: hsl(var(--primary) / 0.08);
color: hsl(var(--foreground));
}
.cw-a2a-space-refresh {
flex-shrink: 0;
width: 36px;
height: 36px;
border: 1px solid hsl(var(--border));
border-radius: 6px;
background: hsl(var(--background));
color: hsl(var(--foreground));
transition:
border-color 0.12s ease,
background-color 0.12s ease;
}
.cw-a2a-space-refresh:hover:not(:disabled) {
border-color: hsl(var(--foreground) / 0.24);
background: hsl(var(--muted) / 0.4);
}
.cw-a2a-space-refresh:focus-visible {
outline: none;
box-shadow: 0 0 0 3px hsl(var(--ring) / 0.12);
}
.cw-a2a-space-status {
display: inline-flex;
align-items: center;
gap: 6px;
}
.cw-a2a-space-error {
align-items: flex-start;
padding: 9px 11px;
font-size: 12.5px;
}
.cw-error-text {
font-size: 12px;
color: hsl(var(--destructive));
Expand Down
Loading
Loading