globalbridge-lsf-custom
Version:
GlobalBridge in-house labeling tool, originating from LSF.
115 lines (100 loc) • 2.35 kB
CSS
.image-component-custom {
/* Base styles for .image-component-custom */
}
.image-component-custom .component-container {
position: relative;
flex-shrink: 0;
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
align-items: flex-start;
}
/* Styles for the top bar with Checkbox and Button */
.image-component-custom .top-bar {
position: sticky;
top: 0;
z-index: 1;
width: 100%;
padding: 8px 16px;
display: flex;
justify-content: space-between;
align-items: center;
background-color: #fff;
border-bottom: 1px solid #cbd5e0;
}
.image-component-custom .image-list {
width: 100%;
position: relative;
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 0 0 16px 0;
}
/* Styles for each image block */
.image-component-custom .image-block {
padding: 8px 16px;
margin: 0;
width: 100%;
display: flex;
gap: 16px;
align-items: center;
}
/* Styles for the background color based on conditions */
.image-component-custom .is-task-image {
background-color: #bfdbfe;
}
.image-component-custom .hover-bg:hover {
background-color: #dbeafe;
}
.image-component-custom .even-bg {
background-color: #ffffff;
}
.image-component-custom .odd-bg {
background-color: #fafafa;
}
.image-component-custom .image-area {
width: 100%;
margin: 0;
position: relative;
display: flex;
gap: 16px;
justify-content: space-between;
align-items: center;
}
.image-component-custom .image-id {
flex-shrink: 0;
margin: 0;
min-width: 40px;
text-align: center;
font-size: 14px;
color: #1a202c;
font-weight: 600;
}
.image-component-custom .image-preview {
flex-shrink: 0;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.image-component-custom .image-name {
flex-shrink: 0;
margin: 0;
min-width: 96px;
width: 100%;
text-align: left;
font-size: 18px;
color: #1a202c;
font-weight: 500;
}
.placeholder {
display: flex;
padding: 16px;
align-items: center;
}
.placeholder-title {
font-size: 24px;
color: #ff0000;
font-weight: bold;
}