soiz1's picture
Upload folder using huggingface_hub
8fd7a1d verified
@import "../../css/units.css";
@import "../../css/colors.css";
.library-modal-content {
display: flex;
height: 100%;
flex-direction: column;
overflow: hidden;
min-height: 0;
max-height: 100%;
}
.library-scroll-grid {
display: flex;
justify-content: flex-start;
align-content: flex-start;
align-items: flex-start;
background: $ui-secondary;
flex: 1;
flex-wrap: wrap;
overflow-y: auto;
padding: 0.5rem;
min-height: 0;
max-height: 100%;
}
.library-scroll-grid.withFilterBar {
flex: 1;
min-height: 0;
max-height: 100%;
}
/* Ensure the wrapper constrains the content properly */
.library-wrapper {
height: 100%;
display: flex;
flex-direction: column;
overflow: hidden;
}
.filter-bar {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
height: calc($library-filter-bar-height + 2rem); /* padding */
background-color: $looks-transparent;
padding: 0 1rem;
font-size: .875rem;
flex-shrink: 0;
}
.filter-bar-item {
margin-right: .75rem;
}
.filter {
flex-grow: 0;
}
.filter-input {
width: 11.5rem;
transition: .2s;
}
.filter-input:focus,
.filter-input:not([value=""]) {
width: 18.75rem;
}
.divider {
transform: scaleY(1.39);
height: $library-filter-bar-height;
}
.tag-wrapper {
display: flex;
flex-direction: row;
flex-wrap: wrap;
height: $library-filter-bar-height;
overflow: hidden;
}
.spinner-wrapper {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
}