Files
tunnel-cloud-web/src/assets/styles/index.scss

965 lines
17 KiB
SCSS

* {
margin: 0;
padding: 0;
list-style: none;
box-sizing: border-box;
background-repeat: no-repeat;
background-size: 100% 100%;
background-position: center;
//-moz-user-select: none; /*火狐*/
//-webkit-user-select: none; /*webkit浏览器*/
//-ms-user-select: none; /*IE10*/
//-khtml-user-select: none; /*早期浏览器*/
//user-select: none;
font-family: "MicrosoftYaHei", "微软雅黑", "Helvetica Neue", Helvetica, Arial,
sans-serif;
}
body {
background-color: #f5f5f5;
}
.allLoading.el-loading-mask.is-fullscreen {
.el-loading-spinner {
.circular {
width: 75px;
height: 75px;
}
.el-loading-text {
font-size: 26px;
letter-spacing: 2px;
}
}
}
.el-container {
height: 100%;
}
.el-aside {
background-color: #ffffff;
height: 100%;
overflow: auto;
}
a {
text-decoration: none;
color: #333;
}
html,
body,
#app,
.el-container,
.el-aside,
.el-main {
height: 100%;
}
.tunnel-title {
width: 1718px;
height: 146px;
line-height: 130px;
z-index: 2;
position: absolute;
top: 0;
left: 50%;
margin-left: -859px;
background-image: url("../images/topAndDown/title-bg.png");
font-size: 55px;
text-align: center;
> span {
letter-spacing: 5px;
font-weight: bold;
background-image: -webkit-linear-gradient(top, #FFFFFF, #56bcda, #0BE9FA);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
}
.box-top {
.manage-btn {
display: flex;
z-index: 3;
position: absolute;
top: 66px;
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-length {
z-index: 2;
position: absolute;
top: 190px;
width: 100%;
display: flex;
justify-content: center;
font-size: 50px;
//font-weight: bold;
color: #0BE9FA;
> span:last-child {
margin-left: 40px;
}
}
.top-right {
z-index: 2;
position: absolute;
top: 28px;
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: 13px;
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: 960px !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: 30px;
color: #9fc3cd;
.el-carousel__item {
left: 19%;
}
> div {
display: flex;
justify-content: center;
padding-top: 5px;
width: 200px;
height:60px;
background-image: url("../images/topAndDown/sp_icon_sdqhx.png");
}
.is-active {
margin-top: -5px;
color: #ffffff;
padding-top: 7px;
width: 225px;
height: 62px;
background-image: url("../images/topAndDown/sp_icon_sdqhd.png");
}
}
.right {
margin: 50px 263px 0 0;
transform: rotate(180deg);
}
}
.shrink-screen-dialog {
width: 2175px !important;
//width: 100% !important;
//height: 100% !important;
height: 1300px !important;
margin: 520px auto 0 auto !important;
background: rgba(6, 34, 71, 0.8) !important;
}
.alarm-tunnel {
.el-tag {
font-size: 36px;
height: 60px;
padding: 0 20px;
border-radius: 10px;
}
.detail {
font-size: 50px;
color: #FFFFFF;
> div {
color: #f5f5f5;
margin-bottom: 10px;
}
}
.el-dialog {
position: relative;
display: flex;
flex-direction: column;
height: 1400px;
border: 2px solid #0f82af;
background: rgba(6, 34, 71, 0.8);
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__headerbtn {
right: 22px;
.el-dialog__close {
color: #05feff;
font-size: 73px;
}
}
}
.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;
display: flex;
.choose-day {
margin-right: 40px;
.el-date-editor {
width: 370px;
height: 92px;
}
.el-input__wrapper {
height: 92px;
background-color: transparent;
border-radius: 10px;
border: 2px solid #0F82AF;
box-shadow: none;
//padding: 18px 24px;
.el-input__prefix, .el-input__suffix {
.el-icon {
font-size: 40px;
color: #FFFFFF;
}
}
.el-input__inner {
height: 80px;
font-size: 40px;
color: #FFFFFF;
}
}
}
}
.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);
}
}
.shrink-icon {
margin: -36px -20px 0 30px;
cursor: pointer;
width: 65px;
height: 65px;
background-image: url("@/assets/images/fanInfo/shrink.png");
}
.full-icon {
cursor: pointer;
margin: -36px -20px 0 30px;
}
//弹窗样式
.digital-tunnel {
.chat-dialog {
display: flex;
#container {
flex: 1;
height: 1200px;
//width: 1300px;
}
#containerFan {
//width: 100%;
//height: 100%;
flex: 1;
//height: calc(100vh - 100px);
//height: 100vh;
height: 1200px;
//width: 1300px;
}
#containerBad {
flex: 1;
height: 1200px;
//width: 1300px;
}
#containerWind {
flex: 1;
height: 1200px;
//width: 1300px;
}
#containerWindDirection {
flex: 1;
height: 1160px;
//width: 1300px;
}
#containerEle {
flex: 1;
height: 1010px;
//width: 2180px;
}
#containerAir {
flex: 1;
height: 1150px;
//width: 2180px;
}
}
.el-dialog {
position: relative;
display: flex;
flex-direction: column;
width: 99.9%;
height: 99.9%;
//height: 1300px;
border: 2px solid #0f82af;
//background: rgba(6, 34, 71, 0.78);
background: rgba(6, 34, 71, 0.95);
border-radius: 20px;
padding: 47px 30px;
box-sizing: border-box;
//margin: 520px auto 0 auto;
margin: 0;
.el-dialog__header {
padding: 0 0 46px 0;
//display: none;
.el-dialog__title {
font-size: 50px;
font-weight: bold;
color: #d6f1fa;
}
.el-dialog__headerbtn {
right: 22px;
.el-dialog__close {
color: #05feff;
font-size: 73px;
}
}
}
.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);
}
.export-btn {
cursor: pointer;
//padding-left: 53px;
width: 178px;
height: 92px;
line-height: 92px;
border-radius: 11px;
border: 2px solid #08B7B8;
background: #264A78;
//border-radius: 11px;
color: #FFFFFF;
font-size: 48px;
text-align: center;
margin-right: 30px;
}
.change-screen {
position: absolute;
right: 126px;
top: 50px;
}
.time-select {
position: absolute;
top: 20px;
right: 200px;
display: flex;
.choose-dates{
.el-date-editor {
width: 600px!important;
}
}
.choose-day {
margin-right: 40px;
.el-date-editor {
width: 370px;
//width: 600px;
height: 92px;
.el-range__icon,.el-range__close-icon{
font-size: 40px;
color: #FFFFFF;
}
.el-range-input{
font-size: 37px;
color: #FFFFFF;
}
.el-range-separator{
font-size: 36px;
color: #f5f5f5;
}
}
.el-input__wrapper {
height: 92px;
background-color: transparent;
border-radius: 10px;
border: 2px solid #0F82AF;
box-shadow: none;
//padding: 18px 24px;
.el-input__prefix, .el-input__suffix {
.el-icon {
font-size: 40px;
color: #FFFFFF;
}
}
.el-input__inner {
height: 80px;
font-size: 40px;
color: #FFFFFF;
}
}
}
}
.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 {
position: absolute;
top: 46px;
left: 516px;
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;
}
}
}
}
.el-overlay-message-box {
.el-message-box {
padding-bottom: 23px;
width: 310px;
//height:190px;
background: rgba(7, 35, 72, 0.79);
border-radius: 20px;
border: 2px solid #0f82af;
.el-message-box__header {
display: none;
//padding: 15px;
}
.el-message-box__title {
display: none;
}
.el-message-box__close {
display: none;
}
.el-message-box__content {
padding: 18px 15px;
.el-icon {
display: none;
}
.el-message-box__message {
display: flex;
align-items: center;
justify-content: center;
//width: 315px;
height: 80px;
//line-height: 80px;
font-size: 22px;
font-weight: bold;
color: #08b7b8;
letter-spacing: 0.5px;
p {
line-height: 40px;
}
}
}
.el-message-box__status + .el-message-box__message {
padding-left: 22px;
padding-right: 12px;
word-break: break-word;
}
.el-message-box__btns {
padding: 0;
display: flex;
justify-content: space-around;
.el-button {
width: 80px;
height: 40px;
border: 2px solid #0f82af;
font-size: 18px;
background-color: #072348;
color: #08b7b8;
}
.el-button--primary {
background: #08b7b8;
color: #ffffff;
}
}
}
}
.el-dropdown-menu__item:not(.is-disabled):focus {
background-color: transparent !important;
}
.el-popper__arrow::before {
display: none;
}
.current-site {
.site-bg {
.el-select-dropdown {
width: 200px !important;
}
.el-select-dropdown__item {
color: #fff !important;
}
.el-select-dropdown__item.hover {
background-color: #072247 !important;
}
.el-select-dropdown__item:hover {
background-color: #072247 !important;
color: #08B7B8 !important;
}
.el-select-dropdown__item.selected {
color: #08B7B8 !important;
}
.el-select-dropdown__list {
.el-select-dropdown__item:first-child {
color: #FFFFFF;
&:hover {
color: #08B7B8 !important;
}
}
}
}
}
//input number 右侧加减隐藏
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
}
input[type="number"] {
-moz-appearance: textfield;
}
//checkbox
.el-checkbox__inner {
width: 40px !important;
height: 40px !important;
border-radius: 25px !important;
border: 4px solid #05FEFF !important;
background-color: transparent !important;
}
.el-checkbox__input.is-checked .el-checkbox__inner {
//background-color: #05FEFF !important;
}
.el-checkbox__input.is-checked .el-checkbox__inner::after {
//display: none;
width: 18px;
height: 18px;
border-width: 3px;
//border-left: 0;
//border-top: 0;
border-radius: 25px;
top: 6px;
left: 6px;
//left: 12px;
font-size: 30px;
background: #05FEFF;
border-color: transparent !important;
}
//取消 确定按钮
.btns {
display: flex;
justify-content: space-around;
margin-top: 80px;
.cancel-btn {
display: flex;
justify-content: center;
cursor: pointer;
width: 220px;
height: 80px;
border-radius: 11px;
border: 2px solid #08B7B8;
color: #08B7B8;
line-height: 80px;
font-size: 38px;
box-sizing: border-box;
}
.sure-btn {
display: flex;
justify-content: center;
cursor: pointer;
width: 220px;
height: 80px;
line-height: 80px;
background: #08B7B8;
border-radius: 11px;
color: #FFFFFF;
font-size: 38px;
}
}
.el-pagination.is-background .btn-prev:disabled {
background-color: transparent !important;
color: #60DDDE !important;
}
.el-pagination.is-background .btn-next:disabled {
background-color: transparent !important;
color: #60DDDE !important;
}
.showNull {
font-size: 35px;
min-height: 350px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: #2fb0df;
letter-spacing: 3px;
}
//loading
.loading-block {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 900px;
font-size: 55px;
color: #38CAFB;
letter-spacing: 3px;
}
.loading {
margin-bottom: 20px;
width: 100px;
height: 100px;
border: 2px solid #38CAFB;
border-top-color: transparent;
border-radius: 100%;
animation: circle infinite 0.75s linear;
}
// 转转转动画
@keyframes circle {
0% {
transform: rotate(0);
}
100% {
transform: rotate(360deg);
}
}