You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

142 lines
3.7 KiB

body {
background: linear-gradient(135deg, rgba(15, 14, 31, 0.3), rgba(80, 66, 100, 0.3), rgba(150, 120, 180, 0.3));
font-family: Arial, sans-serif;
}
.form-container {
max-width: 800px;
margin: 50px auto;
padding: 20px;
background: #fff;
border: 1px solid #ddd;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
background: linear-gradient(135deg, #581845, #003D5B, #862858);
color: white;
}
.form-container h2 {
text-align: center;
color: #6B6E6E;
font-weight: bold;
margin-bottom: 20px;
}
.form-group label {
font-weight: bold;
color: #5f6368;
}
.form-control {
border-radius: 5px;
font-size: 14px;
width: 100%;
padding: 12px;
height: 50px;
background-color: #F1F2F1; /* Couleur de fond par défaut */
border: 1px solid #ccc; /* Bordure claire par défaut */
transition: all 0.3s ease; /* Animation fluide pour tous les changements */
}
.form-control:hover {
background-color: #FEFEFA; /* Changement de fond au survol */
border-color: #1a73e8; /* Changement de bordure avec une couleur plus vive */
box-shadow: 0 4px 8px rgba(26, 115, 232, 0.3); /* Ombre portée pour l'effet dynamique */
transform: scale(1.05); /* Légère augmentation de la taille pour l'effet de zoom */
}
.btn-primary {
display: flex;
margin-right: 20px;
background: linear-gradient(135deg, #0d224b, #2f1e79);
color: #b5bcc4;
border: none;
border-radius: 8px;
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-primary:hover {
transform: scale(1.05);
background: linear-gradient(135deg, #0e316e, #241058);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
}
.btn-secondary {
display: flex;
margin-right: 20px;
background: linear-gradient(to right, #551255, #50150f);
color: #e4dede;
border: none;
border-radius: 8px;
padding: 10px 20px;
font-size: 16px;
font-weight: bold;
cursor: pointer;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-secondary:hover {
transform: scale(1.05);
background: linear-gradient(to right, #570f57, #531109);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.4);
color: #fffcfc;
}
.container {
display: flex;
flex-direction: row;
gap: 50px;
align-items: center;
justify-content: center;
margin-top: 50px;
width: inherit; Ajout d'un espace au-dessus
}
.row .col-md-6 {
padding-left: 10px;
padding-right: 10px;
}
h2{
color: #202124;
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-style: normal;
}
.custom-select-container {
position: relative;
width: 100%;
}
/* Personnalisation de la flèche */
.custom-select {
appearance: none; /* Enlever le style par défaut */
-webkit-appearance: none; /* Pour Safari */
-moz-appearance: none; /* Pour Firefox */
background: #ffffff; /* Couleur de fond */
border: 1px solid #ccc; /* Bordure */
padding: 10px 40px 10px 10px; /* Ajustement des marges */
font-size: 16px;
border-radius: 5px;
width: 100%;
box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Ombre */
transition: border-color 0.3s ease-in-out;
}
/* Ajouter une flèche */
.custom-select::after {
content: "▼"; /* Code de la flèche */
position: absolute;
top: 50%;
right: 10px;
transform: translateY(-50%);
font-size: 14px;
color: #888; /* Couleur de la flèche */
pointer-events: none; /* Rendre non cliquable */
}
/* Interaction au survol */
.custom-select:hover,
.custom-select:focus {
border-color: #007BFF; /* Bordure en bleu au focus */
outline: none;
}