mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-25 14:50:29 +00:00
Single selector (#5791)
* [single selector] added a new 'single selector' to replace the 'role editor' * [sys admin - group - member] replaced the old 'role selector' with the new 'single selector' * [sys admin - orgs] replaced the old 'role selector' with the new 'single selector' * [sys admin, org admin] replaced different selectors with the new 'single selector' for users & orgs * [share link perm selector] replaced it with the new 'single selector'
This commit is contained in:
31
frontend/src/css/single-selector.css
Normal file
31
frontend/src/css/single-selector.css
Normal file
@@ -0,0 +1,31 @@
|
||||
.sf-single-selector .cur-option {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sf-single-selector .cur-option .toggle-icon {
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.sf-single-selector .options-container {
|
||||
min-width: 165px;
|
||||
background: #fff;
|
||||
border: 1px solid #e8e8e8;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.sf-single-selector .option-list {
|
||||
min-height: 4rem;
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
.sf-single-selector .option-item {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.sf-single-selector .option-item:hover {
|
||||
background: #f5f5f5;
|
||||
}
|
||||
|
||||
.sf-single-selector .option-item-text {
|
||||
font-size: 14px;
|
||||
}
|
Reference in New Issue
Block a user