All checks were successful
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
225 lines
4.9 KiB
CSS
225 lines
4.9 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: var(--sp-6) var(--sp-4);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--sp-4);
|
|
min-height: 100%;
|
|
}
|
|
|
|
/* ── Header ────────────────────────────────── */
|
|
|
|
.ext-team-activity-log-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: var(--sp-3);
|
|
}
|
|
|
|
.ext-team-activity-log-header__left {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: var(--sp-3);
|
|
}
|
|
|
|
.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: var(--sp-2);
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
padding: var(--sp-3) var(--sp-3);
|
|
}
|
|
|
|
.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: var(--sp-2) var(--sp-2);
|
|
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: var(--sp-2) var(--sp-3);
|
|
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: var(--sp-2) var(--sp-4);
|
|
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: var(--sp-2);
|
|
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: var(--sp-1) var(--sp-3);
|
|
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: var(--sp-2);
|
|
}
|
|
|
|
.ext-team-activity-log-entry {
|
|
background: var(--bg-surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
padding: var(--sp-3) var(--sp-3);
|
|
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: var(--sp-2);
|
|
margin-bottom: var(--sp-1);
|
|
}
|
|
|
|
.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 var(--sp-1);
|
|
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: var(--sp-10) var(--sp-4);
|
|
color: var(--text-3);
|
|
font-size: 14px;
|
|
}
|