Files
24kycj 88c6ce8ccc 重构 monorepo 并完善网页端订阅与首页体验
- 迁移为 frontend-web、frontend-electron、backend-web 与 docker 部署结构
- 网页端:订阅门禁二次弹窗、套餐/支付组件化、顶栏分组对齐
- 首页:最近文件与模板库布局优化,缩略图对齐,下载与删除操作
- 新增管理后台、支付与云端文件 API,更新 README 与项目规范

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-08 18:17:39 +08:00

126 lines
2.2 KiB
CSS

html,body{
background-color: #31373D;
color: #ffffff;
user-select: none;
height: 100%;
overflow: hidden;
}
img {
-webkit-user-drag: none;
}
.main{
margin-top: 40px;
position: relative;
height: 100%;
}
.main .left{
padding-right: 40px;
padding-left: 40px;
border-right: 1px solid #000000;
height: 100%;
}
.left h1{
position: relative;
}
.left .card{
background-color: #3E454D;
width: 100%;
/* height: 130px; */
margin-top: 30px;
color: #999999;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.left .card:hover{
background-color: #646E76;
color: #ffffff !important;
}
.card .rect{
padding: 10px;
text-align: center;
}
.rect img{
max-width: 70%;
max-height: 70%;
}
.rect1 img {
border-radius: 0;
}
.rect .tip{
margin-top: 10px;
font-size: 16px;
letter-spacing:1px;
width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.right{
padding-left: 30px;
padding-right: 30px;
height: calc(100vh - 40px);
position: relative;
}
.right .recent{
position: absolute;
left: 50%;
transform: translate(-50%, 0);
line-height: 40px;
font-size: 2em;
}
.right .card{
background-color: #3E454D;
width: 230px;
height: 200px;
margin-top: 30px;
color: #999999;
cursor: pointer;
display: inline-block;
margin-right: 40px;
display: flex;
align-items: center;
justify-content: center;
}
.ui-select{
background-color: #31373D;
border: #646E76 solid 1px;
color: #ffffff;
font-size: 16px;
position: absolute;
bottom: 50px;
}
.card-list{
height: calc(100% - 78px);
display: flex;
flex-wrap: wrap;
overflow-y: auto;
align-content: flex-start;
}
::-webkit-scrollbar
{
width: 8px;
height: 8px;
background-color: #31373D;
}
/*定义滚动条轨道 内阴影+圆角*/
::-webkit-scrollbar-track
{
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
border-radius: 10px;
background-color: #F5F5F5;
}
/*定义滑块 内阴影+圆角*/
::-webkit-scrollbar-thumb
{
border-radius: 10px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #555;
}