1
0
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:
llj
2023-11-24 18:21:46 +08:00
committed by GitHub
parent 663a78061b
commit 29fa239cd0
21 changed files with 569 additions and 395 deletions

View 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;
}