wekan/client/components/settings/peopleBody.css
Lauri Ojansivu 7a585a3dfb Fix Admin Panel / People editing and layout.
Thanks to xet7 !

Fixes #5961
2025-10-21 13:22:58 +03:00

194 lines
3.2 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: left;
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;
}
.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-left: 10px;
}
.js-orgs,
.js-orgsNewUser {
display: none;
}
.js-teams,
.js-teamsNewUser {
display: none;
}
.selectUserChkBox,
.allUserChkBox {
position: static !important;
visibility: visible !important;
left: 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: #008000;
display: none;
}
#addOrRemoveTeam {
background: #008000;
color: #fff;
}
#divAddOrRemoveTeamContainer {
display: none;
margin: auto;
width: 50%;
border: 3px solid #008000;
padding: 10px;
}
#cancelBtn {
margin-left: 5% !important;
background: #ffa500;
color: #fff;
}
#deleteAction {
margin-left: 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-left: 15px;
background-color: white;
color: #4d4d4d;
border: 1px solid rgba(0,0,0,.15);
border-radius: 2px;
padding: 0 10px;
cursor: pointer;
display: flex;
align-items: center;
gap: 5px;
height: 28px;
min-width: 90px;
/* box-shadow: 0 1px 6px rgba(0,0,0,.3); */
}
.unlock-all-btn:hover {
background-color: #f2f2f2;
}
.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: #27ae60;
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: #27ae60;
}
.js-toggle-lock-status {
cursor: pointer;
}
.unlock-all-btn .fa {
color: #4d4d4d;
}