From ce6008ffeeff906bf56513515d5a1cb86de110ea Mon Sep 17 00:00:00 2001 From: Olivier Legat Date: Thu, 11 Mar 2021 10:12:58 +0100 Subject: [PATCH] center popups quisommesnous --- public/css/style.css | 3 +-- resources/sass/who.scss | 14 +++++++------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/public/css/style.css b/public/css/style.css index 4ac42d2..401bbf6 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1480,7 +1480,7 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea .popup-detail { flex-direction: column; - position: absolute; + position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); @@ -1528,7 +1528,6 @@ header .right-menu-mobile #svg-connect:hover, header .right-menu-mobile #svg-sea @media only screen and (min-width: 768px) { .popup-detail { width: 600px; - transform: translate(-50%, -10%); } .values .blocs-values { diff --git a/resources/sass/who.scss b/resources/sass/who.scss index 27cdc80..dd73210 100644 --- a/resources/sass/who.scss +++ b/resources/sass/who.scss @@ -86,7 +86,7 @@ .popup-detail{ flex-direction: column; - position: absolute; + position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 300px; @@ -137,7 +137,7 @@ @media only screen and (min-width:768px) { .popup-detail{ width: 600px; - transform: translate(-50%, -10%); + //transform: translate(-50%, -10%); } .values .blocs-values {grid-template-columns: repeat(2, 1fr);} @@ -166,13 +166,13 @@ flex-direction: row; justify-content: center; margin: 35px 0; - + .fils{ height: 3px; width: auto; } .event-container{ - + span{ left: 50%; top: -25%; transform: translate(-50%, -50%); @@ -191,7 +191,7 @@ .values .blocs-values {grid-template-columns: repeat(3, 1fr);} .values .blocs-values .bloc{height: 285px;} - + } // ******** @@ -221,7 +221,7 @@ // ********* * // ***** * // ** * -// ** * +// ** * // ********** * // * * // ********* * @@ -233,4 +233,4 @@ // ************ @media only screen and (min-width: 1920px) { .values .blocs-values .bloc{height: 320px;} -} \ No newline at end of file +}