add form style

This commit is contained in:
p2405951 committed 2025-10-24 11:45:59 +02:00
1 parent 387b2c32cf
commit fef249acd3
8 files changed
+177 -157

No files matched your search

+5 -3
View File
@@ -1,6 +1,6 @@
import styles from "./LoginPage.module.css";
import LoginForm from "../../components/form.jsx";
import Background from "../../components/background.jsx";
import LoginForm from "../../components/form/form.jsx";
import Background from "../../components/background/background.jsx";
function LoginPage() {
return (
@@ -12,4 +12,6 @@ function LoginPage() {
);
}
export default LoginPage;
export default LoginPage;
+6 -102
View File
@@ -1,111 +1,15 @@
* {
margin: 0;
padding: 0;
width:100%;
box-sizing: border-box;
}
.container {
position: relative;
z-index: 2;
display: flex;
width: 100%;
height: 100vh;
width: 30%;
overflow: hidden;
max-height: 80%;
justify-content: center;
align-items: center;
padding: 20px;
border: 1px solid #ccc;
}
.login-form {
display: flex;
flex-direction: column;
padding: 40px 20px;
width: 25%;
max-width: 400px;
background-color: rgb(232, 229, 229);
opacity: 0.85;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-group {
margin-bottom: 30px;
}
label{
color:red;
}
input {
width: 100%;
padding: 15px 10px 5px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
h1 {
text-align: center;
color: orange;
margin-bottom: 20px;
}
.login-button {
padding: 10px;
background-color: rgb(125, 117, 133);
color: white;
border: none;
border-radius: 4px;
cursor: pointer;
font-size: 16px;
margin-top: 100px;
}
/* BACKGROUND ////////////////////////////////////////////////////////*/
.background-container {
margin: 0;
padding: 0;
min-height: 100vh;
background: linear-gradient(135deg, #ff9500, #ffb347);
overflow: hidden;
position: relative;
width: 100vw;
border-radius:12px;
}
.circle {
position: absolute;
border-radius: 50%;
opacity: 0.8;
z-index: 1; /* Place les cercles sous le contenu */
}
.circle-1 {
width: 600px;
height: 600px;
background-color: rgba(255, 255, 204, 0.6);
top: -10%;
left: -10%;
}
.circle-2 {
width: 250px;
height: 250px;
background-color: rgba(255, 255, 153, 0.829);
top: 51%;
left: 10%;
}
.circle-3 {
width: 280px;
height: 280px;
background-color: rgba(255, 255, 204, 0.439);
top: 17%;
right: 9%;
}
.circle-4 {
width: 500px;
height: 500px;
background-color: rgb(244, 244, 172);
bottom: 0%;
right: 0%;
}
.circle-5 {
width: 240px;
height: 240px;
background-color: rgba(240, 240, 41, 0.827);
top: 2%;
right: 2%;
}