Scert/frontend/src/views/DNSAccounts/DNSAccounts.css
xuans a5e0fa6a5b
Some checks are pending
Build and Release / Build Release Package (tar.gz, amd64, linux) (push) Waiting to run
Build and Release / Build Release Package (tar.gz, arm64, linux) (push) Waiting to run
Build and Release / Build Release Package (zip, amd64, windows) (push) Waiting to run
修复 DNS 账户样式文件语法错误
2026-10-20 11:11:29 +08:00

182 lines
2.7 KiB
CSS

.dns-accounts-panel {
display: flex;
flex-direction: column;
max-height: calc(100dvh - 130px);
min-height: 0;
box-sizing: border-box;
padding: 24px;
border: 1px solid #e2e8f0;
border-radius: 20px;
background: #fff;
}
.dns-accounts-heading,
.dns-pagination,
.dns-page-actions {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
}
.dns-accounts-heading {
margin-bottom: 24px;
}
.dns-accounts-heading h2 {
margin: 0 0 8px;
color: #20314f;
font-size: 26px;
}
.dns-accounts-count,
.dns-muted,
.dns-empty {
color: #64748b;
font-size: 14px;
}
.dns-refresh,
.dns-pagination button,
.dns-pagination select {
padding: 9px 12px;
border: 1px solid #d5ddea;
border-radius: 10px;
background: #fff;
color: #32405a;
font: inherit;
}
.dns-refresh,
.dns-pagination button {
cursor: pointer;
}
button:disabled {
cursor: default;
opacity: 0.5;
}
button:focus-visible,
select:focus-visible,
.dns-table-scroll:focus-visible {
outline: 2px solid #315aaa;
outline-offset: 3px;
}
.dns-table-scroll {
overflow: auto;
min-height: 0;
}
.dns-accounts-table {
width: 100%;
border-collapse: collapse;
text-align: left;
font-size: 14px;
}
.dns-accounts-table th {
padding: 12px 16px;
background: #f8fafc;
border-bottom: 1px solid #e2e8f0;
color: #64748b;
font-size: 12px;
font-weight: 600;
text-align: left;
}
.dns-accounts-table td {
padding: 14px 16px;
border-bottom: 1px solid #f1f5f9;
overflow-wrap: anywhere;
vertical-align: middle;
}
.dns-accounts-table th {
position: sticky;
top: 0;
color: #66758d;
background: #f7f9fc;
font-weight: 600;
white-space: nowrap;
}
.dns-identifier {
font-family: ui-monospace, monospace;
}
.dns-status {
display: inline-block;
padding: 5px 9px;
border-radius: 7px;
background: #fff4db;
color: #805300;
white-space: nowrap;
}
.dns-status.verified {
background: #eaf7ef;
color: #216044;
}
.dns-error {
padding: 14px;
border-radius: 10px;
background: #fff0f0;
color: #a92e2e;
}
.dns-empty {
margin: 0;
padding: 40px 12px;
text-align: center;
}
.dns-pagination {
flex-wrap: wrap;
margin-top: 20px;
font-size: 13px;
color: #52627b;
}
.dns-pagination select {
margin: 0 5px;
}
.dns-row-actions {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 6px;
}
.dns-row-actions button {
padding: 4px 7px;
border: 1px solid #d5ddea;
border-radius: 6px;
color: #315aaa;
background: #fff;
white-space: nowrap;
cursor: pointer;
}
.dns-notice {
color: #216044;
font-size: 14px;
}
.dns-pagination,
.dns-accounts-heading {
flex-shrink: 0;
}
@media (max-width: 760px) {
.dns-accounts-panel {
padding: 16px;
}
.dns-accounts-table {
min-width: 760px;
}
}