Add rules language support and improve password validation across the app
This commit is contained in:
@@ -414,3 +414,39 @@ h4 { margin: 0.75rem 0 0.25rem 0; font-size: 0.95rem; }
|
||||
|
||||
input[disabled],
|
||||
button[disabled] { opacity: 0.55; cursor: not-allowed; }
|
||||
|
||||
/* Rules table: keep long rule texts readable, but cap column widths so a
|
||||
single long row can't blow up the layout. */
|
||||
.rules-table { table-layout: fixed; width: 100%; }
|
||||
.rules-table th, .rules-table td { white-space: normal; vertical-align: top; }
|
||||
.rules-table th.col-num,
|
||||
.rules-table td.col-num { width: 8rem; }
|
||||
.rules-table th.col-suggested,
|
||||
.rules-table td.col-suggested { width: 14rem; }
|
||||
.rules-table th.col-escalation,
|
||||
.rules-table td.col-escalation { width: 16rem; }
|
||||
.rules-table td .rule-num {
|
||||
display: inline-block;
|
||||
color: var(--accent);
|
||||
font-weight: 700;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
font-size: 0.8rem;
|
||||
background: rgba(43, 108, 176, 0.08);
|
||||
padding: 0.1rem 0.4rem;
|
||||
border-radius: var(--radius);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.wrap-cell {
|
||||
word-break: break-word;
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
line-height: 1.35;
|
||||
}
|
||||
@media (max-width: 700px) {
|
||||
.rules-table th.col-num,
|
||||
.rules-table td.col-num { width: 5rem; }
|
||||
.rules-table th.col-suggested,
|
||||
.rules-table td.col-suggested { width: 9rem; }
|
||||
.rules-table th.col-escalation,
|
||||
.rules-table td.col-escalation { width: 10rem; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user