From 72d80099bd9b8823175e472c0f440d2726515434 Mon Sep 17 00:00:00 2001 From: jeremy twardowski Date: Mon, 9 Oct 2023 18:09:59 +0200 Subject: [PATCH] modif dropdown style --- css/dropdown.css | 13 ++++++++----- css/form.css | 8 ++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/css/dropdown.css b/css/dropdown.css index fa3100bec7..36df63e256 100644 --- a/css/dropdown.css +++ b/css/dropdown.css @@ -60,12 +60,15 @@ color: white; } -.dropdown__list-item::after { - border: solid 50px blue; + +#option-1::before, #option-2::before, #option-3::before{ + border: solid 1px white; + content: ''; position: absolute; - top: 10px; - left: 10px; - z-index: 3; + left: 10%; + margin-top: -10px; + width: 80%; + z-index: 4; } #dropdown__selected { diff --git a/css/form.css b/css/form.css index 18f4c015e9..9278a9e588 100644 --- a/css/form.css +++ b/css/form.css @@ -5,7 +5,7 @@ position: fixed; top: 0; left: 0; - z-index: 2; + z-index: 3; } .modal { @@ -20,7 +20,7 @@ top: 8%; left: 32.5%; width: 35%; - z-index: 2; + z-index: 3; } #form-header { @@ -38,9 +38,9 @@ right: 20px; } -#form-header h2 { +#modal-title { display: flex; - font-size: 40px; + font-size: 35px; font-weight: normal; }