mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-17 15:53:28 +00:00
Share to user support select user from department (#7361)
* update * remove 'All users' in org user department * change style --------- Co-authored-by: lian <imwhatiam123@gmail.com>
This commit is contained in:
@@ -1,129 +0,0 @@
|
||||
.department-dialog .department-dialog-content {
|
||||
padding: 0;
|
||||
min-height: 30rem;
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
flex-wrap: nowrap;
|
||||
align-content: space-between;
|
||||
justify-content: space-between;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.department-dialog .department-dialog-content > div {
|
||||
max-height: calc(100vh - 120px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-group {
|
||||
flex: 0 0 35%;
|
||||
padding: 1rem;
|
||||
border-right: 1px solid #eee;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-member {
|
||||
display: flex;
|
||||
flex: 0 0 35%;
|
||||
border-right: 1px solid #eee;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-member-selected {
|
||||
display: flex;
|
||||
flex: 0 0 65%;
|
||||
border-right: 1px solid #eee;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-member-selected .modal-footer {
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-group .group-item {
|
||||
cursor: pointer;
|
||||
padding: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-group .group-item:hover {
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-group .group-item.tr-highlight:hover,
|
||||
.department-dialog-content .department-dialog-group .tr-highlight {
|
||||
background-color: #ED7109;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.department-dialog-member-head {
|
||||
display: flex;
|
||||
padding: 0 0 12px 0;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.department-dialog-member-head .department-name {
|
||||
font-size: 0.8125rem;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.department-dialog-member-head .select-all {
|
||||
cursor: pointer;
|
||||
font-size: 0.8125rem;
|
||||
color: #ED7109;
|
||||
}
|
||||
|
||||
.department-dialog-member-head .select-all-disable {
|
||||
font-size: 0.8125rem;
|
||||
color: rgb(248, 205, 160);
|
||||
}
|
||||
|
||||
.department-dialog-member-table td,
|
||||
.department-dialog-member-head td {
|
||||
border: none;
|
||||
text-align: left;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.department-dialog-member-table {
|
||||
display: block;
|
||||
text-align: center;
|
||||
max-height: calc(100% - 32px);
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.department-dialog-member-table tr {
|
||||
display: table;
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.department-dialog-content .avatar {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.department-dialog-content tr td:first-child {
|
||||
padding-left: 16px;
|
||||
}
|
||||
|
||||
.department-dialog-member-table tr td:first-child {
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
font-size: 13px;
|
||||
font-weight: lighter;
|
||||
text-align: justify;
|
||||
color: #fff;
|
||||
background-color: #303133;
|
||||
}
|
||||
|
||||
.department-dialog-member-selected tr td:last-child {
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
||||
.department-dialog-member-selected .modal-footer .btn {
|
||||
min-width: 80px;
|
||||
}
|
@@ -9,7 +9,7 @@
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.department-dialog .department-dialog-content>div {
|
||||
.department-dialog .department-dialog-content > div {
|
||||
max-height: calc(100vh - 120px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
@@ -20,16 +20,6 @@
|
||||
border-right: 1px solid #eee;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-group .tr-highlight .dtable-icon-groups {
|
||||
padding-right: 10px;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-group .dtable-icon-groups {
|
||||
padding-right: 10px;
|
||||
color: #9c9c9c;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-member {
|
||||
display: flex;
|
||||
flex: 0 0 35%;
|
||||
@@ -48,9 +38,9 @@
|
||||
border-top: none;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-member-selected .dtable-icon-cancel {
|
||||
.department-dialog-content .department-dialog-member-selected .sf3-font-close {
|
||||
cursor: pointer;
|
||||
color: #959595;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-group .group-item {
|
||||
@@ -65,8 +55,22 @@
|
||||
|
||||
.department-dialog-content .department-dialog-group .group-item.tr-highlight:hover,
|
||||
.department-dialog-content .department-dialog-group .tr-highlight {
|
||||
background-color: #FF8000;
|
||||
color: #ffffff;
|
||||
background-color: #f0f0f0;
|
||||
color: inherit;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.department-dialog-content .department-dialog-group .group-item.tr-highlight::before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 4px;
|
||||
background-color: #ff9800;
|
||||
border-radius: 2px;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
bottom: 4px;
|
||||
left: -8px;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.department-dialog-member-head {
|
||||
@@ -77,13 +81,13 @@
|
||||
|
||||
.department-dialog-member-head .department-name {
|
||||
font-size: 0.8125rem;
|
||||
color: #9c9c9c;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.department-dialog-member-head .select-all {
|
||||
cursor: pointer;
|
||||
font-size: 0.8125rem;
|
||||
color: #ea7500;;
|
||||
color: #ED7109;
|
||||
}
|
||||
|
||||
.department-dialog-member-head .select-all-disable {
|
||||
@@ -104,6 +108,7 @@
|
||||
max-height: calc(100% - 32px);
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.department-dialog-member-table tr {
|
||||
@@ -115,6 +120,13 @@
|
||||
|
||||
.department-dialog-member-table .sf3-font-help {
|
||||
color: #999;
|
||||
padding-right: 16px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
.department-dialog-member-table .sf3-font-help:hover {
|
||||
color: #666;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.department-dialog-member .empty-tip {
|
||||
@@ -127,7 +139,7 @@
|
||||
}
|
||||
|
||||
.department-dialog-member .empty-tip h2 {
|
||||
color: #999;
|
||||
color: #666;
|
||||
font-weight: normal;
|
||||
font-size: 1rem;
|
||||
}
|
||||
@@ -146,22 +158,20 @@
|
||||
padding-bottom: 2px;
|
||||
}
|
||||
|
||||
.department-dialog-member-table tr td .dtable-icon-use-help {
|
||||
color: #bdbdbd;
|
||||
}
|
||||
|
||||
.department-dialog-member-table tr td .dtable-icon-use-help:hover {
|
||||
color: #888;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
font-size: 13px;
|
||||
font-weight: lighter;
|
||||
text-align: justify;
|
||||
color: #FFF;
|
||||
color: #fff;
|
||||
background-color: #303133;
|
||||
}
|
||||
|
||||
.bs-tooltip-top .arrow::before,
|
||||
.bs-tooltip-auto[x-placement^="bottom"] .arrow::before,
|
||||
.bs-tooltip-auto[x-placement^="top"] .arrow::before {
|
||||
border-top-color: #303133;
|
||||
}
|
||||
|
||||
.department-dialog-member-selected tr td:last-child {
|
||||
padding-right: 16px;
|
||||
}
|
||||
|
Reference in New Issue
Block a user