45 lines
789 B
CSS
45 lines
789 B
CSS
/* ChatSendButton 发送按钮样式 */
|
|
|
|
.button {
|
|
flex: 0 0 auto;
|
|
width: 40px;
|
|
height: 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: 24px;
|
|
height: 24px;
|
|
font-size: 24px;
|
|
line-height: 1;
|
|
}
|