Files
cozsweet-frontend-nextjs/src/app/chat/components/chat-send-button.module.css
T
admin 38d31572dd Refactor chat component styles for responsiveness and consistency
- Updated padding and margin properties across various chat components to utilize responsive design tokens, ensuring better adaptability to different screen sizes.
- Replaced fixed sizes with responsive variables for buttons, avatars, and bubbles to enhance UI flexibility.
- Adjusted font sizes to use responsive tokens, improving text readability on various devices.
- Standardized border-radius and other dimensions using CSS variables for a cohesive design language.
- Enhanced dialog and screen components with safe area insets for better compatibility with modern devices.
2026-07-03 10:07:49 +08:00

45 lines
912 B
CSS

/* ChatSendButton 发送按钮样式 */
.button {
flex: 0 0 auto;
width: var(--chat-send-button-size, 40px);
height: var(--chat-send-button-size, 40px);
aspect-ratio: 1 / 1;
border: 0;
border-radius: 50%;
background: var(--color-button-gradient-end, #fc69df);
color: #fff;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s, transform 0.1s;
}
.button:disabled {
opacity: 0.4;
cursor: not-allowed;
}
.buttonEmpty {
background: #f8a8ce;
color: rgba(255, 255, 255, 0.88);
box-shadow: none;
}
.button:focus-visible,
.buttonActive {
background: linear-gradient(
to right,
var(--color-button-gradient-start, #ff67e0),
var(--color-button-gradient-end, #ff52a2)
);
}
.icon {
width: var(--icon-size-xl, 24px);
height: var(--icon-size-xl, 24px);
font-size: var(--icon-size-xl, 24px);
line-height: 1;
}