From c9f15289d0db8b8f27b1592be5f601e04d35a5cf Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Sat, 10 Jan 2026 16:39:29 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20d'un=20padding=20=C3=A0=20la=20liste=20?= =?UTF-8?q?des=20pistes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Ajout d'un padding de 10px à gauche et à droite dans la liste des pistes pour améliorer l'espacement et l'alignement visuel. --- .../components/pmocontrol/CurrentTrack.vue | 1 + pmoapp/webapp/src/style.css | 106 +++++++++--------- 2 files changed, 55 insertions(+), 52 deletions(-) diff --git a/pmoapp/webapp/src/components/pmocontrol/CurrentTrack.vue b/pmoapp/webapp/src/components/pmocontrol/CurrentTrack.vue index 3a30ca90..548bd5a0 100644 --- a/pmoapp/webapp/src/components/pmocontrol/CurrentTrack.vue +++ b/pmoapp/webapp/src/components/pmocontrol/CurrentTrack.vue @@ -356,6 +356,7 @@ async function handleProgressBarClick(event: MouseEvent) { display: flex; flex-direction: column; gap: var(--spacing-xs); + padding: 0 10px; } .progress-bar { diff --git a/pmoapp/webapp/src/style.css b/pmoapp/webapp/src/style.css index be0def4e..8167e82c 100644 --- a/pmoapp/webapp/src/style.css +++ b/pmoapp/webapp/src/style.css @@ -1,84 +1,86 @@ :root { - font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; - line-height: 1.5; - font-weight: 400; + font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; + line-height: 1.5; + font-weight: 400; - color-scheme: light dark; - color: rgba(255, 255, 255, 0.87); - background-color: #242424; + color-scheme: light dark; + color: rgba(255, 255, 255, 0.87); + background-color: #242424; - font-synthesis: none; - text-rendering: optimizeLegibility; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; + font-synthesis: none; + text-rendering: optimizeLegibility; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } a { - font-weight: 500; - color: #646cff; - text-decoration: inherit; + font-weight: 500; + color: #646cff; + text-decoration: inherit; } a:hover { - color: #535bf2; + color: #535bf2; } body { - margin: 0; - display: flex; - flex-direction: column; - min-width: 320px; - min-height: 100vh; - width: 100%; - overflow-x: hidden; + margin: 0; + display: flex; + flex-direction: column; + min-width: 320px; + min-height: 100vh; + width: 100%; + overflow-x: hidden; } h1 { - font-size: 3.2em; - line-height: 1.1; + font-size: 3.2em; + line-height: 1.1; } button { - border-radius: 8px; - border: 1px solid transparent; - padding: 0.6em 1.2em; - font-size: 1em; - font-weight: 500; - font-family: inherit; - background-color: #1a1a1a; - cursor: pointer; - transition: border-color 0.25s; + border-radius: 8px; + border: 1px solid transparent; + padding: 0.6em 1.2em; + font-size: 1em; + font-weight: 500; + font-family: inherit; + background-color: #1a1a1a; + cursor: pointer; + transition: border-color 0.25s; } button:hover { - border-color: #646cff; + border-color: #646cff; } button:focus, button:focus-visible { - outline: 4px auto -webkit-focus-ring-color; + outline: 4px auto -webkit-focus-ring-color; } .card { - padding: 2em; + padding: 2em; } #app { - width: 100%; - min-height: 100vh; - margin: 0; - padding: 0; - box-sizing: border-box; - display: flex; - flex-direction: column; + width: 100%; + min-height: 100vh; + margin: 0; + padding: 0; + box-sizing: border-box; + display: flex; + flex-direction: column; + zoom: 0.85; + transform-origin: top left; } @media (prefers-color-scheme: light) { - :root { - color: #213547; - background-color: #ffffff; - } - a:hover { - color: #747bff; - } - button { - background-color: #f9f9f9; - } + :root { + color: #213547; + background-color: #ffffff; + } + a:hover { + color: #747bff; + } + button { + background-color: #f9f9f9; + } }