UserManage.less 7.51 KB
Newer Older
皮倩雯's avatar
皮倩雯 committed
1
:global {
2 3 4 5 6
  // ::-webkit-scrollbar {
  //   height: 6px; //x轴滚动条粗细
  //   width: 6px; //y轴滚动条粗细
  //   border-bottom: 2px solid white;
  // }
7

8 9 10 11 12 13 14
  // //滚动条里面的小方块,能上下左右移动(取决于是垂直滚动条还是水平滚动条)
  // ::-webkit-scrollbar-thumb {
  //   border-radius: 10px;
  //   box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
  //   background: rgba(74, 74, 75, 0.3);
  //   margin-bottom: 10px;
  // }
皮倩雯's avatar
皮倩雯 committed
15

16 17 18 19 20 21 22
  // //滚动条的轨道(里面装有thumb)滚动槽
  // ::-webkit-scrollbar-track {
  //   box-shadow: 0;
  //   border-radius: 0;
  //   background: white; //滚动槽背景色
  //   border-radius: 10px; //滚动条边框半径设置
  // }
23

24 25 26 27 28 29 30 31 32 33 34 35
  // .ant-tree-node-content-wrapper {
  //   width: 100%;

  //   // overflow: hidden !important;
  //   .ant-tree-title {
  //     overflow: hidden;
  //     text-overflow: ellipsis;
  //     white-space: nowrap;
  //     display: flex !important;
  //     justify-content: space-between;
  //   }
  // }
36

37 38 39 40
  // .ant-pagination-prev,
  // .ant-pagination-next {
  //   line-height: 8px !important;
  // }
41

42 43 44
  // .ant-input-search-button {
  //   line-height: 1;
  // }
45

46 47 48
  // .ant-dropdown-menu-item>.anticon:first-child {
  //   vertical-align: 0.15em !important;
  // }
49

50 51 52 53 54
  // .ant-table-tbody {
  //   .ant-table-row:hover>td {
  //     background: #aed8fa !important;
  //   }
  // }
55

56 57 58
  // .ant-modal-close-icon {
  //   vertical-align: 0.3em;
  // }
59

60 61 62
  // .ant-notification-close-icon {
  //   vertical-align: 0.2em;
  // }
63

64 65 66 67
  // .ant-tree-switcher-icon svg {
  //   font-size: 14px;
  //   color: #767777 !important;
  // }
68

69 70 71
  // .ant-card-body {
  //   padding: 12px 24px 24px 10px;
  // }
72
}
73

皮倩雯's avatar
皮倩雯 committed
74 75 76
.redText {
  color: red;
  cursor: pointer;
张烨's avatar
张烨 committed
77
}
78

79 80
// .ant-layout {
//   overflow: auto;
81

82 83 84 85
//   .ant-layout-content {
//     margin: 12px !important;
//   }
// }
86

87 88 89 90 91
// .ant-btn>.anticon+span,
// .ant-btn>span+.anticon {
//   margin-left: 8px;
//   vertical-align: middle;
// }
92

皮倩雯's avatar
皮倩雯 committed
93 94 95 96 97 98
.siteTitle {
  font-size: 16px;
  margin: 0 0 6px 0;
  user-select: none;
  padding: 3px;
  border-bottom: 1px solid #ccc;
张烨's avatar
张烨 committed
99
}
100

