Extract hardcoded rgba colors and inline styles to CSS classes
- Add .inline-error and .inline-warning utility classes to dashboard.css with correctly-matched terminal palette rgba values (replaces off-palette rgba(231,76,60,0.1) and rgba(241,196,15,0.1)) - Add .key-generated-alert class for the new API key display frame - Add base .dependency-item, .dependency-group h4, .dependency-item a, .dependency-title, .btn-small overrides to ticket.css - Remove all inline styles from the dependency list template in ticket.js — layout, colors, and sizing now come from CSS classes - Update CreateTicketView.php and ApiKeysView.php to use the new classes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -2139,6 +2139,38 @@ span.ts-cell {
|
||||
font-family: var(--font-mono);
|
||||
}
|
||||
|
||||
/* Dependency list items */
|
||||
.dependency-group h4 {
|
||||
color: var(--terminal-amber);
|
||||
margin: 0.5rem 0;
|
||||
}
|
||||
|
||||
.dependency-item {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 0.5rem;
|
||||
border-bottom: 1px dashed var(--terminal-green-dim);
|
||||
}
|
||||
|
||||
.dependency-item a {
|
||||
color: var(--terminal-green);
|
||||
}
|
||||
|
||||
.dependency-item .dependency-title {
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
.dependency-item .status-badge {
|
||||
margin-left: 0.5rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.dependency-item .btn-small {
|
||||
padding: 0.25rem 0.5rem;
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
/* Upload progress */
|
||||
.upload-progress {
|
||||
margin-top: 1rem;
|
||||
|
||||
Reference in New Issue
Block a user