loopable / web /src /styles /sdlc79 /app-marks.css
fsanyoto's picture
Deploy AIOS web (React glide grid + FastAPI slice)
d598032 verified
Raw History Blame Contribute Delete
1.72 kB
/* S79-T06 (R36): templatic App marks in the navy and gold token palette. Tokens only, no hex.
Navy strokes take the deep weight, the gold accent fills with the pastel and strokes with the deep. */
.app-mark {
display: block;
flex: 0 0 auto;
overflow: visible;
}
.app-mark .app-mark-ink {
fill: none;
stroke: var(--cg-navy);
stroke-width: 1.6;
stroke-linecap: round;
stroke-linejoin: round;
}
.app-mark .app-mark-accent {
fill: var(--lp-yellow);
stroke: var(--cg-gold);
stroke-width: 1.2;
stroke-linejoin: round;
}
/* The default glyph keeps its host's ink, so an unknown kind reads as the plain Templates mark. */
.app-mark .app-mark-default {
fill: none;
stroke: currentColor;
stroke-width: 1.5;
stroke-linecap: round;
stroke-linejoin: round;
}
/* Template list cards and directory cards: the mark sits before the name. */
.home-tpl .app-mark-titled {
display: flex;
align-items: center;
gap: 8px;
min-width: 0;
}
.home-tpl .app-mark-titled > .app-mark {
width: 22px;
height: 22px;
}
/* The wizard's template tile: a quiet ground so navy and gold read on it. */
.app-wizard-template-icon:has(> .app-mark:not(.is-default)) {
background: var(--lp-blue-tint);
}
/* The App frame (DESIGN.md 4.10): Back to Apps, the App mark, the name; the connector mark at the right. */
.cg-map-bar.cg-app-frame-header > .cg-app-frame-mark {
order: -2;
display: inline-flex;
align-items: center;
min-height: 30px;
}
/* Three classes: the Routing bar's own span rules set order and margin on every child. */
.cg-map-bar.cg-app-frame-header > .cg-app-frame-connector {
order: 99;
margin-left: auto;
display: inline-flex;
align-items: center;
min-height: 30px;
}