Files
astrbot_plugin_jx3/templates/styles/pages/helps.css
T
2026-09-06 19:22:56 +08:00

209 lines
4.5 KiB
CSS

.help-page {
padding: 22px;
overflow: hidden;
border: 1px solid var(--jx3-border-soft);
border-radius: var(--jx3-radius-lg);
background: linear-gradient(180deg, #ffffff, #f6f8f9);
box-shadow: var(--jx3-shadow-sm);
}
.help-page .help-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
margin-bottom: 18px;
}
.help-page .top-name {
color: var(--jx3-gold-bright);
font-size: 36px;
line-height: 1.3;
font-weight: 800;
letter-spacing: 0.06em;
}
.help-page .top-summary {
margin-top: 4px;
color: var(--jx3-text-muted);
font-size: 20px;
}
.help-rules {
display: grid;
gap: 5px;
min-width: 720px;
color: var(--jx3-text-secondary);
font-size: 20px;
text-align: right;
}
.help-rules strong {
color: var(--jx3-gold-bright);
}
.command-directory {
overflow: hidden;
border: 1px solid var(--jx3-border-soft);
border-radius: var(--jx3-radius-md);
background: var(--jx3-surface);
box-shadow: var(--jx3-shadow-sm);
}
.command-columns {
display: grid;
grid-template-columns: 210px minmax(0, 1fr) 360px;
border-bottom: 1px solid var(--jx3-border-soft);
background: var(--jx3-surface-muted);
color: var(--jx3-text-muted);
font-size: 17px;
font-weight: 800;
letter-spacing: 0.08em;
}
.command-columns span {
padding: 10px 18px;
}
.command-columns span + span {
border-left: 1px solid var(--jx3-border-faint);
}
.command-section + .command-section {
border-top: 2px solid var(--jx3-border-soft);
}
.command-section__header {
display: grid;
grid-template-columns: 54px minmax(0, 1fr) auto;
align-items: center;
gap: 14px;
min-height: 66px;
padding: 10px 20px;
background: linear-gradient(90deg, #f7efdf, #f5f8fa 76%);
}
.command-section__header h2 {
margin: 0;
color: var(--jx3-text);
font-size: 25px;
line-height: 1.35;
font-weight: 800;
letter-spacing: 0.04em;
}
.section-index {
display: inline-flex;
width: 42px;
height: 42px;
align-items: center;
justify-content: center;
border: 1px solid var(--jx3-border-soft);
border-radius: 50%;
background: #ffffff;
color: var(--jx3-gold-bright);
font-size: 18px;
font-weight: 800;
font-variant-numeric: tabular-nums;
}
.section-count {
padding: 3px 10px;
border: 1px solid var(--jx3-border-faint);
border-radius: 999px;
background: rgba(255, 255, 255, 0.78);
color: var(--jx3-text-muted);
font-size: 17px;
font-weight: 700;
}
.command-list {
border-top: 1px solid var(--jx3-border-faint);
}
.command-row {
display: grid;
grid-template-columns: 210px minmax(0, 1fr) 360px;
align-items: center;
min-height: 64px;
border-bottom: 1px solid var(--jx3-border-faint);
}
.command-row::after {
align-self: stretch;
display: flex;
align-items: center;
min-width: 0;
padding: 10px 18px;
border-left: 1px solid var(--jx3-border-faint);
background: rgba(246, 249, 250, 0.62);
color: var(--jx3-text-secondary);
content: attr(data-description);
font-size: 19px;
line-height: 1.5;
overflow-wrap: anywhere;
}
.command-row:last-child {
border-bottom: 0;
}
.command-row:nth-child(even) {
background: var(--jx3-surface-strong);
}
.help-page .feature-name {
align-self: stretch;
display: flex;
align-items: center;
padding: 10px 18px 10px 22px;
border-right: 1px solid var(--jx3-border-faint);
color: var(--jx3-text);
font-size: 21px;
line-height: 1.4;
font-weight: 700;
}
.help-page .commands {
display: flex;
flex-wrap: wrap;
gap: 7px;
min-width: 0;
padding: 9px 16px;
}
.help-page .command {
display: inline-flex;
align-items: center;
min-height: 34px;
padding: 3px 10px;
border: 1px solid #cbd9e3;
border-radius: var(--jx3-radius-sm);
background: #edf4f8;
color: var(--jx3-text-secondary);
font-family: inherit;
font-size: 20px;
line-height: 1.45;
font-weight: 600;
white-space: normal;
word-break: break-word;
}
.command-section--success .command-section__header {
background: linear-gradient(90deg, #e6f3eb, #f5f8f6 76%);
}
.command-section--success .section-index {
border-color: rgba(32, 117, 77, 0.35);
color: var(--jx3-green);
}
.command-section--danger .command-section__header {
background: linear-gradient(90deg, #f9e7e4, #faf7f5 76%);
}
.command-section--danger .section-index {
border-color: rgba(178, 56, 50, 0.35);
color: var(--jx3-red);
}