SiteManage.less 6.08 KB
Newer Older
1 2 3
.redText {
  color: red;
  cursor: pointer;
Maofei94's avatar
Maofei94 committed
4
}
5 6 7 8 9 10 11

.ant-layout {
  overflow: auto;

  .ant-layout-content {
    margin: 12px !important;
  }
12
}
13 14

.siteTitle {
张烨's avatar
张烨 committed
15 16 17 18 19 20
  font-size: 16px;
  margin: 0 0 6px 0;
  user-select: none;
  padding: 3px;
  border-bottom: 1px solid #ccc;
}
Maofei94's avatar
Maofei94 committed
21

22 23 24
.siteManageContainer {
  .ant-card-body {
    padding: 15px;
25
  }
26

27 28 29
  .ant-spin-container {
    // overflow-y: scroll;
    // height: calc(100vh - 410px);
30
  }
31

32 33
  .ant-tree-treenode {
    width: 100% !important;
Maofei94's avatar
Maofei94 committed
34

35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
    .ant-tree-node-content-wrapper {
      display: inline-block;
      width: 100%;
    }

    .iconWraper1 {
      float: right;

      span {
        display: none;
      }
    }
  }

  .ant-tree-treenode:hover {
50
    .iconWraper1>span {
51 52 53 54 55 56 57 58 59 60
      margin-left: 12px;
      font-size: 18px;
      display: inline-block;
    }
  }

  .contentContainer {
    display: flex;
    width: 100%;
    position: relative;
61
    height: 100%;
62 63

    .orgContainer {
64 65
      // height: calc(100vh - 74px);
      height: 100%;
66
      width: 320px;
67 68 69 70 71 72 73 74 75
      padding-right: 10px;
      left: 0;
      top: 0;
      overflow: hidden;
      margin-right: 10px;
      position: relative;
      transition-property: width, left;
      transition-duration: 0.5s;
      white-space: nowrap;
76 77 78 79 80
      padding-bottom: 10px;

      .ant-card-body {
        height: 100%;
      }
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115

      .ant-tree {
        padding-top: 6px;

        .ant-tree-switcher {
          line-height: 1;
          margin-right: 0px !important;
          color: #1890ff;

          .ant-tree-switcher-line-icon {
            margin-left: 5px;
          }
        }
      }

      .switcher {
        display: block;
        position: absolute;
        font-size: 18px;
        color: #1890ff !important;
        top: 45%;
        right: 2px;
        transform: translate(0%, -50%);
        z-index: 1;
      }
    }

    .orgContainerHide {
      // transform: translateX(-230px);
      left: 0px;
      top: 0;
      width: 26px;
    }

    .userContainer {
116
      height: 100%;
117
      z-index: 999;
118
      min-width: 800px;
119 120 121 122 123 124 125 126 127 128 129 130 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 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177
      background: white;
      width: 100%;
      position: relative;
      transition: width 0.5s;

      .title {
        margin: 16px 0 10px 16px;
        display: inline-block;
        width: 270px;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .ant-table-pagination {
        padding-right: 12px;
        background: white;
        margin: 1px 0;
        padding: 8px;
        padding-right: 20px;
      }

      .ant-btn {
        margin: 0px 10px;

        .ant-btn-primary {
          background: #50aefc;
        }
      }

      .ant-input-search-button {
        margin-left: 0px !important;
      }

      .ant-table-thead tr th {
        font-weight: 600;
        color: rgba(0, 0, 0, 0.85);
      }

      .ant-table-cell {
        text-align: center;
        overflow: hidden;
        // text-overflow:ellipsis;
        white-space: nowrap;
      }

      .ant-table-body {
        height: calc(100vh - 210px);
        border-right: white;
        overflow: auto !important;
      }

      .clickRowStyle {
        background: #cfe7fd;
      }

      .ant-pagination {
        z-index: 999;
178
        border: none;
179 180 181
      }
    }
  }
Maofei94's avatar
Maofei94 committed
182
}
183 184 185

//机构编辑面板
.boxR {
Maofei94's avatar
Maofei94 committed
186
  width: 100%;
187
  height: 100%;
Maofei94's avatar
Maofei94 committed
188 189
  position: relative;
  transition: width 2s;
190 191 192 193

  .ant-spin-nested-loading {
    height: calc(100% - 50px);
  }
194

195 196 197
  .ant-card-body {
    height: 100%;
  }
tianfen's avatar
tianfen committed
198 199
}

200
.cardBoxR {
201 202 203
  // min-height: calc(100vh - 210px);
  // max-height: calc(100vh - 210px);
  height: 100%;
204 205 206
  min-width: 600px;
}

207
.siteCheckbox .ant-collapse-content>.ant-collapse-content-box {
tianfen's avatar
tianfen committed
208 209
  padding: 16px 16px 0;
}
210 211 212

.siteList {
  width: 199px;
tianfen's avatar
tianfen committed
213
  // margin:0 0 15px 0;
214
  padding: 0 0 15px 0;
tianfen's avatar
tianfen committed
215 216 217
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
tianfen's avatar
tianfen committed
218
}
219

220 221 222 223 224 225 226 227
.siteListTitle {
  width: 199px;
  // margin:0 0 15px 0;
  padding: 0 0 0 15px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
228

229
.sitePanel {
tianfen's avatar
tianfen committed
230 231
  margin: 0 0 10px 0;
}
232 233

.sitePanelHead {
tianfen's avatar
tianfen committed
234
  background-color: #f5f5f5;
235
  padding: 8px 10px;
tianfen's avatar
tianfen committed
236 237
  cursor: pointer;
  display: flex;
238
  align-items: center;
tianfen's avatar
tianfen committed
239 240
  flex-direction: row;
}
241 242

.sitePanelHead p {
tianfen's avatar
tianfen committed
243
  margin: 0;
244
  margin-right: 0.6rem;
tianfen's avatar
tianfen committed
245
}
246 247 248 249

.sitePanelCon {
  border: 1px solid #f5f5f5;
  padding: 20px;
tianfen's avatar
tianfen committed
250
  padding-bottom: 0;
251
  border-top: 0;
tianfen's avatar
tianfen committed
252 253
  max-height: 200px;
  overflow: auto;
tianfen's avatar
tianfen committed
254
}
255

256
.sitePanel .ant-checkbox-wrapper+.ant-checkbox-wrapper {
257
  margin: 0;
tianfen's avatar
tianfen committed
258
}
259 260 261 262

.siteIcon {
  color: #ccc;
  margin: 4px 10px 0 0;
tianfen's avatar
tianfen committed
263
}
264 265 266

.siteAll {
  margin: 0 0 10px 0;
tianfen's avatar
tianfen committed
267
}
268 269 270

.siteColor {
  color: #f00;
tianfen's avatar
tianfen committed
271
}
272 273 274

.siteCommit {
  margin: 10px 0;
tianfen's avatar
tianfen committed
275
}
276 277 278 279

.siteSelectList {
  border: 1px solid #f5f5f5;

tianfen's avatar
tianfen committed
280
  overflow: auto;
281

282
  .siteSelectUl {
tianfen's avatar
tianfen committed
283 284 285
    margin: 0;
    padding: 15px;
    display: flex;
tianfen's avatar
tianfen committed
286 287
    flex-direction: row;
    flex-wrap: wrap;
288 289

    li {
tianfen's avatar
tianfen committed
290 291
      height: 35px;
      line-height: 35px;
292
      background: rgba(24, 144, 255, 0.16) url('../../../assets/images/icons/close.png') no-repeat 170px;
tianfen's avatar
tianfen committed
293
      background-size: 20px;
294
      background-position: center right;
tianfen's avatar
tianfen committed
295 296
      margin: 0 10px 10px 0;
      cursor: pointer;
tianfen's avatar
tianfen committed
297 298 299
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
300
      padding: 0 40px 0 10px;
tianfen's avatar
tianfen committed
301 302
    }
  }
303
}
304

305
.siteline {}
306 307

.siteBtn {
皮倩雯's avatar
皮倩雯 committed
308
  width: 100%;
tianfen's avatar
tianfen committed
309 310 311
  display: flex;
  flex-direction: row;
  align-items: center;
312
  margin-bottom: 10px;
皮倩雯's avatar
皮倩雯 committed
313
  justify-content: flex-end;
314 315 316 317 318 319 320 321 322 323 324
}

.ant-modal-root {
  .ant-tree-switcher {
    line-height: 1;
    color: #1890ff;
    margin-right: 0px !important;
  }

  .ant-checkbox-group .ant-checkbox-group-item {
    margin-right: 0px !important;
皮倩雯's avatar
皮倩雯 committed
325
    width: 300px;
326 327 328 329 330 331 332 333 334 335 336 337 338
  }

  .ant-tree-list-holder {
    overflow: auto;
    overflow-x: hidden;
    height: 40vh;
  }

  .ant-tabs-content-holder {
    overflow: auto;
    height: 50vh;
  }
}
339

340 341 342 343 344
.title {
  display: flex;
  align-items: center;
  width: 100%;
}
345

346 347 348
.tip {
  display: none;
}
349

350 351 352 353 354
.title:hover {
  .tip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
皮倩雯's avatar
皮倩雯 committed
355
    width: 40%;
356 357
  }
}
358

359 360 361 362 363 364
.titleText {
  width: 12rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
365

366 367 368 369
.fs {
  font-size: 18px;
  margin-left: 10px;
}
370

371 372 373 374 375
.titleTop {
  width: 12rem;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
376
}