MC/website/control-panel/public/ban-record-cards.css
2026-11-27 23:43:05 +00:00

17 lines
4 KiB
CSS

/* Dev-style moderation cards retain the native record cells and action handlers. */
#bans>.matrix-scroll{border:0;background:transparent;box-shadow:none;padding:0;overflow:visible;container-type:normal}
#bans .ban-register-table,#bans .ban-register-table tbody{display:block;min-width:0!important;width:100%;max-width:100%;font-family:Manrope,Arial,sans-serif}
#bans .ban-register-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
#bans .ban-register-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'player status' 'id issuer' 'reason reason' 'scope appeals' 'actions actions';gap:13px 20px;padding:20px;margin:0 0 18px;border:1px solid #59734d;border-left:3px solid #c7a95e;border-radius:13px;background:linear-gradient(125deg,#1c3b2e,#112d23);box-shadow:inset 0 1px #fff1,0 5px 16px #0002}
#bans .ban-register-table td{display:block!important;min-width:0!important;width:auto!important;max-width:none!important;padding:0!important;border:0!important;color:#dce4d2;font-size:13px;line-height:1.65;overflow-wrap:anywhere}
#bans .ban-register-table td:before{content:attr(data-label);display:block;margin:0 0 4px;color:#a9bea8;font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.12em}
#bans .ban-register-table td:nth-child(1){grid-area:id}#bans .ban-register-table td:nth-child(2){grid-area:player;font-size:19px;font-weight:700;color:#eddaa5}#bans .ban-register-table td:nth-child(3){grid-area:issuer}#bans .ban-register-table td:nth-child(4){grid-area:reason;padding:12px 15px!important;border:1px solid #49624b!important;border-radius:8px;background:#0f291f;white-space:pre-wrap}#bans .ban-register-table td:nth-child(5){grid-area:scope}#bans .ban-register-table td:nth-child(6){grid-area:status;text-align:right}#bans .ban-register-table td:nth-child(7){grid-area:appeals}#bans .ban-register-table td:nth-child(8){grid-area:actions;padding-top:13px!important;border-top:1px solid #4a6346!important}
#bans .ban-register-table td:nth-child(2):before,#bans .ban-register-table td:nth-child(6):before,#bans .ban-register-table td:nth-child(8):before{display:none}
#bans .ban-register-table .ban-id-code{display:inline-block;width:auto;max-width:100%;padding:3px 8px;font-size:11px;border:1px solid #496245;background:#10271f;color:#d5c38d}
#bans .ban-state-pill{display:inline-block;padding:4px 11px;border:1px solid #6c8059;border-radius:20px;background:#1f3a2b;color:#d6e4cd;font-size:11px;font-weight:700;white-space:normal}#bans .ban-state-pill.is-active{background:#4a3328;border-color:#a1784f;color:#f2d29b}
#bans .ban-ticket-link{display:flex;flex-wrap:wrap;gap:6px;margin:3px 0 7px;white-space:normal;font-size:12px}
#bans .ban-action-row{display:flex;flex-wrap:wrap;gap:9px;width:100%;max-width:none;align-items:center;justify-content:flex-start}#bans .ban-action-row>button,#bans .ban-action-row>a{width:auto;min-width:90px!important;min-height:39px;font-size:12px!important;padding:9px 15px!important;margin:0!important}
#bans .ban-summary{gap:10px}#bans .ban-summary article{padding:14px;border-radius:11px}#bans .ban-summary small{font-size:10px}#bans .ban-summary strong{font-size:27px}
#bans .ban-register-tools input{font-size:13px;border-radius:8px;padding:12px}#bans .ban-register-tabs{gap:8px}#bans .ban-register-tabs button{border-radius:8px;min-height:40px;font-size:12px}#bans .ban-pagination{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;font-size:12px;padding:12px 0}
#bans .ban-register-table tbody tr:has(td[colspan]){display:block;padding:22px}#bans .ban-register-table td[colspan]:before{display:none}
@media(max-width:600px){#bans .ban-register-table tbody tr{gap:11px 13px;padding:16px}#bans .ban-register-table td:nth-child(2){font-size:17px}#bans .ban-summary{grid-template-columns:repeat(2,minmax(0,1fr))}#bans .ban-register-tools{flex-wrap:wrap}#bans .ban-register-tools input{flex-basis:100%}#bans .ban-action-row>button{flex:1;min-width:75px!important;padding:9px!important}#bans .ban-register-table td{font-size:12px}}