楼宇能效监测控制系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

514 lines
9.5 KiB

@import "./variables.scss";
@import "./mixin.scss";
@import "./transition.scss";
@import "./element-ui.scss";
@import "./sidebar.scss";
@import "./btn.scss";
body {
height: 100%;
font-size: 14px;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
Microsoft YaHei, Arial, sans-serif;
overflow-x: hidden;
min-width: 320px;
}
label {
font-weight: 700;
}
html {
height: 100%;
box-sizing: border-box;
}
#app {
height: 100%;
}
*,
*:before,
*:after {
box-sizing: inherit;
}
.no-padding {
padding: 0px !important;
}
.padding-content {
padding: 4px 0;
}
a:focus,
a:active {
outline: none;
}
a,
a:focus,
a:hover {
cursor: pointer;
color: inherit;
text-decoration: none;
}
div:focus {
outline: none;
}
.fr {
float: right;
}
.fl {
float: left;
}
.pr-5 {
padding-right: 5px;
}
.pl-5 {
padding-left: 5px;
}
.block {
display: block;
}
.pointer {
cursor: pointer;
}
.inlineBlock {
display: block;
}
.clearfix {
&:after {
visibility: hidden;
display: block;
font-size: 0;
content: " ";
clear: both;
height: 0;
}
}
aside {
background: #eef1f6;
padding: 8px 24px;
margin-bottom: 20px;
border-radius: 2px;
display: block;
line-height: 32px;
font-size: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
color: #2c3e50;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
a {
color: #337ab7;
cursor: pointer;
&:hover {
color: rgb(32, 160, 255);
}
}
}
//main-container全局样式
.components-container {
margin: 30px 50px;
position: relative;
}
.pagination-container {
margin-top: 30px;
background: transparent !important;
}
.text-center {
text-align: center;
}
.sub-navbar {
height: 50px;
line-height: 50px;
position: relative;
width: 100%;
text-align: right;
padding-right: 20px;
transition: 600ms ease position;
background: linear-gradient(
90deg,
rgba(32, 182, 249, 1) 0%,
rgba(32, 182, 249, 1) 0%,
rgba(33, 120, 241, 1) 100%,
rgba(33, 120, 241, 1) 100%
);
.subtitle {
font-size: 20px;
color: #fff;
}
&.draft {
background: #d0d0d0;
}
&.deleted {
background: #d0d0d0;
}
}
.link-type,
.link-type:focus {
color: #3773e0;
cursor: pointer;
&:hover {
color: rgb(32, 160, 255);
}
}
.filter-container {
padding-bottom: 10px;
.filter-item {
display: inline-block;
vertical-align: middle;
margin-bottom: 10px;
}
}
.choice {
display: flex;
flex-direction: row;
overflow: hidden;
cursor: pointer;
margin-left: 42px;
cursor: pointer;
.mr20 {
font-size: 16px;
color: #a5b6cb;
width: 48px;
text-align: center;
background-color: #366797;
box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
border-radius: 14px;
margin-right: 10px;
text-shadow: none !important;
}
}
.timeStyle {
color: #ffffff !important;
background-image: linear-gradient(0deg, #0076c1 0%, #068be0 59%, #0ba0ff 100%),
linear-gradient(#006eea, #006eea);
background-blend-mode: normal, normal;
box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4);
border-radius: 14px;
}
.special-div {
display: flex;
flex-direction: column;
background-image: linear-gradient(
0deg,
rgba(0, 68, 126, 0.4) 0%,
rgba(0, 68, 126, 0.08) 100%
);
border-style: solid;
border-width: 1px;
border-image-source: linear-gradient(0deg, #0088f0 0%, #0088f0 100%);
border-image-slice: 1;
border: 1px solid transparent; /* 设置边框宽度和透明背景 */
border-image: linear-gradient(0deg, #00447e 0%, rgba(0, 68, 126, 0.2) 100%) 1; /* 使用渐变作为边框图片 */
.special-top {
background-image: linear-gradient(
90deg,
rgba(0, 121, 206, 0.5) 0%,
rgba(0, 121, 206, 0.1) 100%
);
padding: 4px 26px 4px 0px;
position: relative;
min-height: 37px;
}
.special-top::after {
content: "";
width: 100%;
height: 1px;
background-image: linear-gradient(
90deg,
#ffffff 0%,
rgba(255, 255, 255, 0.2) 99%
);
opacity: 0.5;
position: absolute;
top: -3px;
left: 0;
}
.special-top::before {
content: "";
width: 100%;
height: 1px;
background-image: linear-gradient(
90deg,
#ffffff 0%,
rgba(255, 255, 255, 0.2) 99%
);
opacity: 0.5;
position: absolute;
bottom: -3px;
left: 0;
}
.special-title {
width: 100%;
padding-left: 36px;
font-family: Source Han Sans CN;
font-weight: 400;
font-size: 20px;
color: #ffffff;
line-height: 23px;
background-image: url(../images/special-title-bg.png);
background-repeat: no-repeat;
background-size: 140px 35px;
background-position: 0px -3px;
text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
position: relative;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.special-title::before {
content: "";
width: 34px;
height: 13px;
// background-color: ;
background-image: url(../images/twoDot.png);
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
right: 0px;
}
}
// 排名需要样式
.rank-circle {
display: inline-block;
width: 32px;
height: 32px;
background-image: linear-gradient(-41deg, #7f8ca2 0%, #e5eeff 100%),
linear-gradient(#02336a, #02336a);
background-blend-mode: normal, normal;
box-shadow: inset 1px 1px 0px 0px rgba(255, 255, 255, 0.8);
font-family: SourceHanSansCN-Bold;
font-weight: bold;
color: #273855;
line-height: 32px;
text-align: center;
border-radius: 50%;
}
.rank-circle.top-1 {
background-image: url("../images/top-one.png");
background-size: 30px 32px;
background-repeat: no-repeat;
border-radius: 0%;
box-shadow: none;
}
.rank-circle.top-2 {
background-image: url("../images/top-two.png");
background-size: 30px 32px;
background-repeat: no-repeat;
border-radius: 0%;
box-shadow: none;
}
.rank-circle.top-3 {
background-image: url("../images/top-three.png");
background-size: 30px 32px;
background-repeat: no-repeat;
border-radius: 0%;
box-shadow: none;
}
.pagination {
width: 100%;
text-align: right;
margin-top: 15px;
}
.table-btn {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
flex-wrap: nowrap;
}
// 弹框内容超出高度滚动
.dialog-content {
max-height: 500px; /* 设置最大高度,可根据实际情况调整 */
overflow-y: auto; /* 当内容超出最大高度时,显示垂直滚动条 */
}
.intput-text {
color: #ffffff;
margin: 15px 0;
.down {
color: #0088f0;
cursor: pointer;
font-weight: bold;
}
.down:hover,
.down:focus,
.down:active {
text-decoration: underline;
}
}
// 弹框里的原生table
table {
border-collapse: collapse;
border-spacing: 0;
}
table tr {
height: 45px !important;
color: #ffffff;
}
table th {
color: #ffffff;
}
.el-dialog td {
height: 45px;
width: 280px;
white-space: normal;
}
// 打印的样式
@media print {
@page {
/* margin: 0; */
/* 纵向 */
/* size: portrait; */
/* 边距 上右下左 */
margin: 2cm 1cm 3cm 1cm;
// size: A4 portrait;
// margin: 3.7cm 2.6cm 3.5cm;
/* 国家标准公文页边距 GB/T 9704-2012 */
}
/* 给需要换行的元素设置word-wrap属性 */
table td,
p,
div {
word-wrap: break-word;
color: #000000;
}
table thead th {
color: #000000 !important;
font-weight: bold !important;
}
}
.report-detail {
display: flex;
flex-direction: row;
font-size: 14px;
justify-content: space-between;
flex-wrap: nowrap;
width: 40%;
color: #ffffff;
}
.btn-condition {
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
.condition-left,
.condition-right {
display: flex;
flex-direction: row;
align-items: flex-start;
justify-content: center;
.el-form-item {
text-align: center;
}
}
}
.el-dialog .el-row {
margin-bottom: 10px !important;
}
.el-dialog .el-row .el-select {
width: 100% !important;
}
.el-dialog .el-row .el-date-editor{
width: 100% !important;
}
// 原生table
.analysis-table {
width: 100%;
overflow-x: auto;
}
.analysis-table table {
border-collapse: collapse;
/* 合并边框 */
width: 100%;
}
.analysis-table table thead {
width: 100%;
}
.analysis-table table thead th {
padding: 0 0.25rem;
}
.analysis-table th {
height: 50px;
/* 设置高度 */
border: 1px solid #719eb2;
/* 设置边框 */
text-align: center;
/* 水平居中 */
color: #147cde;
background-color: #00477d;
font-size: 16px;
}
.analysis-table td {
padding: 0 0.25rem;
white-space: nowrap;
border: 1px solid #719eb2;
/* 设置边框 */
text-align: center;
/* 水平居中 */
font-size: 16px;
color: #ffffff;
}
.analysis-table tr td {
padding: 0.15rem 0.19rem;
color: #e2f3ff;
}
/* 修改水平滚动条样式 */
.analysis-table::-webkit-scrollbar {
width: 8px;
/* 设置滚动条宽度 */
// background-color: #517f82;
/* 设置滚动条背景颜色 */
}
.analysis-table::-webkit-scrollbar-thumb {
background-color: rgb(21, 50, 104);
/* 设置滑块颜色 */
}
.analysis-table::-webkit-scrollbar-thumb:hover {
background-color: rgb(38, 75, 143);
/* 设置滑块颜色 */
}
.analysis-table::-webkit-scrollbar-track {
background-color: #002249;
/* 设置滑道颜色 */
}