docs: explain stylesheet ownership, responsive rules and display boundaries
This commit is contained in:
1 parent
145d04e9db
commit
9eadc36b62
140 files changed
+568
-3
No files matched your search
@@ -1,3 +1,5 @@
|
||||
/* 磁盘配置卡片:容量输入、滑块、说明和移除操作。 */
|
||||
/* 导入方:app/components/config/CommonConfig.vue、app/components/config/ConfigDiskCard.vue、app/components/config/FinanceConfig.vue、app/components/config/JyCloudConfig.vue、app/components/config/KkyEcsConfig.vue、app/components/config/MfCloudConfig.vue、app/components/config/MfDcimConfig.vue、app/pages/products/[id].vue、app/pages/products/cloud-server.vue、app/pages/products/dedicated-server/customize.vue。 */
|
||||
.storage-field[data-v-83c644c5] {
|
||||
min-width: 0;
|
||||
}
|
||||
@@ -27,6 +29,7 @@
|
||||
min-height: 20px;
|
||||
display: flex;
|
||||
}
|
||||
/* 允许连续长文本换行,防止IP、密钥或用户输入撑破当前容器;不会修改原始数据。 */
|
||||
.storage-card-header strong[data-v-83c644c5] {
|
||||
color: var(--p-highlight-color);
|
||||
overflow-wrap: anywhere;
|
||||
@@ -103,6 +106,7 @@
|
||||
height: 19px;
|
||||
box-shadow: 0 1px 2px #0000002e;
|
||||
}
|
||||
/* 键盘操作的可见焦点:不要只保留鼠标 hover 效果而移除此反馈。 */
|
||||
.storage-slider[data-v-83c644c5]:focus-visible {
|
||||
outline: 2px solid var(--p-primary-color);
|
||||
outline-offset: 9px;
|
||||
@@ -144,6 +148,7 @@
|
||||
opacity: 0.5;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
/* 视口条件 (width<=639px) 下的响应式覆盖;保留相对基础规则的层叠顺序。 */
|
||||
@media (width<=639px) {
|
||||
.storage-card[data-v-83c644c5] {
|
||||
gap: 20px;
|
||||
|
||||
Reference in new issue
Block a user