Revert "feat(chat): add composer action menu"

This reverts commit 7789673fff.
This commit is contained in:
2026-07-21 11:04:39 +08:00
parent 7789673fff
commit e512a42483
11 changed files with 62 additions and 632 deletions
@@ -1,10 +1,10 @@
/* ChatInputBar 输入栏容器样式(与 Dart chat_input_bar.dart 对齐) */
/* Keyboard inset is a total bottom inset, not an addition to normal spacing. */
.bar {
position: relative;
z-index: 5;
flex: 0 0 auto;
padding: clamp(7px, 1.852vw, 10px)
padding: 0
calc(var(--chat-inline-padding, 16px) + var(--app-safe-right, 0px))
max(
calc(var(--spacing-lg, 16px) + var(--app-safe-bottom, 0px)),
@@ -12,43 +12,28 @@
)
calc(var(--chat-inline-padding, 16px) + var(--app-safe-left, 0px));
background: transparent;
transition: padding-bottom 0.2s ease;
transition: padding-top 0.2s ease, padding-bottom 0.2s ease,
background-color 0.2s ease, box-shadow 0.2s ease;
}
.composer {
position: relative;
width: 100%;
.barFocused {
padding-top: var(--spacing-md, 12px);
background: #feeff2;
box-shadow: 0 4px 12px var(--color-input-box-shadow, rgba(0, 0, 0, 0.1));
}
/* 内层:白底 + 大圆角(Dart AppRadius.radius32+ focused 时 accent 边框 */
.row {
display: flex;
align-items: center;
gap: 6px;
padding: 6px;
border: 1px solid rgba(94, 62, 73, 0.11);
gap: var(--spacing-sm, 8px);
padding: var(--spacing-sm, 8px);
background: #fff;
border-radius: var(--radius-full, 999px);
background: rgba(255, 255, 255, 0.94);
box-shadow:
0 12px 30px rgba(75, 48, 57, 0.1),
0 2px 8px rgba(75, 48, 57, 0.05);
backdrop-filter: blur(18px);
transition:
border-color 0.2s ease,
box-shadow 0.2s ease,
background 0.2s ease;
border: 1px solid transparent;
transition: border-color 0.2s ease;
}
.rowFocused {
border-color: rgba(246, 87, 160, 0.62);
background: rgba(255, 255, 255, 0.98);
box-shadow:
0 0 0 3px rgba(246, 87, 160, 0.1),
0 14px 34px rgba(92, 52, 67, 0.12);
}
@media (max-width: 350px) {
.bar {
padding-right: calc(12px + var(--app-safe-right, 0px));
padding-left: calc(12px + var(--app-safe-left, 0px));
}
border-color: var(--color-accent, #f84d96);
}