Some checks failed
CI/CD / detect-changes (pull_request) Successful in 4s
CI/CD / build-and-deploy (pull_request) Has been cancelled
CI/CD / test-sqlite (pull_request) Has been cancelled
CI/CD / test-go-pg (pull_request) Has been cancelled
CI/CD / test-frontend (pull_request) Has been cancelled
Prefix enforcement prevents extension CSS from leaking into the kernel
or sibling extensions. All 12 in-tree packages migrated to .ext-{slug}-*
naming convention.
- Add data-ext attribute to extension mount container
- Add CSS linter (scripts/lint-package-css.sh) enforcing .ext-{slug} prefix
- Add kernel CSS contract doc (docs/EXTENSION-CSS.md)
- Migrate 12 packages: chat, dashboard, editor, git-board, hello-dashboard,
icd-test-runner, notes, schedules, sdk-test-runner, tasks,
team-activity-log, workflow-demo (CSS + JS in lockstep)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
225 lines
4.7 KiB
CSS
225 lines
4.7 KiB
CSS
/* Team Activity Log — Surface Styles
|
|
* Uses platform CSS variables exclusively for theming.
|
|
*/
|
|
|
|
.ext-team-activity-log-shell {
|
|
max-width: 720px;
|
|
margin: 0 auto;
|
|
padding: 24px 16px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
min-height: 100%;
|
|
}
|
|
|
|
/* ── Header ────────────────────────────────── */
|
|
|
|
.ext-team-activity-log-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.ext-team-activity-log-header__left {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ext-team-activity-log-title {
|
|
font-size: 20px;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
margin: 0;
|
|
}
|
|
|
|
.ext-team-activity-log-subtitle {
|
|
font-size: 13px;
|
|
color: var(--text-3);
|
|
}
|
|
|
|
/* ── Entry Form ────────────────────────────── */
|
|
|
|
.ext-team-activity-log-form {
|
|
display: flex;
|
|
gap: 8px;
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: 10px 12px;
|
|
}
|
|
|
|
.ext-team-activity-log-form__select {
|
|
background: var(--bg-raised);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-family: var(--font);
|
|
font-size: 13px;
|
|
padding: 6px 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ext-team-activity-log-form__input {
|
|
flex: 1;
|
|
background: var(--bg-raised);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text);
|
|
font-family: var(--font);
|
|
font-size: 14px;
|
|
padding: 6px 10px;
|
|
outline: none;
|
|
transition: border-color var(--transition);
|
|
}
|
|
|
|
.ext-team-activity-log-form__input:focus {
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.ext-team-activity-log-form__input::placeholder {
|
|
color: var(--text-3);
|
|
}
|
|
|
|
.ext-team-activity-log-form__btn {
|
|
background: var(--accent);
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: var(--radius);
|
|
font-family: var(--font);
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
padding: 6px 16px;
|
|
cursor: pointer;
|
|
transition: background var(--transition);
|
|
}
|
|
|
|
.ext-team-activity-log-form__btn:hover:not(:disabled) {
|
|
background: var(--accent-hover);
|
|
}
|
|
|
|
.ext-team-activity-log-form__btn:disabled {
|
|
opacity: 0.5;
|
|
cursor: default;
|
|
}
|
|
|
|
/* ── Filters ───────────────────────────────── */
|
|
|
|
.ext-team-activity-log-filters {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.ext-team-activity-log-filter {
|
|
background: var(--bg-raised);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
color: var(--text-2);
|
|
font-family: var(--font);
|
|
font-size: 12px;
|
|
padding: 4px 10px;
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
.ext-team-activity-log-filter:hover {
|
|
background: var(--bg-hover);
|
|
color: var(--text);
|
|
}
|
|
|
|
.ext-team-activity-log-filter.ext-team-activity-log-active {
|
|
background: var(--accent-dim);
|
|
border-color: var(--accent);
|
|
color: var(--accent);
|
|
}
|
|
|
|
.ext-team-activity-log-count {
|
|
margin-left: auto;
|
|
font-size: 12px;
|
|
color: var(--text-3);
|
|
}
|
|
|
|
/* ── Entry List ────────────────────────────── */
|
|
|
|
.ext-team-activity-log-entries {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
}
|
|
|
|
.ext-team-activity-log-entry {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: 10px 12px;
|
|
transition: border-color var(--transition);
|
|
}
|
|
|
|
.ext-team-activity-log-entry:hover {
|
|
border-color: var(--border-light);
|
|
}
|
|
|
|
.ext-team-activity-log-entry__header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.ext-team-activity-log-entry__category {
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.ext-team-activity-log-entry__user {
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
}
|
|
|
|
.ext-team-activity-log-entry__time {
|
|
font-size: 12px;
|
|
color: var(--text-3);
|
|
margin-left: auto;
|
|
}
|
|
|
|
.ext-team-activity-log-entry__delete {
|
|
background: none;
|
|
border: none;
|
|
color: var(--text-3);
|
|
font-size: 16px;
|
|
cursor: pointer;
|
|
padding: 0 4px;
|
|
line-height: 1;
|
|
opacity: 0;
|
|
transition: all var(--transition);
|
|
}
|
|
|
|
.ext-team-activity-log-entry:hover .ext-team-activity-log-entry__delete {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ext-team-activity-log-entry__delete:hover {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.ext-team-activity-log-entry__message {
|
|
font-size: 14px;
|
|
color: var(--text);
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* ── Empty / Loading ───────────────────────── */
|
|
|
|
.ext-team-activity-log-empty,
|
|
.ext-team-activity-log-loading {
|
|
text-align: center;
|
|
padding: 40px 16px;
|
|
color: var(--text-3);
|
|
font-size: 14px;
|
|
}
|