132 lines
3.1 KiB
CSS
132 lines
3.1 KiB
CSS
/* SSH密钥列表:公钥/指纹长文本、编辑表单、分页及行操作。 */
|
|
/* 导入方:app/pages/security/ssh-keys/index.vue。 */
|
|
/* 公钥以单行省略限制宽度,公钥和指纹使用等宽字体。 */
|
|
.key-text[data-v-31489433] {
|
|
color: var(--p-text-muted-color, #64748b);
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 420px;
|
|
font-size: 0.875rem;
|
|
display: block;
|
|
overflow: hidden;
|
|
}
|
|
.fingerprint[data-v-31489433],
|
|
.key-text[data-v-31489433] {
|
|
font-family: var(--font-mono);
|
|
}
|
|
.fingerprint[data-v-31489433] {
|
|
color: var(--p-text-muted-color, #94a3b8);
|
|
font-size: 0.875rem;
|
|
}
|
|
.row-actions[data-v-31489433] {
|
|
align-items: center;
|
|
gap: 2px;
|
|
white-space: nowrap;
|
|
display: flex;
|
|
}
|
|
.form[data-v-31489433] {
|
|
gap: 14px;
|
|
}
|
|
.field[data-v-31489433],
|
|
.form[data-v-31489433] {
|
|
flex-direction: column;
|
|
display: flex;
|
|
}
|
|
.field label[data-v-31489433] {
|
|
color: var(--p-text-color, #334155);
|
|
font-size: 0.9375rem;
|
|
}
|
|
.hint[data-v-31489433] {
|
|
color: var(--p-text-muted-color, #94a3b8);
|
|
font-size: 0.875rem;
|
|
}
|
|
.req[data-v-31489433] {
|
|
color: #ef4444;
|
|
}
|
|
.list-foot > .list-bulk[data-v-31489433]:empty {
|
|
display: none;
|
|
}
|
|
[data-v-31489433] .p-tag {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
}
|
|
.field[data-v-31489433] {
|
|
gap: 7px;
|
|
}
|
|
.field label[data-v-31489433] {
|
|
font-size: 0.875rem;
|
|
}
|
|
@media (width<640px) {
|
|
.list-table[data-v-31489433]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message) {
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
grid-template-areas: "name id" "key key" "fp fp" "actions actions";
|
|
align-items: center;
|
|
gap: 6px 10px;
|
|
padding: 14px 16px;
|
|
display: grid;
|
|
}
|
|
.list-table[data-v-31489433]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td {
|
|
text-align: left;
|
|
justify-content: flex-start;
|
|
gap: 4px;
|
|
padding: 0 !important;
|
|
font-size: 0.875rem;
|
|
display: none;
|
|
position: static;
|
|
}
|
|
.list-table[data-v-31489433]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td::before {
|
|
display: none;
|
|
}
|
|
.list-table[data-v-31489433]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="名称"] {
|
|
grid-area: name;
|
|
display: flex;
|
|
color: var(--p-text-color);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
}
|
|
.list-table[data-v-31489433]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="ID"] {
|
|
grid-area: id;
|
|
display: flex;
|
|
color: var(--p-text-muted-color);
|
|
justify-content: flex-end;
|
|
}
|
|
.list-table[data-v-31489433]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="公钥"] {
|
|
grid-area: key;
|
|
display: flex;
|
|
color: var(--p-text-muted-color);
|
|
}
|
|
.list-table[data-v-31489433]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="指纹"] {
|
|
grid-area: fp;
|
|
display: flex;
|
|
color: var(--p-text-muted-color);
|
|
}
|
|
.list-table[data-v-31489433]
|
|
.p-datatable-tbody
|
|
> tr:not(.p-datatable-empty-message)
|
|
> td[data-label="操作"] {
|
|
grid-area: actions;
|
|
display: flex;
|
|
margin-top: 4px;
|
|
}
|
|
}
|