88c6ce8ccc
- 迁移为 frontend-web、frontend-electron、backend-web 与 docker 部署结构 - 网页端:订阅门禁二次弹窗、套餐/支付组件化、顶栏分组对齐 - 首页:最近文件与模板库布局优化,缩略图对齐,下载与删除操作 - 新增管理后台、支付与云端文件 API,更新 README 与项目规范 Co-authored-by: Cursor <cursoragent@cursor.com>
715 lines
13 KiB
CSS
715 lines
13 KiB
CSS
|
|
html,body{
|
|
background-color: #31373D;
|
|
color: #ffffff;
|
|
user-select: none;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
img {
|
|
-webkit-user-drag: none;
|
|
}
|
|
.main{
|
|
padding: 0 !important;
|
|
height: 100%;
|
|
}
|
|
.col-left{
|
|
margin-right: 320px;
|
|
}
|
|
.col-right{
|
|
float: right;
|
|
height: 100%;
|
|
width: 320px;
|
|
}
|
|
.tools-bar{
|
|
height: 50px;
|
|
width: 100%;
|
|
border-bottom: 1px solid #000000;
|
|
}
|
|
.left-bar{
|
|
border-right: 1px solid #000000;
|
|
}
|
|
.left-bar .tool{
|
|
margin-left: 10px;
|
|
display: inline-block;
|
|
width: 32px;
|
|
height: 32px;
|
|
margin-top: 9px;
|
|
}
|
|
.left-bar .tool:hover{
|
|
background-color: #646E76;
|
|
}
|
|
.left-bar .tool img{
|
|
height: 24px;
|
|
width: 24px;
|
|
margin-top: 4px;
|
|
margin-left: 4px;
|
|
}
|
|
.right-bar .tool{
|
|
margin-left: 14px;
|
|
display: inline-block;
|
|
width: 32px;
|
|
height: 32px;
|
|
margin-top: 9px;
|
|
}
|
|
.right-bar .tool:hover{
|
|
background-color: #646E76;
|
|
}
|
|
.right-bar .tool img{
|
|
height: 24px;
|
|
width: 24px;
|
|
margin-top: 4px;
|
|
margin-left: 4px;
|
|
}
|
|
.mode1{
|
|
display: inline-block;
|
|
border-right: 1px solid #000000;
|
|
padding-right: 10px;
|
|
height: 50px;
|
|
}
|
|
.mode2{
|
|
|
|
display: inline-block;
|
|
height: 50px;
|
|
padding-right: 10px;
|
|
border-right: 1px solid #000000;
|
|
}
|
|
.mode3{
|
|
float: right;
|
|
line-height: 50px;
|
|
margin-right: 30px;
|
|
}
|
|
.white{
|
|
color: white;
|
|
}
|
|
.white:hover{
|
|
color: white !important;
|
|
}
|
|
|
|
.container{
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.container .left{
|
|
position: absolute;
|
|
top: 50px;
|
|
bottom: 0px;
|
|
width: 50px;
|
|
border-right: 1px solid #000000;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
.container .right{
|
|
margin-left: 50px;
|
|
border-right: 1px solid #000000;
|
|
height: 100%;
|
|
}
|
|
#canvas-div{
|
|
position: relative;
|
|
}
|
|
|
|
.canvas_box {
|
|
position: relative;
|
|
z-index: 4;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: start;
|
|
}
|
|
.canvas_bg {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 1;
|
|
opacity: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.canvas_bg_img {
|
|
max-width: calc(100% - 470px);
|
|
max-height: calc(100% - 180px);
|
|
}
|
|
.container .tool{
|
|
width: 32px;
|
|
height: 32px;
|
|
margin-top: 15px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.container .tool img{
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
.container .tool:hover{
|
|
background-color: #646E76;
|
|
}
|
|
|
|
.layui-form-label{
|
|
width: 45px;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
.layui-input-block {
|
|
margin-left: 70px;
|
|
|
|
}
|
|
|
|
.component-title{
|
|
height: 32px;
|
|
line-height: 32px;
|
|
width: 100%;
|
|
font-size: 18px;
|
|
background-color: #4E575F;
|
|
text-align: center;
|
|
padding-left: 10px;
|
|
box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
}
|
|
.component-line{
|
|
font-size: 14px;
|
|
padding: 5px;
|
|
}
|
|
.component-line span{
|
|
color: #969FA7;
|
|
}
|
|
.component-line .tool {
|
|
cursor: pointer;
|
|
padding: 4px;
|
|
}
|
|
.component-line .tool:hover{
|
|
background-color: #646E76;
|
|
}
|
|
.component-line .tool1 {
|
|
background-color: #646E76;
|
|
padding: 4px;
|
|
}
|
|
.ui-input{
|
|
background-color: #31373D;
|
|
border: #646E76 solid 1px;
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
}
|
|
.ui-input:hover{
|
|
background-color: #646E76;
|
|
}
|
|
textarea{
|
|
background-color: #31373D;
|
|
border: #646E76 solid 1px;
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
}
|
|
textarea:hover{
|
|
background-color: #646E76;
|
|
}
|
|
.control{
|
|
display: none;
|
|
}
|
|
#base_control{
|
|
display: none;
|
|
}
|
|
.pic_bg{
|
|
display: inline-block;
|
|
background-color: #31373D;
|
|
border: #646E76 solid 1px;
|
|
padding: 3px 10px;
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
position: relative;
|
|
margin-left: 5px;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
}
|
|
.pic_bg:hover{
|
|
background-color: #646E76;
|
|
}
|
|
|
|
|
|
.input_color{
|
|
position: relative;
|
|
top:5px;
|
|
}
|
|
.input_color[type='color']::-webkit-color-swatch-wrapper{padding: 0;}
|
|
.input_color[type='color']::-webkit-color-swatch{border: 0;}
|
|
|
|
.radio{
|
|
position: relative;
|
|
top:2px;
|
|
left:3px
|
|
}
|
|
|
|
.ui-select{
|
|
background-color: #31373D;
|
|
border: #646E76 solid 1px;
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
}
|
|
|
|
|
|
::-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;
|
|
}
|
|
|
|
.ui-button{
|
|
display: inline-block;
|
|
background-color: #31373D;
|
|
border: #646E76 solid 1px;
|
|
padding: 3px 10px;
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
position: relative;
|
|
margin-left: 5px;
|
|
cursor: pointer;
|
|
border-radius: 6px;
|
|
}
|
|
.ui-button:hover{
|
|
background-color: #646E76;
|
|
}
|
|
|
|
.ui-button-active{
|
|
background-color: #646E76;
|
|
}
|
|
.ui-radio{
|
|
|
|
}
|
|
.ui-radio-acitve{
|
|
background-color: #646E76;
|
|
}
|
|
.ui-radio:hover{
|
|
background-color: #646E76;
|
|
}
|
|
.obj_list{
|
|
overflow-y: auto;
|
|
|
|
}
|
|
.obj_list div{
|
|
height: 32px;
|
|
line-height: 32px;
|
|
width: 100%;
|
|
font-size: 14px;
|
|
padding-left: 10px;
|
|
box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
overflow: hidden;
|
|
}
|
|
.obj_list img{
|
|
position: relative;
|
|
right: 4px;
|
|
width: 24px;
|
|
}
|
|
.obj_list div:hover{
|
|
background-color: #6F7A84;
|
|
}
|
|
|
|
#posText{
|
|
line-height: 50px;
|
|
font-size: 18px;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
#rotate:hover{
|
|
background-color: #646E76;
|
|
}
|
|
|
|
#object_attribute{
|
|
height: 470px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.transparent-button{
|
|
display: inline-block;
|
|
height: 19px;
|
|
border: #646E76 solid 1px;
|
|
position: relative;
|
|
bottom: 2px;
|
|
padding: 3px;
|
|
}
|
|
.transparent-button:hover{
|
|
background-color: #646E76;
|
|
}
|
|
|
|
|
|
.mode-left{
|
|
display: inline-block;
|
|
}
|
|
.mode-warp{
|
|
display: flex;
|
|
height: 50px;
|
|
align-items: center;
|
|
}
|
|
.mode-left .img-warp{
|
|
height: 32px;
|
|
width: 32px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.mode-left .img-warp:hover{
|
|
background-color: #646E76;
|
|
}
|
|
|
|
.mode-left .img-warp1 {
|
|
width: 0;
|
|
height: 0;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
padding: 0;
|
|
opacity: 0;
|
|
border: none;
|
|
}
|
|
|
|
|
|
.line{
|
|
height: 50px;
|
|
width: 1px;
|
|
background-color: #000;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.rotate-div{
|
|
position: relative;
|
|
transition: 200ms;
|
|
}
|
|
.rotate-wrap{
|
|
position: absolute;
|
|
top:0px;
|
|
left:0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: rgba(0,0,0,.3);
|
|
visibility: hidden;
|
|
border-radius: 3%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.rotate-div:hover .rotate-wrap{
|
|
visibility: visible;
|
|
}
|
|
|
|
/* ── Web 设计页:design1 / design2 统一视口布局(无页面滚动) ── */
|
|
html:has(body.soon-design-page) {
|
|
height: 100%;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.soon-design-page {
|
|
height: 100vh;
|
|
max-height: 100vh;
|
|
overflow: hidden;
|
|
margin: 0;
|
|
padding: 0 !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
background-color: #1e1e1e;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
body.soon-design-page .soon-portal-topbar {
|
|
position: static;
|
|
width: 100%;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
body.soon-design-page #portal-topbar {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
body.soon-design-page .layui-fluid.main {
|
|
flex: 1;
|
|
min-height: 0;
|
|
height: auto !important;
|
|
overflow: hidden;
|
|
padding: 0 !important;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
body.soon-design-page .layui-row {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: row-reverse;
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.soon-design-page .col-left {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-right: 0;
|
|
float: none;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
border-right: 1px solid #1e1e1e;
|
|
}
|
|
|
|
body.soon-design-page .col-right {
|
|
flex-shrink: 0;
|
|
width: 320px;
|
|
float: none;
|
|
height: 100%;
|
|
min-height: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background-color: #31373d;
|
|
}
|
|
|
|
body.soon-design-page .col-right > .tools-bar {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
body.soon-design-page .tools-bar {
|
|
flex-shrink: 0;
|
|
background-color: #31373d;
|
|
}
|
|
|
|
body.soon-design-page #version_change {
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
min-width: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
body.soon-design-page .img-warp {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
body.soon-design-page .container {
|
|
flex: 1;
|
|
display: flex;
|
|
min-height: 0;
|
|
height: 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body.soon-design-page .container .left {
|
|
position: static;
|
|
top: auto;
|
|
bottom: auto;
|
|
width: 50px;
|
|
flex-shrink: 0;
|
|
height: auto;
|
|
align-self: stretch;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
background-color: #31373d;
|
|
border-right: 1px solid #000;
|
|
-ms-overflow-style: none;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
body.soon-design-page .container .left::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
body.soon-design-page .container .right {
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
margin-left: 0;
|
|
height: auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background-color: #1e252d;
|
|
border-right: none;
|
|
}
|
|
|
|
body.soon-design-page #canvas-div {
|
|
flex: 1;
|
|
min-height: 0;
|
|
position: relative;
|
|
overflow: hidden;
|
|
width: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
body.soon-design-page .canvas-wrapper {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
position: relative;
|
|
}
|
|
|
|
body.soon-design-page .footer {
|
|
height: 30px;
|
|
flex-shrink: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0 0 0 10px;
|
|
box-sizing: border-box;
|
|
background-color: #31373d;
|
|
color: #ccc;
|
|
border-top: 1px solid #1e1e1e;
|
|
z-index: 100;
|
|
}
|
|
|
|
body.soon-design-page #posText {
|
|
line-height: 30px;
|
|
font-size: 14px;
|
|
margin-left: 0;
|
|
}
|
|
|
|
body.soon-design-page #object_attribute {
|
|
flex: 1 1 auto;
|
|
min-height: 0;
|
|
height: auto !important;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
body.soon-design-page #obj_list {
|
|
flex: 0 0 auto;
|
|
max-height: 38%;
|
|
min-height: 120px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
border-top: 1px solid #1e1e1e;
|
|
}
|
|
|
|
body.soon-design-page #obj_list .component-title {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
body.soon-design-page .obj_list {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
background-color: #31373d;
|
|
}
|
|
|
|
body.soon-design-page .layer-row {
|
|
display: flex !important;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
height: 36px;
|
|
padding: 0 5px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid #444;
|
|
background-color: transparent;
|
|
color: #ccc;
|
|
font-size: 12px;
|
|
position: relative;
|
|
}
|
|
|
|
body.soon-design-page .layer-row:hover {
|
|
background-color: #4a525a;
|
|
}
|
|
|
|
body.soon-design-page .layer-left {
|
|
display: flex;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
max-width: 180px;
|
|
}
|
|
|
|
body.soon-design-page .layer-index {
|
|
min-width: 24px;
|
|
text-align: center;
|
|
color: #999;
|
|
border-left: 1px solid #444;
|
|
padding-left: 5px;
|
|
}
|
|
|
|
body.soon-design-page .ruler-container {
|
|
position: relative;
|
|
background-color: #2c2c2c;
|
|
border: 1px solid #1e1e1e;
|
|
overflow: hidden;
|
|
}
|
|
|
|
body.soon-design-page .ruler-horizontal {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
height: 20px;
|
|
background-color: rgba(44, 44, 44, 0.9) !important;
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
z-index: 1000;
|
|
cursor: row-resize;
|
|
}
|
|
|
|
body.soon-design-page .ruler-vertical {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 20px;
|
|
background-color: rgba(44, 44, 44, 0.9) !important;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.2);
|
|
z-index: 1000;
|
|
cursor: col-resize;
|
|
}
|
|
|
|
body.soon-design-page .ruler-corner {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 20px;
|
|
height: 20px;
|
|
background-color: rgba(44, 44, 44, 0.9) !important;
|
|
border-right: 1px solid rgba(255, 255, 255, 0.2);
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
|
z-index: 1001;
|
|
}
|
|
|
|
body.soon-design-page .guide-line-drag {
|
|
position: absolute;
|
|
background-color: #0066ff;
|
|
z-index: 9999;
|
|
pointer-events: none;
|
|
box-shadow: 0 0 6px #0066ff;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
body.soon-design-page #source_front,
|
|
body.soon-design-page #source_front2,
|
|
body.soon-design-page #source_back {
|
|
width: 2787px;
|
|
height: 2787px;
|
|
border-radius: 50%;
|
|
} |