James P. Ketrenos a9549d29a9 Improved UX
Signed-off-by: James P. Ketrenos <james.p.ketrenos@intel.com>
2023-01-17 14:12:48 -08:00

110 lines
1.6 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;
border: 1px solid black;
}
.Explorer {
display: flex;
flex-direction: row;
justify-self: stretch;
align-self: stretch;
height: 100%;
width: auto !important;
flex-grow: 1;
}
.Identities {
display: flex;
overflow-y: scroll;
flex-direction: column;
border: 1px solid green;
}
.Face {
display: flex;
box-sizing: border-box;
flex-direction: column;
position: relative;
}
.Face:hover {
cursor: pointer;
}
.Face .Image {
border: 0.25rem solid transparent;
}
.Face:hover .Image {
border: 0.25rem solid yellow;
}
.Face.Selected .Image {
border: 0.25rem solid blue;
}
.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;
background-size: contain !important;
background-repeat: no-repeat no-repeat !important;;
background-position: 50% 50% !important;;
}
.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;
grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
}