mirror of
https://github.com/GSManagerXZ/GameServerManager.git
synced 2026-09-06 16:09:44 +08:00
Add EasyTier installation, profile storage, secure runtime control, authenticated plugin UI, and operator documentation. Harden embedded plugin auth/assets and FRP helper installation alongside the new networking workflow.
191 lines
3.2 KiB
CSS
191 lines
3.2 KiB
CSS
.security-workspace {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.security-form,
|
|
.credential-panel,
|
|
.acl-panel {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 10px;
|
|
}
|
|
|
|
.acl-panel,
|
|
.credential-panel {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.switch-row {
|
|
display: inline-flex;
|
|
min-height: 42px;
|
|
align-items: center;
|
|
gap: 9px;
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
background: var(--surface-muted);
|
|
color: var(--text);
|
|
padding: 7px 11px;
|
|
}
|
|
|
|
.switch-row input {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin: 0;
|
|
accent-color: var(--blue);
|
|
}
|
|
|
|
.stack-list {
|
|
display: grid;
|
|
gap: 9px;
|
|
}
|
|
|
|
.peer-pin-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(150px, 0.7fr) minmax(220px, 1.3fr);
|
|
align-items: center;
|
|
gap: 10px;
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.peer-pin-row strong,
|
|
.peer-pin-row span {
|
|
display: block;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.acl-policy-form {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr) auto;
|
|
align-items: end;
|
|
gap: 10px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--surface-muted);
|
|
padding: 13px;
|
|
}
|
|
|
|
.acl-policy-form > div {
|
|
display: grid;
|
|
gap: 7px;
|
|
}
|
|
|
|
.acl-policy-form .hint {
|
|
align-self: center;
|
|
margin: 0;
|
|
}
|
|
|
|
.inline-rule-form {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 9px;
|
|
margin-bottom: 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--surface-muted);
|
|
padding: 13px;
|
|
}
|
|
|
|
.inline-rule-form .button {
|
|
align-self: end;
|
|
}
|
|
|
|
.credential-form {
|
|
display: grid;
|
|
grid-template-columns: 0.8fr 1fr 1.2fr auto auto auto;
|
|
align-items: end;
|
|
gap: 10px;
|
|
margin-bottom: 16px;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-lg);
|
|
background: var(--surface-muted);
|
|
padding: 13px;
|
|
}
|
|
|
|
.credential-form > div {
|
|
display: grid;
|
|
gap: 7px;
|
|
}
|
|
|
|
.nested-table {
|
|
border-radius: var(--radius-lg);
|
|
box-shadow: none;
|
|
}
|
|
|
|
.compact-output,
|
|
.secret-output {
|
|
overflow: auto;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius-md);
|
|
background: #0b1019;
|
|
color: #d6e2f4;
|
|
padding: 14px;
|
|
font: 12px/1.6 "SFMono-Regular", Consolas, monospace;
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.compact-output {
|
|
max-height: 260px;
|
|
margin: 14px 0 0;
|
|
}
|
|
|
|
.secret-output {
|
|
min-height: 100px;
|
|
margin: 16px 0;
|
|
user-select: all;
|
|
}
|
|
|
|
.security-workspace.is-disabled {
|
|
filter: saturate(0.5);
|
|
}
|
|
|
|
.security-workspace.is-disabled form,
|
|
.security-workspace.is-disabled button {
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media (max-width: 1180px) {
|
|
.credential-form {
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 820px) {
|
|
.security-workspace {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.acl-panel,
|
|
.credential-panel {
|
|
grid-column: auto;
|
|
}
|
|
|
|
.acl-policy-form,
|
|
.inline-rule-form,
|
|
.credential-form {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.peer-pin-row,
|
|
.acl-policy-form,
|
|
.inline-rule-form,
|
|
.credential-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.switch-row {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.security-workspace {
|
|
transition: none;
|
|
}
|
|
}
|