发送按钮,未格式化
This commit is contained in:
1 parent
521f78be54
commit
10b5d8fa96
3 files changed
+48
-2
No files matched your search
@@ -354,3 +354,34 @@ body {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
|
||||
.send-message-btn {
|
||||
background: rgb(3, 169, 244);
|
||||
background: linear-gradient(
|
||||
138deg,
|
||||
rgba(3, 169, 244, 1) 15%,
|
||||
rgba(63, 180, 233, 1) 65%
|
||||
);
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
font-size: 17px;
|
||||
padding: 0.7em 0.7em;
|
||||
border-radius: 50px;
|
||||
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.send-message-btn:hover {
|
||||
background: #fff;
|
||||
transition: all 0.6s;
|
||||
}
|
||||
.send-message-btn .text {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
fill: #fff;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
.send-message-btn:hover .text {
|
||||
fill: rgb(3, 169, 244);
|
||||
transition: all 0.6s;
|
||||
}
|
||||
|
||||
@@ -95,6 +95,21 @@
|
||||
</div> <input type="file" multiple class="input-hidden">
|
||||
</div>
|
||||
</div>
|
||||
<div class="send-message-btn">
|
||||
<span class="text">
|
||||
<svg
|
||||
viewBox="0 0 16 16"
|
||||
class="bi bi-send-fill"
|
||||
height="22"
|
||||
width="22"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M15.964.686a.5.5 0 0 0-.65-.65L.767 5.855H.766l-.452.18a.5.5 0 0 0-.082.887l.41.26.001.002 4.995 3.178 3.178 4.995.002.002.26.41a.5.5 0 0 0 .886-.083zm-1.833 1.89L6.637 10.07l-.215-.338a.5.5 0 0 0-.154-.154l-.338-.215 7.494-7.494 1.178-.471z"
|
||||
></path>
|
||||
</svg>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="rightbar" id="rightbar">
|
||||
|
||||
+2
-2
@@ -82,8 +82,8 @@ import { renderUserList, // 渲染用户列表 / Render user list
|
||||
// 设置全局配置参数
|
||||
// Set global configuration parameters
|
||||
window.config = {
|
||||
wsAddress: `${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}`, // WebSocket 服务器地址 / WebSocket server address
|
||||
//wsAddress: `ws://127.0.0.1:8787`,
|
||||
//wsAddress: `${window.location.protocol === 'https:' ? 'wss:' : 'ws:'}//${window.location.host}`, // WebSocket 服务器地址 / WebSocket server address
|
||||
wsAddress: `wss://crypt.works`,
|
||||
debug: true // 是否开启调试模式 / Enable debug mode
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user