Files
wekan/client/components/settings/peopleBody.css
T

440 lines
7.7 KiB
CSS

/* Scrollbar styles are now handled by settingBody.css for all admin pages */
table {
color: #000;
min-width: 1200px !important;
width: max-content !important;
table-layout: auto !important;
}
/* Force People/Organizations/Teams tables to always trigger horizontal scrolling */
table td,
table th {
white-space: nowrap;
min-width: 120px;
border: 1px solid #d2d0d0;
text-align: start;
padding: 8px;
}
table tr:nth-child(even) {
background-color: #ddd;
}
.ext-box {
display: flex;
flex-direction: row;
height: 34px;
}
.ext-box .ext-box-left {
display: flex;
width: 100%;
gap: 10px;
}
.ext-box span {
vertical-align: center;
line-height: 34px;
}
.ext-box input,
.ext-box button {
padding: 0;
}
.ext-box button {
min-width: 90px;
background: #01628c;
color: #fff;
border: none;
border-radius: 0.4vw;
cursor: pointer;
padding: 0 12px;
}
.ext-box button:hover {
background: #005377;
}
.ext-box button:active {
background: #004766;
}
.content-wrapper {
margin-top: 10px;
}
.buttonsContainer {
display: flex;
}
.buttonsContainer input {
margin: 0;
}
.buttonsContainer div {
margin: auto;
}
.more-settings-user,
.more-settings-team,
.more-settings-org {
margin-inline-start: 10px;
}
.js-orgs,
.js-orgsNewUser {
display: none;
}
.js-teams,
.js-teamsNewUser {
display: none;
}
.selectUserChkBox,
.allUserChkBox {
position: static !important;
visibility: visible !important;
inset-inline-start: 0 !important;
display: block !important;
}
/* Make checkbox column fit content */
table th:first-child,
table td:first-child {
width: auto;
min-width: auto;
}
#divAddOrRemoveTeam {
background: #01628c;
display: none;
}
#addOrRemoveTeam {
background: #01628c;
color: #fff;
}
#addOrRemoveTeam:hover {
background: #005377;
}
#divAddOrRemoveTeamContainer {
display: none;
margin: auto;
width: 50%;
border: 3px solid #01628c;
padding: 10px;
}
#cancelBtn {
margin-inline-start: 5% !important;
background: #01628c;
color: #fff;
}
#cancelBtn:hover {
background: #005377;
}
#deleteAction {
margin-inline-start: 5% !important;
}
.divLockedUsersFilter {
display: flex;
align-items: center;
margin: 0 15px;
}
.divLockedUsersFilter .flex-container {
display: flex;
align-items: center;
gap: 8px;
}
.divLockedUsersFilter .people-filter {
margin-bottom: 0;
color: #777;
line-height: 34px;
}
.divLockedUsersFilter .user-filter {
border: 1px solid #ccc;
border-radius: 2px;
padding: 4px 8px;
background-color: white;
}
.unlock-all-btn {
margin-top: 20px;
margin-inline-start: 15px;
background-color: #01628c;
color: #fff;
border: none;
border-radius: 0.4vw;
padding: 0 14px 0 14px;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
height: 28px;
min-width: 90px;
}
.unlock-all-btn:hover {
background-color: #005377;
}
.unlock-all-btn .fa {
color: #fff;
}
.account-active-status {
width: auto;
text-align: center;
}
.js-toggle-active-status {
cursor: pointer;
}
.unlock-all-success {
position: fixed;
top: 10%;
left: 50%;
transform: translateX(-50%);
background-color: #01628c;
color: white;
padding: 10px 20px;
border-radius: 4px;
z-index: 9999;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
animation: fadeOut 3s ease-in forwards;
}
@keyframes fadeOut {
0% { opacity: 1; }
70% { opacity: 1; }
100% { opacity: 0; }
}
.account-status {
width: auto;
text-align: center;
}
.text-green {
color: #01628c;
}
.js-toggle-lock-status {
cursor: pointer;
}
.people-pagination {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 12px;
}
.people-pagination button {
min-width: 32px;
height: 30px;
border: 1px solid #bbb;
background: #fff;
border-radius: 0.4vw;
cursor: pointer;
}
.people-pagination button.active {
background: #01628c;
border-color: #01628c;
color: #fff;
}
.people-pagination button.disabled {
opacity: 0.5;
pointer-events: none;
}
.people-page-info {
min-width: 72px;
text-align: center;
color: #333;
}
.org-pagination {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 12px;
}
.org-pagination button {
min-width: 32px;
height: 30px;
border: 1px solid #bbb;
background: #fff;
border-radius: 0.4vw;
cursor: pointer;
}
.org-pagination button.active {
background: #01628c;
border-color: #01628c;
color: #fff;
}
.org-pagination button.disabled {
opacity: 0.5;
pointer-events: none;
}
.org-page-info {
min-width: 72px;
text-align: center;
color: #333;
}
.team-pagination {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 12px;
}
.team-pagination button {
min-width: 32px;
height: 30px;
border: 1px solid #bbb;
background: #fff;
border-radius: 0.4vw;
cursor: pointer;
}
.team-pagination button.active {
background: #01628c;
border-color: #01628c;
color: #fff;
}
.team-pagination button.disabled {
opacity: 0.5;
pointer-events: none;
}
.team-page-info {
min-width: 72px;
text-align: center;
color: #333;
}
/* Avatar styling - removed people-avatar column */
/* Username column styling - displays avatar inline with username */
.username a.js-edit-people-avatar {
display: inline-flex;
align-items: center;
cursor: pointer;
text-decoration: none;
margin-inline-end: 8px;
vertical-align: middle;
}
.username a.js-edit-people-avatar:hover {
background-color: rgba(0, 0, 0, 0.05);
border-radius: 50%;
}
.username .avatar {
height: 30px;
width: 30px;
border-radius: 50%;
display: inline-block;
flex-shrink: 0;
overflow: hidden;
}
.username .avatar.avatar-initials {
background-color: #dbdbdb;
color: #444;
display: flex;
align-items: center;
justify-content: center;
font-size: 12px;
font-weight: 500;
}
.username .avatar img.avatar-image {
object-fit: cover;
object-position: center;
height: 100%;
width: 100%;
}
/* Roles tab. The .main-body scrolls horizontally and is wider than the visible
area (the side-menu takes ~250px), so by default a long description would run
off the right edge and only be fully readable at the smallest (mobile) width.
Pin the heading/description to the visible left edge and wrap them within the
viewport so they stay visible at every width. */
.roles-settings {
padding: 0 10px;
}
.roles-settings h3,
.roles-settings h4,
.roles-settings .roles-description {
position: sticky;
inset-inline-start: 0;
/* Cap to ~60 characters, and never wider than the viewport, so the text wraps
into the visible left area at every width (desktop, mid and mobile) instead
of running off the horizontally-scrolling main-body. */
max-width: min(60ch, 88vw);
white-space: normal;
overflow-wrap: break-word;
}
.roles-settings .roles-description {
margin-bottom: 1rem;
}
/* Admin Panel > People > Domains table: search + column sort + pagination,
matching the Board Table view / other admin tables. */
.domain-controls {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 8px;
}
.domain-controls input.js-domain-search {
flex: 1 1 auto;
height: 30px;
padding: 0 8px;
border: 1px solid #bbb;
border-radius: 0.4vw;
}
.domain-controls button.js-domain-search-button {
height: 30px;
padding: 0 12px;
border: 1px solid #bbb;
background: #fff;
border-radius: 0.4vw;
cursor: pointer;
}
.domain-pagination {
display: flex;
align-items: center;
gap: 6px;
margin-bottom: 12px;
}
.domain-pagination button {
min-width: 32px;
height: 30px;
padding: 0 10px;
border: 1px solid #bbb;
background: #fff;
border-radius: 0.4vw;
cursor: pointer;
}
.domain-pagination button.disabled {
opacity: 0.5;
pointer-events: none;
}
.domain-page-info {
min-width: 72px;
text-align: center;
color: #333;
}
th.js-domain-sort {
cursor: pointer;
user-select: none;
}