My_Test_Repo/force-app/main/default/lwc/createCustomPhotoUploader/createCustomPhotoUploader.css

77 lines
1.4 KiB
CSS

/* myComponent.css */
.image-container {
position: relative;
display: inline-block;
}
.image {
height: 100px;
width: 100px;
border-radius:100px;
display: block;
}
.card-image{
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.overlay-icon-1{
position: absolute;
top: -4px;
right: 12px;
}
.overlay-icon {
position: absolute;
bottom: 2px;
right: 10px;
}
.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}
.dropdown-content p {
padding: 3px 4px;
cursor: pointer;
}
.dropdown-content p:hover {
background-color: #ddd; /* Change the background color of each item when hovering over it */
}
.overlay-icon:hover .dropdown-content {
display: block;
}
.removeImage {
border-radius: 50%;
padding: 0px 4px;
margin: 8px 2px 8px 8px;
color: #fff;
background-color: #9f201b;
cursor: pointer;
}
/* for preview */
.image-preview-container {
width: 50%;
margin: 0 auto;
border: 1px solid rgba(0, 0, 0, 0.1);
padding: 3rem;
border-radius: 20px;
}
.image-preview-container img {
width: 100%;
display: none;
margin-bottom: 30px;
}
.custom-close-button {
--sds-c-icon-size-m: 2rem; /* Adjust the size */
font-weight: bold; /* Make it bold */
}