mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-27 07:44:50 +00:00
change search and select user (#7782)
* 01 basic function * 02 add list and add group users * 03 change style * 04 other components * 05 change className
This commit is contained in:
@@ -1,32 +1,59 @@
|
||||
.user-option-name {
|
||||
.selected-user-item-container {
|
||||
flex-wrap: wrap;
|
||||
min-height: 38px;
|
||||
}
|
||||
|
||||
.selected-user-item-container .user-select-placeholder {
|
||||
color: #808080;
|
||||
}
|
||||
|
||||
.user-select-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.user-select-container .user-search-container {
|
||||
padding: 10px 10px 0 10px;
|
||||
}
|
||||
|
||||
.user-select-container .user-search-container input {
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.user-select-container .user-list-container {
|
||||
min-height: 160px;
|
||||
max-height: 200px;
|
||||
margin: 10px 0;
|
||||
overflow: auto;
|
||||
}
|
||||
.user-select-container .user-list-container .user-item-container {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
height: 30px;
|
||||
padding: 0 10px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.user-option-email {
|
||||
font-size: 12px;
|
||||
.user-select-container .user-list-container .user-item-container:hover,
|
||||
.user-select-container .user-list-container .user-item-container-highlight {
|
||||
background: #f5f5f5;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* dropdown menu avatar is 24*24px, selection box avatar is 16*16px */
|
||||
.user-select .true__value-container .select-module.select-module-icon.avatar {
|
||||
height: 16px;
|
||||
width: 16px;
|
||||
.no-search-result {
|
||||
color: #666666;
|
||||
font-size: 14px;
|
||||
padding-left: 10px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.user-select .true__value-container .true__multi-value__label {
|
||||
padding: 0px;
|
||||
.user-select-popover .popover {
|
||||
width: 385px;
|
||||
max-width: 385px;
|
||||
}
|
||||
|
||||
.user-select .true__value-container .true__multi-value__label .select-module.select-module-icon.avatar {
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.user-select .true__value-container .select-module.select-module-name {
|
||||
font-size: 13px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
flex: 1 1;
|
||||
line-height: 20px;
|
||||
margin-left: 5px;
|
||||
.user-select-popover .popover .user-item {
|
||||
background: transparent;
|
||||
}
|
||||
|
Reference in New Issue
Block a user