@import '~@/assets/style/unit/color.scss'; @import '~@/assets/style/font.scss'; // 工具类名统一前缀 $prefix: d2; // 禁止用户选中 鼠标变为手形 %unable-select { user-select: none; cursor: pointer; } // 组要父元素 position: relative | absolute; %full { position: absolute; top: 0px; right: 0px; bottom: 0px; left: 0px; // height: 1080px; // width: 1920px; } // flex 垂直水平居中 %flex-center-row { display: flex; justify-content: center; align-items: center; flex-direction: row; } %flex-center-col { display: flex; justify-content: center; align-items: center; flex-direction: column; } // 将元素模拟成卡片外观 %card { border: 1px solid #dddee1; border-color: #e9eaec; background: #fff; border-radius: 4px; font-size: 14px; position: relative; } .bg { background-color: $color-bg; background-size: cover; background-position: center center; overflow: hidden; } .dv-loading { color: #fff; } .clearfix:after,.clearfix:before{ content: ""; display: table; } .clearfix:after{ clear: both; } ul{list-style: none; padding: 0} .d2-container-full{height: 100%;} .d2-container-full__body{height: 100%;} .tl{text-align: left} .tr{text-align: right} .title{ height: .44rem; font-size:.18rem; font-family:PingFang-SC-Bold,PingFang-SC; color:#fff; text-align: center; line-height:.44rem; } .line{ width:150px; height:2px; background:linear-gradient(270deg,rgba(48,221,244,0) 0%,rgba(48,221,244,1) 46%,rgba(48,221,244,1) 59%,rgba(48,221,244,0) 100%); border-radius:5px; margin: 0 auto; } .subtitle{ height:.16rem; font-size:.16rem; font-family:PingFang-SC-Bold,PingFang-SC; font-weight:bold; color:rgba(255,255,255,1); line-height:.16rem; .diamond{ display: inline-block; width:.06rem; height:.06rem; background: $color-primary; transform:rotate(45deg); margin-right: .08rem; vertical-align: .03rem; } } .lookMore { position: absolute; right: 0.1rem; top: 0.1rem; font-size: .14rem; color: #fff; text-decoration: underline; cursor: pointer; } .px-24 { padding: .24rem; } .plr-2 { padding-left: .2rem; padding-right: .2rem; } .height100{height: 100%} .height21{height: 2.1rem} .heightCut44 {height: calc(100% - .44rem);} .heightCut68 {height: calc(100% - 0.68rem);} .heightCut112 {height: calc(100% - 1.12rem);} .section{ height: calc(100% - 1.4rem); padding:.08rem .48rem .4rem; display: flex; .boxHeight-3 { height: 3.02rem; background: url("~@/assets/img/l-border-1.png"); background-size: 100% 100%; } .boxHeight-2 { height: 4.62rem; background: url("~@/assets/img/r-border-1.png"); background-size: 100% 100%; } .centerBoxHeight-3 { height: 3.02rem; background: url("~@/assets/img/c-border-b.png"); background-size: 100% 100%; } .centerBoxHeight-32 { width: 8rem; height: 6.24rem; background: url("~@/assets/img/border-no-head.png"); background-size: 100% 100%; } .mt-2 { margin-top: .2rem; } .mt-1 { margin-top: .1rem; } .leftBlock{ width: 5.02rem; } .centerBlock{ width: 8rem; padding: 0 .2rem; position: relative; } .rightBlock{ width: 5.02rem; } } // tab 切换数据框公共样式 .select-box { font-size: .12rem; display: flex; justify-content: center; .tab-button { height: .2rem; line-height: .2rem; padding: 0 .16rem; font-size:.12rem; font-family:PingFang-SC-Bold,PingFang-SC; color: #30DDF4; background: rgba(48,221,244,0.15); border: 1px solid #77E2FF; border-radius: 2px; cursor: pointer; &.is-active{ color: #000E42; background: #30DDF4; } } } .search-box { padding: .2rem; .el-input--mini .el-input__inner { height: .28rem; line-height: .28rem; } .el-input--mini .el-input__icon { line-height: .28rem; } } // 选择框 搜索框样式 .el-input__inner{ background:rgba(144,224,255,0.15); border-radius:2px; border:1px solid rgba(119,226,255,1); color: #FFFFFF; font-size:.12rem; font-family:PingFang-SC-Bold,PingFang-SC; font-weight:bold; } .el-select{ width: 1.6rem; .el-select__caret{color: #30DDF4 !important;} } // 搜索框样式 .search{ font-size: .16rem; height: .28rem; border-radius: 2px; .el-autocomplete{ width: calc(100% - 0.64rem); float: left; } .el-input--mini .el-input__inner { height: .28rem; line-height: .28rem; } .searchBtn{ font-size: .14rem; color: #000E42; width: .64rem; height: .28rem; line-height: .28rem; background-image: linear-gradient(180deg, #30DDF4 0%, #30DDF4 100%); border: 1px solid rgba(119,226,255,0.15); box-shadow: inset 0 4px 10px 0 rgba(0,0,0,0.50); border-radius: 0 2px 2px 0; text-align: center; padding: 0; float: left; } }