aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/collectionFreeForm/FaceCollectionBox.scss
diff options
context:
space:
mode:
authorZachary Zhang <zacharyzhang7@gmail.com>2024-08-31 00:46:29 -0400
committerZachary Zhang <zacharyzhang7@gmail.com>2024-08-31 00:46:29 -0400
commit196294f331496262bef256da8b8e9dbc80288bea (patch)
tree85ff27b7a8070585f9a5ef71dff63566e03232ba /src/client/views/collections/collectionFreeForm/FaceCollectionBox.scss
parent0cf61501ec9be34294935f01973c1bd9cad6d267 (diff)
parentc36607691e0b7f5c04f3209a64958f5e51ddd785 (diff)
Merge branch 'master' into zach-starter
Diffstat (limited to 'src/client/views/collections/collectionFreeForm/FaceCollectionBox.scss')
-rw-r--r--src/client/views/collections/collectionFreeForm/FaceCollectionBox.scss104
1 files changed, 104 insertions, 0 deletions
diff --git a/src/client/views/collections/collectionFreeForm/FaceCollectionBox.scss b/src/client/views/collections/collectionFreeForm/FaceCollectionBox.scss
new file mode 100644
index 000000000..0a001d84c
--- /dev/null
+++ b/src/client/views/collections/collectionFreeForm/FaceCollectionBox.scss
@@ -0,0 +1,104 @@
+.face-document-item {
+ display: flex;
+ height: max-content;
+ flex-direction: column;
+ top: 0;
+ 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: 0;
+ width: 100%;
+ left: 0;
+ }
+
+ .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: -5;
+ right: -5;
+ 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: 0;
+ left: 0;
+ position: absolute;
+}