Files
Linty 9018f0e4b0 fixes #2560 people management
Persons and their association to photos, with an optional face box.

Admin: People page (merge, bulk actions, cover), People tab on the photo edit page (identify a face), access settings in Permissions.

Gallery: faces on the photo page, person page, People filter in the search.

API: pwg.people.* methods, new events for plugins. Core has no AI: source manual, auto or imported is stored for plugins.
2026-11-02 17:25:02 +01:00

79 lines
1.2 KiB
CSS

.people-hidden {
display: none !important;
}
/* the card must look the same on every admin page, whatever their p rules */
.people-card p {
margin: 0;
}
.people-card {
width: 100px;
position: relative;
display: flex;
flex-direction: column;
gap: 10px;
border-radius: 6px;
background-color: #FAFAFA;
box-shadow: 0px 4px 4px 0px #00000040;
padding: 15px 20px;
}
i.people-card-header,
.people-card-footer i {
font-size: 18px;
}
.people-card-header {
position: absolute;
top: 5px;
}
.people-card-picture {
display: flex;
align-items: center;
justify-content: center;
width: 95px;
height: 95px;
border-radius: 100%;
background-color: #D6D6D6;
}
.people-card-picture i {
font-size: 45px;
color: #FFFFFF;
}
.people-card-menu {
cursor: pointer;
}
.people-card-dropdown {
position: absolute;
top: 32px;
right: -19px;
width: 180px;
}
.people-card-dropdown.dropdown::after {
right: 26.5px;
left: unset;
transform: unset;
}
.people-card-footer {
display: flex;
align-items: center;
justify-content: center;
}
.people-card-name {
font-weight: 600;
font-size: 14px;
text-align: center;
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
word-break: break-word;
}