Barre du haut : bouton, logo et titre au pixel près d'Up And Down
Marges et espacement de la barre (0.9rem, 0.4rem), bouton de l'explorateur 28 px, logo 32 px sans liseré, titre 700 16px/1.45, séparateur avant le chemin. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LNfwm55eC2fDs4xBddm2wG
This commit is contained in:
2 files changed
+21
-9
No files matched your search
@@ -561,7 +561,7 @@ export default function App() {
|
|||||||
>
|
>
|
||||||
<header className="topbar">
|
<header className="topbar">
|
||||||
<button
|
<button
|
||||||
className={`ex-btn square ${drawerOpen ? "active" : ""}`}
|
className={`ex-btn square menu-btn ${drawerOpen ? "active" : ""}`}
|
||||||
aria-label="Afficher/masquer l'explorateur"
|
aria-label="Afficher/masquer l'explorateur"
|
||||||
aria-pressed={drawerOpen}
|
aria-pressed={drawerOpen}
|
||||||
title="Explorateur"
|
title="Explorateur"
|
||||||
|
|||||||
+20
-8
@@ -290,9 +290,9 @@ button.danger:hover:not(:disabled) {
|
|||||||
grid-column: 1 / -1;
|
grid-column: 1 / -1;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 0.4rem; /* marges et espacements d'Up And Down */
|
||||||
padding: 0 8px;
|
padding: 0 0.9rem;
|
||||||
padding-left: max(8px, env(safe-area-inset-left));
|
padding-left: max(0.9rem, env(safe-area-inset-left));
|
||||||
border-bottom: 1px solid var(--border);
|
border-bottom: 1px solid var(--border);
|
||||||
background: var(--panel);
|
background: var(--panel);
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
@@ -319,6 +319,9 @@ button.danger:hover:not(:disabled) {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
margin-left: 0.6rem;
|
||||||
|
padding-left: 0.6rem;
|
||||||
|
border-left: 1px solid var(--border);
|
||||||
}
|
}
|
||||||
.topbar .path .seg {
|
.topbar .path .seg {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -362,22 +365,31 @@ button.danger:hover:not(:disabled) {
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 0.55rem;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
max-width: 40%;
|
max-width: 40%;
|
||||||
flex: none;
|
flex: none;
|
||||||
border: none;
|
border: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 2px 6px 2px 2px;
|
padding: 0;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
font: 600 15px/1.2 var(--ex-font);
|
/* Même police, taille, graisse et interligne que dans Up And Down (.brand). */
|
||||||
|
font: 700 16px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
border-radius: var(--ex-radius-lg);
|
border-radius: var(--ex-radius-lg);
|
||||||
}
|
}
|
||||||
/* Titre : même police, taille et graisse que dans Up And Down (.brand). */
|
/* Bouton de l'explorateur et logo : dimensions d'Up And Down (28 px, 32 px). */
|
||||||
|
.topbar .menu-btn {
|
||||||
|
flex: none;
|
||||||
|
width: 28px;
|
||||||
|
height: 28px;
|
||||||
|
}
|
||||||
|
.brand .logo {
|
||||||
|
--logo-size: 32px;
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
.brand-title {
|
.brand-title {
|
||||||
font: 700 16px/1.2 Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
Reference in new issue
Block a user