mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-09-27 05:43:21 +08:00
refactor: 悬浮按钮组件化
This commit is contained in:
21
src/style/cpns/clip-float-btn.less
Normal file
21
src/style/cpns/clip-float-btn.less
Normal file
@@ -0,0 +1,21 @@
|
||||
.clip-float-btn {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
bottom: 15px;
|
||||
right: 15px;
|
||||
height: 50px;
|
||||
width: 50px;
|
||||
cursor: pointer;
|
||||
border-radius: 50%;
|
||||
font-size: 20px;
|
||||
background-color: @text-bg-color-lighter;
|
||||
user-select: none;
|
||||
&:hover {
|
||||
color: @bg-color;
|
||||
background-color: @primary-color;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user