From e18eb42cddc8c4970c65ab5e43f4ffd29aaa76fa Mon Sep 17 00:00:00 2001 From: "barraux.a" Date: Mon, 13 Dec 2021 09:14:28 +0100 Subject: [PATCH] sauvegarde --- css/style.css | 20 +++++++++++++++----- prof/include/champ.php | 6 +----- prof/index.php | 10 +++++++--- 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/css/style.css b/css/style.css index 12c5a9c..f85ab6f 100644 --- a/css/style.css +++ b/css/style.css @@ -127,7 +127,17 @@ form { background-color: #82E6AC; } -.help { +.hint { + position: relative; + top: 0; +} + +.hint__int { + position: relative; + width: 100%; +} + +.hint__help { display: none; z-index: 2; position: absolute; @@ -141,18 +151,18 @@ form { background-color: #e5e5e5; font-size: 14px; } -.help:hover { +.hint__help:hover { display: block; } -.help p { +.hint__help p { position: relative; font-size: 14px; } -.help img { +.hint__help img { border-radius: 15px; width: 100%; } -.help code { +.hint__help code { background-color: #aaa; border-radius: 5px; font-family: courier, monospace; diff --git a/prof/include/champ.php b/prof/include/champ.php index df60e48..99f8ec4 100755 --- a/prof/include/champ.php +++ b/prof/include/champ.php @@ -1,9 +1,5 @@ ',$titre,' : '; -if ($help) { - echo 'point_int'; -} -echo '

+echo '

',$titre,' :


check exclamation diff --git a/prof/index.php b/prof/index.php index b8eaea5..7f77207 100755 --- a/prof/index.php +++ b/prof/index.php @@ -48,10 +48,14 @@ include '../sessions/session.php'; $help = true; include("include/champ.php"); ?> -
-

Entrez le nom du bâtiment dans lequel se trouve le matériel


- Ex: bâtiment A +
+ point_int +
+

Entrez le nom du bâtiment dans lequel se trouve le matériel


+ Ex: bâtiment A +
+