前端验证 / verify (push) Failing after 15m3s
- 统一页面标题、圆角、字体和响应式断点,调整暗色主题及图表配色 - 新增表格列标签插件,在窄屏下将表格转换为卡片布局,优化实例、订单、工单等列表展示 - 支持移动端点击订单行进入详情,并完善订单凭据的打印布局 - 在财务中心展示本月及累计消费,补充充值关闭时的提示 - 优化工单详情布局,将附件上传入口整合至富文本编辑器工具栏 - 调整实例操作按钮、SSH 密钥操作及安全菜单图标 - 为多个页面显式导入 definePageMeta,完善页面元数据声明
246 lines
6.5 KiB
CSS
246 lines
6.5 KiB
CSS
/* 对应云产品配置:机型筛选表、资源滑块和防御选项。 */
|
|
/* 导入方:app/components/config/JyCloudConfig.vue、app/pages/products/[id].vue、app/pages/products/cloud-server.vue。 */
|
|
.storage-system[data-v-7837d303] {
|
|
width: calc(50% - 8px);
|
|
}
|
|
.storage-disks[data-v-7837d303] {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
min-width: 0;
|
|
display: grid;
|
|
}
|
|
.grow[data-v-7837d303] {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.jy-dcim-config .config-options[data-v-7837d303] {
|
|
gap: 30px;
|
|
}
|
|
.jy-dcim-config .config-options .section-title[data-v-7837d303] {
|
|
border-left: 3px solid var(--p-primary-color);
|
|
padding-left: 11px;
|
|
font-weight: 600;
|
|
}
|
|
.jy-config-row[data-v-7837d303] {
|
|
grid-template-columns: 76px minmax(0, 1fr);
|
|
align-items: start;
|
|
gap: 12px 14px;
|
|
min-width: 0;
|
|
margin-bottom: 23px;
|
|
display: grid;
|
|
}
|
|
.jy-config-row[data-v-7837d303]:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
.jy-config-row > label[data-v-7837d303],
|
|
.jy-config-row > span[data-v-7837d303] {
|
|
color: var(--p-text-muted-color);
|
|
text-align: left;
|
|
padding-top: 7px;
|
|
font-size: 0.9375rem;
|
|
line-height: 1.5rem;
|
|
}
|
|
.jy-config-row > .config-choices[data-v-7837d303],
|
|
.jy-config-row > .jy-defense-options[data-v-7837d303],
|
|
.jy-config-row > .jy-model-filters[data-v-7837d303],
|
|
.jy-config-row > .jy-resource-control[data-v-7837d303] {
|
|
min-width: 0;
|
|
}
|
|
.jy-model-filters[data-v-7837d303] {
|
|
grid-template-columns: repeat(2, minmax(0, 240px));
|
|
gap: 14px;
|
|
max-width: 560px;
|
|
display: grid;
|
|
}
|
|
.jy-model-filters[data-v-7837d303] .p-select {
|
|
width: 100%;
|
|
min-width: 0;
|
|
}
|
|
.jy-model-table-wrap[data-v-7837d303] {
|
|
border: 1px solid var(--p-content-border-color);
|
|
background: var(--p-content-background);
|
|
border-radius: var(--radius-sm);
|
|
width: 100%;
|
|
overflow-x: auto;
|
|
}
|
|
.jy-model-table[data-v-7837d303] {
|
|
border-collapse: collapse;
|
|
text-align: left;
|
|
width: 100%;
|
|
min-width: 660px;
|
|
}
|
|
.jy-model-table td[data-v-7837d303],
|
|
.jy-model-table th[data-v-7837d303] {
|
|
border-bottom: 1px solid var(--p-content-border-color);
|
|
color: var(--p-text-color);
|
|
vertical-align: middle;
|
|
padding: 11px 14px;
|
|
font-size: 0.875rem;
|
|
line-height: 1.5;
|
|
}
|
|
.jy-model-table th[data-v-7837d303] {
|
|
background: var(--p-content-hover-background);
|
|
white-space: nowrap;
|
|
font-weight: 600;
|
|
}
|
|
.jy-model-table td[data-v-7837d303]:first-child,
|
|
.jy-model-table th[data-v-7837d303]:first-child {
|
|
text-align: center;
|
|
width: 54px;
|
|
}
|
|
.jy-model-table tbody tr[data-v-7837d303] {
|
|
cursor: pointer;
|
|
}
|
|
.jy-model-table tbody tr[data-v-7837d303]:hover {
|
|
background: var(--p-content-hover-background);
|
|
}
|
|
.jy-model-table tbody tr.selected[data-v-7837d303] {
|
|
background: var(--p-highlight-background);
|
|
}
|
|
.jy-model-table tbody tr:last-child td[data-v-7837d303] {
|
|
border-bottom: 0;
|
|
}
|
|
.jy-model-table td input[type="radio"][data-v-7837d303] {
|
|
width: 16px;
|
|
height: 16px;
|
|
accent-color: var(--p-primary-color);
|
|
cursor: pointer;
|
|
margin: 0;
|
|
}
|
|
/* 键盘操作的可见焦点:不要只保留鼠标 hover 效果而移除此反馈。 */
|
|
.jy-model-table td input[type="radio"][data-v-7837d303]:focus-visible {
|
|
outline: 2px solid var(--p-primary-color);
|
|
outline-offset: 3px;
|
|
}
|
|
.jy-model-name[data-v-7837d303] {
|
|
min-width: 245px;
|
|
font-weight: 500;
|
|
}
|
|
.jy-model-table .jy-no-model[data-v-7837d303] {
|
|
color: var(--p-text-muted-color);
|
|
text-align: center;
|
|
padding: 24px;
|
|
}
|
|
.jy-resource-control[data-v-7837d303] {
|
|
grid-template-columns: minmax(0, 1fr) 130px;
|
|
align-items: center;
|
|
gap: 5px 18px;
|
|
width: 100%;
|
|
max-width: 720px;
|
|
display: grid;
|
|
}
|
|
.jy-resource-control[data-v-7837d303] .p-inputnumber {
|
|
grid-area: 1/2;
|
|
width: 100%;
|
|
max-width: none;
|
|
}
|
|
.jy-resource-control[data-v-7837d303] .p-inputnumber-input {
|
|
width: 100%;
|
|
}
|
|
.jy-resource-slider[data-v-7837d303] {
|
|
width: 100%;
|
|
height: 4px;
|
|
accent-color: var(--p-primary-color);
|
|
grid-area: 1/1;
|
|
margin: 0;
|
|
}
|
|
/* 键盘操作的可见焦点:不要只保留鼠标 hover 效果而移除此反馈。 */
|
|
.jy-resource-slider[data-v-7837d303]:focus-visible {
|
|
outline: 2px solid var(--p-primary-color);
|
|
outline-offset: 5px;
|
|
}
|
|
.jy-resource-control > small[data-v-7837d303] {
|
|
color: var(--p-text-muted-color);
|
|
grid-area: 2/1;
|
|
font-size: 0.8125rem;
|
|
}
|
|
.jy-config-row[data-v-7837d303] .bandwidth-field {
|
|
max-width: 720px;
|
|
}
|
|
.jy-config-row[data-v-7837d303] .bandwidth-label {
|
|
display: none;
|
|
}
|
|
.jy-defense-options[data-v-7837d303] {
|
|
flex-wrap: wrap;
|
|
gap: 0;
|
|
display: flex;
|
|
}
|
|
.jy-defense-options button[data-v-7837d303] {
|
|
border: 1px solid var(--p-content-border-color);
|
|
background: var(--p-content-background);
|
|
min-height: 36px;
|
|
color: var(--p-text-color);
|
|
font: inherit;
|
|
cursor: pointer;
|
|
margin: 0 -1px -1px 0;
|
|
padding: 6px 16px;
|
|
}
|
|
.jy-defense-options button[data-v-7837d303]:first-child {
|
|
border-radius: 4px 0 0 4px;
|
|
}
|
|
.jy-defense-options button[data-v-7837d303]:last-child {
|
|
border-radius: 0 4px 4px 0;
|
|
}
|
|
.jy-defense-options button[data-v-7837d303]:only-child {
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
.jy-defense-options button.active[data-v-7837d303] {
|
|
z-index: 1;
|
|
border-color: var(--p-primary-color);
|
|
background: var(--p-highlight-background);
|
|
color: var(--p-highlight-color);
|
|
position: relative;
|
|
}
|
|
.jy-defense-options button[data-v-7837d303]:focus-visible {
|
|
z-index: 2;
|
|
outline: 2px solid var(--p-primary-color);
|
|
outline-offset: 2px;
|
|
position: relative;
|
|
}
|
|
.jy-defense-options button[data-v-7837d303]:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.6;
|
|
}
|
|
.jy-dcim-config .image-groups[data-v-7837d303] {
|
|
max-width: 960px;
|
|
}
|
|
/* 视口条件 (width<768px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
|
|
@media (width<768px) {
|
|
.jy-config-row[data-v-7837d303] {
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.jy-config-row > label[data-v-7837d303],
|
|
.jy-config-row > span[data-v-7837d303] {
|
|
text-align: left;
|
|
padding-top: 0;
|
|
}
|
|
.jy-model-filters[data-v-7837d303] {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
max-width: none;
|
|
}
|
|
.jy-resource-control[data-v-7837d303] {
|
|
grid-template-columns: minmax(0, 1fr) 112px;
|
|
gap: 5px 12px;
|
|
}
|
|
}
|
|
/* 视口条件 (width<640px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
|
|
@media (width<640px) {
|
|
.storage-system[data-v-7837d303] {
|
|
width: 100%;
|
|
}
|
|
.storage-disks[data-v-7837d303] {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
}
|
|
.jy-dcim-config .config-options[data-v-7837d303] {
|
|
gap: 24px;
|
|
}
|
|
.jy-config-row[data-v-7837d303] .config-choices.compact {
|
|
flex-wrap: wrap;
|
|
}
|
|
.jy-config-row[data-v-7837d303] .config-choices.compact .config-choice {
|
|
min-width: 88px;
|
|
}
|
|
}
|