add login css

This commit is contained in:
2025-03-26 18:56:32 +01:00
parent 5b31afe52e
commit 97e0b4d714
3 changed files with 11940 additions and 12 deletions

11848
css/index.css Normal file

File diff suppressed because it is too large Load Diff

57
css/main.css Normal file
View File

@@ -0,0 +1,57 @@
img.card {
filter: blur(1px);
&:hover {
filter: blur(0);
transition: all 0.3s ease;
}
}
.hero:hover {
transform: scale(1.05);
transition: all 0.3s ease;
z-index: 999;
}
.help-container{
width: 50%;
}
.home-card {
height: 40vh;
}
@media screen and (max-width: 992px) {
.help-container{
width: 100%;
}
.home-card {
height: 20vh;
}
}
input[type="submit"].form-control:hover {
background-color: var(--bs-secondary);
color: white;
transition: all 0.3s ease;
}
#connexion:hover, #seeProfile:hover {
background-color: var(--bs-primary);
&> i {
padding-right: 10px;
transition: all 0.3s ease;
}
}
input:focus {
box-shadow: none !important;
}
textarea {
resize: none !important;
}
.card:not(.help){
margin-left: 25%;
margin-right: 25%;
}

View File

@@ -1,21 +1,44 @@
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Connexion au LDAP</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="../css/index.css">
<link rel="stylesheet" href="../css/main.css">
</head>
<body>
<form method="post" action="">
<label for="domain">Domaine :</label>
<input id="domain" name="domain" type="text" value="woodywood" required>
<br/>
<label for="user">Utilisateur :</label>
<input id="user" name="user" type="text" placeholder="Utilisateur" required>
<br/>
<label for="password">Mot de passe :</label>
<input id="password" name="password" type="password" placeholder="Mot de passe" required>
<br/>
<input type="submit" value="Envoyer"/>
</form>
<div class="row">
<form class="form bg-primary col-lg-4 col-10 rounded position-absolute top-50 start-50 translate-middle"
method="post" action="">
<h2 class="text-center pt-3">Authentification</h2>
<label class="form-label" for="domain"></label>
<div class="d-flex justify-content-center bg-secondary rounded p-1">
<i class="fa-solid fa-at fa-xl mx-1" style="transform: translateY(50%);"></i>
<input class="form-control bg-secondary border-0" type="text" id="domain" name="domain"
value="woodywood" style="width: 90%;" required>
</div>
<label class="form-label" for="user"></label>
<div class="d-flex justify-content-center bg-secondary rounded p-1">
<i class="fa-solid fa-at fa-xl mx-1" style="transform: translateY(50%);"></i>
<input class="form-control bg-secondary border-0" type="text" id="user" name="user"
placeholder="Nom d'utilisateur" style="width: 90%;" required>
</div>
<label class="form-label" for="password"></label>
<div class="d-flex justify-content-center bg-secondary rounded p-1">
<i class="fa-solid fa-lock fa-xl mx-1" style="transform: translateY(50%);"></i>
<input class="form-control bg-secondary border-0" type="password" id="password" name="password"
placeholder="Mot de passe" style="width: 90%;" required>
</div>
<input class="form-control my-3" type="submit" value="Connexion">
</form>
</div>
</body>
</html>