blob: d0685e419d3e4e765a4bb4231f9a2ab101e155e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
|
.face-document-item {
display: flex;
height: max-content;
flex-direction: column;
top: 0px;
position: absolute;
width: 100%;
height: 100%;
h1 {
color: white;
font-size: 24px;
text-align: center;
.face-document-name {
text-align: center;
background: transparent;
width: 80%;
border: transparent;
}
}
.face-collection-buttons {
position: absolute;
top: 0px;
right: 10px;
}
.face-collection-toggle {
position: absolute;
top: 0px;
left: 10px;
}
.face-document-top {
position: relative;
top: 0px;
width: 100%;
left: 0px;
}
.face-document-image-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
overflow-x: hidden;
overflow-y: auto;
position: relative;
padding: 10px;
.image-wrapper {
position: relative;
width: 70px;
height: 70px;
margin: 10px;
display: flex;
align-items: center; // Center vertically
justify-content: center; // Center horizontally
img {
width: 100%;
height: 100%;
object-fit: cover; // This ensures the image covers the container without stretching
border-radius: 5px;
border: 2px solid white;
transition: border-color 0.4s;
&:hover {
border-color: orange; // Change this to your desired hover border color
}
}
.remove-item {
position: absolute;
bottom: -5px;
right: -5px;
background-color: rgba(0, 0, 0, 0.5); // Optional: to add a background behind the icon for better visibility
border-radius: 30%;
width: 10px; // Adjust size as needed
height: 10px; // Adjust size as needed
display: flex;
align-items: center;
justify-content: center;
}
}
// img {
// max-width: 60px;
// margin: 10px;
// border-radius: 5px;
// border: 2px solid white;
// transition: 0.4s;
// &:hover {
// border-color: orange;
// }
// }
}
}
.faceCollectionBox {
width: 100%;
height: 100%;
top: 0px;
left: 0px;
position: absolute;
}
|