提交版本

This commit is contained in:
CakeCN
2025-01-02 09:29:49 +08:00
parent eb67bcfb70
commit a1904afbc8
137 changed files with 1906 additions and 885 deletions

View File

@@ -211,3 +211,88 @@
max-width: 200px;
}
.button {
display: flex;
align-items: center;
padding: 15px;
border-bottom: 1px solid #eee;
cursor: pointer;
transition: background-color 0.3s ease;
}
.button:hover {
background-color: #f0f0f0;
}
.close-button {
width: auto;
height: auto;
text-align: center;
padding: 5px;
padding-bottom: 2px;
padding-top: 2px;
border-radius: 5px;
}
/* 新增的侧边工具栏样式 */
.sidebar-tools {
position: fixed;
top: 50%;
transform: translateY(-50%);
right: -250px; /* 初始隐藏 */
width: 250px;
background-color: #fff;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 10px 0 0 10px;
transition: right 0.3s ease-in-out;
z-index: 1000;
}
.sidebar-tools.open {
right: 0;
}
.sidebar-tools .tool-button {
display: flex;
align-items: center;
padding: 15px;
border-bottom: 1px solid #eee;
cursor: pointer;
transition: background-color 0.3s ease;
}
.sidebar-tools .tool-button:hover {
background-color: #f0f0f0;
}
.sidebar-tools .tool-button .icon {
width: 30px;
height: 30px;
margin-right: 10px;
background-color: #007bff;
border-radius: 5px;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
.sidebar-tools .tool-button .description {
flex-grow: 1;
}
.toggle-button {
position: fixed;
top: 50%;
transform: translateY(-50%);
right: -10px; /* 初始隐藏 */
width: 50px;
height: 50px;
background-color: #007bff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
transition: right 0.3s ease-in-out;
z-index: 1001;
}
.toggle-button.open {
right: 250px;
}
.toggle-button .icon {
font-size: 20px;
}