UserManage.less 7.77 KB
Newer Older
1 2
:global{
    ::-webkit-scrollbar {
3
        height: 6px;//x轴滚动条粗细
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
        width:6px;//y轴滚动条粗细
        border-bottom: 2px solid white;
    }
    
    //滚动条里面的小方块,能上下左右移动(取决于是垂直滚动条还是水平滚动条)
    ::-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;
    }
    //滚动条的轨道(里面装有thumb)滚动槽
    ::-webkit-scrollbar-track {
        box-shadow: 0;
        border-radius: 0;
        background: white;//滚动槽背景色
        border-radius: 10px;//滚动条边框半径设置
    }
22
   
23 24 25 26 27 28 29
    .ant-tree-node-content-wrapper{
        width:100%;
        overflow: hidden !important;
        .ant-tree-title{
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
皮倩雯's avatar
皮倩雯 committed
30 31
            display: flex !important;
            justify-content: space-between;
32 33
        }
    }
陈前坚's avatar
陈前坚 committed
34 35 36 37 38 39 40 41 42
    .ant-pagination-prev,.ant-pagination-next{
        line-height: 8px !important;
    }
    .ant-input-search-button{
        line-height: 1;
    }
    .ant-dropdown-menu-item > .anticon:first-child {
        vertical-align: 0.15em !important;
    }
陈前坚's avatar
陈前坚 committed
43 44 45 46 47
    .ant-table-tbody{
        .ant-table-row:hover>td{
            background: #aed8fa !important;
        }
    }
陈前坚's avatar
陈前坚 committed
48 49 50 51 52
    .ant-modal-close-icon {
        vertical-align: 0.3em;
    }
    .ant-notification-close-icon{
        vertical-align: 0.2em;
陈前坚's avatar
陈前坚 committed
53
    }
54 55
    .ant-tree-switcher-icon svg{
        font-size: 14px;
皮倩雯's avatar
皮倩雯 committed
56 57 58 59
        color: #767777 !important;
    }
    .ant-card-body {
        padding: 12px 24px 24px 10px;
60
    }
