Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/3fc88263-c1c0-46f6-95f1-7070fc6f9d02 Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
607 lines
8.8 KiB
CSS
607 lines
8.8 KiB
CSS
#scrolling_checkbox{
|
|
#scrolling_checkbox{
|
|
border:2px solid #ccc;
|
|
width:500px;
|
|
display: inline-block;
|
|
height: 80px;
|
|
overflow-y: scroll;
|
|
text-align:left;
|
|
}
|
|
|
|
.sw-monitor {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.sw-monitor__back {
|
|
text-decoration: none;
|
|
color: #0b5ed7;
|
|
}
|
|
|
|
.sw-monitor__card {
|
|
border: 1px solid #dcdcdc;
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
background: #fff;
|
|
}
|
|
|
|
.sw-monitor__intro {
|
|
color: #555;
|
|
margin-top: 0.25rem;
|
|
}
|
|
|
|
.sw-monitor__meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
|
gap: 0.75rem;
|
|
margin: 1rem 0;
|
|
}
|
|
|
|
.sw-monitor__meta dt {
|
|
margin: 0;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sw-monitor__meta dd {
|
|
margin: 0.15rem 0 0;
|
|
}
|
|
|
|
.sw-monitor__form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.sw-monitor__form label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.sw-monitor__form input {
|
|
padding: 0.4rem;
|
|
border: 1px solid #c7c7c7;
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.sw-monitor__form-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.sw-monitor__summary {
|
|
margin-top: 1rem;
|
|
background: #f7f9ff;
|
|
border: 1px solid #d0dae9;
|
|
border-radius: 6px;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.sw-monitor__summary-text {
|
|
margin-top: 0.25rem;
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.sw-monitor__alert {
|
|
margin-top: 1rem;
|
|
border-radius: 6px;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.sw-monitor__alert--error {
|
|
background: #fff5f4;
|
|
border: 1px solid #e66b5b;
|
|
color: #a33d30;
|
|
}
|
|
|
|
.sw-monitor__alert--info {
|
|
background: #f4f6f8;
|
|
border: 1px solid #d5dce3;
|
|
color: #4a5568;
|
|
}
|
|
|
|
.sw-monitor__results {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.sw-monitor__hint {
|
|
color: #555;
|
|
margin: 0.25rem 0 0.75rem;
|
|
}
|
|
|
|
.sw-monitor__table-wrapper {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.sw-monitor__table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.sw-monitor__table th,
|
|
.sw-monitor__table td {
|
|
border: 1px solid #e3e3e3;
|
|
padding: 0.45rem;
|
|
}
|
|
|
|
.sw-monitor__table code {
|
|
font-family: ui-monospace, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
|
|
}
|
|
|
|
#uninstall_scrolling_checkbox{
|
|
border:2px solid #ccc;
|
|
width:500px;
|
|
display: inline-block;
|
|
height: 80px;
|
|
overflow-y: scroll;
|
|
text-align:left;
|
|
}
|
|
|
|
.sw-admin {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.sw-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.sw-card {
|
|
border: 1px solid #dcdcdc;
|
|
border-radius: 6px;
|
|
padding: 1rem;
|
|
background: #fafafa;
|
|
}
|
|
|
|
.sw-card__header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.sw-card__meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 0.75rem;
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.sw-card__meta dt {
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
.sw-card__meta dd {
|
|
margin: 0;
|
|
}
|
|
|
|
.sw-form {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.sw-form__grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
|
|
.sw-form__actions {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.sw-form label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sw-form input,
|
|
.sw-form select,
|
|
.sw-form textarea {
|
|
padding: 0.4rem;
|
|
border-radius: 4px;
|
|
border: 1px solid #c7c7c7;
|
|
}
|
|
|
|
.sw-mods__table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.sw-mods__table th,
|
|
.sw-mods__table td {
|
|
border: 1px solid #ddd;
|
|
padding: 0.4rem;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.4rem 0.8rem;
|
|
border-radius: 4px;
|
|
border: 1px solid #888;
|
|
text-decoration: none;
|
|
color: #222;
|
|
background: #fff;
|
|
}
|
|
|
|
.btn.btn-xs {
|
|
padding: 0.2rem 0.45rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.btn.primary {
|
|
background: #0b5ed7;
|
|
border-color: #0a58ca;
|
|
color: #fff;
|
|
}
|
|
|
|
.btn.secondary {
|
|
background: #f7f7f7;
|
|
border-color: #c7c7c7;
|
|
}
|
|
|
|
.sw-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.sw-toggle input {
|
|
width: auto;
|
|
}
|
|
|
|
.sw-game-table__wrapper {
|
|
margin-top: 1rem;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.sw-game-table__row td {
|
|
vertical-align: top;
|
|
}
|
|
|
|
.sw-game-label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.sw-game-label__title {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.sw-game-label__key {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sw-game-label__name {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sw-game-label__hint {
|
|
color: #666;
|
|
}
|
|
|
|
.sw-game-label__hint--warning {
|
|
color: #b15a00;
|
|
}
|
|
|
|
.sw-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 0.1rem 0.5rem;
|
|
border-radius: 999px;
|
|
font-size: 0.75rem;
|
|
}
|
|
|
|
.sw-badge--custom {
|
|
background: #eef4ff;
|
|
color: #0b5ed7;
|
|
}
|
|
|
|
.sw-badge--app {
|
|
background: #f1f3f5;
|
|
color: #444;
|
|
}
|
|
|
|
.sw-game-variants {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.sw-chip {
|
|
background: #f4f6f8;
|
|
border-radius: 999px;
|
|
padding: 0.1rem 0.55rem;
|
|
font-size: 0.8rem;
|
|
}
|
|
|
|
.sw-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.35rem;
|
|
}
|
|
|
|
.sw-inline-delete {
|
|
display: inline;
|
|
}
|
|
|
|
.sw-game-table__form-row {
|
|
display: none;
|
|
}
|
|
|
|
.sw-game-table__form-row.is-open {
|
|
display: table-row;
|
|
}
|
|
|
|
.sw-inline-form {
|
|
background: #f6f8fb;
|
|
border: 1px solid #d0dae9;
|
|
border-radius: 6px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.sw-checkbox {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
}
|
|
|
|
.sw-admin__mapping-actions {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.sw-picker {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
border: 1px solid #dcdcdc;
|
|
border-radius: 8px;
|
|
padding: 1rem;
|
|
}
|
|
|
|
.sw-picker__header {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.25rem;
|
|
}
|
|
|
|
.sw-picker__header h4 {
|
|
margin: 0;
|
|
font-size: 1.1rem;
|
|
}
|
|
|
|
.sw-picker__hint {
|
|
margin: 0.25rem 0 0;
|
|
color: #555;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.sw-picker__search {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.5rem;
|
|
align-items: flex-end;
|
|
}
|
|
|
|
.sw-picker__search label {
|
|
flex: 1;
|
|
}
|
|
|
|
.sw-picker__search-input {
|
|
width: 100%;
|
|
padding: 0.4rem;
|
|
border-radius: 4px;
|
|
border: 1px solid #c7c7c7;
|
|
}
|
|
|
|
.sw-picker__status {
|
|
min-height: 1.25rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.sw-picker__status--loading {
|
|
color: #0b5ed7;
|
|
}
|
|
|
|
.sw-picker__status--error {
|
|
color: #c0392b;
|
|
}
|
|
|
|
.sw-picker__status--info {
|
|
color: #555;
|
|
}
|
|
|
|
.sw-picker__status--clear {
|
|
color: inherit;
|
|
}
|
|
|
|
.sw-picker__selected,
|
|
.sw-picker__results {
|
|
border: 1px solid #e3e3e3;
|
|
border-radius: 6px;
|
|
padding: 0.75rem;
|
|
}
|
|
|
|
.sw-picker__selected-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.sw-picker__selected-header small {
|
|
color: #666;
|
|
}
|
|
|
|
.sw-picker__chip-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
margin-top: 0.5rem;
|
|
}
|
|
|
|
.sw-picker__chip {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 0.75rem;
|
|
border: 1px solid #d0dae9;
|
|
border-radius: 6px;
|
|
padding: 0.5rem 0.75rem;
|
|
background: #f8fafd;
|
|
}
|
|
|
|
.sw-picker__chip-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.1rem;
|
|
}
|
|
|
|
.sw-picker__chip-text span {
|
|
color: #555;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.sw-picker__chip-controls {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.sw-picker__chip-remove {
|
|
border: 1px solid #c0392b;
|
|
background: #fff5f4;
|
|
color: #c0392b;
|
|
border-radius: 4px;
|
|
padding: 0.25rem 0.6rem;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sw-picker__toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.sw-picker__results-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
.sw-picker__results-table th,
|
|
.sw-picker__results-table td {
|
|
border: 1px solid #e3e3e3;
|
|
padding: 0.4rem;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.sw-picker__result-meta {
|
|
color: #666;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.sw-picker__results-table-wrapper {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.sw-picker__results-hint {
|
|
margin: 0.35rem 0 0.6rem;
|
|
color: #555;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.sw-picker__request-row {
|
|
margin-top: 0.75rem;
|
|
}
|
|
|
|
.sw-picker__request-label {
|
|
display: block;
|
|
font-weight: 600;
|
|
margin-bottom: 0.15rem;
|
|
}
|
|
|
|
.sw-picker__request-hint {
|
|
display: block;
|
|
margin-bottom: 0.35rem;
|
|
color: #6b6b6b;
|
|
}
|
|
|
|
.sw-picker__request-line {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 0.4rem;
|
|
align-items: center;
|
|
font-family: Consolas, 'Courier New', monospace;
|
|
}
|
|
|
|
.sw-picker__request-summary {
|
|
padding: 0.2rem 0.4rem;
|
|
background: #f6f6f6;
|
|
border-radius: 4px;
|
|
border: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.sw-picker__request-input {
|
|
flex: 1;
|
|
min-width: 160px;
|
|
padding: 0.25rem 0.4rem;
|
|
border: 1px solid #ced4da;
|
|
border-radius: 4px;
|
|
font-family: inherit;
|
|
background: #fff;
|
|
}
|
|
|
|
.sw-picker__action {
|
|
padding: 0.25rem 0.5rem;
|
|
border-radius: 4px;
|
|
background: #0b5ed7;
|
|
border: 1px solid #0a58ca;
|
|
color: #fff;
|
|
}
|
|
|
|
.sw-picker__result-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.85rem;
|
|
}
|
|
|
|
.sw-picker__result-toggle input {
|
|
width: auto;
|
|
}
|
|
|
|
.sw-picker__empty {
|
|
color: #777;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
|
|
/* Info box used on the configuration form to explain SteamCMD usage */
|
|
.sw-info-box {
|
|
background: #e8f4fd;
|
|
border: 1px solid #b3d7f5;
|
|
border-radius: 4px;
|
|
padding: 0.75rem 1rem;
|
|
margin-bottom: 1.25rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
.sw-info-box strong {
|
|
display: block;
|
|
margin-bottom: 0.25rem;
|
|
}
|
|
|
|
.sw-info-box p {
|
|
margin: 0;
|
|
color: #2c5f8a;
|
|
}
|