mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
feat(styles): create global styles entry point and organize global styles feat(styles): implement base HTML element styles and utility classes for flexbox feat(styles): establish layout, position, spacing, and text utility classes feat(styles): introduce mixins for animations, cards, dialogs, flexbox, grid, and responsive design test(quick_guide): add component and metadata validation tests for quick_guide package test(ui_level6): implement metadata validation tests for ui_level6 package
40 lines
696 B
SCSS
40 lines
696 B
SCSS
// Code preview / diff view atom
|
|
|
|
.code-preview {
|
|
padding: var(--spacing-sm);
|
|
background: var(--color-bg);
|
|
border: 1px solid var(--color-border);
|
|
border-radius: var(--radius-sm);
|
|
font-family: var(--font-mono);
|
|
font-size: var(--font-size-xs);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.code-line {
|
|
padding: 2px 0;
|
|
display: flex;
|
|
gap: var(--spacing-sm);
|
|
}
|
|
|
|
.code-line-num {
|
|
color: var(--color-text-secondary);
|
|
opacity: 0.6;
|
|
font-size: 0.7rem;
|
|
min-width: 24px;
|
|
}
|
|
|
|
.code-line-content {
|
|
flex: 1;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.code-line-content--added {
|
|
color: var(--color-success);
|
|
}
|
|
|
|
.code-line-content--removed {
|
|
color: var(--color-error);
|
|
}
|