61
}
张烨's avatar
张烨 committed
62 63 64 65
.redText{
    color: red;
    cursor: pointer;
}
陈前坚's avatar
陈前坚 committed
66 67 68 69 70 71
.ant-layout{
    overflow: auto;
    .ant-layout-content{
        margin:12px !important;
    }
}
皮倩雯's avatar
皮倩雯 committed
72 73 74 75
.ant-btn > .anticon + span, .ant-btn > span + .anticon {
    margin-left: 8px;
    vertical-align: middle;
}
张烨's avatar
张烨 committed
76 77 78 79 80 81 82
.siteTitle{
    font-size: 16px;
    margin: 0 0 6px 0;
    user-select: none;
    padding: 3px;
    border-bottom: 1px solid #ccc;
}
83
.userManageContainer{
84 85 86 87
    .ant-modal-footer{
        border:none;
        padding: 28px 40px;
    }
皮倩雯's avatar
皮倩雯 committed
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
    .ant-form-item {
        vertical-align: top;
    }
    .ant-form-item-label > label {
        align-items:middle;
    }
    .ant-modal-body{
        padding-bottom:0px;
        padding-right:40px;
        padding-left:40px;
        .ant-form{
            width: 90%;
        }
    }
    .anticon svg {
        margin-top: -3px;
    }
    .ant-popover-message {
        position: relative;
        padding: 0px 0 0px;
        color: rgba(0, 0, 0, 0.85);
        font-size: 14px;
    }
111
    .ant-tree-treenode{
陈前坚's avatar
陈前坚 committed
112 113
        width: 100% !important;
        .ant-tree-node-content-wrapper{
114 115 116
            display: inline-block;
            width: 100%;
        }
陈前坚's avatar
陈前坚 committed
117

118 119 120 121 122 123
        .iconWraper1{
            float: right;
            span{
                display: none;   
            }
        }
陈前坚's avatar
陈前坚 committed
124
    }
125 126 127
    .ant-tree-treenode:hover{
        .iconWraper1>span{
            margin-left: 12px;
陈前坚's avatar
陈前坚 committed
128
            font-size: 18px;
129 130 131
            display: inline-block;   
        }
    }
皮倩雯's avatar
皮倩雯 committed
132 133 134
    .ant-radio-group {
         margin: 0px !important; 
    }
135 136
    .contentContainer{
        display: flex;
陈前坚's avatar
陈前坚 committed
137 138
        width: 100%;
        position: relative;
皮倩雯's avatar
皮倩雯 committed
139 140 141
        .ant-table.ant-table-bordered > .ant-table-container {
            min-width: calc(100vw - 582px);
        }
142
        .orgContainer{
陈前坚's avatar
陈前坚 committed
143
            height: calc(100vh - 74px);
144
            width: 340px;
陈前坚's avatar
陈前坚 committed
145 146 147 148 149 150 151 152
            left: 0;
            top: 0;
            overflow-x: hidden;
            margin-right: 10px;
            position: relative;
            transition-property:width,left;
            transition-duration: 0.5s;
            white-space: nowrap;
153 154
            .ant-tree{
                padding-top: 6px;
陈前坚's avatar
陈前坚 committed
155 156
                .ant-tree-switcher{
                    line-height: 1;
陈前坚's avatar
陈前坚 committed
157
                    margin-right: 0px !important;
陈前坚's avatar
陈前坚 committed
158
                    color:#1890FF;
陈前坚's avatar
陈前坚 committed
159 160 161
                    .ant-tree-switcher-line-icon{
                        margin-left: 5px;
                    }
陈前坚's avatar
陈前坚 committed
162 163 164
                }
            }
            .switcher{
陈前坚's avatar
陈前坚 committed
165
                display: block;
陈前坚's avatar
陈前坚 committed
166
                position: absolute;
陈前坚's avatar
陈前坚 committed
167 168
                font-size: 18px;
                color: #1890FF!important;
169
                top: 50%;
陈前坚's avatar
陈前坚 committed
170 171 172
                right: 2px;
                transform: translate(0%,-50%);
                z-index: 1;
陈前坚's avatar
陈前坚 committed
173
            }
174
        }
陈前坚's avatar
陈前坚 committed
175 176
        
        .orgContainerHide{
陈前坚's avatar
陈前坚 committed
177 178 179
            // transform: translateX(-230px);
            left: 0px;
            top: 0;
180
            width: 26px;
陈前坚's avatar
陈前坚 committed
181
        }
皮倩雯's avatar
皮倩雯 committed
182 183 184
        .ant-popover-message-title {
            padding-left: 20px;
        }
185
        .userContainer{
陈前坚's avatar
陈前坚 committed
186
            height: calc(100vh - 74px) !important;
陈前坚's avatar
陈前坚 committed
187
            z-index: 999;
陈前坚's avatar
陈前坚 committed
188
            min-width: 800px;
189
            background: white;
陈前坚's avatar
陈前坚 committed
190 191 192
            width: 100%;
            position: relative;
            transition: width 0.5s;
193 194 195 196 197 198 199 200 201
            .title{
                margin: 16px 0 10px 16px;
                display: inline-block;
                width: 270px;
                cursor: pointer;
                overflow: hidden;
                text-overflow:ellipsis;
                white-space: nowrap;
            }
陈前坚's avatar
陈前坚 committed
202
            .ant-table-pagination{
203
                padding-right: 12px;
陈前坚's avatar
陈前坚 committed
204 205
                background: white;
                margin: 1px 0;
206
                padding: 8px;
陈前坚's avatar
陈前坚 committed
207
                padding-right: 20px;
208
            }
陈前坚's avatar
陈前坚 committed
209 210 211 212 213
            .ant-btn{
                margin: 0px 10px;
                .ant-btn-primary{
                    background: #50aefc;
                }
陈前坚's avatar
陈前坚 committed
214
            }
陈前坚's avatar
陈前坚 committed
215 216 217
            .ant-input-search-button{
                margin-left: 0px !important;
            }
陈前坚's avatar
陈前坚 committed
218 219 220 221 222 223 224
            .ant-table-thead tr th{
                font-weight: 600;
                color:rgba(0,0,0,0.85);
            }
            .ant-table-cell{
                text-align:center;
                overflow: hidden;
陈前坚's avatar
陈前坚 committed
225
                // text-overflow:ellipsis;
陈前坚's avatar
陈前坚 committed
226 227
                white-space: nowrap;
            }
228 229
            .ant-table-body{
                height:calc(100vh - 210px);
陈前坚's avatar
陈前坚 committed
230 231 232
                border-right: white;
                overflow: auto !important;
            }
233 234 235
            .clickRowStyle{
                background: #cfe7fd;
            }
陈前坚's avatar
陈前坚 committed
236 237 238 239
            .ant-pagination{
                z-index: 999;
                border-top: 1px solid #f0eded;
            }
240
        }
陈前坚's avatar
陈前坚 committed
241
    }
242
}
陈前坚's avatar
陈前坚 committed
243 244 245 246
.ant-modal-root{
    .ant-tree-switcher{
        line-height: 1;
        color:#1890FF;
247
        margin-right: 0px !important;
陈前坚's avatar
陈前坚 committed
248
    }
陈前坚's avatar
陈前坚 committed
249 250
    .ant-checkbox-group .ant-checkbox-group-item {
        margin-right: 0px !important;
251
        min-width: 270px !important;
陈前坚's avatar
陈前坚 committed
252
    }
253 254
    .ant-tree-list-holder{
        overflow: auto;
255
        overflow-x:hidden;
256 257 258 259 260 261
        height: 40vh;
    }
    .ant-tabs-content-holder{
        overflow: auto;
        height: 50vh;
    }
皮倩雯's avatar
皮倩雯 committed
262
}
皮倩雯's avatar
皮倩雯 committed
263

皮倩雯's avatar
皮倩雯 committed
264 265 266 267 268 269 270 271 272 273 274
.ant-modal-content{
    border-radius: 5px;
}  
.ant-modal-header{
    border-radius: 5px 5px 0 0;
    padding: 28px 40px;
}
.ant-modal-close{
    top:14px;
    right:20px;
}
275

皮倩雯's avatar
皮倩雯 committed
276 277 278 279
.ant-modal-footer .ant-btn + .ant-btn:not(.ant-dropdown-trigger) {
    margin-bottom: 0;
    margin-left: 15px;
}
280 281 282
// .ant-form-horizontal .ant-form-item-control {
//     margin-left: 10px;
// }
皮倩雯's avatar
皮倩雯 committed
283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301
.title{
    display: flex;
    align-items: center;
    width: 100%;
  }
  .tip{
    display: none;
  }
  .fs{
    font-size: 18px;
    margin-left: 10px;
  }
  .title:hover{
    .tip{
      display: flex;
      align-items: center;
      justify-content: flex-end;
      width: 100%;
    }
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316
  }
  .titleText{
    width: 12rem;
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
  }
  .ant-popover-inner {
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.788);
    
  }
  .ant-popover-inner-content {
    padding: 10px 10px;
}
皮倩雯's avatar
皮倩雯 committed
317 318


319 320 321 322 323 324 325 326 327
.ant-popover-message > .anticon { 
    top: 7.0005px
}
// .ant-tree {
//     overflow-y: scroll;
//     height: calc(100vh - 150px);
// }