Files
console-dev/app/assets/styles/ConfigDiskAdd.C92e9ZuF.css
T

50 lines
1.5 KiB
CSS

/* 新增磁盘入口:与已有磁盘卡片对齐的操作区域。 */
/* 导入方:app/components/config/ConfigDiskAdd.vue、app/components/config/JyCloudConfig.vue、app/components/config/KkyEcsConfig.vue、app/components/config/MfCloudConfig.vue、app/pages/products/[id].vue、app/pages/products/cloud-server.vue。 */
.storage-add[data-v-68361f8e] {
border: 2px dashed var(--p-content-border-color);
width: 100%;
min-height: 200px;
color: var(--p-text-muted-color);
font: inherit;
cursor: pointer;
background: 0 0;
border-radius: 8px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 16px;
padding: 24px;
font-size: 1rem;
font-weight: 500;
display: flex;
}
.storage-add > i[data-v-68361f8e] {
font-size: 1.5rem;
font-weight: 400;
}
.storage-add > small[data-v-68361f8e] {
font-size: 0.875rem;
font-weight: 400;
line-height: 1.286rem;
}
.storage-add[data-v-68361f8e]:hover:not(:disabled) {
border-color: var(--p-primary-color);
color: var(--p-primary-color);
background: var(--p-highlight-background);
}
/* 键盘操作的可见焦点:不要只保留鼠标 hover 效果而移除此反馈。 */
.storage-add[data-v-68361f8e]:focus-visible {
outline: 2px solid var(--p-primary-color);
outline-offset: 3px;
}
.storage-add[data-v-68361f8e]:disabled {
cursor: not-allowed;
opacity: 0.55;
}
/* 视口条件 (width<=639px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
@media (width<=639px) {
.storage-add[data-v-68361f8e] {
min-height: 170px;
}
}