Files
tunnel-cloud-web/src/assets/styles/index.scss
2023-12-15 12:58:24 +08:00

380 lines
6.5 KiB
SCSS

* {
margin: 0;
padding: 0;
list-style: none;
box-sizing: border-box;
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center;
}
a {
text-decoration: none;
color: #333;
}
html, body, #app, .el-container, .el-aside, .el-main {
height: 100%;
}
.tunnel-title {
width: 1718px;
height: 146px;
z-index: 2;
position: absolute;
top: 0;
left: 50%;
margin-left: -859px;
background-image: url('../images/topAndDown/sp_tb.png');
}
.box-top {
.manage-btn {
display: flex;
z-index: 3;
position: absolute;
top: 85px;
left: 30px;
.btn-box {
cursor: pointer;
margin-left: 37px;
display: flex;
align-items: center;
> * {
font-size: 28px;
color: #FFFFFF;
line-height: 37px;
}
> div:first-child {
margin-right: 11px;
width: 60px;
height: 60px;
}
.select-active {
color: #11EAF2 !important;
}
}
}
.top-right {
z-index: 2;
position: absolute;
top: 50px;
right: 70px;
font-size: 28px;
color: #FFFFFF;
.current-site {
display: flex;
align-items: center;
> span:first-child {
color: #F7B500;
margin-right: 20px;
}
.toggle {
cursor: pointer;
width: 50px;
height: 50px;
background-image: url('../images/topAndDown/sp_icon_zdqh.png');
}
}
.current-user {
margin-top: 26px;
display: flex;
align-items: center;
> span:first-child {
color: #F7B500;
margin-right: 20px;
}
.logout {
cursor: pointer;
margin-left: 27px;
width: 50px;
height: 50px;
background-image: url('../images/topAndDown/sp_icon_tcdl.png');
}
}
}
}
.modal-box {
z-index: -1 !important;
position: static !important;
.el-drawer {
width: 900px !important;
background-color: transparent;
box-shadow: none;
}
}
.left-arrow {
cursor: pointer;
position: absolute;
top: 1095px;
left: 900px;
width: 100px;
height: 114px;
background-image: url('../images/topAndDown/sp_icon_zyc.png');
}
.tunnel-length {
position: absolute;
top: 13%;
left: 36%;
z-index: 9;
}
.shrink-left {
cursor: pointer;
position: absolute;
top: 1095px;
left: 0;
width: 100px;
height: 114px;
background-image: url('../images/topAndDown/sp_yyc.png');
}
.right-arrow {
cursor: pointer;
position: absolute;
top: 1095px;
right: 900px;
width: 100px;
height: 114px;
background-image: url('../images/topAndDown/sp_yyc.png');
}
.shrink-right {
cursor: pointer;
position: absolute;
top: 1095px;
right: 0;
width: 100px;
height: 114px;
background-image: url('../images/topAndDown/sp_icon_zyc.png');
}
.switch-btn {
display: flex;
justify-content: space-between;
width: 1850px;
height: 146px;
z-index: 2;
position: absolute;
bottom: 0;
left: 50%;
margin-left: -925px;
background-image: url('../images/topAndDown/sp_dbbj.png');
.el-carousel__mask {
display: none;
}
.el-carousel {
width: 1250px;
height: 146px;
padding-top: 35px;
.el-carousel__container {
width: 1250px;
.el-carousel__arrow--left {
display: none;
}
.el-carousel__arrow--right {
display: none;
}
}
.el-carousel__indicators {
display: none;
}
}
.arrow {
cursor: pointer;
margin: 50px 0 0 263px;
width: 46px;
height: 54px;
background-image: url('../images/topAndDown/sp_icon_zst.png');
}
.btn {
width: 100%;
margin-top: 14px;
font-size: 26px;
color: #9FC3CD;
.el-carousel__item {
left: 19%;
}
> div {
display: flex;
justify-content: center;
padding-top: 5px;
width: 158px;
height: 50px;
background-image: url('../images/topAndDown/sp_icon_sdqhx.png');
}
.is-active {
margin-top: -5px;
color: #FFFFFF;
padding-top: 7px;
width: 201px;
height: 62px;
background-image: url('../images/topAndDown/sp_icon_sdqhd.png');
}
}
.right {
margin: 50px 263px 0 0;
transform: rotate(180deg);
}
}
//弹窗样式
.digital-tunnel {
.chat-dialog{
display: flex;
#container {
flex: 1;
height: 1160px;
//width: 1300px;
}
#containerEle {
flex: 1;
height: 1060px;
//width: 2180px;
}
}
.el-dialog {
position: relative;
display: flex;
flex-direction: column;
height: 1300px;
border: 2px solid #0F82AF;
background: rgba(6, 34, 71, 0.78);
border-radius: 20px;
padding: 47px 30px;
box-sizing: border-box;
margin: 520px auto 0 auto;
.el-dialog__header {
padding: 0 0 28px 0;
//display: none;
.el-dialog__title {
font-size: 50px;
font-weight: bold;
color: #D6F1FA;
}
.el-dialog__close {
color: #05FEFF;
font-size: 35px;
}
}
.el-dialog__body {
padding: 0;
}
}
.left-top-icon {
position: absolute;
top: -3px;
left: -3px;
width: 41px;
height: 41px;
background-image: url(@/assets/images/badGasInfo/sp_jz.png);
}
.right-top-icon {
position: absolute;
top: -3px;
right: -3px;
width: 41px;
height: 41px;
background-image: url(@/assets/images/badGasInfo/sp_jz.png);
transform: rotate(90deg);
}
.time-select {
position: absolute;
top: 47px;
right: 119px;
}
.left-bottom-icon {
position: absolute;
bottom: -3px;
left: -3px;
width: 41px;
height: 41px;
background-image: url(@/assets/images/badGasInfo/sp_jz.png);
transform: rotate(-90deg);
}
.right-bottom-icon {
position: absolute;
bottom: -3px;
right: -3px;
width: 41px;
height: 41px;
background-image: url(@/assets/images/badGasInfo/sp_jz.png);
transform: rotate(180deg);
}
//用电量
.top-tag {
display: flex;
justify-content: center;
.allUsedEle {
width: 300px;
height: 200px;
border-radius: 10px;
border: 2px solid #0F82AF;
display: flex;
flex-direction: column;
align-items: center;
&:nth-child(2) {
margin-left: 39px;
}
.use-title {
display: flex;
justify-content: center;
align-items: center;
width: 300px;
height: 100px;
background: #264A78;
font-size: 45px;
color: #FFFFFF;
}
.value {
margin-top: 15px;
font-size: 50px;
font-family: MicrosoftYaHei;
color: #FFFFFF;
}
}
}
}