mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-22 18:49:44 +00:00
154 lines
2.9 KiB
CSS
154 lines
2.9 KiB
CSS
.container {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
}
|
|
|
|
.loading-overlay {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 100;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.builds-container {
|
|
height: calc(100% - 30px);
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 30px 0px 0px 0px;
|
|
}
|
|
|
|
.builds-headers {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
padding: 0 16px;
|
|
}
|
|
|
|
.builds-scroll-container {
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
padding: 0 16px 16px;
|
|
}
|
|
|
|
.builds-panels {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 16px;
|
|
}
|
|
|
|
.builds-column {
|
|
border: 1px solid var(--neutral-stroke-control-default);
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.panel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 12px 16px;
|
|
align-items: center;
|
|
border: 1px solid var(--neutral-stroke-control-default);
|
|
border-radius: 4px 4px 0 0;
|
|
border-bottom: none;
|
|
}
|
|
|
|
.panel-header h4 {
|
|
margin: 0;
|
|
font-size: var(--font-size-medium);
|
|
}
|
|
|
|
.no-builds {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100%;
|
|
color: var(--neutral-foreground-hint);
|
|
}
|
|
|
|
.build-row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 8px 16px;
|
|
border-bottom: 1px solid var(--neutral-stroke-divider-rest);
|
|
gap: 16px;
|
|
align-items: center;
|
|
border-left: 3px solid transparent;
|
|
}
|
|
|
|
.build-row:hover {
|
|
background-color: var(--neutral-fill-secondary-hover);
|
|
}
|
|
|
|
.build-row.clickable {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.build-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.build-name {
|
|
font-weight: 600;
|
|
min-width: 200px;
|
|
max-width: 200px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.build-code {
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-family: monospace;
|
|
font-size: var(--font-size-small);
|
|
opacity: 0.8;
|
|
}
|
|
|
|
/* Status colors */
|
|
.build-row.status-in-sync {
|
|
color: var(--neutral-foreground-rest);
|
|
border-left-color: transparent;
|
|
}
|
|
|
|
.build-row.status-local-only {
|
|
color: #4caf50;
|
|
border-left-color: #4caf50;
|
|
background-color: rgba(76, 175, 80, 0.1);
|
|
}
|
|
|
|
.build-row.status-remote-only {
|
|
color: #f44336;
|
|
border-left-color: #f44336;
|
|
background-color: rgba(244, 67, 54, 0.1);
|
|
}
|
|
|
|
.build-row.status-modified {
|
|
color: var(--neutral-foreground-rest);
|
|
border-left-color: var(--accent-base);
|
|
background-color: var(--accent-fill-rest);
|
|
}
|
|
|
|
.build-row.status-placeholder {
|
|
opacity: 0.3;
|
|
font-style: italic;
|
|
background-color: var(--neutral-fill-stealth-rest);
|
|
}
|
|
|
|
.build-snippet-overlay {
|
|
position: fixed;
|
|
z-index: 1000;
|
|
pointer-events: none;
|
|
} |