Skip to content

A personal assistant that lives on your desktop, remembers what matters, and can use your Mac for you.

TypeScript
2.2 KB
Raw Blame
/* Profiles screen (ProfilesPanel). Uses the shared tokens and button styles from styles.css. */

/* The header and the eyebrow title are shared with Accounts in styles.css. */

.profiles h3 {
	margin: 4px 0 12px;
	font-size: 18px;
	line-height: 24px;
	font-weight: 800;
	background: linear-gradient(100deg, var(--text) 20%, var(--accent));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.profile-list {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
}

.profile-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.profile-list li {
	padding: 12px 14px;
	border-radius: var(--radius-md);
	border: 1px solid var(--line);
	background: var(--surface);
}

.profile-list li.in-use {
	border-color: var(--accent-line);
}

.profile-name {
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
}

.profile-summary {
	margin: 4px 0 8px;
	font-size: 12px;
	color: var(--muted);
}

.profile-actions,
.profile-confirm,
.profile-form-actions,
.profiles-footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.profile-confirm p {
	flex: 1 1 100%;
	margin: 0;
}

button.danger {
	background: var(--red);
	border-color: var(--red);
	color: var(--accent-ink);
	box-shadow: 0 10px 30px rgba(255, 113, 143, 0.25);
}

.profiles-footer {
	margin-top: 14px;
}

.profiles-import {
	padding: 12px 14px;
	border-radius: var(--radius-md);
	border: 1px solid var(--line);
	background: var(--surface);
}

.profiles-import p {
	margin: 0 0 6px;
}

.profiles-import p:last-child {
	margin-bottom: 0;
}

.profile-editor {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.profile-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.profile-field {
	font-size: 12px;
	color: var(--muted);
}

.profile-field input,
.role-route select {
	padding: 7px 10px;
	font-size: 14px;
	color: var(--text);
}

.profile-problem {
	color: var(--red);
}

.role-routes {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.role-route {
	display: grid;
	grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr) minmax(0, 1fr);
	align-items: center;
	gap: 8px;
}

.role-label {
	font-size: 13px;
}

.role-route select {
	min-width: 0;
}