皮倩雯's avatar
皮倩雯 committed
101
.userManageContainer {
102
  height: 100%;
103

104 105 106 107
  .ant-card-body {
    padding: 12px 24px 24px 10px;
  }

皮倩雯's avatar
皮倩雯 committed
108 109 110
  .ant-modal-footer {
    border: none;
    padding: 28px 40px;
111
    height: 100%;
皮倩雯's avatar
皮倩雯 committed
112
  }
113

皮倩雯's avatar
皮倩雯 committed
114 115 116
  .ant-form-item {
    vertical-align: top;
  }
117 118

  .ant-form-item-label>label {
皮倩雯's avatar
皮倩雯 committed
119 120
    align-items: middle;
  }
121

皮倩雯's avatar
皮倩雯 committed
122 123 124 125
  .ant-modal-body {
    padding-bottom: 0px;
    padding-right: 40px;
    padding-left: 40px;
126

皮倩雯's avatar
皮倩雯 committed
127 128
    .ant-form {
      width: 90%;
皮倩雯's avatar
皮倩雯 committed
129
    }
皮倩雯's avatar
皮倩雯 committed
130
  }
131

132 133 134
  // .anticon svg {
  //   margin-top: -3px;
  // }
皮倩雯's avatar
皮倩雯 committed
135 136 137 138 139 140
  .ant-popover-message {
    position: relative;
    padding: 0px 0 0px;
    color: rgba(0, 0, 0, 0.85);
    font-size: 14px;
  }
141

皮倩雯's avatar
皮倩雯 committed
142

143

皮倩雯's avatar
皮倩雯 committed
144 145 146
  .contentContainer {
    display: flex;
    width: 100%;
147
    height: 100%;
皮倩雯's avatar
皮倩雯 committed
148
    position: relative;
149

150 151 152
    // .ant-table.ant-table-bordered > .ant-table-container {
    //   min-width: 81%;
    // }
153 154 155
    // .ant-tree-switcher_close .ant-tree-switcher-icon svg {
    //   margin: auto;
    // }
156 157 158 159 160

    .ant-spin-container {
      height: 100%;
    }

皮倩雯's avatar
皮倩雯 committed
161
    .orgContainer {
162
      height: 100%;
163
      width: 320px;
164
      padding-right: 10px;
皮倩雯's avatar
皮倩雯 committed
165 166 167 168 169
      left: 0;
      top: 0;
      overflow-x: hidden;
      margin-right: 10px;
      position: relative;
邓超's avatar
邓超 committed
170
      transition-property: width;
皮倩雯's avatar
皮倩雯 committed
171 172
      transition-duration: 0.5s;
      white-space: nowrap;
173

174 175 176
      .ant-card-body {
        height: 100%;
      }
177

178 179
      // .ant-tree {
      //   padding-top: 6px;
180

181 182 183 184
      //   .ant-tree-switcher {
      //     line-height: 1;
      //     margin-right: 0px !important;
      //     color: #1890ff;
185

186 187 188 189 190
      //     .ant-tree-switcher-line-icon {
      //       margin-left: 5px;
      //     }
      //   }
      // }
191

皮倩雯's avatar
皮倩雯 committed
192 193 194 195 196 197 198 199 200 201 202
      .switcher {
        display: block;
        position: absolute;
        font-size: 18px;
        color: #1890ff !important;
        top: 50%;
        right: 2px;
        transform: translate(0%, -50%);
        z-index: 1;
      }
    }
陈前坚's avatar
陈前坚 committed
203

皮倩雯's avatar
皮倩雯 committed
204 205 206
    .orgContainerHide {
      // transform: translateX(-230px);
      width: 26px;
陈前坚's avatar
陈前坚 committed
207
    }
208

皮倩雯's avatar
皮倩雯 committed
209 210 211
    .ant-popover-message-title {
      padding-left: 20px;
    }
212

皮倩雯's avatar
皮倩雯 committed
213 214 215 216
    .title1 {
      display: flex;
      align-items: center;
      width: 100%;
217
    }
218

皮倩雯's avatar
皮倩雯 committed
219 220
    .tip1 {
      display: none;
皮倩雯's avatar
皮倩雯 committed
221
    }
222

皮倩雯's avatar
皮倩雯 committed
223 224 225 226
    .fs1 {
      font-size: 18px;
      margin-left: 10px;
    }
227

228 229 230 231
    .listHover {
      display: flex;
      align-items: center;
      justify-content: flex-end;
232
      width: 25%;
233
    }
234

皮倩雯's avatar
皮倩雯 committed
235 236
    .title1:hover {
      .tip1 {
237
        display: flex;
皮倩雯's avatar
皮倩雯 committed
238 239
        align-items: center;
        justify-content: flex-end;
240
        width: 25%;
皮倩雯's avatar
皮倩雯 committed
241 242
      }
    }
243

皮倩雯's avatar
皮倩雯 committed
244
    .titleText {
245
      width: 20rem;
皮倩雯's avatar
皮倩雯 committed
246 247 248 249
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
250

251 252 253
    .userContainerHide {
      width: 100%;
    }
254

皮倩雯's avatar
皮倩雯 committed
255
    .userContainer {
256
      height: 100%;
257

皮倩雯's avatar
皮倩雯 committed
258 259
      z-index: 999;
      background: white;
260

皮倩雯's avatar
皮倩雯 committed
261 262 263
      width: 100%;
      position: relative;
      transition: width 0.5s;
264 265 266
      overflow: hidden;

      .ant-table-wrapper {
267
        height: calc(100% - 100px);
268 269 270
      }

      .ant-table {
271
        height: calc(100% - 100px)
272
      }
273

皮倩雯's avatar
皮倩雯 committed
274 275 276 277 278 279 280 281 282
      .title {
        margin: 16px 0 10px 16px;
        display: inline-block;
        // width: 270px;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
283

皮倩雯's avatar
皮倩雯 committed
284 285 286 287 288 289 290
      .ant-table-pagination {
        padding-right: 12px;
        background: white;
        margin: 1px 0;
        padding: 8px;
        padding-right: 20px;
      }
291

皮倩雯's avatar
皮倩雯 committed
292
      .ant-btn {
293
        // margin: 0px 10px;
皮倩雯's avatar
皮倩雯 committed
294 295
        .ant-btn-primary {
          background: #50aefc;
296
        }
皮倩雯's avatar
皮倩雯 committed
297
      }
298

299 300 301
      // .ant-input-search-button {
      //   margin-left: 0px !important;
      // }
302

皮倩雯's avatar
皮倩雯 committed
303 304 305 306
      .ant-table-thead tr th {
        font-weight: 600;
        color: rgba(0, 0, 0, 0.85);
      }
307

皮倩雯's avatar
皮倩雯 committed
308 309 310 311 312 313
      .ant-table-cell {
        text-align: center;
        overflow: hidden;
        // text-overflow:ellipsis;
        white-space: nowrap;
      }
314

皮倩雯's avatar
皮倩雯 committed
315
      .ant-table-body {
316
        // height: calc(100vh - 210px);
317
        height: 100%;
318

皮倩雯's avatar
皮倩雯 committed
319
        border-right: white;
320

皮倩雯's avatar
皮倩雯 committed
321
      }
322

皮倩雯's avatar
皮倩雯 committed
323 324 325
      .clickRowStyle {
        background: #cfe7fd;
      }
326

皮倩雯's avatar
皮倩雯 committed
327 328 329 330
      .ant-pagination {
        z-index: 999;
        border-top: 1px solid #f0eded;
      }
陈前坚's avatar
陈前坚 committed
331
    }
皮倩雯's avatar
皮倩雯 committed
332
  }
333

334 335 336 337 338
  .boxR {
    width: 100%;
    position: relative;
    transition: width 2s;
  }
339

340
  .cardBoxR {
341
    min-width: 800px;
342
  }
343

皮倩雯's avatar
皮倩雯 committed
344 345 346 347
  .ant-modal-root {
    .ant-tree-switcher {
      line-height: 1;
      color: #1890ff;
陈前坚's avatar
陈前坚 committed
348
    }
349

陈前坚's avatar
陈前坚 committed
350
    .ant-checkbox-group .ant-checkbox-group-item {
皮倩雯's avatar
皮倩雯 committed
351 352
      margin-right: 0px !important;
      min-width: 200px !important;
陈前坚's avatar
陈前坚 committed
353
    }
354

355 356 357 358 359
    // .ant-tree-list-holder {
    //   overflow: auto;
    //   overflow-x: hidden;
    //   height: 40vh;
    // }
360

361 362 363 364
    // .ant-tabs-content-holder {
    //   overflow: auto;
    //   height: 50vh;
    // }
皮倩雯's avatar
皮倩雯 committed
365
  }
皮倩雯's avatar
皮倩雯 committed
366
}
皮倩雯's avatar
皮倩雯 committed
367

368 369 370
// .ant-modal-content {
//   border-radius: 5px;
// }
371

372 373 374 375
// .ant-modal-header {
//   border-radius: 5px 5px 0 0;
//   padding: 28px 40px;
// }
376

377 378 379 380
// .ant-modal-close {
//   top: 14px;
//   right: 20px;
// }
381

382 383 384 385
// .ant-modal-footer .ant-btn+.ant-btn:not(.ant-dropdown-trigger) {
//   margin-bottom: 0;
//   margin-left: 15px;
// }
386

387 388 389
// .ant-form-horizontal .ant-form-item-control {
//     margin-left: 10px;
// }
皮倩雯's avatar
皮倩雯 committed
390

391 392 393 394
// .ant-popover-inner {
//   border-radius: 10px;
//   background-color: rgba(255, 255, 255, 0.788);
// }
395

396 397 398
// .ant-popover-inner-content {
//   padding: 10px 10px;
// }
皮倩雯's avatar
皮倩雯 committed
399

400 401 402
// .ant-popover-message>.anticon {
//   top: 7.0005px;
// }
403

404 405 406
// .ant-tree {
//     overflow-y: scroll;
//     height: calc(100vh - 150px);
407 408 409 410 411 412 413 414 415 416 417
// }
.titleTop {
  width: 20rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-left: 10px;
}
.titleSearch {
  color: #f50;
}