diff --git a/client/public/code-book.html b/client/public/code-book.html index de0641b..562dd6a 100644 --- a/client/public/code-book.html +++ b/client/public/code-book.html @@ -239,12 +239,16 @@ border-color: rgba(16, 185, 129, 0.3); } + .auth-table-wrapper { + overflow-x: auto; + position: relative; + } + .auth-table { font-family: 'Courier New', monospace; font-size: 0.75rem; margin: 1rem 0; width: 100%; - overflow-x: auto; } .auth-table table { @@ -263,12 +267,26 @@ } .auth-table th { - background: rgba(255, 255, 255, 0.1); + background: #465570; font-weight: 600; } - .auth-table td.highlight, - .auth-table th.highlight { + .auth-table th.row-header { + position: sticky; + left: 0; + z-index: 10; + background: #465570; + } + + .auth-table th.row-header.highlight { + background: rgba(255, 255, 255, 0.3); + } + + .auth-table th.col-header.highlight { + background: rgba(255, 255, 255, 0.3); + } + + .auth-table td.highlight { background: rgba(255, 255, 255, 0.25); } @@ -478,16 +496,24 @@ } .hotp-row { - flex-wrap: wrap; + flex-direction: column; } .hotp-row button { - flex: 1 1 100%; + width: 100%; + order: 2; } .hotp-challenge-response { flex: 1 1 100%; + width: 100%; flex-wrap: nowrap; + order: 1; + } + + .hotp-challenge-response > div { + flex: 1; + min-width: 0; } .ascii-search-grid { @@ -555,6 +581,20 @@ .ascii-tables-grid { grid-template-columns: repeat(4, 1fr); } + + .hotp-row { + flex-direction: row; + } + + .hotp-row button { + width: auto; + order: 0; + } + + .hotp-challenge-response { + order: 0; + width: auto; + } } @media (min-width: 1200px) { @@ -569,14 +609,7 @@
-