Compact chat view and unify header controls
This commit is contained in:
+18
-12
@@ -1,26 +1,32 @@
|
||||
/* Persistent language choice, also available before login. */
|
||||
.language-switch {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 4px;
|
||||
max-width: 1100px;
|
||||
margin: 8px auto 0;
|
||||
padding: 0 20px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 auto;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.language-switch a {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
width: 38px;
|
||||
height: 36px;
|
||||
border: 1px solid var(--border, #30363d);
|
||||
border-radius: 6px;
|
||||
border-radius: 8px;
|
||||
color: var(--text, #222);
|
||||
font-weight: 700;
|
||||
font-family: system-ui, sans-serif;
|
||||
font-size: 1.2rem;
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
}
|
||||
.language-switch a.active { background: #922525; color: #fff; border-color: #c74747; }
|
||||
.language-switch a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
|
||||
.header-actions .language-switch { margin: 0; padding: 0; }
|
||||
|
||||
.detail-topbar .language-switch { margin: 0 0 0 auto; padding: 0; }
|
||||
.language-switch a:hover { background: #7f1d1d; }
|
||||
.header-controls { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; }
|
||||
.header-controls .user-menu { margin-left: 0; }
|
||||
.header-inner > .language-switch { margin-left: auto; }
|
||||
.header-actions > .header-controls { flex: 0 0 auto; }
|
||||
.detail-topbar > .header-controls { flex: 0 0 auto; }
|
||||
.registration-header { display: flex; justify-content: flex-end; margin: -36px 0 12px; }
|
||||
|
||||
Reference in New Issue
Block a user