mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-09-27 05:43:21 +08:00
feat: 组件解耦 提取样式文件
This commit is contained in:
20
src/style/cpns/clip-full-data.less
Normal file
20
src/style/cpns/clip-full-data.less
Normal file
@@ -0,0 +1,20 @@
|
||||
.clip-full {
|
||||
z-index: 9999999999;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 60%;
|
||||
background: white;
|
||||
padding: 0px 20px 0px 20px;
|
||||
overflow-y: scroll;
|
||||
word-break: break-all;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.clip-overlay {
|
||||
z-index: 999999999;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
}
|
76
src/style/cpns/clip-item-list.less
Normal file
76
src/style/cpns/clip-item-list.less
Normal file
@@ -0,0 +1,76 @@
|
||||
@import '../style/variable.less';
|
||||
.clip-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
border: 0px solid #eee;
|
||||
border-width: 0px 0px 1px 0px;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
background-color: @text-bg-color-lighter;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
.clip-info {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 14px;
|
||||
padding: 10px;
|
||||
.clip-time {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
min-width: 100px;
|
||||
span {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 13px;
|
||||
color: @text-color-lighter;
|
||||
background-color: @text-bg-color;
|
||||
border-radius: 5px;
|
||||
min-width: 50px;
|
||||
padding: 5px 10px 5px 10px;
|
||||
}
|
||||
}
|
||||
.clip-data {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
word-break: break-all;
|
||||
max-height: 150px;
|
||||
padding: 5px;
|
||||
white-space: pre-wrap;
|
||||
flex-direction: column;
|
||||
background-color: white;
|
||||
img {
|
||||
max-height: 150px;
|
||||
}
|
||||
.clip-image-size {
|
||||
position: absolute;
|
||||
background-color: white;
|
||||
}
|
||||
}
|
||||
}
|
||||
.clip-count {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 50px;
|
||||
padding: 10px;
|
||||
font-size: 13px;
|
||||
color: @text-color-lighter;
|
||||
padding: 10px;
|
||||
}
|
||||
.clip-more {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
border-radius: 0px 5px 5px 0px;
|
||||
}
|
||||
.clip-more:hover {
|
||||
background-color: @text-bg-color;
|
||||
transition: all 0.15s;
|
||||
}
|
||||
}
|
16
src/style/cpns/file-list.less
Normal file
16
src/style/cpns/file-list.less
Normal file
@@ -0,0 +1,16 @@
|
||||
.clip-file {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
&:hover {
|
||||
font-weight: 600;
|
||||
&::after {
|
||||
content: '📤';
|
||||
}
|
||||
}
|
||||
.clip-file-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user