feat(chat): port chat widget components from Dart to React
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/* ChatSendButton 发送按钮样式 */
|
||||
|
||||
.button {
|
||||
flex: 0 0 auto;
|
||||
width: 48px;
|
||||
height: 40px;
|
||||
border: 0;
|
||||
border-radius: 9999px;
|
||||
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;
|
||||
}
|
||||
|
||||
.button:focus-visible,
|
||||
.buttonActive {
|
||||
background: linear-gradient(
|
||||
to right,
|
||||
var(--color-button-gradient-start, #ff67e0),
|
||||
var(--color-button-gradient-end, #ff52a2)
|
||||
);
|
||||
}
|
||||
|
||||
.icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
}
|
||||
Reference in New Issue
Block a user