public.scss 4.79 KB
Newer Older
乐宝呗666's avatar
乐宝呗666 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
@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;
}


49
.bg {
50 51 52
  background-color: $color-bg;
  background-size: cover;
  background-position: center center;
53
  overflow: hidden;
54 55 56 57
}
.dv-loading {
  color: #fff;
}
58 59 60 61 62 63 64
.clearfix:after,.clearfix:before{
  content: "";
  display: table;
}
.clearfix:after{
  clear: both;
}
乐宝呗666's avatar
乐宝呗666 committed
65 66 67 68 69 70
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}

71 72 73
.title{
  height: .44rem;
  font-size:.18rem;
乐宝呗666's avatar
乐宝呗666 committed
74
  font-family:PingFang-SC-Bold,PingFang-SC;
75
  color:#fff;
乐宝呗666's avatar
乐宝呗666 committed
76
  text-align: center;
77
  line-height:.44rem;
乐宝呗666's avatar
乐宝呗666 committed
78
}
79

乐宝呗666's avatar
乐宝呗666 committed
80 81 82 83 84 85 86 87
.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{
88 89
  height:.16rem;
  font-size:.16rem;
乐宝呗666's avatar
乐宝呗666 committed
90 91 92
  font-family:PingFang-SC-Bold,PingFang-SC;
  font-weight:bold;
  color:rgba(255,255,255,1);
93
  line-height:.16rem;
乐宝呗666's avatar
乐宝呗666 committed
94 95
  .diamond{
    display: inline-block;
96 97
    width:.06rem;
    height:.06rem;
乐宝呗666's avatar
乐宝呗666 committed
98 99
    background: $color-primary;
    transform:rotate(45deg);
100 101
    margin-right: .08rem;
    vertical-align: .03rem;
乐宝呗666's avatar
乐宝呗666 committed
102 103
  }
}
104 105 106 107 108 109 110 111 112
.lookMore {
  position: absolute;
  right: 0.1rem;
  top: 0.1rem;
  font-size: .14rem;
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}
113 114 115
.px-24 {
  padding: .24rem;
}
116 117 118 119
.plr-2 {
  padding-left: .2rem;
  padding-right: .2rem;
}
乐宝呗666's avatar
乐宝呗666 committed
120
.height100{height: 100%}
121
.height21{height: 2.1rem}
122 123
.heightCut44 {height: calc(100% - .44rem);}
.heightCut68 {height: calc(100% - 0.68rem);}
124
.heightCut112 {height: calc(100% - 1.12rem);}
125 126


乐宝呗666's avatar
乐宝呗666 committed
127
.section{
128 129 130
  height: calc(100% - 1.4rem);
  padding:.08rem .48rem .4rem;
  display: flex;
131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157
  .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;
  }
乐宝呗666's avatar
乐宝呗666 committed
158
  .leftBlock{
159
    width: 5.02rem;
乐宝呗666's avatar
乐宝呗666 committed
160 161
  }
  .centerBlock{
162 163 164
    width: 8rem;
    padding: 0 .2rem;
    position: relative;
乐宝呗666's avatar
乐宝呗666 committed
165 166
  }
  .rightBlock{
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188
    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;
      &.is-active{
          color: #000E42;
          background: #30DDF4;
      }
乐宝呗666's avatar
乐宝呗666 committed
189 190 191
  }
}

192
.search-box {
193
  padding: .2rem;
乐宝呗666's avatar
乐宝呗666 committed
194 195 196 197 198 199 200
  .el-input--mini .el-input__inner {
    height: .28rem;
    line-height: .28rem;
  }
  .el-input--mini .el-input__icon {
    line-height: .28rem;
  }
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
}
// 选择框 搜索框样式
.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;
  }
乐宝呗666's avatar
乐宝呗666 committed
226 227 228 229
  .el-input--mini .el-input__inner {
    height: .28rem;
    line-height: .28rem;
  }
230
  .searchBtn{
乐宝呗666's avatar
乐宝呗666 committed
231
    font-size: .14rem;
232 233 234 235 236 237 238 239 240 241 242
    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;
乐宝呗666's avatar
乐宝呗666 committed
243 244
  }
}