dev_xulongjin c61ecd74cd feat(数据可视化技术): 添加网店运营大屏前端和后端基础结构
- 新建前端项目配置文件和样式文件
- 创建后端 Flask 应用和数据库连接管理器
- 定义多个 API 路由以获取销售数据
2025-05-19 09:12:20 +08:00

152 lines
3.3 KiB
CSS
Executable File

@charset "utf-8";
/********** Global **********/
/*
*常用背景色: #0f1c30 #0b0f34 (6,64,102) (29,45,57) (7,33,58) (8,13,28) (15,43,36)
*/
html, body {
width:100%;
height:100%;
min-height:635px;
font-family:"microsoft yahei", arial, sans-serif;
background-color:#152a59;
background-repeat:no-repeat;
background-position:center;
background-size:100% 100%;
overflow-x:hidden;
overflow-y:auto;
}
body.bg06 {background-image:url("../img/bg06.png");}
.header {
margin:0 auto;
width:100%;
height:55px;
max-width:1920px;
background:url("../img/header-left.png") left center no-repeat, url("../img/header-right.png") right center no-repeat;
background-size:43% 100%, 43% 100%;
overflow:hidden;
}
.header h3 {
margin:0;
padding:0;
line-height:60px;
text-align:center;
font-size:24px;
color:#5dc2fe;
}
#currentTime {
position:absolute;
height:100%;
width:35%;
line-height:25px;
top:2%;
left:75%;
/*text-align: center;*/
font-size:10px;
color:#1890FF;
}
@media (max-width: 1199px) {
.header {
background:url("../img/header-left.png") left bottom no-repeat, url("../img/header-right.png") right bottom no-repeat;
background-size:100%, 100%;
}
.header h3 {line-height:48px;}
}
.wrapper {position:absolute;top:70px;bottom:0;left:0;right:0;min-height:555px;}
.container-fluid {height:100%;min-height:100%;}
.row {margin-left:-7px;margin-right:-8px;}
.row>div {padding-left:7px;padding-right:8px;}
.xpanel-wrapper {padding-bottom:15px;box-sizing:border-box;}
.xpanel-wrapper-1 {height:100%;}
.xpanel-wrapper-1-2 {height:50%;}
.xpanel-wrapper-1-3 {height:50%;}
.xpanel-wrapper-2-3 {height:50%;}
.xpanel {
position: relative;
padding:15px;
height:100%;
min-height:170px;
background:url("../img/panel.png") center no-repeat;
background-size:100% 100%;
box-sizing:border-box;
}
.title {
position: absolute;
padding-left:24px;
height:36px;
width: 90%;
line-height:36px;
font-size:15px;
font-weight:normal;
color:#00C6FB;
background-image:url("../img/title-bg.png");
background-repeat:no-repeat;
background-size:100% 100%;
margin: 0;
}
.center_title {
position: absolute;
padding-left:24px;
height:36px;
width: 90%;
line-height:36px;
font-size:15px;
font-weight:normal;
color:#00C6FB;
background-image:url("../img/title-bg.png");
background-repeat:no-repeat;
background-size:100% 100%;
margin: 0;
top:2%;
}
.title1 {
position: absolute;
padding-left:15px;
height:30px;
width: 90%;
line-height:15px;
font-size:15px;
font-weight:normal;
color:#FFFFFF;
background:none;
background-repeat:no-repeat;
background-size:100% 100%;
margin: 0;
}
/* tool */
.fill-h {height:100%;min-height:100%;}
.no-margin {margin:0 !important;}
.no-padding {padding:0 !important;}
.no-bg {background:none !important;}
.no-border {border:0 !important;}
.left_right_div {
position: absolute;
height:79%;
width: 93%;
top:20%;
padding: 0px 0px 0px 0px;
background:none;
margin: 0;
}
.center_div {
position: absolute;
height:88%;
width: 100%;
top:8%;
padding: 0;
background:none;
margin: 0;
}
.center_div1 {
position: absolute;
height:100%;
width: 100%;
top:5%;
padding: 0;
background:none;
margin: 0;
}
/* scrollbar */
::-webkit-scrollbar {width:0;height:0;}
::-webkit-scrollbar-track {background-color:transparent;}
::-webkit-scrollbar-thumb {border-radius:5px;background-color:rgba(0, 0, 0, 0.3);}