2881 lines
62 KiB
CSS
2881 lines
62 KiB
CSS
/*
|
||
* 企业中心(/org/*)目标页按在线原型“企业中心”对齐的页面作用域样式。
|
||
* 只作用于带 .oc-page 根类的页面(工作台、数据看板、员工管理、项目管理、预算中心、审批中心、
|
||
* 密钥管理、企业充值、消耗明细、审计日志、个人设置、企业设置);跳过页(组织架构等)不受影响。
|
||
* 数值来自原型 http://192.168.0.161:8888 的 .app / .ee-* / .eb-* / .eex-* / .eau-* 实测与源码;
|
||
* 颜色只写在 --oc-* 变量中(浅色原型实测,深色写在 html.dark 下),规则只引用变量。
|
||
* 页头(面包屑 30px / 18px / 24px、标题 28px·32px)沿用“带侧栏页面统一规格”,不在此覆盖几何。
|
||
*/
|
||
.org-center .oc-page {
|
||
--oc-text: var(--text-primary);
|
||
--oc-muted: var(--text-secondary);
|
||
--oc-border: var(--border-subtle);
|
||
--oc-soft: #fafbfc;
|
||
--oc-brand: var(--brand-accent);
|
||
--oc-page-bg: #f8fafc;
|
||
--oc-card-shadow: 0 3px 18px #25354a03;
|
||
--uc-heading: var(--oc-text);
|
||
--uc-subtitle: var(--oc-muted);
|
||
min-height: 100%;
|
||
background: var(--oc-page-bg);
|
||
}
|
||
|
||
html.dark .org-center .oc-page {
|
||
--oc-soft: #202732;
|
||
--oc-page-bg: var(--surface-bg-base);
|
||
}
|
||
|
||
/* 卡片:原型 Card 描边 --border、极轻阴影,正文 24px */
|
||
.org-center .oc-page .oc-filter-card,
|
||
.org-center .oc-page .oc-list-card {
|
||
border-color: var(--oc-border);
|
||
box-shadow: var(--oc-card-shadow);
|
||
}
|
||
|
||
.org-center .oc-page .oc-filter-card > .ant-card-body,
|
||
.org-center .oc-page .oc-list-card > .ant-card-body {
|
||
padding: 24px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-filter-card {
|
||
margin-bottom: var(--uc-layout-gap);
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-card + .oc-list-card {
|
||
margin-top: var(--uc-layout-gap);
|
||
}
|
||
|
||
/* 筛选卡:三列网格,标签 13px 次文字色,操作右对齐 */
|
||
.org-center .oc-page .oc-filter-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 16px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-filter-grid .ant-form-item {
|
||
min-width: 0;
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-filter-grid .ant-form-item-label > label {
|
||
color: var(--oc-muted);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-filter-actions {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 8px;
|
||
}
|
||
|
||
/* 列表卡头:h2 15px/600 + 右侧工具(8px) */
|
||
.org-center .oc-page .oc-list-toolbar {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 20px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-toolbar h2 {
|
||
margin: 0;
|
||
color: var(--oc-text);
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
line-height: 1.5714;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-tools {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-tools .ant-btn .ant-btn-icon,
|
||
.org-center .oc-page .oc-row-actions .ant-btn .ant-btn-icon {
|
||
display: inline-flex;
|
||
}
|
||
|
||
/* 表格:13px;表头 12px/500 次文字色、浅底;行上下 17px */
|
||
.org-center .oc-page .oc-list-card .ant-table {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-card .ant-table-thead > tr > th {
|
||
--center-table-head-bg: var(--oc-soft);
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-card .ant-table-tbody > tr > td {
|
||
padding-top: 17px;
|
||
padding-bottom: 17px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-card .ant-table-pagination,
|
||
.org-center .oc-page .oc-list-card > .ant-card-body > .ant-pagination {
|
||
margin-bottom: 0;
|
||
flex-wrap: wrap;
|
||
row-gap: 8px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-card > .ant-card-body > .ant-pagination {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
margin-top: 16px;
|
||
}
|
||
|
||
/* 行内操作:link 按钮 13px/24px、无内边距、间距 10px */
|
||
.org-center .oc-page .oc-row-actions {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-row-actions .ant-btn {
|
||
height: auto;
|
||
padding: 0;
|
||
font-size: 13px;
|
||
line-height: 24px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-muted {
|
||
color: var(--oc-muted);
|
||
}
|
||
|
||
.org-center .oc-page .oc-number {
|
||
font-variant-numeric: tabular-nums;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
/* 页头下的状态 / 分类页签(只作筛选切换时隐藏内容区) */
|
||
.org-center .oc-page .oc-status-tabs > .ant-tabs-nav {
|
||
margin-bottom: 18px;
|
||
}
|
||
|
||
.org-center
|
||
.oc-page
|
||
.oc-status-tabs.oc-tabs-nav-only
|
||
> .ant-tabs-content-holder {
|
||
display: none;
|
||
}
|
||
|
||
/* 说明条:原型 .eb-policy */
|
||
.org-center .oc-page .oc-policy {
|
||
margin-bottom: 20px;
|
||
padding: 14px 18px;
|
||
border: 1px solid var(--oc-border);
|
||
border-left: 3px solid var(--oc-brand);
|
||
border-radius: 8px;
|
||
background: var(--oc-soft);
|
||
color: var(--oc-text);
|
||
font-size: 13px;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
/* 表格内标签:原型 Tag filled(无边框)、12px、无外边距 */
|
||
.org-center .oc-page .oc-list-card .ant-table-cell .ant-tag {
|
||
margin: 0;
|
||
font-size: 12px;
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.org-center .oc-page .oc-filter-card > .ant-card-body,
|
||
.org-center .oc-page .oc-list-card > .ant-card-body {
|
||
padding: 20px 16px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-filter-grid {
|
||
grid-template-columns: 1fr;
|
||
gap: 12px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-filter-card {
|
||
margin-bottom: 18px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-toolbar {
|
||
flex-direction: column;
|
||
align-items: stretch;
|
||
gap: 14px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-tools {
|
||
justify-content: flex-end;
|
||
width: 100%;
|
||
}
|
||
|
||
.org-center .oc-page .oc-policy {
|
||
margin-bottom: 18px;
|
||
padding: 12px 14px;
|
||
}
|
||
}
|
||
|
||
/* ---------- 预算中心(原型 EnterpriseBudget .eb-*) ---------- */
|
||
.org-center .oc-page .oc-budget-subject {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-budget-usage {
|
||
max-width: 230px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-budget-usage .ant-progress {
|
||
display: block;
|
||
margin: 0 0 5px;
|
||
line-height: 1;
|
||
}
|
||
|
||
.org-center .oc-page .oc-budget-usage > span {
|
||
color: var(--oc-text);
|
||
font-size: 12px;
|
||
font-variant-numeric: tabular-nums;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-budget-usage i {
|
||
padding: 0 7px;
|
||
color: var(--oc-muted);
|
||
font-style: normal;
|
||
}
|
||
|
||
.org-center .oc-page .oc-budget-unlimited {
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
/* ---------- 弹窗(Portal 不在 .org-center 内,用 .oc-dialog 承载变量) ---------- */
|
||
.oc-dialog {
|
||
--oc-text: var(--text-primary);
|
||
--oc-muted: var(--text-secondary);
|
||
--oc-border: var(--border-subtle);
|
||
--oc-soft: #fafbfc;
|
||
}
|
||
|
||
html.dark .oc-dialog {
|
||
--oc-soft: #202732;
|
||
}
|
||
|
||
.org-modal.oc-dialog .ant-modal-body {
|
||
padding-top: 16px;
|
||
}
|
||
|
||
/* 遮罩:原型(antd 6 默认)弹窗与抽屉均为 rgba(0,0,0,.3) + blur(4px),浅 / 深一致。
|
||
只作用于目标页(页面根含 .oc-page)打开的 OrgModal / OrgSideSheet;宿主公告、客服与跳过页不受影响。 */
|
||
body:has(.org-center .oc-page) .ant-modal-root:has(.org-modal),
|
||
body:has(.org-center .oc-page) .ant-modal-root:has(.task-content-modal),
|
||
body:has(.org-center .oc-page) .ant-drawer:has(.org-sidesheet) {
|
||
--oc-mask-bg: rgba(0, 0, 0, 0.3);
|
||
--oc-mask-blur: 4px;
|
||
}
|
||
|
||
body:has(.org-center .oc-page)
|
||
.ant-modal-root:has(.org-modal)
|
||
> .ant-modal-mask,
|
||
body:has(.org-center .oc-page)
|
||
.ant-modal-root:has(.task-content-modal)
|
||
> .ant-modal-mask,
|
||
body:has(.org-center .oc-page)
|
||
.ant-drawer:has(.org-sidesheet)
|
||
> .ant-drawer-mask {
|
||
background: var(--oc-mask-bg);
|
||
backdrop-filter: blur(var(--oc-mask-blur));
|
||
}
|
||
|
||
.oc-dialog .oc-budget-edit-subject {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin-bottom: 24px;
|
||
color: var(--oc-text);
|
||
}
|
||
|
||
.oc-dialog .oc-budget-edit-subject strong {
|
||
font-weight: 500;
|
||
}
|
||
|
||
.oc-dialog .oc-budget-edit-subject .ant-tag {
|
||
margin: 0;
|
||
}
|
||
|
||
/* ---------- 列表页签(原型 .platform-list-tabs:导航 44px、页签间距 28px、主色 2px 下划线) ---------- */
|
||
.org-center .oc-page .oc-list-tabs > .ant-tabs-nav {
|
||
min-height: 44px;
|
||
margin: 0 0 20px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-tabs > .ant-tabs-nav::before {
|
||
border-bottom: 1px solid var(--oc-border);
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-tabs > .ant-tabs-nav .ant-tabs-tab {
|
||
padding: 12px 0;
|
||
color: var(--oc-text);
|
||
font-size: 14px;
|
||
line-height: 22px;
|
||
}
|
||
|
||
.org-center
|
||
.oc-page
|
||
.oc-list-tabs
|
||
> .ant-tabs-nav
|
||
.ant-tabs-tab
|
||
+ .ant-tabs-tab {
|
||
margin: 0 0 0 28px;
|
||
}
|
||
|
||
.org-center
|
||
.oc-page
|
||
.oc-list-tabs
|
||
> .ant-tabs-nav
|
||
.ant-tabs-tab
|
||
.ant-tabs-tab-btn {
|
||
color: inherit;
|
||
font-weight: 400;
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-tabs > .ant-tabs-nav .ant-tabs-tab:hover,
|
||
.org-center
|
||
.oc-page
|
||
.oc-list-tabs
|
||
> .ant-tabs-nav
|
||
.ant-tabs-tab-active
|
||
.ant-tabs-tab-btn {
|
||
color: var(--oc-brand);
|
||
}
|
||
|
||
.org-center .oc-page .oc-list-tabs > .ant-tabs-nav .ant-tabs-ink-bar {
|
||
height: 2px;
|
||
border-radius: 0;
|
||
background: var(--oc-brand);
|
||
}
|
||
|
||
.org-modal.oc-reject-dialog .ant-form-item {
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
/* 弹窗内表格(原型 .ep-dialog):13px、表头浅底 12px/500 次文字色、行内 link 无内边距 */
|
||
.oc-dialog-table .ant-table {
|
||
font-size: 13px;
|
||
}
|
||
|
||
.oc-dialog-table .ant-table-thead > tr > th {
|
||
--center-table-head-bg: var(--oc-soft);
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.oc-dialog-table .ant-table-tbody .ant-btn-link {
|
||
height: auto;
|
||
padding: 0;
|
||
font-size: 13px;
|
||
}
|
||
|
||
/* ---------- 密钥管理(原型 EnterpriseKeys / .km-secret) ---------- */
|
||
.org-center .oc-page {
|
||
--oc-code-bg: #f4f6f9;
|
||
--oc-code-border: #e4e9ee;
|
||
}
|
||
|
||
html.dark .org-center .oc-page {
|
||
--oc-code-bg: #232d39;
|
||
--oc-code-border: #354352;
|
||
}
|
||
|
||
.org-center .oc-page .oc-block-gap {
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-token-name {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.org-center .oc-page .oc-token-name > span:first-child {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-secret {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
min-width: 0;
|
||
}
|
||
|
||
.org-center .oc-page .oc-secret code {
|
||
display: block;
|
||
max-width: 210px;
|
||
padding: 6px 10px;
|
||
border: 1px solid var(--oc-code-border);
|
||
border-radius: 6px;
|
||
background: var(--oc-code-bg);
|
||
font:
|
||
12px/1.7 Consolas,
|
||
monospace;
|
||
white-space: normal;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.org-center .oc-page .oc-secret .ant-btn {
|
||
flex: none;
|
||
}
|
||
|
||
.org-center .oc-page .oc-model-link.ant-btn {
|
||
height: auto;
|
||
padding: 0;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-token-status {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 6px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-token-group {
|
||
display: block;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-token-copy.ant-btn {
|
||
color: var(--oc-brand);
|
||
}
|
||
|
||
/* 消费记录样式的企业筛选卡。 */
|
||
.org-center .oc-page .org-usage-filter-card.ant-card {
|
||
min-width: 0;
|
||
border-color: var(--oc-border);
|
||
border-radius: 10px;
|
||
box-shadow: var(--oc-card-shadow);
|
||
}
|
||
|
||
.org-center .oc-page .org-usage-filter-card > .ant-card-body {
|
||
padding: 24px;
|
||
}
|
||
|
||
.org-center .oc-page .org-usage-filter-card + .oc-list-card {
|
||
margin-top: var(--uc-layout-gap);
|
||
}
|
||
|
||
@media (max-width: 768px) {
|
||
.org-center .oc-page .org-usage-filter-card > .ant-card-body {
|
||
padding: 16px;
|
||
}
|
||
}
|
||
|
||
/* ---------- 审计日志(原型 EnterpriseAudit .eau-*) ---------- */
|
||
.org-center .oc-page .oc-audit-tabs > .ant-tabs-nav {
|
||
margin-bottom: var(--uc-layout-gap);
|
||
}
|
||
|
||
.org-center .oc-page .oc-audit-stack {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: var(--uc-layout-gap);
|
||
}
|
||
|
||
.org-center .oc-page .oc-audit-filter > .ant-card-body {
|
||
padding-block: 22px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-audit-stack > .org-panel {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.org-center .oc-page .oc-audit-detail {
|
||
display: block;
|
||
max-width: 470px;
|
||
overflow: hidden;
|
||
color: var(--oc-muted);
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
cursor: default;
|
||
}
|
||
|
||
.org-center .oc-page .oc-audit-time {
|
||
color: var(--oc-muted);
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-audit-detail:focus-visible,
|
||
.org-center .oc-page .oc-audit-time:focus-visible {
|
||
border-radius: 3px;
|
||
outline: 2px solid var(--oc-brand);
|
||
outline-offset: 3px;
|
||
}
|
||
|
||
/* ---------- 消耗明细(原型 EnterpriseExpenses .eex-*) ---------- */
|
||
.org-center .oc-page {
|
||
--oc-stat-brand-bg: color-mix(in srgb, var(--oc-brand) 6.3%, transparent);
|
||
--oc-stat-rose-bg: #e15a7310;
|
||
--oc-stat-rose: #cf4c69;
|
||
--oc-stat-blue-bg: #2981ce10;
|
||
--oc-stat-blue: #2981ce;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stats {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 16px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat {
|
||
border-color: var(--oc-border);
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat > .ant-card-body {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 14px;
|
||
padding: 22px 24px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat-icon {
|
||
display: flex;
|
||
flex: none;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 42px;
|
||
height: 42px;
|
||
border-radius: 12px;
|
||
background: var(--oc-stat-brand-bg);
|
||
color: var(--oc-brand);
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat-1 .oc-exp-stat-icon {
|
||
background: var(--oc-stat-rose-bg);
|
||
color: var(--oc-stat-rose);
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat-2 .oc-exp-stat-icon {
|
||
background: var(--oc-stat-blue-bg);
|
||
color: var(--oc-stat-blue);
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat span:not(.oc-exp-stat-icon) {
|
||
color: var(--oc-muted);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat strong {
|
||
display: block;
|
||
margin-top: 6px;
|
||
color: var(--oc-text);
|
||
font-size: 26px;
|
||
font-weight: 650;
|
||
line-height: 1.3;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-self {
|
||
display: flex;
|
||
align-items: center;
|
||
height: 34px;
|
||
padding: 0 11px;
|
||
border: 1px solid var(--oc-border);
|
||
border-radius: 8px;
|
||
background: var(--oc-soft);
|
||
color: var(--oc-muted);
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-model {
|
||
padding: 3px 6px;
|
||
border: 1px solid var(--oc-border);
|
||
border-radius: 4px;
|
||
background: var(--oc-soft);
|
||
font:
|
||
12px/1.5 Consolas,
|
||
monospace;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-cost {
|
||
color: var(--oc-brand);
|
||
font-weight: 550;
|
||
font-variant-numeric: tabular-nums;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-rank {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 25px;
|
||
height: 25px;
|
||
border-radius: 50%;
|
||
background: var(--oc-soft);
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-rank-1 {
|
||
background-color: var(--brand-selection-bg);
|
||
color: var(--brand-selection-text);
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-rank-2 {
|
||
background-color: color-mix(
|
||
in srgb,
|
||
var(--brand-selection-bg) 65%,
|
||
var(--oc-soft)
|
||
);
|
||
color: var(--brand-selection-text);
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-rank-3 {
|
||
background-color: color-mix(
|
||
in srgb,
|
||
var(--brand-selection-bg) 35%,
|
||
var(--oc-soft)
|
||
);
|
||
color: var(--brand-selection-text);
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.org-center .oc-page .oc-exp-stats {
|
||
grid-template-columns: 1fr;
|
||
gap: 10px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat > .ant-card-body {
|
||
padding: 16px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-exp-stat strong {
|
||
font-size: 24px;
|
||
}
|
||
}
|
||
|
||
/* ---------- 员工管理(原型 EnterpriseEmployees .ee-identity / .ee-tags) ---------- */
|
||
.org-center .oc-page .oc-member-identity strong {
|
||
display: block;
|
||
font-weight: 500;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.org-center .oc-page .oc-member-identity > span {
|
||
display: block;
|
||
margin-top: 3px;
|
||
color: var(--oc-muted);
|
||
font:
|
||
12px/1.8 Consolas,
|
||
monospace;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.org-center .oc-page .oc-tags {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 5px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-member-limit {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-end;
|
||
}
|
||
|
||
.org-center .oc-page .oc-member-limit small {
|
||
color: var(--oc-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-page .oc-member-limit small.is-lifetime {
|
||
color: var(--ui-color-warning);
|
||
}
|
||
|
||
.org-center .oc-page .oc-member-remark {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
max-width: 100%;
|
||
padding: 0;
|
||
border: 0;
|
||
background: transparent;
|
||
color: inherit;
|
||
font: inherit;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.org-center .oc-page .oc-member-remark > span:first-child {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-page .oc-member-remark svg {
|
||
flex: none;
|
||
color: var(--oc-muted);
|
||
}
|
||
|
||
/* ---------- 通知渠道表单(原型 .ps-notice-details;个人设置 / 企业设置共用) ---------- */
|
||
.oc-page {
|
||
--oc-notice-bg: #f7fafc;
|
||
}
|
||
|
||
html.dark .oc-page {
|
||
--oc-notice-bg: #202935;
|
||
}
|
||
|
||
.oc-page .oc-notify-label {
|
||
display: block;
|
||
padding-bottom: 8px;
|
||
color: var(--oc-text);
|
||
font-size: 14px;
|
||
line-height: 22px;
|
||
}
|
||
|
||
.oc-page .oc-notify-channel {
|
||
max-width: 360px;
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.oc-page .oc-notify-details {
|
||
display: grid;
|
||
gap: 24px;
|
||
margin-bottom: 24px;
|
||
padding: 20px;
|
||
border: 1px solid var(--oc-border);
|
||
border-radius: 10px;
|
||
background: var(--oc-notice-bg);
|
||
}
|
||
|
||
/* ---------- 个人设置(原型 EnterpriseSettings;复用用户中心 .ui-personal-* 同类样式) ---------- */
|
||
.org-center
|
||
.oc-personal-settings
|
||
.ui-personal-content
|
||
.ant-tabs-content-holder {
|
||
min-width: 0;
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-panel {
|
||
min-height: 370px;
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-info-grid {
|
||
display: grid;
|
||
grid-template-columns: 1fr;
|
||
gap: 20px;
|
||
margin-top: 24px;
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-info-grid > .ant-card {
|
||
border-color: var(--ps-border);
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-info-grid .ant-card-head {
|
||
border-bottom-color: var(--ps-border);
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-quota {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 8px;
|
||
color: var(--oc-muted);
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-quota strong {
|
||
color: var(--oc-text);
|
||
font-size: 28px;
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-quota-meta {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-unlimited {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
color: var(--oc-muted);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-unlimited .ant-tag {
|
||
margin: 0;
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-threshold {
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 8px;
|
||
}
|
||
|
||
.org-center .oc-personal-settings .oc-ps-threshold > label {
|
||
color: var(--oc-text);
|
||
font-size: 14px;
|
||
line-height: 22px;
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.org-center .oc-personal-settings .oc-ps-quota-meta {
|
||
flex-wrap: wrap;
|
||
}
|
||
}
|
||
|
||
/* ---------- 企业设置(原型 CompanySettings .cs-*;设置卡复用用户中心 .ui-personal-content) ---------- */
|
||
.org-center .oc-company-settings .ui-personal-content .ant-tabs-content-holder {
|
||
min-width: 0;
|
||
}
|
||
|
||
.org-center
|
||
.oc-company-settings
|
||
.org-nested-tabs
|
||
> .ant-tabs
|
||
> .ant-tabs-nav
|
||
.ant-tabs-tab {
|
||
padding-block-start: 0;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-panel {
|
||
min-height: 370px;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 0 24px;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-copy {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 12px;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-copy > .ant-input,
|
||
.org-center .oc-company-settings .oc-cs-copy > .ant-input-affix-wrapper {
|
||
min-width: 0;
|
||
}
|
||
|
||
/* 原型为 Typography copyable 图标(14px、无内边距),按钮保留可访问名称 */
|
||
.org-center .oc-company-settings .oc-copy-btn.ant-btn {
|
||
flex: none;
|
||
width: auto;
|
||
min-width: 0;
|
||
height: 22px;
|
||
padding: 0;
|
||
color: var(--ui-color-primary);
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-section-title {
|
||
margin: 0 0 18px;
|
||
color: var(--oc-text);
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-help {
|
||
margin: 0 0 15px;
|
||
color: var(--oc-muted);
|
||
font-size: 13px;
|
||
line-height: 1.9;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-flow {
|
||
margin: 18px 0 0;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-rows {
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-alert {
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.org-center .oc-company-settings .oc-cs-warning {
|
||
display: block;
|
||
margin-top: 4px;
|
||
color: var(--ui-color-warning);
|
||
}
|
||
|
||
.org-center .oc-company-settings .ui-settings-row p {
|
||
max-width: 950px;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.org-center .oc-company-settings .ui-settings-row .ant-switch {
|
||
flex: none;
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.org-center .oc-company-settings .oc-cs-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.org-center .oc-company-settings .ui-settings-section-head {
|
||
flex-wrap: wrap;
|
||
}
|
||
}
|
||
|
||
/* ---------- 工作台(原型 EnterpriseWorkbench .ew-*;横幅沿用 prototype.css .org-workbench-hero) ---------- */
|
||
.org-center .oc-workbench {
|
||
--oc-hero-tag-bg: rgba(255, 255, 255, 0.44);
|
||
--oc-hero-tag-border: rgba(211, 180, 126, 0.314);
|
||
--oc-hero-tag-text: #81673b;
|
||
--oc-quota-from: #d8ad5c;
|
||
--oc-quota-to: #b96508;
|
||
--oc-token-art-from: #fcf2dd;
|
||
--oc-token-art-to: #efe4cb;
|
||
--oc-token-art-text: #a37d36;
|
||
--oc-token-ring: #b38e4c12;
|
||
}
|
||
|
||
html.dark .org-center .oc-workbench {
|
||
--oc-hero-tag-bg: #ffffff09;
|
||
--oc-hero-tag-border: #d8b57422;
|
||
--oc-hero-tag-text: #d2bd98;
|
||
--oc-token-art-from: #3b3426;
|
||
--oc-token-art-to: #302d25;
|
||
--oc-token-art-text: #dbb66e;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-tags {
|
||
display: inline-flex;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-tags .ant-tag {
|
||
margin: 0;
|
||
border-color: var(--oc-hero-tag-border);
|
||
background: var(--oc-hero-tag-bg);
|
||
color: var(--oc-hero-tag-text);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-middle {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
|
||
gap: 18px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-heading {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 14px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-heading h2 {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin: 0;
|
||
color: var(--oc-text);
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-heading h2 svg {
|
||
color: var(--oc-brand);
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-heading > span {
|
||
color: var(--oc-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-main {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 20px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-main > div:first-child {
|
||
display: flex;
|
||
align-items: baseline;
|
||
gap: 14px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-main strong {
|
||
color: var(--oc-text);
|
||
font:
|
||
600 36px 'Bahnschrift',
|
||
'Segoe UI',
|
||
sans-serif;
|
||
letter-spacing: -0.7px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-main > div > span {
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-percent {
|
||
color: var(--oc-brand);
|
||
font-size: 18px;
|
||
text-align: right;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-percent span {
|
||
display: block;
|
||
margin-top: 4px;
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota .ant-progress {
|
||
margin-top: 15px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-caption {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
margin-top: 6px;
|
||
color: var(--oc-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-empty {
|
||
margin: 0;
|
||
color: var(--oc-muted);
|
||
font-size: 13px;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-bottom {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 15px;
|
||
margin-top: 20px;
|
||
padding-top: 18px;
|
||
border-top: 1px solid var(--oc-border);
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-bottom > span {
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-tokens {
|
||
position: relative;
|
||
overflow: hidden;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-tokens::after {
|
||
position: absolute;
|
||
right: -45px;
|
||
bottom: -80px;
|
||
width: 170px;
|
||
height: 170px;
|
||
border: 24px double var(--oc-token-ring);
|
||
border-radius: 50%;
|
||
content: '';
|
||
pointer-events: none;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-token-content {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 20px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-token-art {
|
||
display: grid;
|
||
place-items: center;
|
||
width: 66px;
|
||
height: 66px;
|
||
border-radius: 16px;
|
||
background: linear-gradient(
|
||
130deg,
|
||
var(--oc-token-art-from),
|
||
var(--oc-token-art-to)
|
||
);
|
||
color: var(--oc-token-art-text);
|
||
transform: rotate(-8deg);
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-token-content strong {
|
||
display: block;
|
||
color: var(--oc-text);
|
||
font:
|
||
500 40px 'Bahnschrift',
|
||
'Segoe UI',
|
||
sans-serif;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-token-content div > span {
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
gap: 18px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid article {
|
||
min-width: 0;
|
||
padding-left: 18px;
|
||
border-left: 1px solid var(--oc-border);
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid article:first-child {
|
||
padding-left: 0;
|
||
border-left: 0;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid article > span {
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid strong {
|
||
display: block;
|
||
margin: 12px 0;
|
||
color: var(--oc-text);
|
||
font:
|
||
600 26px 'Bahnschrift',
|
||
'Segoe UI',
|
||
sans-serif;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid small {
|
||
margin-right: 4px;
|
||
font-size: 17px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid article > div {
|
||
margin-top: 7px;
|
||
color: var(--oc-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid b {
|
||
margin-left: 5px;
|
||
color: var(--oc-text);
|
||
font-weight: 500;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-requests article {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 13px;
|
||
padding: 14px 0;
|
||
border-top: 1px solid var(--oc-border);
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-requests article:first-of-type {
|
||
padding-top: 0;
|
||
border-top: 0;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-requests article:last-child {
|
||
padding-bottom: 0;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-request-icon {
|
||
display: grid;
|
||
flex-shrink: 0;
|
||
place-items: center;
|
||
width: 34px;
|
||
height: 34px;
|
||
border-radius: 8px;
|
||
background: var(--oc-soft);
|
||
color: var(--oc-muted);
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-requests article > div {
|
||
min-width: 0;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-requests h3 {
|
||
margin: 0 0 5px;
|
||
color: var(--oc-text);
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-requests article > div > span {
|
||
color: var(--oc-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-requests .ant-tag {
|
||
flex-shrink: 0;
|
||
margin-left: auto;
|
||
}
|
||
|
||
@media (max-width: 1200px) {
|
||
.org-center .oc-workbench .oc-wb-middle {
|
||
grid-template-columns: minmax(0, 1.6fr) minmax(200px, 1fr);
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-quota-main > div:first-child {
|
||
display: block;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 24px;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-usage-grid article:nth-child(3) {
|
||
padding-left: 0;
|
||
border-left: 0;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.org-center .oc-workbench .oc-wb-quota-bottom {
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 600px) {
|
||
.org-center .oc-workbench .oc-wb-middle {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.org-center .oc-workbench .oc-wb-request-icon {
|
||
display: none;
|
||
}
|
||
}
|
||
|
||
/* ---------- 企业充值(原型 EnterpriseRecharge / RechargeLayoutC:.rlc-* / .rp-* / .ecr-*) ---------- */
|
||
.org-center .oc-recharge {
|
||
--oc-rc-ink: #243244;
|
||
--oc-rc-muted: #758397;
|
||
--oc-rc-label: #65768a;
|
||
--oc-rc-line: #e4e9ee;
|
||
--oc-rc-line-inner: #e3e9f0;
|
||
--oc-rc-paper: #fff;
|
||
--oc-rc-accent: #a95b07;
|
||
--oc-rc-selected-bg: #fffbf3;
|
||
--oc-rc-pay-selected-bg: #fff0d7;
|
||
--oc-rc-pay-selected-text: #914b05;
|
||
--oc-rc-shadow: 0 12px 32px rgba(49, 70, 91, 0.06);
|
||
--oc-rc-rail-bg: linear-gradient(160deg, #fff 0%, #fffaf1 67%, #f4fbf8 100%);
|
||
--oc-rc-workspace-bg: linear-gradient(
|
||
135deg,
|
||
#fff 0%,
|
||
#fff 65%,
|
||
#f7fbfa 100%
|
||
);
|
||
--oc-rc-content-bg: #fff;
|
||
--oc-rc-checkout-bg: linear-gradient(155deg, #fffaf1, #fff 72%);
|
||
--oc-rc-checkout-border: #ecd9b6;
|
||
--oc-rc-rule: linear-gradient(90deg, #dbb366, transparent);
|
||
--oc-rc-dot: #52ad91;
|
||
--oc-rc-dot-ring: #52ad911c;
|
||
--oc-rc-pay-dot: #329967;
|
||
--oc-rc-paypal: #176aa8;
|
||
--oc-rc-error: #d84b43;
|
||
}
|
||
|
||
html.dark .org-center .oc-recharge {
|
||
--oc-rc-ink: #e7edf4;
|
||
--oc-rc-muted: #9caabd;
|
||
--oc-rc-label: #a6b3c4;
|
||
--oc-rc-line: #303b49;
|
||
--oc-rc-line-inner: #354150;
|
||
--oc-rc-paper: #1e2732;
|
||
--oc-rc-accent: #f1b554;
|
||
--oc-rc-selected-bg: #342a1c;
|
||
--oc-rc-pay-selected-bg: #4a351a;
|
||
--oc-rc-pay-selected-text: #ffd087;
|
||
--oc-rc-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
|
||
--oc-rc-rail-bg: linear-gradient(160deg, #202b36, #2b2b27 73%, #1c302f);
|
||
--oc-rc-workspace-bg: linear-gradient(135deg, #202a35, #202b32 72%, #243837);
|
||
--oc-rc-content-bg: #19232d;
|
||
--oc-rc-checkout-bg: linear-gradient(155deg, #3a2f1d, #212a32 75%);
|
||
--oc-rc-checkout-border: #79613a;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-layout {
|
||
display: grid;
|
||
grid-template-columns: minmax(190px, 230px) minmax(0, 1fr);
|
||
gap: 22px;
|
||
align-items: stretch;
|
||
color: var(--oc-rc-ink);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-rail,
|
||
.org-center .oc-recharge .oc-rc-workspace,
|
||
.org-center .oc-recharge .oc-rc-history {
|
||
border: 1px solid var(--oc-rc-line);
|
||
border-radius: 16px;
|
||
box-shadow: var(--oc-rc-shadow);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-rail {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
min-height: 330px;
|
||
padding: 27px 23px;
|
||
overflow: hidden;
|
||
background: var(--oc-rc-rail-bg);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-rail h2 {
|
||
margin: 0;
|
||
color: var(--oc-rc-ink);
|
||
font-size: 21px;
|
||
font-weight: 700;
|
||
line-height: 33px;
|
||
letter-spacing: -0.4px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-rule {
|
||
height: 1px;
|
||
margin: 19px 0 21px;
|
||
background: var(--oc-rc-rule);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-account {
|
||
display: flex;
|
||
flex-direction: column;
|
||
gap: 25px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-account > div + div {
|
||
padding-top: 22px;
|
||
border-top: 1px solid var(--oc-rc-line-inner);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-account span {
|
||
display: block;
|
||
color: var(--oc-rc-label);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-account strong {
|
||
display: block;
|
||
margin-top: 7px;
|
||
color: var(--oc-rc-ink);
|
||
font-size: 21px;
|
||
font-weight: 650;
|
||
line-height: 33px;
|
||
font-variant-numeric: tabular-nums;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-account strong.oc-rc-balance {
|
||
color: var(--oc-rc-accent);
|
||
font-size: 28px;
|
||
line-height: 44px;
|
||
letter-spacing: -0.6px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-rail-foot {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 7px;
|
||
margin-top: auto;
|
||
padding-top: 28px;
|
||
color: var(--oc-rc-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-rail-foot i {
|
||
flex: none;
|
||
width: 7px;
|
||
height: 7px;
|
||
border-radius: 50%;
|
||
background: var(--oc-rc-dot);
|
||
box-shadow: 0 0 0 4px var(--oc-rc-dot-ring);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-workspace {
|
||
min-width: 0;
|
||
padding: 27px 29px 29px;
|
||
background: var(--oc-rc-workspace-bg);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-workspace-head {
|
||
padding-bottom: 22px;
|
||
border-bottom: 1px solid var(--oc-rc-line);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-workspace-head h2 {
|
||
margin: 0;
|
||
color: var(--oc-rc-ink);
|
||
font-size: 22px;
|
||
font-weight: 700;
|
||
line-height: 1.2;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-workspace-head p {
|
||
margin: 7px 0 0;
|
||
color: var(--oc-rc-muted);
|
||
font-size: 14px;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-loading {
|
||
display: flex;
|
||
justify-content: center;
|
||
padding: 64px 0;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-purchase {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr);
|
||
gap: 20px;
|
||
padding-top: 20px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-content,
|
||
.org-center .oc-recharge .oc-rc-checkout {
|
||
min-width: 0;
|
||
padding: 20px;
|
||
border: 1px solid var(--oc-rc-line);
|
||
border-radius: 13px;
|
||
background: var(--oc-rc-content-bg);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-section-heading {
|
||
margin-bottom: 22px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-section-heading h3,
|
||
.org-center .oc-recharge .oc-rc-pay h3,
|
||
.org-center .oc-recharge .oc-rc-checkout h3 {
|
||
margin: 0;
|
||
color: var(--oc-rc-ink);
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-section-heading p {
|
||
margin: 8px 0 0;
|
||
color: var(--oc-rc-label);
|
||
font-size: 14px;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||
gap: 12px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount {
|
||
position: relative;
|
||
display: flex;
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
justify-content: center;
|
||
min-height: 97px;
|
||
margin: 0;
|
||
padding: 22px 10px 14px;
|
||
overflow: hidden;
|
||
border: 1px solid var(--oc-rc-line-inner);
|
||
border-radius: 9px;
|
||
background: var(--oc-rc-paper);
|
||
color: var(--oc-rc-ink);
|
||
font: inherit;
|
||
text-align: left;
|
||
cursor: pointer;
|
||
transition:
|
||
border-color 0.15s,
|
||
box-shadow 0.15s;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount:hover {
|
||
border-color: var(--ui-color-primary-hover);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount.selected {
|
||
border-color: var(--oc-rc-accent);
|
||
background: var(--oc-rc-selected-bg);
|
||
box-shadow: inset 0 0 0 1px var(--oc-rc-accent);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount:focus-visible {
|
||
outline: 2px solid var(--ui-color-primary);
|
||
outline-offset: 2px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount-value {
|
||
display: inline-flex;
|
||
align-items: baseline;
|
||
color: var(--oc-rc-ink);
|
||
font-size: 24px;
|
||
font-weight: 600;
|
||
line-height: 32px;
|
||
letter-spacing: -0.7px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount-value small {
|
||
margin-right: 3px;
|
||
font-size: 12px;
|
||
font-weight: 400;
|
||
letter-spacing: 0;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount-pay {
|
||
display: block;
|
||
margin-top: 7px;
|
||
color: var(--oc-rc-label);
|
||
font-size: 12px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount-bonus {
|
||
margin-top: 4px;
|
||
color: var(--oc-rc-accent);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount-badge {
|
||
position: absolute;
|
||
top: 0;
|
||
right: 0;
|
||
height: 18px;
|
||
padding: 0 7px;
|
||
border-radius: 0 8px 0 8px;
|
||
background: var(--oc-rc-pay-selected-bg);
|
||
color: var(--oc-rc-pay-selected-text);
|
||
font-size: 11px;
|
||
line-height: 18px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-amount-grid .rc-amount-check {
|
||
position: absolute;
|
||
right: 5px;
|
||
bottom: 5px;
|
||
color: var(--oc-rc-accent);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom {
|
||
margin-top: 24px;
|
||
padding: 18px;
|
||
border: 1px solid var(--oc-border);
|
||
border-radius: 10px;
|
||
background: var(--oc-soft);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom.selected {
|
||
border-color: var(--oc-brand);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom h3 {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
margin: 0 0 12px;
|
||
color: var(--oc-text);
|
||
font-size: 14px;
|
||
font-weight: 700;
|
||
line-height: 22px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom h3 .ant-tag {
|
||
margin: 0;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom-input {
|
||
display: grid;
|
||
align-items: start;
|
||
grid-template-columns: minmax(0, 1fr) 76px;
|
||
gap: 8px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom-input .ant-select {
|
||
width: 76px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom-field {
|
||
min-width: 0;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom-feedback {
|
||
padding-top: 4px;
|
||
font-size: 14px;
|
||
line-height: 22px;
|
||
}
|
||
|
||
/* Reserve the wrapped message's height in every viewport. */
|
||
.org-center .oc-recharge .oc-rc-custom-feedback .is-hidden {
|
||
visibility: hidden;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-quick {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
align-items: center;
|
||
gap: 7px;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-quick > span {
|
||
margin-right: 3px;
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-quick .ant-btn.is-active {
|
||
border-color: var(--ui-color-primary);
|
||
color: var(--ui-color-primary);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom p {
|
||
margin: 12px 0 0;
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-custom p.oc-rc-error {
|
||
color: var(--oc-rc-error);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-pay {
|
||
margin-top: 24px;
|
||
padding-top: 22px;
|
||
border-top: 1px solid var(--oc-rc-line-inner);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-pay-methods {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 12px;
|
||
margin-top: 16px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-pay-method.ant-btn {
|
||
min-width: 132px;
|
||
height: 42px;
|
||
padding: 0 18px;
|
||
border-color: var(--oc-rc-line-inner);
|
||
border-radius: 8px;
|
||
box-shadow: none;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-pay-method.ant-btn.is-selected {
|
||
border-color: var(--oc-rc-accent);
|
||
background: var(--oc-rc-pay-selected-bg);
|
||
color: var(--oc-rc-pay-selected-text);
|
||
font-weight: 600;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-pay-dot {
|
||
display: inline-block;
|
||
width: 9px;
|
||
height: 9px;
|
||
border-radius: 50%;
|
||
background: var(--oc-rc-pay-dot);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-pay-pal {
|
||
color: var(--oc-rc-paypal);
|
||
font-size: 19px;
|
||
font-style: italic;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-pay-empty {
|
||
margin: 16px 0 0;
|
||
color: var(--oc-rc-label);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-checkout {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
|
||
gap: 0 32px;
|
||
align-items: center;
|
||
border-color: var(--oc-rc-checkout-border);
|
||
background: var(--oc-rc-checkout-bg);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-checkout h3 {
|
||
grid-column: 1;
|
||
grid-row: 1;
|
||
margin-bottom: 12px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-checkout dl {
|
||
grid-column: 1;
|
||
grid-row: 2 / 4;
|
||
margin: 0;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-checkout dl > div {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
padding: 7px 0;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-checkout dt {
|
||
color: var(--oc-rc-label);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-checkout dd {
|
||
margin: 0;
|
||
color: var(--oc-rc-ink);
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-payable {
|
||
grid-column: 2;
|
||
grid-row: 1 / 3;
|
||
text-align: right;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-payable > span {
|
||
display: block;
|
||
color: var(--oc-rc-label);
|
||
font-size: 13px;
|
||
text-align: left;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-payable strong {
|
||
color: var(--oc-rc-accent);
|
||
font-size: 16px;
|
||
font-weight: 500;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-payable b {
|
||
margin-left: 4px;
|
||
font-size: 30px;
|
||
font-weight: 650;
|
||
letter-spacing: -1px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-checkout > .ant-btn {
|
||
grid-column: 2;
|
||
grid-row: 3;
|
||
height: 44px;
|
||
border-radius: 10px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-history {
|
||
margin-top: 22px;
|
||
padding: 24px;
|
||
background: var(--oc-rc-paper);
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-history .ant-table-pagination {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-order-id {
|
||
font:
|
||
12px/1.7 Consolas,
|
||
monospace;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-recharge-status {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
margin: 0;
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.org-center .oc-recharge .oc-rc-layout {
|
||
display: block;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-rail {
|
||
min-height: 0;
|
||
margin-bottom: 16px;
|
||
}
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.org-center .oc-recharge .oc-rc-amount-grid {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-workspace {
|
||
padding: 19px 16px 20px;
|
||
border-radius: 14px;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-checkout {
|
||
display: block;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-payable {
|
||
margin: 16px 0;
|
||
}
|
||
|
||
.org-center .oc-recharge .oc-rc-history {
|
||
margin-top: 12px;
|
||
padding: 18px 16px 20px;
|
||
border-radius: 14px;
|
||
}
|
||
}
|
||
|
||
/* ---------- 数据看板(原型 EnterpriseAnalytics direction a:.ea-hero / .ea-analysis / .ea-details) ---------- */
|
||
.org-center .oc-dashboard {
|
||
--oc-ea-paper: #fff;
|
||
--oc-ea-line: #e3e8ef;
|
||
--oc-ea-muted: #64748a;
|
||
--oc-ea-ink: #253247;
|
||
--oc-ea-gold: #b66c12;
|
||
--oc-ea-green: #438568;
|
||
--oc-ea-green-ring: #43856812;
|
||
--oc-ea-hero-border: #e7d6b652;
|
||
--oc-ea-hero-bg:
|
||
radial-gradient(ellipse at 90% -10%, #edcc8666, transparent 60%),
|
||
linear-gradient(110deg, #fffaf2, #f8f4ec 65%, #f1e8d6);
|
||
--oc-ea-hero-line: #cba16018;
|
||
/* 原型 .ea-hero:before 第二层白雾,暗色未覆盖(深浅同值) */
|
||
--oc-ea-hero-haze: #fff6;
|
||
--oc-ea-hero-ring: #bd934c25;
|
||
--oc-ea-hero-ring-1: #d2ad6910;
|
||
--oc-ea-hero-ring-2: #d2ad6908;
|
||
--oc-ea-hero-title: #423721;
|
||
--oc-ea-glass: #ffffffb0;
|
||
--oc-ea-glass-border: #fff9;
|
||
--oc-ea-org-bg: #ffffffa6;
|
||
--oc-ea-org-border: #ffffff9c;
|
||
--oc-ea-tabs-bg: #e9edf2;
|
||
--oc-ea-tab-shadow: 0 1px 4px #24324714;
|
||
--oc-ea-head-bg: #f4f6f8;
|
||
--oc-ea-avatar-bg: #e8f0ee;
|
||
--oc-ea-avatar-text: #4d8071;
|
||
--oc-ea-card-shadow: 0 3px 20px #20344b03;
|
||
}
|
||
|
||
html.dark .org-center .oc-dashboard {
|
||
--oc-ea-paper: #1b2431;
|
||
--oc-ea-line: #344151;
|
||
--oc-ea-muted: #a6b3c5;
|
||
--oc-ea-ink: #e9eef6;
|
||
--oc-ea-gold: #efb963;
|
||
--oc-ea-green: #87c3a7;
|
||
--oc-ea-hero-border: #5b4d3452;
|
||
--oc-ea-hero-bg:
|
||
radial-gradient(ellipse at 90% -10%, #b68c4b33, transparent 60%),
|
||
linear-gradient(110deg, #24272c, #2a2924);
|
||
--oc-ea-hero-title: #f2e7cf;
|
||
--oc-ea-glass: #1b2431bb;
|
||
--oc-ea-glass-border: #77715c33;
|
||
--oc-ea-org-bg: #1b2431bb;
|
||
--oc-ea-org-border: #77715c33;
|
||
--oc-ea-tabs-bg: #283241;
|
||
--oc-ea-head-bg: #253040;
|
||
--oc-ea-avatar-bg: #294135;
|
||
--oc-ea-avatar-text: #a0c7b5;
|
||
}
|
||
|
||
.org-center .oc-dashboard {
|
||
color: var(--oc-ea-ink);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-breadcrumb {
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .ant-card {
|
||
border-color: var(--oc-ea-line);
|
||
background: var(--oc-ea-paper);
|
||
box-shadow: var(--oc-ea-card-shadow);
|
||
}
|
||
|
||
.org-center .oc-dashboard .ant-card .ant-card-body {
|
||
padding: 24px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-hero {
|
||
position: relative;
|
||
isolation: isolate;
|
||
margin-bottom: 28px;
|
||
padding: 24px;
|
||
overflow: hidden;
|
||
border: 1px solid var(--oc-ea-hero-border);
|
||
border-radius: 12px;
|
||
background: var(--oc-ea-hero-bg);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-hero::before {
|
||
position: absolute;
|
||
inset: 0;
|
||
z-index: -1;
|
||
background:
|
||
repeating-linear-gradient(
|
||
135deg,
|
||
transparent 0 120px,
|
||
var(--oc-ea-hero-line) 121px 122px,
|
||
transparent 123px 170px
|
||
),
|
||
linear-gradient(90deg, transparent 30%, var(--oc-ea-hero-haze));
|
||
content: '';
|
||
mask-image: linear-gradient(90deg, transparent, #000);
|
||
pointer-events: none;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-hero::after {
|
||
position: absolute;
|
||
top: -140px;
|
||
right: 25%;
|
||
z-index: -1;
|
||
width: 320px;
|
||
height: 320px;
|
||
border: 1px solid var(--oc-ea-hero-ring);
|
||
border-radius: 50%;
|
||
box-shadow:
|
||
0 0 0 48px var(--oc-ea-hero-ring-1),
|
||
0 0 0 95px var(--oc-ea-hero-ring-2);
|
||
content: '';
|
||
pointer-events: none;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-health {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
margin-bottom: 18px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-health > span {
|
||
display: flex;
|
||
flex-shrink: 0;
|
||
align-items: center;
|
||
gap: 8px;
|
||
color: var(--oc-ea-green);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org-name {
|
||
min-width: 0;
|
||
max-width: 65%;
|
||
margin-left: auto;
|
||
text-align: right;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-health i {
|
||
width: 6px;
|
||
height: 6px;
|
||
border-radius: 50%;
|
||
background: var(--oc-ea-green);
|
||
box-shadow: 0 0 0 4px var(--oc-ea-green-ring);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-health.is-warn > span {
|
||
color: var(--ui-color-warning);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-health.is-warn i {
|
||
background: var(--ui-color-warning);
|
||
box-shadow: none;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-heading {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 24px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-heading h1 {
|
||
margin: 0 0 8px;
|
||
color: var(--oc-ea-hero-title);
|
||
font-size: 30px;
|
||
font-weight: 650;
|
||
line-height: 1.4;
|
||
letter-spacing: -0.8px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-heading p {
|
||
margin: 0;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 13px;
|
||
line-height: 1.7;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-actions {
|
||
display: flex;
|
||
flex-shrink: 0;
|
||
flex-wrap: wrap;
|
||
gap: 8px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-overview {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
|
||
gap: 24px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget.ant-card {
|
||
position: relative;
|
||
overflow: hidden;
|
||
border-color: var(--oc-ea-glass-border);
|
||
background: var(--oc-ea-glass);
|
||
backdrop-filter: blur(16px);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget.ant-card .ant-card-body {
|
||
padding: 22px 24px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-heading {
|
||
position: absolute;
|
||
top: 24px;
|
||
right: 24px;
|
||
text-align: right;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-heading h2 {
|
||
margin: 0;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-heading > span {
|
||
display: block;
|
||
margin-top: 5px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-primary > span {
|
||
display: block;
|
||
margin-bottom: 10px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-primary > strong {
|
||
display: block;
|
||
color: var(--oc-ea-ink);
|
||
font:
|
||
600 43px/1.2 'Bahnschrift',
|
||
'DIN Alternate',
|
||
sans-serif;
|
||
letter-spacing: -1.2px;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-primary > strong small {
|
||
margin-right: 7px;
|
||
font-size: 24px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-availability {
|
||
--oc-quota-success: #438568;
|
||
--oc-quota-warning: #9c6b25;
|
||
--oc-quota-danger: #b34c4c;
|
||
margin-top: 8px;
|
||
font-size: 12px;
|
||
line-height: 20px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-availability .ant-typography {
|
||
font-size: inherit;
|
||
}
|
||
|
||
.org-center
|
||
.oc-dashboard
|
||
.oc-dash-budget-availability.is-success
|
||
.ant-typography {
|
||
color: var(--oc-quota-success);
|
||
}
|
||
|
||
.org-center
|
||
.oc-dashboard
|
||
.oc-dash-budget-availability.is-warning
|
||
.ant-typography {
|
||
color: var(--oc-quota-warning);
|
||
}
|
||
|
||
.org-center
|
||
.oc-dashboard
|
||
.oc-dash-budget-availability.is-danger
|
||
.ant-typography {
|
||
color: var(--oc-quota-danger);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-secondary {
|
||
display: flex;
|
||
gap: 48px;
|
||
margin-top: 23px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-secondary span {
|
||
display: block;
|
||
margin-bottom: 5px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-secondary strong {
|
||
color: var(--oc-ea-ink);
|
||
font:
|
||
500 18px 'Bahnschrift',
|
||
'Segoe UI',
|
||
sans-serif;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-progress {
|
||
margin-top: 22px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-progress > div:first-child {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
margin-bottom: 4px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-progress strong {
|
||
font-weight: 600;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
gap: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org > div {
|
||
display: grid;
|
||
grid-template-columns: 1fr auto;
|
||
align-items: center;
|
||
gap: 8px 16px;
|
||
min-height: 76px;
|
||
padding: 15px 18px;
|
||
border: 1px solid var(--oc-ea-org-border);
|
||
border-radius: 9px;
|
||
background: var(--oc-ea-org-bg);
|
||
backdrop-filter: blur(12px);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org > div > span {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org svg {
|
||
flex-shrink: 0;
|
||
color: var(--oc-ea-gold);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org strong {
|
||
color: var(--oc-ea-ink);
|
||
font:
|
||
600 24px 'Bahnschrift',
|
||
sans-serif;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org strong small {
|
||
margin-left: 7px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
font-weight: 400;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org .ant-progress {
|
||
grid-column: 1 / -1;
|
||
margin: 0;
|
||
line-height: 1;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-org .oc-dash-status strong {
|
||
font-family: inherit;
|
||
font-size: 18px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-analysis {
|
||
min-width: 0;
|
||
margin-bottom: 24px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-analysis-heading {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 20px;
|
||
margin-bottom: 18px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-analysis-heading h2,
|
||
.org-center .oc-dashboard .oc-ea-panel-heading h2,
|
||
.org-center .oc-dashboard .oc-ea-table-toolbar h2 {
|
||
margin: 0;
|
||
color: var(--oc-ea-ink);
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
line-height: 1.6;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-analysis-heading h2 {
|
||
font-size: 18px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-analysis-heading p {
|
||
margin: 4px 0 0;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-filters {
|
||
display: flex;
|
||
align-items: center;
|
||
flex-wrap: wrap;
|
||
justify-content: flex-end;
|
||
gap: 8px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-filters .ant-select {
|
||
height: 34px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-dimension-select {
|
||
width: 132px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-range-select {
|
||
width: 86px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-refresh {
|
||
width: 34px;
|
||
height: 34px;
|
||
padding: 0;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||
margin-bottom: 18px;
|
||
overflow: hidden;
|
||
border: 1px solid var(--oc-ea-line);
|
||
border-radius: 10px;
|
||
background: var(--oc-ea-paper);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary > div {
|
||
position: relative;
|
||
min-width: 0;
|
||
padding: 19px 22px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary > div + div::before {
|
||
position: absolute;
|
||
top: 22px;
|
||
bottom: 22px;
|
||
left: 0;
|
||
width: 1px;
|
||
background: var(--oc-ea-line);
|
||
content: '';
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary span {
|
||
display: block;
|
||
margin-bottom: 10px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary strong {
|
||
display: block;
|
||
color: var(--oc-ea-ink);
|
||
font:
|
||
600 27px/1.2 'Bahnschrift',
|
||
'Segoe UI',
|
||
sans-serif;
|
||
letter-spacing: -0.5px;
|
||
font-variant-numeric: tabular-nums;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary strong.oc-ea-top {
|
||
overflow: hidden;
|
||
font-size: 20px;
|
||
line-height: 32px;
|
||
letter-spacing: -0.4px;
|
||
text-overflow: ellipsis;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary small {
|
||
display: block;
|
||
margin-top: 9px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary small.is-up {
|
||
color: var(--ui-color-success);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary small.is-down {
|
||
color: var(--ui-color-danger);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary em {
|
||
margin-left: 6px;
|
||
color: var(--oc-ea-muted);
|
||
font-style: normal;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-charts {
|
||
display: grid;
|
||
grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
|
||
gap: 18px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-charts.is-single {
|
||
grid-template-columns: minmax(0, 1fr);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-charts > .ant-card {
|
||
min-width: 0;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-panel-heading {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 14px;
|
||
margin-bottom: 10px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-panel-heading > div > span {
|
||
display: block;
|
||
margin-top: 4px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-loading {
|
||
display: flex;
|
||
justify-content: center;
|
||
padding: 48px 0;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-detail-tabs > .ant-tabs-nav {
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-detail-tabs > .ant-tabs-nav::before {
|
||
border: 0;
|
||
}
|
||
|
||
.org-center
|
||
.oc-dashboard
|
||
.oc-ea-detail-tabs
|
||
> .ant-tabs-nav
|
||
.ant-tabs-nav-list {
|
||
padding: 4px;
|
||
border-radius: 8px;
|
||
background: var(--oc-ea-tabs-bg);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-detail-tabs > .ant-tabs-nav .ant-tabs-tab {
|
||
margin: 0;
|
||
padding: 7px 20px;
|
||
border: 0;
|
||
border-radius: 6px;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.org-center
|
||
.oc-dashboard
|
||
.oc-ea-detail-tabs
|
||
> .ant-tabs-nav
|
||
.ant-tabs-tab
|
||
+ .ant-tabs-tab {
|
||
margin: 0;
|
||
}
|
||
|
||
.org-center
|
||
.oc-dashboard
|
||
.oc-ea-detail-tabs
|
||
> .ant-tabs-nav
|
||
.ant-tabs-tab-active {
|
||
background: var(--oc-ea-paper);
|
||
box-shadow: var(--oc-ea-tab-shadow);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-detail-tabs > .ant-tabs-nav .ant-tabs-ink-bar {
|
||
display: none;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-detail-card {
|
||
min-width: 0;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-table-toolbar {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 12px;
|
||
margin-bottom: 20px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-view-all {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
gap: 4px;
|
||
color: var(--ui-color-primary);
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-detail-card .ant-table-cell {
|
||
padding-block: 14px;
|
||
font-size: 13px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-detail-card .ant-table-thead .ant-table-cell {
|
||
--center-table-head-bg: var(--oc-ea-head-bg);
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-detail-card .ant-table-pagination {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-member {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-member .ant-avatar {
|
||
flex: none;
|
||
background: var(--oc-ea-avatar-bg);
|
||
color: var(--oc-ea-avatar-text);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-member-link {
|
||
padding: 0;
|
||
border: 0;
|
||
background: transparent;
|
||
color: var(--ui-color-primary);
|
||
font: inherit;
|
||
cursor: pointer;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-member-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-limit {
|
||
font-size: 12px;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-limit small {
|
||
display: block;
|
||
margin-top: 4px;
|
||
color: var(--oc-ea-muted);
|
||
font-size: 11px;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-model-name {
|
||
font-size: 13px;
|
||
font-weight: 500;
|
||
overflow-wrap: anywhere;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-cost-share > div:first-child {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 10px;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-cost-share strong {
|
||
font-weight: 500;
|
||
font-variant-numeric: tabular-nums;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-cost-share span {
|
||
color: var(--oc-ea-muted);
|
||
font-size: 11px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-cost-share .ant-progress {
|
||
margin-top: 5px;
|
||
margin-bottom: 0;
|
||
line-height: 1;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-token-pair {
|
||
font-size: 12px;
|
||
font-variant-numeric: tabular-nums;
|
||
white-space: nowrap;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-token-pair small {
|
||
color: var(--oc-ea-muted);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-member-total {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 24px;
|
||
margin-top: 18px;
|
||
padding-top: 16px;
|
||
border-top: 1px solid var(--oc-ea-line);
|
||
color: var(--oc-ea-muted);
|
||
font-size: 12px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-member-total strong {
|
||
margin-left: 6px;
|
||
color: var(--oc-ea-ink);
|
||
font-weight: 500;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-unattributed {
|
||
color: var(--ui-color-warning);
|
||
cursor: help;
|
||
}
|
||
|
||
@media (max-width: 1100px) {
|
||
.org-center .oc-dashboard .oc-dash-overview,
|
||
.org-center .oc-dashboard .oc-ea-charts {
|
||
grid-template-columns: minmax(0, 1fr);
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary {
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
}
|
||
}
|
||
|
||
@media (max-width: 767px) {
|
||
.org-center .oc-dashboard .oc-dash-heading,
|
||
.org-center .oc-dashboard .oc-ea-analysis-heading {
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-hero {
|
||
padding: 20px 16px;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-dash-budget-heading {
|
||
position: static;
|
||
margin-bottom: 12px;
|
||
text-align: left;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.org-center .oc-dashboard .oc-ea-summary > div + div::before {
|
||
display: none;
|
||
}
|
||
|
||
.org-center .oc-dashboard .ant-card .ant-card-body {
|
||
padding: 20px 16px;
|
||
}
|
||
}
|
||
|
||
/* 密钥创建 / 编辑抽屉(原型 .km-editor-drawer / .ek-editor):页脚按钮右对齐 */
|
||
.oc-key-drawer .ant-drawer-footer {
|
||
padding: 16px 24px;
|
||
}
|
||
|
||
.oc-key-drawer .oc-drawer-footer {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 10px;
|
||
}
|
||
|
||
/* 原型 .km-expiry 单选按钮描边(浅 / 深同值,原型暗色未覆盖) */
|
||
.oc-key-drawer {
|
||
--oc-key-expiry-border: #d9dfe6;
|
||
}
|
||
|
||
/* 抽屉正文撑满:覆盖 .org-sidesheet 的 max-height,使页脚贴底(原型正文 24px) */
|
||
.org-sidesheet.oc-key-drawer .ant-drawer-body {
|
||
max-height: none;
|
||
padding: 24px;
|
||
overflow-x: hidden;
|
||
}
|
||
|
||
.oc-key-drawer .oc-key-expiry {
|
||
display: flex;
|
||
flex-wrap: wrap;
|
||
gap: 6px;
|
||
}
|
||
|
||
.oc-key-drawer .oc-key-expiry .ant-radio-button-wrapper {
|
||
border: 1px solid var(--oc-key-expiry-border);
|
||
border-radius: 6px;
|
||
}
|
||
|
||
.oc-key-drawer .oc-key-expiry .ant-radio-button-wrapper::before {
|
||
display: none;
|
||
}
|
||
|
||
.oc-key-drawer
|
||
.oc-key-expiry
|
||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled) {
|
||
border-color: var(--ui-color-primary);
|
||
}
|
||
|
||
.oc-key-drawer .oc-key-expiry-picker {
|
||
margin-top: 12px;
|
||
}
|
||
|
||
/* 原型抽屉表单说明文字 12px / 1.8 次文字色(实测 21.6px 行高) */
|
||
.oc-key-drawer .ant-form-item-extra {
|
||
font-size: 12px;
|
||
line-height: 1.8;
|
||
}
|
||
|
||
.oc-key-drawer .oc-key-config-title {
|
||
margin: 0 0 18px;
|
||
color: var(--text-primary);
|
||
font-size: 14px;
|
||
font-weight: 700;
|
||
line-height: 22px;
|
||
}
|
||
|
||
.oc-key-drawer .ant-collapse-body {
|
||
min-width: 0;
|
||
}
|
||
|
||
.oc-key-drawer .oc-key-skill-switch {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
color: var(--text-secondary);
|
||
}
|
||
|
||
.oc-key-drawer .oc-key-skill-select {
|
||
margin-top: 8px;
|
||
}
|
||
|
||
@media (max-width: 575px) {
|
||
.org-sidesheet.oc-key-drawer .ant-drawer-body {
|
||
padding: 20px 16px;
|
||
}
|
||
}
|
||
|
||
/* ---------- 消耗明细:绘图与视频(原型 EnterpriseExpenseTasks .eex-task-records) ----------
|
||
* 作用域 .oc-expenses(页面根,style 由 useOrgLogsThemeStyle 注入 token 变量)。
|
||
* 新规则以 :where() 包裹作用域祖先、只保留目标类的优先级;复用的使用记录类名(.usage-record-*)
|
||
* 以多一层企业页类名确保高于 UsageRecord.css(该文件仅在访问个人端后加载),结果与加载顺序无关。
|
||
*/
|
||
:where(.org-center .oc-expenses) .oc-task-records {
|
||
min-width: 0;
|
||
}
|
||
|
||
/* 列表卡工具区:处理中标签与按钮同行 */
|
||
:where(.org-center .oc-expenses) .oc-list-tools .ant-tag {
|
||
margin: 0;
|
||
}
|
||
|
||
/* 模型:原型 .eex-model 等宽胶囊(行内元素,内边距不撑高行;复制回调沿用原节点) */
|
||
:where(.org-center .oc-expenses) .oc-task-model .usage-record-model {
|
||
display: inline;
|
||
padding: 3px 6px;
|
||
border: 1px solid var(--oc-border);
|
||
border-radius: 4px;
|
||
background: var(--oc-soft);
|
||
color: var(--oc-text);
|
||
font:
|
||
12px/1.5 Consolas,
|
||
monospace;
|
||
white-space: nowrap;
|
||
cursor: pointer;
|
||
}
|
||
|
||
:where(.org-center .oc-expenses) .oc-task-model .usage-record-model:hover {
|
||
color: var(--oc-brand);
|
||
}
|
||
|
||
/* 任务 ID:原型 .task-id 等宽 11px */
|
||
:where(.org-center .oc-expenses) .oc-task-id .ant-typography {
|
||
color: var(--oc-text);
|
||
font-family: Consolas, monospace;
|
||
font-size: 11px;
|
||
}
|
||
|
||
/* 操作列(原型 record-operation:Button link small、无图标):预览视频为 link 文本;失败原因点击查看;无内容显示“-” */
|
||
:where(.org-center .oc-expenses) .oc-task-detail a {
|
||
display: inline-flex;
|
||
align-items: center;
|
||
color: var(--ui-color-link);
|
||
font-size: 14px;
|
||
line-height: 22px;
|
||
white-space: nowrap;
|
||
transition: color 0.2s ease;
|
||
}
|
||
|
||
:where(.org-center .oc-expenses) .oc-task-detail a:hover {
|
||
color: var(--ui-color-link-hover);
|
||
}
|
||
|
||
:where(.org-center .oc-expenses) .oc-task-detail a:focus-visible {
|
||
border-radius: 3px;
|
||
outline: 2px solid var(--oc-brand);
|
||
outline-offset: 2px;
|
||
}
|
||
|
||
:where(.org-center .oc-expenses) .oc-task-detail a svg {
|
||
display: none;
|
||
}
|
||
|
||
:where(.org-center .oc-expenses) .oc-task-detail .ant-typography {
|
||
color: var(--oc-text);
|
||
font-size: 12px;
|
||
cursor: pointer;
|
||
}
|
||
|
||
:where(.org-center .oc-expenses) .oc-task-detail .ant-typography:hover {
|
||
color: var(--ui-color-link-hover);
|
||
}
|
||
|
||
:where(.org-center .oc-expenses) .oc-task-empty-hint {
|
||
margin-top: 4px;
|
||
color: var(--ui-color-text-2);
|
||
font-size: 12px;
|
||
}
|
||
|
||
/* ---------- 消耗明细:导出弹窗(原型无此弹窗:Ant 默认 + 语义变量,无装饰) ---------- */
|
||
:where(.oc-export-dialog) .oc-export-scope {
|
||
margin-bottom: 16px;
|
||
padding: 12px;
|
||
border-radius: 8px;
|
||
background: var(--oc-soft);
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-scope-title {
|
||
margin-bottom: 6px;
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
line-height: 20px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-scope-row {
|
||
color: var(--oc-text);
|
||
font-size: 12px;
|
||
line-height: 20px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-scope-row > span {
|
||
color: var(--oc-muted);
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-scope-count {
|
||
margin-top: 6px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-scope-count strong {
|
||
font-weight: 500;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-scope-warning {
|
||
margin-top: 6px;
|
||
color: var(--ui-color-warning);
|
||
font-size: 12px;
|
||
line-height: 20px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-section {
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-label {
|
||
display: block;
|
||
margin-bottom: 8px;
|
||
color: var(--oc-text);
|
||
font-size: 14px;
|
||
font-weight: 500;
|
||
line-height: 22px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-fields-head {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
gap: 8px;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-fields-head .oc-export-label {
|
||
margin-bottom: 0;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-fields-actions {
|
||
display: flex;
|
||
gap: 8px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-fields {
|
||
display: grid;
|
||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||
gap: 8px 16px;
|
||
padding: 12px;
|
||
border: 1px solid var(--oc-border);
|
||
border-radius: 8px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-fields .ant-checkbox-wrapper {
|
||
margin-inline-start: 0;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-note {
|
||
margin: 8px 0 0;
|
||
color: var(--oc-muted);
|
||
font-size: 12px;
|
||
line-height: 20px;
|
||
}
|
||
|
||
:where(.oc-export-dialog) .oc-export-footer {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
gap: 8px;
|
||
}
|