Login
4 branches 0 tags
Ben (Desktop/Arch) CI d108cf3 17 days ago 230 Commits
rubhub / frontend / css / ci.css
/* 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;
}