This commit is contained in:
2026-04-03 15:53:32 +02:00
parent 23b73512e6
commit 0ceb856272
2 changed files with 20 additions and 4 deletions

View File

@@ -14,6 +14,7 @@
<div class="content"> <div class="content">
<div class="recette-add-form-all"> <div class="recette-add-form-all">
<form class="recette-form recette-form-add" action="/api/recettes/create.php" method="POST"> <form class="recette-form recette-form-add" action="/api/recettes/create.php" method="POST">
<legend><h1>Nouvelle Recette : </h1></legend>
<div class="recette-form-group form-group"> <div class="recette-form-group form-group">
<label for="nom">Titre : </label> <label for="nom">Titre : </label>
<input type="texte" class="form-control" id="recette-form-nom" name="nom" placeholder="Titre de votre recette"> <input type="texte" class="form-control" id="recette-form-nom" name="nom" placeholder="Titre de votre recette">
@@ -55,6 +56,7 @@
</form> </form>
<div class="recette-form-add-additional"> <div class="recette-form-add-additional">
<form id="recette-form-ingr-add" class="recette-form recette-form-add-ingr" action="" method="POST"> <form id="recette-form-ingr-add" class="recette-form recette-form-add-ingr" action="" method="POST">
<legend><h2>Nouvelle Ingrédient :</h2></legend>
<div class="recette-form-group form-group"> <div class="recette-form-group form-group">
<label for="name">Nom de l'Ingrédient</label> <label for="name">Nom de l'Ingrédient</label>
<input type="texte" class="form-control" id="recette-form-ingr-nom" name="name" placeholder="Nom de l'ingrédient" value=""> <input type="texte" class="form-control" id="recette-form-ingr-nom" name="name" placeholder="Nom de l'ingrédient" value="">
@@ -70,6 +72,7 @@
</div> </div>
</form> </form>
<form id="recette-form-tag-add" class="recette-form recette-form-add-tag" action="" method="POST"> <form id="recette-form-tag-add" class="recette-form recette-form-add-tag" action="" method="POST">
<legend><h2>Nouveau Tag : </h2></legend>
<div class="recette-form-group form-group"> <div class="recette-form-group form-group">
<label for="tag">Tags</label> <label for="tag">Tags</label>
<input type="texte" class="form-control" id="recette-form-tag" name="tag" placeholder="Nom de l'ingrédient"> <input type="texte" class="form-control" id="recette-form-tag" name="tag" placeholder="Nom de l'ingrédient">

View File

@@ -57,7 +57,7 @@ nav {
padding: 10px; padding: 10px;
} }
.nav-list { .nav-list{
list-style-type: none; list-style-type: none;
margin: 0; margin: 0;
padding: 0; padding: 0;
@@ -67,6 +67,15 @@ nav {
border-radius: 40px; border-radius: 40px;
} }
.nav-list li {
/*border: 1px solid black;*/
border-radius: 2000px;
}
.nav-list li:hover {
background-color: #00d8a2;
}
.nav-element { .nav-element {
line-height: 2.5; line-height: 2.5;
@@ -85,12 +94,13 @@ nav {
#login { #login {
border: 1px solid black; border: 1px solid black;
border-radius: 6px; border-radius: 2000px;
background-color: #ffc478; background-color: #ffc478;
} }
#login:hover { #login:hover {
background-color: #0bbd90; background-color: #0bbd90;
box-shadow: 1px 1px 7px black;
} }
/*Body et son contenu */ /*Body et son contenu */
@@ -191,6 +201,7 @@ nav {
background-clip: border-box; background-clip: border-box;
padding-right: 2%; padding-right: 2%;
padding-left: 2%; padding-left: 2%;
padding-bottom: 5px;
overflow: hidden; overflow: hidden;
} }
@@ -449,6 +460,7 @@ ul {
.btn:hover { .btn:hover {
background-color: #0bbd90; background-color: #0bbd90;
box-shadow: none;
} }
.form-control { .form-control {
@@ -466,8 +478,9 @@ ul {
margin: 10px; margin: 10px;
padding: 10px; padding: 10px;
border: 1px solid black; border: 1px solid black;
background: white; background: #fff9f1;
border-radius: 20px; border-radius: 20px;
box-shadow: 2px 2px 3px #a06100;
} }
.recette-form-group { .recette-form-group {
@@ -477,7 +490,7 @@ ul {
} }
#recette-form-div-desc { #recette-form-div-desc {
height: 300px; height: 220px;
} }
#recette-form-description { #recette-form-description {