common.less 6.06 KB
Newer Older
qzhxx's avatar
qzhxx committed
1
* {
qzhxx's avatar
qzhxx committed
2 3 4 5
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
qzhxx's avatar
qzhxx committed
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

body,
div,
span,
header,
footer,
nav,
section,
aside,
article,
ul,
dl,
dt,
dd,
li,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
i,
b,
textarea,
button,
input,
select,
figure,
figcaption {
qzhxx's avatar
qzhxx committed
37 38 39 40 41 42 43 44
  padding: 0;
  margin: 0;
  list-style: none;
  font-style: normal;
  font-size: 14px;
  text-decoration: none;
  border: none;
  font-family: fSourceHanSansCN-Regular;
qzhxx's avatar
qzhxx committed
45
  -webkit-tap-highlight-color: transparent;
qzhxx's avatar
qzhxx committed
46
  -webkit-font-smoothing: antialiased;
qzhxx's avatar
qzhxx committed
47

qzhxx's avatar
qzhxx committed
48 49 50 51
  &:focus {
    outline: none;
  }
}
qzhxx's avatar
qzhxx committed
52 53 54

html,
body {
qzhxx's avatar
qzhxx committed
55 56 57 58
  height: 100%;
  width: 100%;
  color: #333;
}
qzhxx's avatar
qzhxx committed
59 60 61 62 63 64 65

h1,
h2,
h3,
h4,
h5,
h6 {
qzhxx's avatar
qzhxx committed
66 67
  margin: 0px;
}
qzhxx's avatar
qzhxx committed
68

qzhxx's avatar
qzhxx committed
69 70 71
ol {
  padding-left: 20px !important;
}
qzhxx's avatar
qzhxx committed
72 73 74

ol li {
  list-style-type: decimal;
qzhxx's avatar
qzhxx committed
75
}
qzhxx's avatar
qzhxx committed
76 77 78 79

div {}

.mar0 {
qzhxx's avatar
qzhxx committed
80 81
  margin: 0px;
}
qzhxx's avatar
qzhxx committed
82 83

.pad0 {
qzhxx's avatar
qzhxx committed
84 85
  padding: 0px;
}
qzhxx's avatar
qzhxx committed
86 87

.l-float {
qzhxx's avatar
qzhxx committed
88 89
  float: left;
}
qzhxx's avatar
qzhxx committed
90 91

.r-float {
qzhxx's avatar
qzhxx committed
92 93
  float: right;
}
qzhxx's avatar
qzhxx committed
94 95

.H100 {
qzhxx's avatar
qzhxx committed
96 97
  height: 100%;
}
qzhxx's avatar
qzhxx committed
98 99

.W100 {
qzhxx's avatar
qzhxx committed
100 101
  width: 100%;
}
qzhxx's avatar
qzhxx committed
102 103 104

.head_box {
  position: relative;
qzhxx's avatar
qzhxx committed
105
  width: 100%;
qzhxx's avatar
qzhxx committed
106
  height: 80px;
qzhxx's avatar
qzhxx committed
107
  padding: 20px;
qzhxx's avatar
qzhxx committed
108 109 110 111 112 113 114 115 116
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  border-radius: 8px;
  h6 {
    font-size: 14px;
    font-weight: 400;
    color: rgba(0, 0, 0, 0.65);
qzhxx's avatar
qzhxx committed
117 118
    margin-bottom: 10px;
  }
qzhxx's avatar
qzhxx committed
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133

  h4 {
    font-size: 20px;
    font-weight: 500;
    color: rgba(0, 0, 0, 0.85);
  }
  .tipMsg{
    height: 80px;
    line-height: 35px;
    width:400px;
    position:absolute;
    right: 0;
    top: 0;
    // right: 20px;
    // top: 133px;
qzhxx's avatar
qzhxx committed
134 135
  }
}
qzhxx's avatar
qzhxx committed
136 137

.marl20 {
qzhxx's avatar
qzhxx committed
138 139 140
  margin-left: 20px;
}

qzhxx's avatar
qzhxx committed
141
.content_box {
qzhxx's avatar
qzhxx committed
142 143 144
  //overflow-x: scroll;
  //overflow-y: hidden;
  width: calc(100% - 0px);
qzhxx's avatar
qzhxx committed
145 146 147
  height: calc(100% - 100px);
  // background: #F0F2F5;
  // border: 1px solid transparent;
qzhxx's avatar
qzhxx committed
148 149
  //overflow: hidden;

qzhxx's avatar
qzhxx committed
150 151 152 153 154 155 156 157 158
  padding: 0px;
  margin-top: 20px;
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  border-radius: 8px;


qzhxx's avatar
qzhxx committed
159
}
qzhxx's avatar
qzhxx committed
160 161 162 163 164

.h778px {

  height: 100%;
  width: 100%;
qzhxx's avatar
qzhxx committed
165 166
  //min-width: 815px;
  //margin: 24px 24px 0px 24px;
qzhxx's avatar
qzhxx committed
167
  padding: 20px;
qzhxx's avatar
qzhxx committed
168
  box-sizing: border-box;
qzhxx's avatar
qzhxx committed
169 170 171 172 173
  background: #FFFFFF;
  border: 1px solid #FFFFFF;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.10);
  border-radius: 8px;
  border-radius: 8px;
qzhxx's avatar
qzhxx committed
174
}
qzhxx's avatar
qzhxx committed
175

qzhxx's avatar
qzhxx committed
176 177

.el-pagination {
qzhxx's avatar
qzhxx committed
178 179 180 181
  text-align: right;
  margin-top: 10px;

}
qzhxx's avatar
qzhxx committed
182 183 184 185 186 187 188 189 190

.el-pagination.is-background.el-pagination--small .btn-next,
.el-pagination.is-background.el-pagination--small .btn-prev,
.el-pagination.is-background.el-pagination--small .el-pager li {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  line-height: 30px;
  border: 1px solid rgba(217, 217, 217, 1)
qzhxx's avatar
qzhxx committed
191 192 193 194
}


/*分页*/
qzhxx's avatar
qzhxx committed
195 196 197
.el-pagination.is-background .btn-prev,
.btn-next,
.el-pagination.is-background .el-pager li {
qzhxx's avatar
qzhxx committed
198 199
  margin: 0 5px;
  background-color: #fff;
qzhxx's avatar
qzhxx committed
200
  border: 1px solid rgba(217, 217, 217, 1);
qzhxx's avatar
qzhxx committed
201
}
qzhxx's avatar
qzhxx committed
202 203 204 205

.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
qzhxx's avatar
qzhxx committed
206 207
  margin: 0 5px;
  background-color: #fff;
qzhxx's avatar
qzhxx committed
208
  border: 1px solid rgba(217, 217, 217, 1);
qzhxx's avatar
qzhxx committed
209
}
qzhxx's avatar
qzhxx committed
210

qzhxx's avatar
qzhxx committed
211 212
.el-pagination.is-background .el-pager li {
  background-color: #fff;
qzhxx's avatar
qzhxx committed
213
  border: 1px solid rgba(217, 217, 217, 1);
qzhxx's avatar
qzhxx committed
214
}
qzhxx's avatar
qzhxx committed
215 216

.el-message-box {
qzhxx's avatar
qzhxx committed
217 218
  .el-message-box--center {
    padding-bottom: 6px;
qzhxx's avatar
qzhxx committed
219 220

    .el-message-box__header {
qzhxx's avatar
qzhxx committed
221 222
      border-bottom: 2px solid #eee;
    }
qzhxx's avatar
qzhxx committed
223 224

    .el-message-box__content {
qzhxx's avatar
qzhxx committed
225
      padding: 0 0;
qzhxx's avatar
qzhxx committed
226 227

      .el-input__inner {
qzhxx's avatar
qzhxx committed
228 229
        border: none;
      }
qzhxx's avatar
qzhxx committed
230 231

      .el-message-box__input {
qzhxx's avatar
qzhxx committed
232 233 234 235
        padding: 0 0;
        height: 200px;
      }
    }
qzhxx's avatar
qzhxx committed
236 237

    .el-message-box__btns {
qzhxx's avatar
qzhxx committed
238 239 240 241 242 243 244 245
      border-top: 2px solid #eee;
    }
  }

}


// 状态
qzhxx's avatar
qzhxx committed
246 247
.statusBox {
  span {
qzhxx's avatar
qzhxx committed
248 249 250
    width: 10px;
    height: 10px;
  }
qzhxx's avatar
qzhxx committed
251 252 253 254

  .active {
    width: 6px;
    height: 6px;
qzhxx's avatar
qzhxx committed
255 256 257 258 259 260 261 262 263 264
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
  }
}

//面包屑
.el-breadcrumb {
  margin-bottom: 18px;
}
qzhxx's avatar
qzhxx committed
265 266

span.el-breadcrumb__inner {
qzhxx's avatar
qzhxx committed
267
  font-weight: 400 !important;
qzhxx's avatar
qzhxx committed
268
  color: rgba(0, 0, 0, 0.65) !important;
qzhxx's avatar
qzhxx committed
269
}
qzhxx's avatar
qzhxx committed
270

qzhxx's avatar
qzhxx committed
271 272 273 274
span.el-breadcrumb__separator {
  margin: 0 5px;
  color: #c0c4cc;
  font-weight: 400;
qzhxx's avatar
qzhxx committed
275
  color: rgba(0, 0, 0, 0.45);
qzhxx's avatar
qzhxx committed
276 277 278
}

//排序
qzhxx's avatar
qzhxx committed
279
::-webkit-scrollbar {
qzhxx's avatar
qzhxx committed
280 281 282 283
  width: 6px;
  height: 6px;
  background-color: #F5F5F5;
}
qzhxx's avatar
qzhxx committed
284 285

::-webkit-scrollbar-thumb {
qzhxx's avatar
qzhxx committed
286 287 288
  border-radius: 10px;
  background-color: #D9D9D9;
}
qzhxx's avatar
qzhxx committed
289

qzhxx's avatar
qzhxx committed
290 291 292 293
.sort-dialog {
  .el-dialog {
    margin-top: 15vh;
  }
qzhxx's avatar
qzhxx committed
294

qzhxx's avatar
qzhxx committed
295 296
  .el-dialog__body {
    padding: 0 20px 15px;
qzhxx's avatar
qzhxx committed
297

qzhxx's avatar
qzhxx committed
298 299 300
    span.tips {
      color: #989898;
    }
qzhxx's avatar
qzhxx committed
301

qzhxx's avatar
qzhxx committed
302 303 304 305
    .hidden-box {
      width: 100%;
      overflow: hidden;
    }
qzhxx's avatar
qzhxx committed
306

qzhxx's avatar
qzhxx committed
307 308 309 310 311 312
    .list {
      margin-top: 10px;
      border: 1px solid #D9D9D9;
      max-height: 465px;
      overflow-x: hidden;
      overflow-y: auto;
qzhxx's avatar
qzhxx committed
313

qzhxx's avatar
qzhxx committed
314 315 316 317
      .item {
        padding: 4px 10px;
        overflow: hidden;
        border-bottom: 1px solid #D9D9D9;
qzhxx's avatar
qzhxx committed
318

qzhxx's avatar
qzhxx committed
319 320 321
        &:last-child {
          border-bottom: none;
        }
qzhxx's avatar
qzhxx committed
322

qzhxx's avatar
qzhxx committed
323 324 325 326 327 328 329
        img {
          width: 36px;
          height: 36px;
          border-radius: 50%;
          vertical-align: middle;
          margin-right: 6px;
        }
qzhxx's avatar
qzhxx committed
330

qzhxx's avatar
qzhxx committed
331 332 333
        span.title {
          line-height: 36px;
        }
qzhxx's avatar
qzhxx committed
334

qzhxx's avatar
qzhxx committed
335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350
        span.index {
          display: inline-block;
          width: 25px;
          height: 25px;
          line-height: 25px;
          color: #fff;
          background-color: #D9D9D9;
          text-align: center;
          border-radius: 50%;
          float: right;
          margin-top: 6px;
        }
      }
    }
  }
}
qzhxx's avatar
qzhxx committed
351

qzhxx's avatar
qzhxx committed
352
//列表页-搜索框
qzhxx's avatar
qzhxx committed
353
.search-form {
qzhxx's avatar
qzhxx committed
354 355
  @inputW: 220px;
  @inputH: 32px;
qzhxx's avatar
qzhxx committed
356

qzhxx's avatar
qzhxx committed
357 358
  .el-date-editor.el-input,
  .el-date-editor.el-input__inner,
qzhxx's avatar
qzhxx committed
359
  .el-input--mini .el-input__inner {
qzhxx's avatar
qzhxx committed
360 361 362 363 364
    width: @inputW;
    height: @inputH;
    line-height: @inputH;
    font-size: 14px;
  }
qzhxx's avatar
qzhxx committed
365 366 367

  .el-form-item {
    &+.el-form-item {
qzhxx's avatar
qzhxx committed
368 369
      margin-left: 20px;
    }
qzhxx's avatar
qzhxx committed
370 371

    &:last-child {
qzhxx's avatar
qzhxx committed
372 373 374 375
      margin-left: 0;
      margin-right: 0;
    }
  }
qzhxx's avatar
qzhxx committed
376 377

  .el-date-editor.el-input__inner {
qzhxx's avatar
qzhxx committed
378 379
    width: 300px;
  }
qzhxx's avatar
qzhxx committed
380

qzhxx's avatar
qzhxx committed
381 382
  .el-date-editor .el-range__icon {
    line-height: 25px;
qzhxx's avatar
qzhxx committed
383 384
  }

qzhxx's avatar
qzhxx committed
385 386 387 388 389
  .el-date-editor .el-range-separator {
    padding: 0 5px;
    line-height: 25px;
    width: 10%;
    color: #303133;
qzhxx's avatar
qzhxx committed
390 391 392 393
  }

  @media (max-width: 1200px) {

qzhxx's avatar
qzhxx committed
394 395
    .el-date-editor.el-input,
    .el-date-editor.el-input__inner,
qzhxx's avatar
qzhxx committed
396
    .el-input--mini .el-input__inner {
qzhxx's avatar
qzhxx committed
397 398
      width: @inputW - 10px;
    }
qzhxx's avatar
qzhxx committed
399

qzhxx's avatar
qzhxx committed
400
    .el-form-item {
qzhxx's avatar
qzhxx committed
401
      &+.el-form-item {
qzhxx's avatar
qzhxx committed
402 403 404 405 406
        margin-left: 0;
      }
    }
  }
}