major navbar overhaul: .btn-primary.btn-xl now reads CONT GAME and links to the user's most recently active game; log out functionality transferred to new BYE .btn-abandon abutting login spans; tooltips for each asserted via new FTs.test_navbar methods to appear w.in visible area
This commit is contained in:
@@ -41,7 +41,19 @@ body {
|
||||
gap: 1rem;
|
||||
margin-right: 0.5rem;
|
||||
|
||||
> form { flex-shrink: 0; margin-left: auto; }
|
||||
.navbar-user {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.25rem;
|
||||
|
||||
.navbar-text { flex: none; } // prevent expansion; BYE abuts the spans
|
||||
> form { flex-shrink: 0; order: -1; } // BYE left of spans
|
||||
}
|
||||
|
||||
> #id_cont_game { flex-shrink: 0; }
|
||||
}
|
||||
|
||||
.navbar-text,
|
||||
@@ -211,7 +223,15 @@ body {
|
||||
gap: 1rem;
|
||||
padding: 0 0.25rem;
|
||||
|
||||
> form { flex-shrink: 0; order: -1; } // logout above brand
|
||||
> #id_cont_game { flex-shrink: 0; order: -1; } // cont-game above brand
|
||||
|
||||
.navbar-user {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
.navbar-text { margin: 0; } // cancel landscape margin:auto so BYE abuts
|
||||
> form { order: 0; .btn { margin-top: 0; } } // abut spans
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-brand h1 {
|
||||
|
||||
Reference in New Issue
Block a user