Files
Daybreak/Daybreak.Core/Views/BuildListView.razor.css
T

137 lines
2.5 KiB
CSS

.build-list-container {
position: relative;
display: flex;
flex-direction: column;
height: 100%;
width: 100%;
gap: 16px;
}
.header-section {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 0 20px;
padding-top: 40px;
}
.search-container {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
flex: 1;
padding-bottom: 10px;
}
.content-section {
flex: 1;
position: relative;
overflow: hidden;
}
.loading-overlay {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 10;
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
}
.loading-text {
font-size: var(--font-size-medium);
color: var(--neutral-foreground-rest);
opacity: 0.8;
}
.build-list-wrapper {
height: 100%;
padding: 0px 10px;
overflow: auto;
transition: opacity 0.2s ease;
max-width: 800px;
align-items: center;
margin: 0 auto;
}
.build-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 10px;
border-bottom: 1px solid var(--neutral-stroke-divider-rest);
cursor: pointer;
transition: background-color 0.2s ease;
box-sizing: border-box;
border-radius: 6px;
height: 75px;
}
.build-item:hover {
background-color: var(--accent-fill-hover);
}
.build-item:focus {
outline: 2px solid var(--accent-fill-focus);
outline-offset: -2px;
}
.build-info {
flex: 1;
display: flex;
flex-direction: row;
gap: 4px;
min-width: 0;
}
.build-name {
font-weight: 600;
font-size: var(--font-size-medium);
color: var(--neutral-foreground-rest);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.build-toolbox-marker {
font-size: var(--font-size-small);
}
.empty-state {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
gap: 16px;
color: var(--neutral-foreground-hint);
}
.empty-message {
font-size: var(--font-size-large);
text-align: center;
}
.build-icon {
width: 32px;
height: 32px;
}
.build-icon img {
width: 100%;
height: 100%;
object-fit: contain;
}
.build-snippet-overlay {
position: absolute;
bottom: 10px;
left: 10px;
z-index: 1000;
}