Files
thetool/public/js/pages/AssetManagement/AssetManagement.css

64 lines
1.3 KiB
CSS

.asset-image-container {
width: 60px;
height: 60px;
flex-shrink: 0;
}
.asset-image {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 4px;
border: 1px solid #ddd;
}
.asset-image-placeholder {
width: 100%;
height: 100%;
background-color: #f0f0f0;
border-radius: 4px;
display: flex;
align-items: center;
justify-content: center;
color: #aaa;
font-size: 24px;
}
/* CSS for the full-screen image overlay */
.tt-fullscreen-image-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(0, 0, 0, 0.8);
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
cursor: zoom-out; /* Indicate it's closable */
/* Ensure it can receive keyboard events for 'esc' */
outline: none;
}
.tt-fullscreen-image {
max-width: 90%;
max-height: 90%;
object-fit: contain;
cursor: default; /* Change cursor back to default when over the image */
}
.tt-fullscreen-close-btn {
position: absolute;
top: 20px;
right: 20px;
background: none;
border: none;
color: white;
font-size: 30px;
cursor: pointer;
z-index: 10000;
padding: 0;
line-height: 1;
}
.tt-fullscreen-close-btn:hover {
color: #f0f0f0;
}