Files
X-Financial/web/src/assets/styles/views/settings-view.css

850 lines
16 KiB
CSS
Raw Normal View History

feat: 完善系统配置、安全增强与知识库功能 - .env.example: API基础路径改为相对路径 /api/v1,支持代理转发 - README.md: 完善项目结构与启动说明文档 - docker-compose.yml: 新增Docker编排配置,支持容器化部署 - docker/: 新增Docker部署相关文档与配置 - server_start.sh: 重构启动脚本,添加容器环境检测、隔离虚拟环境路径、环境变量覆盖机制 - deps.py: 完善API依赖注入,增强权限验证逻辑 - admin_secret.py: 优化管理员密钥加密存储与验证 - config.py: 扩展配置管理,支持多环境变量绑定 - security.py: 增强安全模块,完善加密与认证机制 - db/base.py: 优化数据库基础架构与连接管理 - main.py: 更新应用入口,整合新模块路由 - models/: 完善系统模型配置,支持模型设置持久化 - repositories/settings.py: 优化设置仓储层,增强数据持久化 - services/settings.py: 重构设置服务,精简代码结构 - router.py: 更新API路由配置 - endpoints/knowledge.py: 新增知识库API端点 - schemas/knowledge.py: 新增知识库数据模型 - services/knowledge.py: 新增知识库业务逻辑 - storage/knowledge/.index.json: 知识库索引存储 - api.js: 完善API服务层,增强错误处理 - bootstrap.js: 优化前端初始化与引导流程 - useSetupView.js / useSystemState.js: 重构组合式函数 - TopBar.vue: 优化顶部导航栏组件 - SettingsView.vue: 重构设置页面UI,增强用户体验 - SetupView.vue / SetupRouteView.vue: 完善引导流程页面 - PoliciesView.vue: 优化策略视图组件 - vite.config.js: 更新Vite构建配置 - web_start.sh: 完善前端启动脚本 - views/scripts/: 优化各业务视图JS逻辑 - settings-view.css: 重构设置页面样式 - setup-view.css: 完善引导页样式 - policies-view.css: 优化策略页样式 - test_auth_service.py: 完善认证服务测试 - test_settings_persistence.py: 增强设置持久化测试 - document/: 新增开发文档与工作日志
2026-05-09 03:04:09 +00:00
.settings-page {
height: 100%;
min-height: 0;
animation: fadeUp 220ms var(--ease) both;
}
.settings-shell {
height: 100%;
min-height: 0;
display: grid;
grid-template-columns: 248px minmax(0, 1fr);
overflow: hidden;
border-radius: 24px;
background: linear-gradient(180deg, #ffffff 0%, #fbfefd 100%);
}
.settings-nav {
min-width: 0;
min-height: 0;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
gap: 10px;
padding: 22px 16px 18px;
border-right: 1px solid #e7edf3;
background: linear-gradient(180deg, #fcfffd 0%, #f5fbf8 58%, #ffffff 100%);
}
.settings-nav-head {
display: grid;
gap: 8px;
padding: 4px 10px 18px;
border-bottom: 1px solid #eef3f7;
}
.nav-kicker {
color: #10b981;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.settings-nav-head h2 {
color: #0f172a;
font-size: 24px;
font-weight: 860;
line-height: 1.1;
}
.settings-nav-head p {
color: #64748b;
font-size: 12px;
line-height: 1.6;
}
.settings-nav-list {
min-height: 0;
display: grid;
align-content: start;
gap: 8px;
overflow: auto;
padding-right: 4px;
}
.settings-nav-item {
width: 100%;
min-height: 74px;
display: block;
padding: 14px 14px 14px 16px;
border: 1px solid transparent;
border-radius: 18px;
background: transparent;
color: #334155;
text-align: left;
transition:
background 180ms var(--ease),
border-color 180ms var(--ease),
box-shadow 180ms var(--ease),
color 180ms var(--ease),
transform 180ms var(--ease);
}
.settings-nav-item:hover {
transform: translateY(-1px);
border-color: rgba(16, 185, 129, 0.14);
background: rgba(255, 255, 255, 0.9);
}
.settings-nav-item.active {
border-color: rgba(16, 185, 129, 0.16);
background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(16, 185, 129, 0.04));
box-shadow: inset 3px 0 0 #10b981;
color: #047857;
}
.nav-item-copy {
min-width: 0;
display: grid;
gap: 4px;
}
.nav-item-copy strong {
color: inherit;
font-size: 14px;
font-weight: 820;
line-height: 1.25;
}
.nav-item-copy small {
color: #64748b;
font-size: 12px;
line-height: 1.45;
}
.settings-body {
min-width: 0;
min-height: 0;
display: grid;
grid-template-rows: auto minmax(0, 1fr);
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.96) 100%);
}
.settings-toolbar {
position: sticky;
top: 0;
z-index: 2;
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 18px;
padding: 24px 28px 20px;
border-bottom: 1px solid #eef2f7;
background: rgba(255, 255, 255, 0.92);
backdrop-filter: blur(14px);
}
.settings-toolbar-copy {
min-width: 0;
}
.settings-breadcrumb {
display: inline-flex;
align-items: center;
min-height: 28px;
padding: 0 12px;
border-radius: 999px;
background: #eef8f2;
color: #047857;
font-size: 12px;
font-weight: 800;
}
.settings-toolbar-copy h3 {
margin-top: 14px;
color: #0f172a;
font-size: 28px;
font-weight: 860;
line-height: 1.15;
}
.settings-toolbar-copy p {
margin-top: 10px;
max-width: 760px;
color: #64748b;
font-size: 14px;
line-height: 1.7;
}
.settings-toolbar-actions {
display: grid;
justify-items: end;
gap: 12px;
}
.save-button {
min-height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 18px;
border: 0;
border-radius: 14px;
background: linear-gradient(135deg, #13b87b, #0a9d68);
color: #fff;
font-size: 13px;
font-weight: 820;
box-shadow: 0 12px 26px rgba(5, 150, 105, 0.2);
transition:
transform 180ms var(--ease),
box-shadow 180ms var(--ease),
filter 180ms var(--ease);
}
.save-button:hover {
transform: translateY(-1px);
box-shadow: 0 16px 30px rgba(5, 150, 105, 0.22);
filter: saturate(1.04);
}
.settings-content {
min-height: 0;
overflow: auto;
display: grid;
align-content: start;
gap: 18px;
padding: 24px 28px 28px;
}
.model-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.settings-card {
padding: 22px 22px 24px;
border: 1px solid #e8eef3;
border-radius: 22px;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
}
.card-head {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 14px;
margin-bottom: 18px;
}
.card-head-actions {
display: flex;
align-items: center;
gap: 10px;
flex: 0 0 auto;
}
.card-head h4 {
color: #0f172a;
font-size: 18px;
font-weight: 840;
line-height: 1.2;
}
.card-head p {
margin-top: 6px;
color: #64748b;
font-size: 13px;
line-height: 1.65;
}
.test-button {
min-height: 38px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 14px;
border: 1px solid rgba(16, 185, 129, 0.18);
border-radius: 12px;
background: #f7fffb;
color: #047857;
font-size: 13px;
font-weight: 800;
transition:
border-color 180ms var(--ease),
background 180ms var(--ease),
color 180ms var(--ease),
transform 180ms var(--ease);
}
.test-button:hover:not(:disabled) {
transform: translateY(-1px);
border-color: rgba(16, 185, 129, 0.34);
background: #ecfdf5;
}
.test-button:disabled {
cursor: wait;
opacity: 0.78;
}
.form-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px 20px;
align-items: start;
}
.profile-grid {
grid-template-columns: 96px repeat(2, minmax(0, 1fr));
}
.compact-grid {
margin-bottom: 18px;
}
.field {
display: grid;
gap: 8px;
}
.field-wide {
grid-column: span 2;
}
.field-full {
grid-column: 1 / -1;
}
.field span {
color: #334155;
font-size: 12px;
font-weight: 800;
line-height: 1.2;
}
.field em {
margin-right: 4px;
color: #ef4444;
font-style: normal;
}
.field input {
width: 100%;
min-height: 44px;
padding: 0 14px;
border: 1px solid #d7e0ea;
feat: 完善系统配置、安全增强与知识库功能 - .env.example: API基础路径改为相对路径 /api/v1,支持代理转发 - README.md: 完善项目结构与启动说明文档 - docker-compose.yml: 新增Docker编排配置,支持容器化部署 - docker/: 新增Docker部署相关文档与配置 - server_start.sh: 重构启动脚本,添加容器环境检测、隔离虚拟环境路径、环境变量覆盖机制 - deps.py: 完善API依赖注入,增强权限验证逻辑 - admin_secret.py: 优化管理员密钥加密存储与验证 - config.py: 扩展配置管理,支持多环境变量绑定 - security.py: 增强安全模块,完善加密与认证机制 - db/base.py: 优化数据库基础架构与连接管理 - main.py: 更新应用入口,整合新模块路由 - models/: 完善系统模型配置,支持模型设置持久化 - repositories/settings.py: 优化设置仓储层,增强数据持久化 - services/settings.py: 重构设置服务,精简代码结构 - router.py: 更新API路由配置 - endpoints/knowledge.py: 新增知识库API端点 - schemas/knowledge.py: 新增知识库数据模型 - services/knowledge.py: 新增知识库业务逻辑 - storage/knowledge/.index.json: 知识库索引存储 - api.js: 完善API服务层,增强错误处理 - bootstrap.js: 优化前端初始化与引导流程 - useSetupView.js / useSystemState.js: 重构组合式函数 - TopBar.vue: 优化顶部导航栏组件 - SettingsView.vue: 重构设置页面UI,增强用户体验 - SetupView.vue / SetupRouteView.vue: 完善引导流程页面 - PoliciesView.vue: 优化策略视图组件 - vite.config.js: 更新Vite构建配置 - web_start.sh: 完善前端启动脚本 - views/scripts/: 优化各业务视图JS逻辑 - settings-view.css: 重构设置页面样式 - setup-view.css: 完善引导页样式 - policies-view.css: 优化策略页样式 - test_auth_service.py: 完善认证服务测试 - test_settings_persistence.py: 增强设置持久化测试 - document/: 新增开发文档与工作日志
2026-05-09 03:04:09 +00:00
border-radius: 16px;
background: #fff;
color: #0f172a;
font-size: 13px;
line-height: 1.45;
transition:
border-color 180ms var(--ease),
box-shadow 180ms var(--ease),
background 180ms var(--ease);
}
.field select {
width: 100%;
min-height: 44px;
padding: 0 14px;
border: 1px solid #d7e0ea;
border-radius: 16px;
background: #fff;
color: #0f172a;
font-size: 13px;
line-height: 1.45;
transition:
border-color 180ms var(--ease),
box-shadow 180ms var(--ease),
background 180ms var(--ease);
}
.field input::placeholder {
color: #94a3b8;
}
.field input:focus,
.field select:focus {
outline: none;
border-color: rgba(16, 185, 129, 0.55);
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.session-picker-filter {
position: relative;
}
.session-picker-trigger {
width: 100%;
min-height: 44px;
display: inline-flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 0 40px 0 14px;
border: 1px solid #d7e0ea;
border-radius: 16px;
background: #fff;
color: #334155;
font-size: 13px;
font-weight: 760;
text-align: left;
transition:
border-color 180ms var(--ease),
box-shadow 180ms var(--ease),
background 180ms var(--ease),
color 180ms var(--ease);
}
.session-picker-label {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.session-picker-trigger .mdi {
position: absolute;
right: 14px;
top: 50%;
transform: translateY(-50%);
color: #64748b;
font-size: 18px;
pointer-events: none;
}
.session-picker-trigger:hover,
.session-picker-filter.open .session-picker-trigger {
border-color: rgba(16, 185, 129, 0.34);
background: #f6fffb;
color: #0f9f78;
}
.session-picker-filter.open .session-picker-trigger {
box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.12);
}
.session-picker-filter.open .session-picker-trigger .mdi,
.session-picker-trigger:hover .mdi {
color: #0f9f78;
}
.session-picker-popover {
position: absolute;
top: calc(100% + 8px);
left: 0;
width: 100%;
z-index: 40;
display: grid;
gap: 14px;
padding: 16px;
border: 1px solid #d7e0ea;
border-radius: 16px;
background: #fff;
box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}
.session-picker-popover header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.session-picker-popover header strong {
color: #0f172a;
font-size: 15px;
}
.session-picker-popover header button {
width: 30px;
height: 30px;
display: grid;
place-items: center;
border: 0;
border-radius: 10px;
background: transparent;
color: #64748b;
}
.session-picker-popover header button:hover {
background: #f1f5f9;
color: #0f172a;
}
.session-picker-option-list {
display: grid;
gap: 8px;
max-height: 240px;
overflow-y: auto;
}
.session-picker-option {
min-height: 38px;
display: inline-flex;
align-items: center;
padding: 0 12px;
border: 1px solid #d7e0ea;
border-radius: 12px;
background: #fff;
color: #334155;
font-size: 13px;
font-weight: 750;
text-align: left;
transition:
border-color 180ms var(--ease),
background 180ms var(--ease),
color 180ms var(--ease);
}
.session-picker-option:hover,
.session-picker-option.active {
border-color: rgba(16, 185, 129, 0.32);
background: rgba(16, 185, 129, 0.08);
color: #059669;
}
feat: 完善系统配置、安全增强与知识库功能 - .env.example: API基础路径改为相对路径 /api/v1,支持代理转发 - README.md: 完善项目结构与启动说明文档 - docker-compose.yml: 新增Docker编排配置,支持容器化部署 - docker/: 新增Docker部署相关文档与配置 - server_start.sh: 重构启动脚本,添加容器环境检测、隔离虚拟环境路径、环境变量覆盖机制 - deps.py: 完善API依赖注入,增强权限验证逻辑 - admin_secret.py: 优化管理员密钥加密存储与验证 - config.py: 扩展配置管理,支持多环境变量绑定 - security.py: 增强安全模块,完善加密与认证机制 - db/base.py: 优化数据库基础架构与连接管理 - main.py: 更新应用入口,整合新模块路由 - models/: 完善系统模型配置,支持模型设置持久化 - repositories/settings.py: 优化设置仓储层,增强数据持久化 - services/settings.py: 重构设置服务,精简代码结构 - router.py: 更新API路由配置 - endpoints/knowledge.py: 新增知识库API端点 - schemas/knowledge.py: 新增知识库数据模型 - services/knowledge.py: 新增知识库业务逻辑 - storage/knowledge/.index.json: 知识库索引存储 - api.js: 完善API服务层,增强错误处理 - bootstrap.js: 优化前端初始化与引导流程 - useSetupView.js / useSystemState.js: 重构组合式函数 - TopBar.vue: 优化顶部导航栏组件 - SettingsView.vue: 重构设置页面UI,增强用户体验 - SetupView.vue / SetupRouteView.vue: 完善引导流程页面 - PoliciesView.vue: 优化策略视图组件 - vite.config.js: 更新Vite构建配置 - web_start.sh: 完善前端启动脚本 - views/scripts/: 优化各业务视图JS逻辑 - settings-view.css: 重构设置页面样式 - setup-view.css: 完善引导页样式 - policies-view.css: 优化策略页样式 - test_auth_service.py: 完善认证服务测试 - test_settings_persistence.py: 增强设置持久化测试 - document/: 新增开发文档与工作日志
2026-05-09 03:04:09 +00:00
.secret-bound-state {
min-height: 24px;
display: inline-flex;
align-items: center;
gap: 7px;
color: #047857;
font-size: 12px;
font-weight: 750;
line-height: 1.45;
}
.secret-bound-state i {
font-size: 15px;
}
.test-feedback {
display: flex;
align-items: flex-start;
gap: 8px;
margin-top: 16px;
padding: 12px 14px;
border-radius: 14px;
font-size: 12px;
font-weight: 700;
line-height: 1.6;
}
.test-feedback i {
margin-top: 2px;
font-size: 15px;
}
.test-feedback.is-success {
background: #ecfdf5;
color: #047857;
}
.test-feedback.is-error {
background: #fef2f2;
color: #b91c1c;
}
.test-feedback.is-testing {
background: #eff6ff;
color: #1d4ed8;
}
.logo-field {
align-self: stretch;
}
.logo-tile {
width: 96px;
height: 96px;
display: grid;
place-items: center;
border: 1px dashed #cbd5e1;
border-radius: 22px;
background:
linear-gradient(45deg, #f8fafc 25%, transparent 25%, transparent 75%, #f8fafc 75%, #f8fafc),
linear-gradient(45deg, #f8fafc 25%, transparent 25%, transparent 75%, #f8fafc 75%, #f8fafc);
background-position: 0 0, 9px 9px;
background-size: 18px 18px;
color: #10b981;
font-size: 36px;
}
.preview-card {
display: grid;
grid-template-columns: 78px minmax(0, 1fr) auto;
align-items: center;
gap: 18px;
padding: 22px;
border: 1px solid rgba(16, 185, 129, 0.14);
border-radius: 24px;
background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.05));
}
.preview-icon {
width: 78px;
height: 78px;
display: grid;
place-items: center;
border-radius: 22px;
background: linear-gradient(135deg, #10b981, #0f766e);
color: #fff;
font-size: 34px;
box-shadow: 0 14px 28px rgba(16, 185, 129, 0.18);
}
.preview-copy strong {
display: block;
color: #0f172a;
font-size: 18px;
font-weight: 840;
}
.preview-copy p {
margin-top: 6px;
color: #334155;
font-size: 14px;
font-weight: 700;
}
.preview-copy small {
display: block;
margin-top: 8px;
color: #64748b;
font-size: 12px;
line-height: 1.55;
}
.preview-badge {
min-height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
padding: 0 12px;
border-radius: 999px;
background: #ecfdf5;
color: #059669;
font-size: 12px;
font-weight: 820;
white-space: nowrap;
}
.chip-row {
display: flex;
gap: 10px;
flex-wrap: wrap;
margin-bottom: 18px;
}
.level-chip {
min-width: 78px;
min-height: 36px;
padding: 0 14px;
border: 1px solid #d7e0ea;
border-radius: 999px;
background: #fff;
color: #475569;
font-size: 12px;
font-weight: 820;
transition:
border-color 160ms ease,
background 160ms ease,
box-shadow 160ms ease,
color 160ms ease;
}
.level-chip.active {
border-color: #10b981;
background: #10b981;
color: #fff;
box-shadow: 0 8px 18px rgba(16, 185, 129, 0.18);
}
.range-shell {
min-height: 44px;
display: flex;
align-items: center;
gap: 14px;
padding: 0 14px;
border: 1px solid #d7e0ea;
border-radius: 16px;
background: #fff;
}
.range-shell input[type='range'] {
flex: 1 1 auto;
accent-color: #10b981;
}
.range-shell strong {
min-width: 28px;
color: #0f172a;
font-size: 13px;
font-weight: 800;
text-align: right;
}
.switch-group {
display: grid;
gap: 12px;
}
.rendering-settings-card .switch-group {
margin-bottom: 24px;
}
.switch-row {
width: 100%;
display: flex;
feat: 完善系统配置、安全增强与知识库功能 - .env.example: API基础路径改为相对路径 /api/v1,支持代理转发 - README.md: 完善项目结构与启动说明文档 - docker-compose.yml: 新增Docker编排配置,支持容器化部署 - docker/: 新增Docker部署相关文档与配置 - server_start.sh: 重构启动脚本,添加容器环境检测、隔离虚拟环境路径、环境变量覆盖机制 - deps.py: 完善API依赖注入,增强权限验证逻辑 - admin_secret.py: 优化管理员密钥加密存储与验证 - config.py: 扩展配置管理,支持多环境变量绑定 - security.py: 增强安全模块,完善加密与认证机制 - db/base.py: 优化数据库基础架构与连接管理 - main.py: 更新应用入口,整合新模块路由 - models/: 完善系统模型配置,支持模型设置持久化 - repositories/settings.py: 优化设置仓储层,增强数据持久化 - services/settings.py: 重构设置服务,精简代码结构 - router.py: 更新API路由配置 - endpoints/knowledge.py: 新增知识库API端点 - schemas/knowledge.py: 新增知识库数据模型 - services/knowledge.py: 新增知识库业务逻辑 - storage/knowledge/.index.json: 知识库索引存储 - api.js: 完善API服务层,增强错误处理 - bootstrap.js: 优化前端初始化与引导流程 - useSetupView.js / useSystemState.js: 重构组合式函数 - TopBar.vue: 优化顶部导航栏组件 - SettingsView.vue: 重构设置页面UI,增强用户体验 - SetupView.vue / SetupRouteView.vue: 完善引导流程页面 - PoliciesView.vue: 优化策略视图组件 - vite.config.js: 更新Vite构建配置 - web_start.sh: 完善前端启动脚本 - views/scripts/: 优化各业务视图JS逻辑 - settings-view.css: 重构设置页面样式 - setup-view.css: 完善引导页样式 - policies-view.css: 优化策略页样式 - test_auth_service.py: 完善认证服务测试 - test_settings_persistence.py: 增强设置持久化测试 - document/: 新增开发文档与工作日志
2026-05-09 03:04:09 +00:00
align-items: center;
justify-content: space-between;
gap: 16px;
padding: 15px 16px;
border: 1px solid #e5eaf0;
border-radius: 18px;
background: #fbfdff;
text-align: left;
transition:
border-color 180ms var(--ease),
background 180ms var(--ease),
transform 180ms var(--ease);
}
.switch-row:hover {
transform: translateY(-1px);
border-color: rgba(16, 185, 129, 0.18);
background: #f7fffb;
}
.switch-copy {
min-width: 0;
display: grid;
gap: 4px;
}
.switch-copy strong {
color: #0f172a;
font-size: 14px;
font-weight: 800;
}
.switch-copy small {
color: #64748b;
font-size: 12px;
line-height: 1.55;
}
.switch {
position: relative;
flex: 0 0 auto;
width: 48px;
height: 28px;
display: inline-flex;
align-items: center;
padding: 3px;
border-radius: 999px;
background: #dbe4ee;
transition: background 180ms var(--ease);
}
.switch i {
width: 22px;
height: 22px;
border-radius: 999px;
background: #fff;
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.14);
transition: transform 180ms var(--ease);
}
.switch.active {
background: #10b981;
}
.switch.active i {
transform: translateX(20px);
}
@media (max-width: 1260px) {
.settings-shell {
grid-template-columns: 226px minmax(0, 1fr);
}
.settings-toolbar {
flex-direction: column;
align-items: stretch;
}
.settings-toolbar-actions {
justify-items: stretch;
}
.save-button {
justify-content: center;
}
}
@media (max-width: 960px) {
.settings-shell {
grid-template-columns: 1fr;
}
.settings-nav {
grid-template-rows: auto auto auto;
border-right: 0;
border-bottom: 1px solid #e7edf3;
}
.settings-nav-list {
display: flex;
gap: 8px;
overflow-x: auto;
padding-right: 0;
}
.settings-nav-item {
min-width: 208px;
}
.settings-toolbar,
.settings-content {
padding-inline: 20px;
}
.model-grid,
.form-grid,
.profile-grid {
grid-template-columns: 1fr;
}
.field-wide,
.field-full {
grid-column: span 1;
}
.logo-field {
width: fit-content;
}
.preview-card {
grid-template-columns: 1fr;
justify-items: start;
}
}
@media (max-width: 640px) {
.settings-toolbar {
padding: 18px 16px;
}
.settings-toolbar-copy h3 {
font-size: 24px;
}
.settings-content {
padding: 16px;
}
.settings-card {
padding: 18px 16px;
border-radius: 18px;
}
.settings-nav {
padding: 18px 12px 14px;
}
}