180 lines
2.8 KiB
CSS
180 lines
2.8 KiB
CSS
div {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.App {
|
|
text-align: center;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
}
|
|
|
|
.Worksheet {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-self: stretch;
|
|
align-self: stretch;
|
|
height: 100%;
|
|
}
|
|
|
|
.Resizer {
|
|
width: 0.5rem;
|
|
background-color: #ccc;
|
|
border: 1px solid black;
|
|
}
|
|
|
|
.Explorer {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-self: stretch;
|
|
align-self: stretch;
|
|
height: 100%;
|
|
width: auto !important;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.Actions {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
gap: 0.25rem;
|
|
padding: 0.25rem;
|
|
width: 100%;
|
|
}
|
|
|
|
.Identities {
|
|
display: grid;
|
|
user-select: none;
|
|
overflow-y: scroll;
|
|
overflow-x: clip;
|
|
height: 100%;
|
|
width: 100%;
|
|
gap: 0.25rem;
|
|
grid-template-columns: repeat(auto-fill, minmax(8.5rem, auto));
|
|
}
|
|
|
|
.Face {
|
|
display: flex;
|
|
box-sizing: border-box;
|
|
flex-direction: column;
|
|
position: relative;
|
|
border: 0.25rem solid #444;
|
|
}
|
|
|
|
.Face:hover {
|
|
cursor: pointer;
|
|
border-color: yellow;
|
|
}
|
|
|
|
.ClusterEditor {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.PhotoPanel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
height: 100%;
|
|
width: 100%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.Image .FaceBox {
|
|
border: 1px solid red;
|
|
position: absolute;
|
|
}
|
|
|
|
.Image .FaceBox:hover {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
box-shadow: 0px 0px 10px black;
|
|
}
|
|
|
|
.Image {
|
|
display: flex;
|
|
position: relative;
|
|
background-size: contain !important;
|
|
background-repeat: no-repeat no-repeat !important;
|
|
background-position: 50% 50% !important;
|
|
}
|
|
|
|
.PhotoPanel .FaceInfo {
|
|
padding: 0.25rem;
|
|
background-color: #444;
|
|
color: white;
|
|
margin-top: 0.25rem;}
|
|
|
|
.PhotoPanel .ImageInfo {
|
|
padding: 0.25rem;
|
|
background-color: #222;
|
|
color: white;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.UnknownFace {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 4rem;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.IdentityForm {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.Face.Active,
|
|
.FaceBox.Active {
|
|
filter: brightness(1.25);
|
|
border-color: orange;
|
|
}
|
|
|
|
.Face.Selected {
|
|
border-color: blue !important;
|
|
}
|
|
|
|
.Face .Title {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
padding: 0.125rem;
|
|
font-size: 0.6rem;
|
|
color: white;
|
|
}
|
|
|
|
.Face .Image {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
width: 8rem;
|
|
height: 8rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.Cluster {
|
|
user-select: none;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow-y: scroll;
|
|
padding: 0.5rem;
|
|
height: 100%;
|
|
}
|
|
|
|
.Cluster .Face.Selected {
|
|
/* filter: grayscale(100%); */
|
|
}
|
|
|
|
.Cluster .Info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.Cluster .Faces {
|
|
display: grid;
|
|
gap: 0.25rem;
|
|
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
|
|
} |