mirror of
https://github.com/ZiuChen/ClipboardManager.git
synced 2025-09-27 05:43:21 +08:00
feat: 拆分组件 用Vue3重写Main.vue
This commit is contained in:
22
src/style/cpns/clip-search.less
Normal file
22
src/style/cpns/clip-search.less
Normal file
@@ -0,0 +1,22 @@
|
||||
@import '../variable.less';
|
||||
.clip-search {
|
||||
width: 40%;
|
||||
margin-right: 30px;
|
||||
input {
|
||||
width: 100%;
|
||||
/* normalize */
|
||||
background: none;
|
||||
outline: none;
|
||||
border: none;
|
||||
/* custom */
|
||||
color: @text-color;
|
||||
background-color: white;
|
||||
height: fit-content;
|
||||
font-size: 15px;
|
||||
padding: 10px;
|
||||
border-radius: 5px;
|
||||
&::placeholder {
|
||||
color: @text-color-lighter;
|
||||
}
|
||||
}
|
||||
}
|
34
src/style/cpns/clip-switch.less
Normal file
34
src/style/cpns/clip-switch.less
Normal file
@@ -0,0 +1,34 @@
|
||||
@import '../variable.less';
|
||||
.clip-switch {
|
||||
z-index: 999;
|
||||
position: fixed;
|
||||
top: 0px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
width: 100%;
|
||||
background-color: #eeeeee;
|
||||
.active {
|
||||
color: @primary-color;
|
||||
background-color: white;
|
||||
transition: all 0.15s ease-in-out;
|
||||
}
|
||||
.clip-switch-items {
|
||||
display: flex;
|
||||
justify-content: left;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
.clip-switch-item {
|
||||
padding: 10px 15px 10px 15px;
|
||||
margin: 10px 5px 10px 10px;
|
||||
cursor: pointer;
|
||||
border-radius: 5px;
|
||||
font-size: 14px;
|
||||
&:hover {
|
||||
background-color: rgb(222, 222, 222);
|
||||
transition: all 0.15s ease-in-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user