web/website/control-panel/public/ranks.css
2026-11-21 20:22:37 +01:00

28 lines
15 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.cp-pages-ready #dashboard>section:not(.cp-page-active){display:none!important}.tabs a[aria-current=page]{background:#c4a35b;color:#142a28;border-color:#e6cc87;box-shadow:inset 0 -3px #81622a}.rank-matrix{min-width:0}.matrix-scroll{max-width:100%;overflow:auto;border:1px solid #8e7846;margin:16px 0 30px}.rank-matrix table{border-collapse:collapse;min-width:900px;width:100%;font-size:12px}.rank-matrix th,.rank-matrix td{padding:12px;border:1px solid #627357;text-align:center;vertical-align:middle}.rank-matrix th:first-child{text-align:left;min-width:230px;position:sticky;left:0;background:#17382e;z-index:1}.rank-matrix thead th{background:#254c3d;position:sticky;top:0}.rank-matrix code,.rank-matrix small{display:block;font-size:10px;margin:6px 0}.rank-matrix input[type=checkbox]{width:20px;height:20px;padding:0;box-shadow:none;accent-color:#ceac62}.rank-matrix button{padding:7px 12px}.rank-create{display:flex;gap:14px;align-items:end;flex-wrap:wrap;max-width:none}.rank-create h3{width:100%}.rank-create label{flex:1;min-width:150px}.rank-create select{padding:13px;background:#163329;color:#eadbb8;border:3px solid #7d744e}.rank-create>button{margin-bottom:16px}.tabs a[href='#permissions']:before,.tabs a[href='#server-operations']:before{background-image:url('assets/menu-9.webp')}
#staff-manual details{border:1px solid #627357;margin:12px 0;background:#132f26b3}#staff-manual summary{padding:16px;color:#e4ca83;font-weight:bold;cursor:pointer}#staff-manual details[open]>:not(summary){margin-left:20px;margin-right:20px}#staff-manual li{margin:9px 0;line-height:1.6}#staff-manual summary:focus-visible{outline:3px solid #ceac62;outline-offset:2px}
.lp-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:12px;margin:20px 0}.lp-groups article{padding:15px;border:1px solid #627357;background:#132f26b3;display:flex;flex-direction:column;gap:8px;overflow-wrap:anywhere}.lp-groups span{font-size:12px;color:#c8cba9}.lp-editor{display:block;width:100%;height:850px;min-height:550px;border:2px solid #ceac62;background:#fff;margin:20px 0}.lp-editor[hidden]{display:none}#luckperms a{display:inline-block;margin:14px}
#dashboard .rank-matrix th,#dashboard .rank-matrix td{border-color:var(--line)}#dashboard .rank-matrix th:first-child{background:#172f25}#dashboard .rank-matrix thead th{background:#213c30}#dashboard #staff-manual details,#dashboard .lp-groups article{border-color:var(--line);border-radius:6px;background:var(--raised)}#dashboard #staff-manual summary{padding:14px 16px}#dashboard .rank-create select{border:1px solid #58705b;border-radius:5px;background:#0e211a}
#luckperms>details{border:1px solid var(--line);border-radius:6px;padding:14px;margin:16px 0 24px}#luckperms>details>summary{cursor:pointer;color:var(--gold);font-weight:600}#luckperms>details>button{margin-top:14px}
.community-admin textarea{width:100%;resize:vertical;min-height:140px}.module-toolbar{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:15px 0}.module-detail{border-top:1px solid var(--line);padding-top:22px;margin-top:24px}.module-detail p{white-space:pre-wrap}.module-detail small{display:block;color:var(--muted)}.community-admin table{border-collapse:collapse;width:100%}.community-admin th,.community-admin td{padding:12px;border-bottom:1px solid var(--line);text-align:left}.community-admin>details{padding:15px;border:1px solid var(--line);margin:20px 0}.community-admin>details>summary{cursor:pointer;color:var(--gold)}
.rank-editor-tools{display:flex;gap:14px;align-items:end}.rank-editor-tools label{display:flex;flex-direction:column;gap:8px;width:100%;max-width:560px}.rank-editor-tools select{width:100%;padding:12px;border:1px solid #657451;background:#10271f;color:#eddfbc;border-radius:6px}.rank-editor-summary{margin:20px 0;padding:18px;border:1px solid #52674f;border-radius:8px;background:#17372b}.rank-editor-summary h3{margin:0 0 8px}.rank-editor-summary input{width:100%;box-sizing:border-box}.permission-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}.permission-groups details{border:1px solid #4b6652;border-radius:8px;background:#122e24;overflow:hidden}.permission-groups summary{padding:15px;cursor:pointer;display:flex;gap:10px;align-items:center;color:#e9ce8d;font-weight:bold}.permission-groups summary:before{content:'+';font-size:20px}.permission-groups details[open] summary:before{content:'−'}.permission-groups summary small{margin-left:auto;color:#b7c8ad;font-size:11px;white-space:nowrap}.permission-groups label{display:flex;gap:12px;padding:12px 16px;border-top:1px solid #385540;align-items:center}.permission-groups label[hidden],.permission-groups details[hidden]{display:none}.permission-groups input[type=checkbox]{flex:0 0 20px;width:20px;height:20px;margin:0;accent-color:#c8a55a}.permission-groups label span{min-width:0}.permission-groups code{display:block;font-size:11px;color:#aebfa9;overflow-wrap:anywhere;margin-top:4px}.permission-groups strong{font-size:13px}.rank-editor-actions{display:flex;gap:12px;flex-wrap:wrap;padding:18px 0}.rank-create-panel{border:1px solid #49654e;border-radius:6px;padding:14px;margin:16px 0}.rank-create-panel summary{cursor:pointer;color:#e5c787;font-weight:bold}@media(max-width:800px){.permission-groups{grid-template-columns:1fr}}
/* Compact administrative permission tables. */
#permissions{--rank-gold:#d7ba72;--rank-line:#48634f}#permissions>h2{letter-spacing:-.025em}#permissions>[role=tablist]{display:flex;gap:5px;padding:5px;border:1px solid #48634f;border-radius:9px;background:#0c211b;margin:18px 0}#permissions>[role=tablist]>button{flex:1;border:0;border-radius:5px;padding:12px 16px;background:transparent;color:#becdbc;font-weight:700}#permissions>[role=tablist]>button[aria-selected=true]{background:linear-gradient(135deg,#dcc584,#bd9b50);color:#10261e;box-shadow:0 2px 8px #0003}.rank-editor-tools{padding:18px;border:1px solid var(--rank-line);border-radius:9px;background:linear-gradient(110deg,#1d3c2e,#10291f);margin:16px 0}.rank-editor-summary{border:0;border-left:3px solid var(--rank-gold);border-radius:3px;background:#142f25;padding:16px 20px;margin:18px 0}.rank-editor-summary h3{color:#f0deb0;font-size:23px}.rank-editor-summary p{font-size:13px;color:#afc3af;max-width:800px}.permission-groups{grid-template-columns:1fr;gap:13px}.permission-groups details{box-shadow:0 3px 10px #0002;border-color:#405c49}.permission-groups summary{background:linear-gradient(100deg,#203f30,#152e24);padding:14px 18px}.permission-groups summary small{border:1px solid #617450;border-radius:20px;padding:4px 10px;background:#10271e;color:#dbcd9b}.rank-editor .permission-table{width:100%;min-width:0;border-collapse:collapse;font-size:13px;table-layout:fixed}.rank-editor .permission-table th,.rank-editor .permission-table td{padding:12px 18px;border:0;border-top:1px solid #355240;text-align:left;vertical-align:middle;position:static;background:transparent;min-width:0}.rank-editor .permission-table th{font-size:10px;letter-spacing:.1em;text-transform:uppercase;color:#a6bba4;background:#11291f}.rank-editor .permission-table th:first-child,.rank-editor .permission-table td:first-child{width:58px;text-align:center}.rank-editor .permission-table th:nth-child(2){width:47%}.rank-editor .permission-table tbody tr:nth-child(even){background:#203c2b66}.rank-editor .permission-table tbody tr:hover{background:#c5aa5220}.rank-editor .permission-table tr[hidden]{display:none}.rank-editor .permission-table code{display:inline-block;margin:0;padding:4px 8px;border:1px solid #446047;border-radius:4px;font:11px ui-monospace,monospace;color:#b9cbaa;background:#0e251c;overflow-wrap:anywhere;white-space:normal}.rank-editor .permission-table input{margin:0;vertical-align:middle}.rank-editor-actions{justify-content:flex-end;border-top:1px solid #48634f;margin-top:18px}.rank-create-panel{background:#10291f}.rank-create-panel summary{padding:4px 0}.rank-create-panel label{padding:10px 0}.rank-create-panel label button{margin-left:12px}@media(max-width:700px){.rank-editor .permission-table th,.rank-editor .permission-table td{padding:10px 8px}.rank-editor .permission-table th:first-child,.rank-editor .permission-table td:first-child{width:32px}.rank-editor .permission-table th:nth-child(2){width:43%}.rank-editor .permission-table code{font-size:9px;padding:3px}.rank-editor .permission-table strong{font-size:12px}}
/* Account administration: scoped compact table and editors. */
#accounts.account-admin{min-width:0}.account-admin-toolbar{display:grid;grid-template-columns:minmax(220px,1fr) minmax(170px,230px) auto auto;align-items:end;gap:12px;margin:18px 0 14px}.account-admin-toolbar label{display:grid;gap:6px;color:#bdcbbb;font-size:12px;font-weight:600}.account-admin-toolbar input,.account-admin-toolbar select{width:100%;min-width:0;margin:0;box-sizing:border-box;background:#0d251c;color:#ece3ca;border:1px solid #536d58;border-radius:5px;padding:10px 12px;font:inherit}.account-admin-toolbar button{margin:0;min-height:40px}.account-admin-summary{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}.account-admin-summary>span{display:inline-flex;gap:6px;align-items:baseline;padding:6px 10px;background:#19392b;border:1px solid #395a44;border-radius:5px;color:#bfcfba;font-size:12px}.account-admin-summary strong{color:#ead29a;font-size:15px}.account-admin-scroll{max-width:100%;overflow-x:auto;border:1px solid #4d664e;border-radius:7px}.account-admin-table{width:100%;border-collapse:collapse;font-size:13px;min-width:700px}.account-admin-table th{text-align:left;background:#254534;color:#e8cd8d;font-size:11px;letter-spacing:.05em;text-transform:uppercase;padding:12px 14px;white-space:nowrap;border-bottom:1px solid #9a844b}.account-admin-table td{padding:13px 14px;vertical-align:middle;border-bottom:1px solid #33533f}.account-admin-table tbody tr:last-child td{border-bottom:0}.account-admin-table tbody tr:nth-child(even){background:#153025}.account-admin-table tbody tr:hover{background:#203e2e}.account-admin-table td>strong{display:block;font-size:13px;font-weight:600;color:#e7e4d3}.account-admin-table td>small,.account-admin-muted{display:block;color:#9fb69d;font-size:11px;line-height:1.5}.account-admin-identity{display:flex;align-items:center;gap:11px;min-width:150px}.account-admin-identity strong{font-size:13px;color:#efe3bd;display:block}.account-admin-avatar{width:40px;height:40px;position:relative;overflow:hidden;flex:0 0 40px;border:1px solid #7d7649;border-radius:5px;background:#0c241b;image-rendering:pixelated}.account-admin-avatar img{width:40px;height:40px;display:block;image-rendering:pixelated}.account-admin-avatar--skin img{position:absolute;width:320px;height:320px;max-width:none;left:-40px;top:-40px}.account-admin-uuid{margin-top:4px;font-size:11px}.account-admin-uuid summary{cursor:pointer;color:#a9bfa2}.account-admin-uuid code{display:block;white-space:normal;overflow-wrap:anywhere;font-size:10px;color:#bdc8b4;margin:6px 0}.account-admin-uuid button{padding:4px 7px;font-size:10px}.account-admin-rank-chips{display:flex;gap:5px;flex-wrap:wrap;max-width:250px}.account-admin-rank-chip{display:inline-block;line-height:1.4;background:#284938;color:#d9e0cd;border:1px solid #577357;padding:4px 8px;border-radius:20px;font-size:11px;font-weight:600}.account-admin-rank-chip--owner{background:#4d4325;color:#f0d18d;border-color:#9c8547}.account-admin-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;min-width:160px}.account-admin-actions button,.account-admin-actions summary{font-size:11px;padding:7px 10px;white-space:nowrap;line-height:1.3}.account-admin .account-admin-primary,.account-admin .account-admin-search{background:#c8a85e;color:#14271b;border-color:#e1c483;font-weight:700}.account-admin .account-admin-primary:hover,.account-admin .account-admin-search:hover{background:#e0c37f}.account-admin-protected{font-size:11px;color:#a5b69e}.account-admin-more>summary{cursor:pointer;border:1px solid #557052;border-radius:5px;color:#d4d9c6;list-style:none;text-align:center}.account-admin-more>summary:after{content:' ▾';font-size:9px}.account-admin-more-menu{display:grid;gap:7px;margin-top:8px;min-width:170px;padding:10px;border:1px solid #536b4f;border-radius:5px;background:#10291e}.account-admin-more-menu p{margin:0;max-width:190px;white-space:normal}.account-admin-more-menu button{width:100%;justify-content:flex-start}.account-admin-more-menu .account-admin-danger{color:#e7bb9d;border-color:#7f6345;background:#372d23}.account-admin-footnote{font-size:11px;color:#9fb49b;line-height:1.5;margin-top:12px}.account-admin-empty{text-align:center;color:#b2c2a8;padding:28px!important}.account-admin-editor{margin-top:20px;padding:20px;background:#153127;border:1px solid #ab9150;border-radius:7px}.account-admin-editor h3{margin-top:0;color:#ead195}.account-admin-editor>p{font-size:12px;color:#bdcbb5}.account-admin-editor fieldset{border:0;padding:0;margin:18px 0}.account-admin-editor legend{font-size:12px;color:#b7c9ae;margin-bottom:12px}.account-admin-rank-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.account-admin-rank-group{background:#10281e;border:1px solid #3d5c42;border-radius:5px;padding:13px}.account-admin-rank-group h4{margin:0 0 10px;color:#ddc184;font-size:12px}.account-admin-rank-group label,.account-admin-seal-picker label{display:flex;gap:10px;align-items:flex-start;margin:8px 0;font-size:12px;color:#e2e4d4}.account-admin-rank-group input,.account-admin-seal-picker input{width:16px;height:16px;flex:0 0 16px;margin:1px 0;accent-color:#c9a95d}.account-admin-rank-group small{display:block;font-size:10px;color:#94ad94}.account-admin-editor-actions{display:flex;gap:9px;border-top:1px solid #3e5d43;padding-top:15px}.account-admin-editor-actions button{font-size:12px}.account-admin-sr{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1000px){.account-admin-toolbar{grid-template-columns:minmax(180px,1fr) minmax(140px,1fr) auto auto}.account-admin-table th,.account-admin-table td{padding:11px}.account-admin-rank-chips{max-width:180px}}@media(max-width:650px){.account-admin-toolbar{grid-template-columns:1fr 1fr}.account-admin-toolbar label:first-child{grid-column:1/-1}.account-admin-toolbar button{justify-self:stretch}.account-admin-rank-picker{grid-template-columns:1fr}.account-admin-editor{padding:14px}.account-admin-summary{gap:6px}}
/* End scoped account administration. */
.permission-scope-menu{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.permission-scope-menu>a{padding:12px 18px;border:1px solid #7b8059;border-radius:8px;background:#1a382c;color:#e6cc87;text-decoration:none}.permission-scope-menu>a[aria-current=page]{border-color:#78ad8c;background:#244b37}.permission-table{width:100%;border-collapse:collapse}.permission-table td,.permission-table th{padding:12px;text-align:left;border-bottom:1px solid #3f604a}.permission-table td:nth-child(2){font:12px monospace}.permission-table small{color:#adbfac}.permission-table strong{color:#d3b678}