1119 lines
17 KiB
CSS
1119 lines
17 KiB
CSS
:root {
|
|
--bg: #f4f6f8;
|
|
--surface: #ffffff;
|
|
--soft: #eef2f5;
|
|
--line: #d8dee5;
|
|
--text: #17202a;
|
|
--muted: #657283;
|
|
--brand: #176b87;
|
|
--brand-soft: #d9ecf2;
|
|
--surface-muted: #f8fafc;
|
|
--ok: #1f7a4d;
|
|
--warn: #a45d14;
|
|
--danger: #b33a3a;
|
|
--danger-soft: #f5dddd;
|
|
--shadow: 0 16px 34px rgba(23, 32, 42, 0.14);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#app {
|
|
min-height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font: 14px/1.45 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
border: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
button:disabled,
|
|
input:disabled,
|
|
textarea:disabled {
|
|
cursor: not-allowed;
|
|
opacity: 0.58;
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
min-width: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 6px;
|
|
background: #fff;
|
|
color: var(--text);
|
|
outline: none;
|
|
}
|
|
|
|
input,
|
|
select {
|
|
height: 38px;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
textarea {
|
|
min-height: 42px;
|
|
max-height: 160px;
|
|
resize: vertical;
|
|
padding: 10px;
|
|
}
|
|
|
|
input:focus,
|
|
select:focus,
|
|
textarea:focus {
|
|
border-color: var(--brand);
|
|
box-shadow: 0 0 0 3px var(--brand-soft);
|
|
}
|
|
|
|
.muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
.auth-page {
|
|
display: grid;
|
|
min-height: 100dvh;
|
|
place-items: center;
|
|
padding: 24px;
|
|
}
|
|
|
|
.auth-panel {
|
|
width: min(420px, 100%);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow);
|
|
padding: 24px;
|
|
}
|
|
|
|
.auth-panel h1,
|
|
.topbar h1 {
|
|
margin: 0;
|
|
font-size: 22px;
|
|
letter-spacing: 0;
|
|
}
|
|
|
|
.auth-panel p,
|
|
.topbar p {
|
|
margin: 6px 0 0;
|
|
}
|
|
|
|
.stack-form,
|
|
.inline-form {
|
|
display: grid;
|
|
gap: 12px;
|
|
}
|
|
|
|
.stack-form {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.narrow-form {
|
|
max-width: 460px;
|
|
}
|
|
|
|
.inline-form {
|
|
grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) auto;
|
|
align-items: end;
|
|
}
|
|
|
|
.stack-form label,
|
|
.inline-form label {
|
|
display: grid;
|
|
gap: 6px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.stack-form button,
|
|
.inline-form button,
|
|
.primary-btn {
|
|
min-height: 38px;
|
|
border-radius: 6px;
|
|
background: var(--brand);
|
|
color: #fff;
|
|
padding: 0 14px;
|
|
}
|
|
|
|
.ghost-btn,
|
|
.icon-btn {
|
|
min-height: 36px;
|
|
border-radius: 6px;
|
|
background: var(--soft);
|
|
color: var(--text);
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.danger-btn {
|
|
min-height: 36px;
|
|
border-radius: 6px;
|
|
background: var(--danger-soft);
|
|
color: var(--danger);
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.form-error,
|
|
.warn-text {
|
|
margin: 0;
|
|
color: var(--danger);
|
|
}
|
|
|
|
.admin-shell {
|
|
display: grid;
|
|
grid-template-columns: 240px minmax(0, 1fr);
|
|
min-height: 100dvh;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
display: grid;
|
|
grid-template-rows: auto 1fr;
|
|
gap: 16px;
|
|
border-right: 1px solid var(--line);
|
|
background: var(--surface);
|
|
padding: 18px 14px;
|
|
}
|
|
|
|
.brand {
|
|
display: grid;
|
|
gap: 2px;
|
|
}
|
|
|
|
.brand strong {
|
|
font-size: 18px;
|
|
}
|
|
|
|
.brand span {
|
|
color: var(--muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
nav {
|
|
display: grid;
|
|
align-content: start;
|
|
gap: 6px;
|
|
}
|
|
|
|
nav button {
|
|
min-height: 38px;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
text-align: left;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
nav button:hover,
|
|
nav button.is-active {
|
|
background: var(--brand-soft);
|
|
color: var(--brand);
|
|
}
|
|
|
|
.workspace {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
min-width: 0;
|
|
min-height: 100dvh;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
min-width: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
background: rgba(255, 255, 255, 0.94);
|
|
padding: 16px 20px;
|
|
}
|
|
|
|
.topbar > div:first-child {
|
|
min-width: 0;
|
|
}
|
|
|
|
.top-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.top-hint {
|
|
max-width: 240px;
|
|
color: var(--muted);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.steam-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
min-height: 28px;
|
|
border-radius: 999px;
|
|
background: var(--soft);
|
|
color: var(--muted);
|
|
padding: 0 10px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.steam-badge[data-status="online"] {
|
|
background: #dff1e8;
|
|
color: var(--ok);
|
|
}
|
|
|
|
.steam-badge[data-status="waiting_guard"],
|
|
.steam-badge[data-status="logging_in"],
|
|
.steam-badge[data-status="reconnecting"] {
|
|
background: #f6ead8;
|
|
color: var(--warn);
|
|
}
|
|
|
|
.steam-badge[data-status="error"] {
|
|
background: var(--danger-soft);
|
|
color: var(--danger);
|
|
}
|
|
|
|
.content {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 18px;
|
|
}
|
|
|
|
.feedback {
|
|
border-top: 1px solid var(--line);
|
|
background: var(--surface);
|
|
color: var(--muted);
|
|
padding: 9px 20px;
|
|
}
|
|
|
|
.feedback[data-tone="ok"] {
|
|
color: var(--ok);
|
|
}
|
|
|
|
.feedback[data-tone="warn"] {
|
|
color: var(--warn);
|
|
}
|
|
|
|
.feedback[data-tone="error"] {
|
|
color: var(--danger);
|
|
}
|
|
|
|
.steam-view,
|
|
.users-view,
|
|
.steam-accounts-view,
|
|
.audit-view,
|
|
.account-view {
|
|
display: grid;
|
|
gap: 16px;
|
|
}
|
|
|
|
.users-view {
|
|
grid-template-columns: minmax(300px, 0.8fr) minmax(520px, 1.2fr);
|
|
align-items: start;
|
|
}
|
|
|
|
.panel {
|
|
display: grid;
|
|
gap: 12px;
|
|
min-width: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
padding: 14px;
|
|
}
|
|
|
|
.panel-title {
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.panel .stack-form {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.toolbar-panel {
|
|
align-self: start;
|
|
}
|
|
|
|
.list-panel {
|
|
grid-column: 1 / -1;
|
|
gap: 10px;
|
|
border: 0;
|
|
background: transparent;
|
|
padding: 0;
|
|
}
|
|
|
|
.form-panel,
|
|
.status-note-panel {
|
|
max-width: 720px;
|
|
}
|
|
|
|
.page-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.user-filters {
|
|
grid-template-columns: minmax(220px, 1.4fr) minmax(120px, 0.65fr) minmax(120px, 0.65fr) auto;
|
|
}
|
|
|
|
.user-create {
|
|
grid-template-columns: minmax(150px, 0.9fr) minmax(150px, 0.9fr) minmax(160px, 0.9fr) minmax(130px, 0.7fr) minmax(210px, 1.2fr) auto;
|
|
}
|
|
|
|
.steam-account-login {
|
|
grid-template-columns: minmax(150px, 1fr) minmax(170px, 1fr) minmax(170px, 1fr) minmax(120px, 0.7fr) auto;
|
|
}
|
|
|
|
.audit-filters {
|
|
grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr) auto;
|
|
max-width: 760px;
|
|
}
|
|
|
|
.status-panel {
|
|
display: grid;
|
|
gap: 4px;
|
|
max-width: 720px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
padding: 14px;
|
|
}
|
|
|
|
.status-panel strong {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.user-table,
|
|
.account-table,
|
|
.audit-table {
|
|
display: grid;
|
|
gap: 8px;
|
|
}
|
|
|
|
.user-row,
|
|
.account-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(280px, 1fr) minmax(320px, auto);
|
|
align-items: center;
|
|
gap: 14px;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
padding: 14px 16px;
|
|
}
|
|
|
|
.user-row > div:first-child,
|
|
.account-row > div:first-child {
|
|
display: grid;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.user-row strong,
|
|
.user-row span,
|
|
.account-row strong,
|
|
.account-row span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.user-detail {
|
|
display: grid;
|
|
grid-column: 1 / -1;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 12px;
|
|
border-top: 1px solid var(--line);
|
|
padding-top: 12px;
|
|
}
|
|
|
|
.detail-block,
|
|
.grant-grid {
|
|
display: grid;
|
|
gap: 8px;
|
|
align-content: start;
|
|
border-radius: 6px;
|
|
background: var(--surface-muted);
|
|
padding: 10px;
|
|
}
|
|
|
|
.detail-block h3,
|
|
.grant-grid h3 {
|
|
margin: 0;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.session-row,
|
|
.check-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(140px, 0.9fr) minmax(220px, 1.2fr) auto;
|
|
gap: 8px;
|
|
align-items: center;
|
|
}
|
|
|
|
.grant-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
}
|
|
|
|
.grant-grid h3,
|
|
.grant-grid .empty,
|
|
.grant-grid .primary-btn {
|
|
grid-column: 1 / -1;
|
|
}
|
|
|
|
.check-row {
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
justify-content: start;
|
|
color: var(--text);
|
|
}
|
|
|
|
.check-row input {
|
|
width: auto;
|
|
}
|
|
|
|
.audit-row {
|
|
display: grid;
|
|
grid-template-columns: minmax(220px, 0.75fr) minmax(300px, 1fr) minmax(260px, 1fr);
|
|
gap: 10px;
|
|
align-items: center;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
padding: 12px;
|
|
}
|
|
|
|
.audit-row code {
|
|
overflow: auto;
|
|
border-radius: 6px;
|
|
background: var(--soft);
|
|
padding: 8px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.row-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: flex-end;
|
|
gap: 6px;
|
|
max-width: 640px;
|
|
}
|
|
|
|
.row-actions button {
|
|
min-height: 32px;
|
|
padding: 0 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.chat-layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
|
|
gap: 16px;
|
|
min-height: calc(100dvh - 132px);
|
|
}
|
|
|
|
.chat-lists,
|
|
.thread {
|
|
min-height: 0;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
}
|
|
|
|
.chat-lists {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.open-chat-form {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 10px;
|
|
}
|
|
|
|
.open-chat-form button,
|
|
.image-url-form button {
|
|
border-radius: 6px;
|
|
background: var(--brand);
|
|
color: #fff;
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.list-sections {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.list-section {
|
|
margin-bottom: 14px;
|
|
}
|
|
|
|
.list-section h2 {
|
|
margin: 8px 6px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.list-item {
|
|
display: grid;
|
|
grid-template-columns: 38px minmax(0, 1fr);
|
|
gap: 9px;
|
|
width: 100%;
|
|
margin-bottom: 4px;
|
|
border-radius: 8px;
|
|
background: transparent;
|
|
color: var(--text);
|
|
padding: 8px;
|
|
text-align: left;
|
|
}
|
|
|
|
.list-item:hover,
|
|
.list-item.is-active {
|
|
background: var(--soft);
|
|
}
|
|
|
|
.avatar {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 38px;
|
|
height: 38px;
|
|
overflow: hidden;
|
|
border-radius: 8px;
|
|
background: var(--brand-soft);
|
|
color: var(--brand);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.avatar img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.item-body {
|
|
display: grid;
|
|
gap: 2px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.item-body strong,
|
|
.item-body span {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.thread {
|
|
display: grid;
|
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.thread-head {
|
|
display: grid;
|
|
gap: 2px;
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 12px 14px;
|
|
}
|
|
|
|
.thread-head div,
|
|
.thread-head span {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.messages {
|
|
min-height: 0;
|
|
overflow: auto;
|
|
padding: 16px;
|
|
}
|
|
|
|
.empty {
|
|
padding: 16px;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.empty.small {
|
|
padding: 10px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.msg-row {
|
|
display: grid;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.msg-row.is-self {
|
|
justify-items: end;
|
|
}
|
|
|
|
.bubble {
|
|
max-width: min(720px, 82%);
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.msg-row.is-self .bubble {
|
|
border-color: #bcdde8;
|
|
background: #eef8fb;
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
gap: 8px;
|
|
padding: 8px 10px 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.message-content {
|
|
white-space: pre-wrap;
|
|
overflow-wrap: anywhere;
|
|
padding: 8px 10px 10px;
|
|
}
|
|
|
|
.message-content a {
|
|
color: var(--brand);
|
|
}
|
|
|
|
.og-card {
|
|
width: min(640px, 100%);
|
|
max-width: 100%;
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface-muted);
|
|
margin: 4px 0;
|
|
overflow: hidden;
|
|
white-space: normal;
|
|
}
|
|
|
|
.og-main {
|
|
display: flow-root;
|
|
padding: 8px;
|
|
}
|
|
|
|
.og-image-link {
|
|
display: block;
|
|
float: left;
|
|
width: min(256px, 42%);
|
|
aspect-ratio: 16 / 9;
|
|
margin: 0 12px 8px 0;
|
|
border-radius: 6px;
|
|
background: var(--soft);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.og-image {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.og-title {
|
|
display: block;
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
overflow-wrap: anywhere;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.og-title:hover {
|
|
color: var(--brand);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.og-description {
|
|
margin: 6px 0 0;
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.og-footer {
|
|
display: flex;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 6px;
|
|
border-top: 1px solid var(--line);
|
|
background: var(--soft);
|
|
padding: 4px 6px 4px 8px;
|
|
}
|
|
|
|
.og-domain {
|
|
min-width: 0;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
color: var(--brand);
|
|
font-size: 12px;
|
|
letter-spacing: 0;
|
|
text-decoration: none;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.og-copy-button {
|
|
display: grid;
|
|
width: 28px;
|
|
height: 28px;
|
|
flex: 0 0 28px;
|
|
border-radius: 6px;
|
|
background: transparent;
|
|
color: var(--muted);
|
|
place-items: center;
|
|
}
|
|
|
|
.og-copy-button:hover,
|
|
.og-copy-button:focus-visible {
|
|
background: var(--brand-soft);
|
|
color: var(--brand);
|
|
outline: none;
|
|
}
|
|
|
|
.og-copy-icon {
|
|
position: relative;
|
|
display: block;
|
|
width: 11px;
|
|
height: 11px;
|
|
border: 1.5px solid currentColor;
|
|
border-radius: 2px;
|
|
transform: translate(2px, 2px);
|
|
}
|
|
|
|
.og-copy-icon::before {
|
|
position: absolute;
|
|
top: -5px;
|
|
left: -5px;
|
|
width: 9px;
|
|
height: 9px;
|
|
border: 1.5px solid currentColor;
|
|
border-radius: 2px;
|
|
background: var(--soft);
|
|
content: '';
|
|
}
|
|
|
|
.emoticon {
|
|
width: 28px;
|
|
height: 28px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.sticker {
|
|
width: 118px;
|
|
height: 118px;
|
|
object-fit: contain;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.image-button {
|
|
display: block;
|
|
max-width: min(420px, 100%);
|
|
border-radius: 8px;
|
|
background: var(--soft);
|
|
color: var(--muted);
|
|
padding: 10px;
|
|
}
|
|
|
|
.image-button img {
|
|
display: block;
|
|
max-width: 100%;
|
|
border-radius: 6px;
|
|
}
|
|
|
|
.composer {
|
|
position: relative;
|
|
display: grid;
|
|
gap: 8px;
|
|
border-top: 1px solid var(--line);
|
|
padding: 10px;
|
|
}
|
|
|
|
.offline-note {
|
|
border-radius: 6px;
|
|
background: #f6ead8;
|
|
color: var(--warn);
|
|
padding: 8px 10px;
|
|
}
|
|
|
|
.compose-row {
|
|
display: grid;
|
|
grid-template-columns: auto auto minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
align-items: end;
|
|
}
|
|
|
|
.image-url-form {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto;
|
|
gap: 8px;
|
|
}
|
|
|
|
.picker {
|
|
position: absolute;
|
|
left: 10px;
|
|
bottom: calc(100% - 2px);
|
|
z-index: 6;
|
|
width: min(520px, calc(100vw - 40px));
|
|
border: 1px solid var(--line);
|
|
border-radius: 8px;
|
|
background: var(--surface);
|
|
box-shadow: var(--shadow);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.picker[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.picker-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 8px;
|
|
}
|
|
|
|
.picker-tabs button,
|
|
.picker-grid button {
|
|
border-radius: 6px;
|
|
background: var(--soft);
|
|
color: var(--text);
|
|
}
|
|
|
|
.picker-tabs button {
|
|
padding: 7px 10px;
|
|
}
|
|
|
|
.picker-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
|
|
gap: 6px;
|
|
max-height: 280px;
|
|
overflow: auto;
|
|
padding: 8px;
|
|
}
|
|
|
|
.picker-grid button {
|
|
display: grid;
|
|
justify-items: center;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
padding: 8px;
|
|
}
|
|
|
|
.picker-grid img {
|
|
width: 34px;
|
|
height: 34px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.picker-grid span {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.drop-overlay {
|
|
position: fixed;
|
|
inset: 20px;
|
|
display: none;
|
|
place-items: center;
|
|
z-index: 20;
|
|
border: 2px dashed var(--brand);
|
|
border-radius: 8px;
|
|
background: rgba(244, 246, 248, 0.92);
|
|
color: var(--brand);
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.lightbox {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
z-index: 30;
|
|
background: rgba(18, 25, 32, 0.88);
|
|
}
|
|
|
|
.lightbox[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.lightbox img {
|
|
max-width: 92vw;
|
|
max-height: 88vh;
|
|
}
|
|
|
|
.lightbox-close {
|
|
position: fixed;
|
|
top: 18px;
|
|
right: 18px;
|
|
background: rgba(255, 255, 255, 0.18);
|
|
color: #fff;
|
|
}
|
|
|
|
@media (max-width: 1500px) {
|
|
.users-view {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1200px) {
|
|
.top-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.user-row,
|
|
.account-row,
|
|
.session-row,
|
|
.audit-row {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.inline-form,
|
|
.user-filters,
|
|
.user-create,
|
|
.steam-account-login,
|
|
.audit-filters {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.inline-form button,
|
|
.user-filters button,
|
|
.user-create button,
|
|
.steam-account-login button,
|
|
.audit-filters button {
|
|
grid-column: auto;
|
|
}
|
|
|
|
.row-actions {
|
|
justify-content: flex-start;
|
|
max-width: none;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 920px) {
|
|
.admin-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.admin-sidebar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
display: grid;
|
|
grid-template-rows: auto auto;
|
|
border-right: 0;
|
|
border-bottom: 1px solid var(--line);
|
|
padding: 12px;
|
|
}
|
|
|
|
nav {
|
|
display: flex;
|
|
gap: 6px;
|
|
overflow: auto;
|
|
}
|
|
|
|
nav button {
|
|
flex: 0 0 auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.topbar {
|
|
display: grid;
|
|
align-items: start;
|
|
}
|
|
|
|
.top-actions {
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.chat-layout {
|
|
grid-template-columns: 1fr;
|
|
min-height: auto;
|
|
}
|
|
|
|
.chat-lists {
|
|
max-height: 45dvh;
|
|
}
|
|
|
|
.thread {
|
|
min-height: 70dvh;
|
|
}
|
|
|
|
.bubble {
|
|
max-width: 94%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.content {
|
|
padding: 12px;
|
|
}
|
|
|
|
.inline-form,
|
|
.user-filters,
|
|
.user-create,
|
|
.steam-account-login,
|
|
.audit-filters,
|
|
.compose-row,
|
|
.image-url-form {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.topbar {
|
|
padding: 14px 12px;
|
|
}
|
|
|
|
.panel {
|
|
padding: 12px;
|
|
}
|
|
|
|
.user-row,
|
|
.account-row,
|
|
.audit-row {
|
|
grid-template-columns: 1fr;
|
|
padding: 12px;
|
|
}
|
|
|
|
.og-image-link {
|
|
float: none;
|
|
width: 100%;
|
|
margin: 0 0 8px;
|
|
}
|
|
}
|