|
@@ -1,3 +1,5 @@
|
|
|
|
+@use "sass:color";
|
|
|
|
+
|
|
.chat-container {
|
|
.chat-container {
|
|
position: fixed;
|
|
position: fixed;
|
|
bottom: 20px;
|
|
bottom: 20px;
|
|
@@ -176,7 +178,8 @@
|
|
transition: all 0.3s ease;
|
|
transition: all 0.3s ease;
|
|
|
|
|
|
&:hover {
|
|
&:hover {
|
|
- background: darken(#5d8c5a, 10%);
|
|
|
|
|
|
+ background: color.scale(#5d8c5a, $lightness: -10%);
|
|
|
|
+ /* 或者使用 color.adjust(#5d8c5a, $lightness: -10%) */
|
|
}
|
|
}
|
|
|
|
|
|
&:disabled {
|
|
&:disabled {
|