text/css
•
3.19 KB
•
196 lines
/* CI Job Styles */
.status-pending {
background: var(--text-color-subdued);
color: var(--white);
}
.status-running {
background: var(--primary-color);
color: var(--white);
}
.status-success {
background: var(--success-color-dark);
color: var(--white);
}
.status-failed {
background: var(--error-color);
color: var(--white);
}
/* CI Job Info Grid */
.ci-job-info {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: var(--space-m);
padding: var(--space-m);
background: var(--background-color);
border-radius: 4px;
margin-bottom: var(--space-l);
}
.ci-job-detail {
display: flex;
flex-direction: column;
gap: var(--space-xs);
}
.ci-label {
font-size: 0.75rem;
text-transform: uppercase;
color: var(--text-color-subdued);
font-weight: 500;
}
.ci-value {
font-size: 0.9rem;
}
.ci-value code {
font-family: var(--font-mono);
background: var(--background-color-bright);
padding: 2px 6px;
border-radius: 3px;
}
.ci-exit-success {
color: var(--success-color-dark);
font-weight: 600;
}
.ci-exit-failure {
color: var(--error-color);
font-weight: 600;
}
/* CI Output Section */
.ci-output-section {
margin-top: var(--space-l);
}
.ci-output-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: var(--space-m);
}
.ci-output-header h3 {
margin: 0;
}
.btn-small {
font-size: 0.8rem;
padding: var(--space-xs) var(--space-s);
}
.ci-output-pending {
color: var(--text-color-subdued);
font-style: italic;
padding: var(--space-l);
text-align: center;
background: var(--background-color);
border-radius: 4px;
}
.ci-log {
background: var(--background-color);
padding: var(--space-m);
border-radius: 4px;
overflow-x: auto;
font-family: var(--font-mono);
font-size: 0.85rem;
line-height: 1.5;
white-space: pre-wrap;
word-break: break-word;
max-height: 600px;
overflow-y: auto;
margin: 0;
}
/* CI Job Results */
.ci-job-result {
margin-bottom: var(--space-l);
border: 1px solid var(--border-color);
border-radius: 4px;
overflow: hidden;
}
.ci-job-result:last-child {
margin-bottom: 0;
}
.ci-job-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: var(--space-s) var(--space-m);
background: var(--background-color);
border-bottom: 1px solid var(--border-color);
}
.ci-job-header h4 {
margin: 0;
font-size: 0.95rem;
}
.ci-job-header-right {
display: flex;
align-items: center;
gap: var(--space-s);
}
.ci-job-status {
font-size: 0.75rem;
padding: 2px 8px;
border-radius: 3px;
}
.ci-job-logs {
padding: var(--space-s);
}
.ci-log-stderr {
margin-top: var(--space-s);
border-left: 3px solid var(--error-color);
display: none;
}
.ci-log-stderr:not(:empty) {
display: block;
}
/* CI Steps */
.ci-job-steps {
padding: var(--space-s) var(--space-m);
border-bottom: 1px solid var(--border-color);
display: flex;
flex-wrap: wrap;
flex-direction: column;;
gap: var(--space-s);
}
.ci-step {
display: flex;
align-items: center;
gap: var(--space-xs);
font-size: 0.85rem;
}
.ci-step-status {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.ci-step-name {
color: var(--text-color);
}
.ci-step-exit {
font-size: 0.75rem;
font-family: var(--font-mono);
}