Skip to content
Snippets Groups Projects
Commit 93692546 authored by LAMRINI Houda's avatar LAMRINI Houda
Browse files

Edit index.html

parent 0ca3b9e3
No related branches found
No related tags found
No related merge requests found
Pipeline #47327 failed
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Test de Force de Mot de Passe</title> <title>Test de Force de Mot de Passe</title>
<style> <style>
/* Style général */
body { body {
font-family: Arial, sans-serif; font-family: Arial, sans-serif;
background-color: #f4f4f4; background-color: #f4f4f4;
...@@ -14,6 +15,7 @@ ...@@ -14,6 +15,7 @@
height: 100vh; height: 100vh;
margin: 0; margin: 0;
} }
.container { .container {
background: white; background: white;
padding: 20px; padding: 20px;
...@@ -21,35 +23,44 @@ ...@@ -21,35 +23,44 @@
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
text-align: center; text-align: center;
width: 350px; width: 350px;
box-sizing: border-box; /* S'assurer que la largeur ne dépasse pas */
} }
h1 { h1 {
color: #333; color: #333;
} }
label { label {
font-size: 16px; font-size: 16px;
font-weight: bold; font-weight: bold;
display: block; display: block;
margin-bottom: 5px; margin-bottom: 5px;
} }
.input-container { .input-container {
position: relative; position: relative;
width: 100%; width: 100%;
} }
/* Ajout de box-sizing */
input { input {
width: 100%; width: 100%;
padding: 10px; padding: 10px;
padding-right: 40px; padding-right: 40px; /* Laisser de l'espace pour l'icône */
margin: 10px 0; margin: 10px 0;
border: 1px solid #ccc; border: 1px solid #ccc;
border-radius: 5px; border-radius: 5px;
font-size: 16px; font-size: 16px;
box-sizing: border-box; /* Important pour que les bordures et le padding ne fassent pas dépasser l'élément */
transition: all 0.3s; transition: all 0.3s;
} }
input:focus { input:focus {
border-color: #007bff; border-color: #007bff;
box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5); box-shadow: 0px 0px 5px rgba(0, 123, 255, 0.5);
outline: none; outline: none;
} }
.toggle-password { .toggle-password {
position: absolute; position: absolute;
right: 10px; right: 10px;
...@@ -59,6 +70,7 @@ ...@@ -59,6 +70,7 @@
color: #555; color: #555;
font-size: 18px; font-size: 18px;
} }
button { button {
background-color: #007bff; background-color: #007bff;
color: white; color: white;
...@@ -68,10 +80,13 @@ ...@@ -68,10 +80,13 @@
cursor: pointer; cursor: pointer;
font-size: 16px; font-size: 16px;
width: 100%; width: 100%;
box-sizing: border-box; /* S'assurer que le bouton reste bien dans le conteneur */
} }
button:hover { button:hover {
background-color: #0056b3; background-color: #0056b3;
} }
.result { .result {
margin-top: 15px; margin-top: 15px;
font-size: 18px; font-size: 18px;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment