From 3e02c431c089db9c3fd678407dfe97dc5b4345f0 Mon Sep 17 00:00:00 2001 From: cherif Date: Fri, 22 Sep 2023 18:50:51 +0200 Subject: [PATCH] 22/09/2023 - 18h53 --- src/components/AddPartnerClient.js | 44 +- src/components/Config_Document.js | 2 +- src/components/DisplayPartnerSession.js | 42 +- src/components/DisplayPartnerStagiaires.js | 9 +- src/components/Employes.js | 87 +- src/components/GestionAdministrative.js | 12 +- src/components/Materiels.js | 58 +- src/components/PartnerClient_Activite.js | 15 +- src/components/Partner_Client.js | 287 +- .../components/_partner_client_activite.scss | 2 +- src/styles/components/_partnerclient.scss | 2531 ++++++++++++++--- 11 files changed, 2532 insertions(+), 557 deletions(-) diff --git a/src/components/AddPartnerClient.js b/src/components/AddPartnerClient.js index 1b1aa95..33b8aef 100644 --- a/src/components/AddPartnerClient.js +++ b/src/components/AddPartnerClient.js @@ -372,7 +372,7 @@ const AddParnerClient = (props) => { const [addcontact, setaddcontact] = useState("0"); function Add_Contact() { setdatamodification_contact("0"); - setformedit_mode_contact("0"); + setformedit_mode_contact("1"); clean_contact_set_values(); setaddcontact("1"); setcurrent_contact_recid(""); @@ -1701,13 +1701,13 @@ const AddParnerClient = (props) => { } else { // Il s'agit d'un ajout d'une nouvelle activité. on a rien dans le current_activite_recid - myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_activite/"; + myurl = process.env.REACT_APP_API_URL + "myclass/api/Add_Contact/"; form.append("related_collection", "partner_client"); form.append("related_collection_owner_email", p_client_email); } - console.log(" ### current_contact_recid = ", current_contact_recid, " myurl = ", myurl) + //console.log(" ### current_contact_recid = ", current_contact_recid, " myurl = ", myurl) // Données de contact du client du partner var contact_email = "" @@ -1952,6 +1952,7 @@ const AddParnerClient = (props) => { Disable_contact_fields(); + setformedit_mode_contact("0"); } else if (String(res.data.status) === String("Err_Connexion")) { @@ -2166,7 +2167,7 @@ const AddParnerClient = (props) => {
-
+ } @@ -2531,15 +2532,15 @@ const AddParnerClient = (props) => { {String(submenu).trim() === "submenu_contact" &&
{String(addcontact) !== "1" &&
-
Ajouter un contact
-
+
Ajouter un contact
+
{Get_List_Contact_Of_client_Part_result && String(Get_List_Contact_Of_client_Part_api) === "true" && Get_List_Contact_Of_client_Part_result.map((client) => (
- {(JSON.parse(client).nom || JSON.parse(client).prenom) && } + {(JSON.parse(client).nom || JSON.parse(client).prenom) && } {JSON.parse(client).fonction && } {JSON.parse(client).email && } {JSON.parse(client).telephone && } @@ -2569,7 +2570,7 @@ const AddParnerClient = (props) => { />
-
+ { String(formedit_mode_contact) === "1" &&
{ InputLabelProps={{ shrink: true, }} + select + disabled={false} + className="disabled_style" + value={p_contact_civilite} + onChange={(e) => setp_contact_civilite(e.target.value)} + + > + Mme.   + M.   + Neutre   + + + +
} + + { String(formedit_mode_contact) !== "1" &&
+ setp_contact_civilite(e.target.value)} /> -
+ +
}
diff --git a/src/components/Config_Document.js b/src/components/Config_Document.js index ac167b2..1ddfd65 100644 --- a/src/components/Config_Document.js +++ b/src/components/Config_Document.js @@ -1930,7 +1930,7 @@ const Config_Documents = (props) => {
-
Choisir un champ fff
+
Choisir un champ
{ { field: 'id', headerName: 'id', hide: true }, { field: '_id', headerName: '_id', hide: true }, { field: 'class_internal_url', headerName: 'class_internal_url', hide: true }, - { field: 'code_session', headerName: 'Code session', hide: false, flex:1 }, + { field: 'code_session', headerName: 'Code session', hide: false, flex: 1 }, { field: 'statut', headerName: 'Statut', hide: true, width: datagrid_columns_size_model2, valueFormatter: (params) => { @@ -147,7 +147,7 @@ const DisplayPartnerSession = (props) => { return "???"; }, }, - { field: 'class_external_code', headerName: 'Code Formation', align: "center", hideable: true, flex:1, hide: true,}, + { field: 'class_external_code', headerName: 'Code Formation', align: "center", hideable: true, flex: 1, hide: true, }, { field: 'date_debut', headerName: 'Debut', hide: false, width: datagrid_columns_size_model2, }, { field: 'date_fin', headerName: 'Fin', hideable: false, width: datagrid_columns_size_model2, }, { @@ -175,7 +175,7 @@ const DisplayPartnerSession = (props) => { { field: 'formateur', headerName: 'Formateur', width: datagrid_columns_size_model1, hide: true, hideable: true, }, { field: 'nb_participant', headerName: 'Nb Parti.', width: datagrid_columns_size_model2, align: "center", }, { - field: 'taux_remplissage', headerName: 'Remplissage', align: "center", flex:1, + field: 'taux_remplissage', headerName: 'Remplissage', align: "center", flex: 1, align: "left", renderCell: (params) => { return ( @@ -199,7 +199,7 @@ const DisplayPartnerSession = (props) => { { field: 'prix_session', headerName: 'Prix', width: datagrid_columns_size_model2, align: "center", }, { field: 'title', headerName: 'Formation', width: datagrid_columns_size_model1, align: "center", hide: true, hideable: true, }, { field: 'domaine', headerName: 'Domaine', width: datagrid_columns_size_model1, align: "center", hide: true, hideable: true, }, - + { field: 'duration', headerName: 'Durée', width: datagrid_columns_size_model2, align: "center", }, { field: "delete", headerName: 'Supprimer', @@ -2468,7 +2468,7 @@ const DisplayPartnerSession = (props) => { } - + var nb_participant = "" @@ -3135,8 +3135,8 @@ const DisplayPartnerSession = (props) => { setaddOneSession(""); setEdite_session(""); submenu_detail_session(); - setedit_session_form(false); - setsubmenu(""); + setedit_session_form(false); + setsubmenu(""); setSelectionModel([]); } @@ -3680,7 +3680,7 @@ const DisplayPartnerSession = (props) => { if (String(result['status']) === String("true")) { setrecord_Stagiaire_Image_api("true"); setuserimgclassprofilchanged(""); - alert(" L'image à jour a été mise enregistrée "); + alert(" L'image a été enregistrée "); } else if (String(result['status']) === String("Err_Connexion")) { alert('Erreur: ' + result['message']); @@ -4279,9 +4279,9 @@ const DisplayPartnerSession = (props) => { return (
-{isLoading &&
-
-
} + {isLoading &&
+
+
} { {GetCurrentPartnerClass_result && GetCurrentPartnerClass_result.map((myclass) => ( - + {JSON.parse(myclass).title} @@ -5476,12 +5476,12 @@ const DisplayPartnerSession = (props) => { value={p_one_session_etape} onChange={(e) => setp_one_session_etape(e.target.value)} > - Projet    - Planification   - Planifiée   - Terminée   - Facturée   - Annulée   + Projet    + Planification   + Planifiée   + Terminée   + Facturée   + Annulée  
@@ -5766,7 +5766,7 @@ const DisplayPartnerSession = (props) => { > {GetAttestation_Certif_result && GetAttestation_Certif_result.map((certificat) => ( - + {JSON.parse(certificat).nom}   
@@ -6643,7 +6643,7 @@ const DisplayPartnerSession = (props) => { {Getall_TrainingSession_result && Getall_TrainingSession_result.map((mysession) => ( + style={{ "paddingLeft": "5px", "textAlign": "left", "width": '100%' }}> {JSON.parse(mysession).code_session}   @@ -6677,7 +6677,7 @@ const DisplayPartnerSession = (props) => { {Get_List_Partner_Clients_result && Get_List_Partner_Clients_result.map((myclient) => ( + style={{ "paddingLeft": "5px", "textAlign": "left", "width": '100%' }}> {JSON.parse(myclient).nom}   diff --git a/src/components/DisplayPartnerStagiaires.js b/src/components/DisplayPartnerStagiaires.js index a60c612..227b6aa 100644 --- a/src/components/DisplayPartnerStagiaires.js +++ b/src/components/DisplayPartnerStagiaires.js @@ -1352,7 +1352,7 @@ const DisplayPartnerStagiaires = (props) => { if (String(result['status']) === String("true")) { setrecord_Stagiaire_Image_api("true"); setuserimgclassprofilchanged(""); - alert(" L'image à jour a été mise enregistrée "); + alert(" L'image a été enregistrée "); } else if (String(result['status']) === String("Err_Connexion")) { alert('Erreur: ' + result['message']); @@ -2063,10 +2063,11 @@ const DisplayPartnerStagiaires = (props) => { if (String(res.data.status) === String("true")) { setOne_Create_Participant_api("true"); setOne_Create_Participant_result(res.data.message); - alert(" Le participant a été correctement ajouté"); setaddOneParticipant(); Getall_TrainingParticipant(); clear_one_Attende_Fields(); + alert(" Le participant a été correctement ajouté"); + myRef_head.current.scrollIntoView({ behavior: "smooth" }); } else if (String(res.data.status) === String("Err_Connexion")) { alert('Erreur: ' + res.data.message); @@ -2082,7 +2083,7 @@ const DisplayPartnerStagiaires = (props) => { console.warn('One_Create_Participant : Not good man :( = ' + error); setOne_Create_Participant_api("false"); - alert(" Impossible d'ajouter le participants") + alert(" Impossible d'ajouter le participant") }) } @@ -3293,7 +3294,7 @@ const DisplayPartnerStagiaires = (props) => { > {GetCurrentPartnerClass_result && GetCurrentPartnerClass_result.map((myclass) => ( - + {JSON.parse(myclass).title} diff --git a/src/components/Employes.js b/src/components/Employes.js index 619492b..2297483 100644 --- a/src/components/Employes.js +++ b/src/components/Employes.js @@ -49,7 +49,7 @@ const Employes = (props) => { const [selectionModel_affectations, setSelectionModel_affectations] = React.useState([]); var date_today_90j = new Date(); - date_today_90j.setDate(date_today_90j.getDate() +90); + date_today_90j.setDate(date_today_90j.getDate() + 90); const [p_filtre1, setp_filtre1] = useState(); @@ -67,11 +67,11 @@ const Employes = (props) => { const columns = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'email', headerName: 'email', width: 150, hideable: false, }, - { field: 'nom', headerName: 'nom', width: 150, hide: false, editable: true }, - { field: 'prenom', headerName: 'prenom', width: 150, hide: false, editable: true }, + { field: 'email', headerName: 'email', flex: 1, hideable: false, }, + { field: 'nom', headerName: 'nom', flex: 1, hide: false, }, + { field: 'prenom', headerName: 'prenom', flex: 1, hide: false, }, { - field: 'ismanager', headerName: 'Manager', width: 150, hide: false, editable: true, + field: 'ismanager', headerName: 'Manager', width: 150, hide: false, valueFormatter: (params) => { if (String(params.value) === "0") return "Non"; @@ -82,9 +82,9 @@ const Employes = (props) => { return String(params.value); }, }, - { field: 'telephone_mobile', headerName: 'Mobile', width: 150, hide: false, editable: true }, + { field: 'telephone_mobile', headerName: 'Mobile', width: 150, hide: false, }, { - field: 'civilite', headerName: 'Civilité', width: 150, hide: false, editable: true, + field: 'civilite', headerName: 'Civilité', width: 150, hide: false, valueFormatter: (params) => { if (String(params.value) === "0") return "Mme"; @@ -96,8 +96,8 @@ const Employes = (props) => { return String(params.value); }, }, - { field: 'profil', headerName: 'profil', width: 150, hide: false, editable: true }, - { field: 'fonction', headerName: 'Fonction', width: 150, hide: false, editable: true }, + { field: 'profil', headerName: 'profil', width: 150, hide: false, }, + { field: 'fonction', headerName: 'Fonction', width: 150, hide: false, }, /* { field: "Detail", headerName: 'Voir detail', @@ -183,11 +183,11 @@ const Employes = (props) => { const columns_employee_affectation = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'poste', headerName: 'Poste', width: 150, hideable: false, }, - { field: 'date_du', headerName: 'Du', width: 150, hide: false, editable: true }, - { field: 'date_au', headerName: 'Au', width: 150, hide: false, editable: true }, - { field: 'related_target_collection_object', headerName: 'Cible', width: 150, hide: false, editable: true }, - { field: 'related_target_collection_id_nom', headerName: 'Cible Nom', width: 150, hide: false, editable: true }, + { field: 'poste', headerName: 'Poste', flex: 1, hideable: false, }, + { field: 'date_du', headerName: 'Du', width: 150, hide: false, }, + { field: 'date_au', headerName: 'Au', width: 150, hide: false, }, + { field: 'related_target_collection_object', headerName: 'Cible', flex: 1, hide: false, }, + { field: 'related_target_collection_id_nom', headerName: 'Cible Nom', flex: 1, hide: false, }, { field: 'target_related_collection', headerName: 'Type', hide: true }, { field: 'target_related_collection_id', headerName: 'Type ID', hide: true }, { @@ -341,7 +341,7 @@ const Employes = (props) => { setAdd_new_affectation(""); clean_affectation_fields(); clean_nouvelle_affectation_fields(); - setsubmenu(""); + var line = JSON.parse(rows_affectations[selected_row_id]); @@ -1289,7 +1289,7 @@ const Employes = (props) => { if (String(result['status']) === String("true")) { setrecord_employee_Image_api("true"); setuserimgclassprofilchanged(""); - alert(" L'image à jour a été mise enregistrée "); + alert(" L'image a été enregistrée "); } else if (String(result['status']) === String("Err_Connexion")) { alert('Erreur: ' + result['message']); @@ -1839,6 +1839,12 @@ const Employes = (props) => { if (String(employee_data_edit_mode) !== "1") disable_Employee_DetailFields(); + setSelectionModel_affectations([]); + setdisplay_affectation("0"); + setAdd_new_affectation(""); + clean_affectation_fields(); + clean_nouvelle_affectation_fields(); + } @@ -1892,7 +1898,11 @@ const Employes = (props) => { document.getElementById("affectation").style.backgroundColor = "#d8edfc"; document.getElementById("affectation").style.color = "black"; } - + setSelectionModel_affectations([]); + setdisplay_affectation("0"); + setAdd_new_affectation(""); + clean_affectation_fields(); + clean_nouvelle_affectation_fields(); } @@ -1948,7 +1958,7 @@ const Employes = (props) => { const [p_one_affect_poste, setp_one_affect_poste] = useState(); const [p_one_affect_date_du, setp_one_affect_date_du] = useState(new Date().toLocaleDateString('fr-FR')); - const [p_one_affect_date_au, setp_one_affect_date_au] = useState(date_today_90j.toLocaleDateString('fr-FR')); + const [p_one_affect_date_au, setp_one_affect_date_au] = useState(date_today_90j.toLocaleDateString('fr-FR')); const [p_one_affect_cible, setp_one_affect_cible] = useState(); const [p_one_affect_cible_nom, setp_one_affect_cible_nom] = useState(); const [p_one_affect_comment, setp_one_affect_comment] = useState(); @@ -2819,19 +2829,23 @@ const Employes = (props) => {
 
-
+ {/*
- - -
+
*/}
{String(submenu) === "detail_employe" && String(add_One_Employee) !== "1" &&
+
+ + + +
+
@@ -3368,6 +3382,11 @@ const Employes = (props) => { {String(submenu) === "detail_employe" && String(add_One_Employee) === "1" &&
+
+ + + +
@@ -3775,7 +3794,12 @@ const Employes = (props) => { {String(submenu) === "affectation" &&
- +
+ + + +
+
@@ -4090,12 +4114,12 @@ const Employes = (props) => { { { {String(submenu) === "droit_acces" &&
+
+ + + +
} diff --git a/src/components/GestionAdministrative.js b/src/components/GestionAdministrative.js index b64f67f..5a2430b 100644 --- a/src/components/GestionAdministrative.js +++ b/src/components/GestionAdministrative.js @@ -4373,7 +4373,6 @@ function GestionAdministrative(props) { if (String(res.data.status) === String("true")) { setOne_Create_Participant_api("true"); setOne_Create_Participant_result(res.data.message); - alert(" Le participant a été correctement ajouté"); setaddOneParticipant("0"); setreduction_session("1"); GetListePreinscrit(mysession); @@ -4381,6 +4380,8 @@ function GestionAdministrative(props) { GetListeEmargement(mysession); GetListeEvaluation(mysession); submenu_inscrit(); + alert(" Le participant a été correctement ajouté"); + myRef_detail_inscrit.current.scrollIntoView({ behavior: "smooth" }); } else if (String(res.data.status) === String("Err_Connexion")) { alert('Erreur: ' + res.data.message); @@ -4476,6 +4477,9 @@ function GestionAdministrative(props) { const [isimgclassSelected_recid, setisimgclassSelected_recid] = useState(""); const [isimgclassSelectedfile, setisimgclassSelectedfile] = useState(false); + + const myRef_detail_inscrit = useRef(null) + const [userimgclassprofil, setuserimgclassprofil] = useState(); const [userimgclassprofilchanged, setuserimgclassprofilchanged] = useState(""); @@ -4650,7 +4654,7 @@ function GestionAdministrative(props) { if (String(result['status']) === String("true")) { setrecord_Stagiaire_Image_api("true"); setuserimgclassprofilchanged(""); - alert(" L'image à jour a été mise enregistrée "); + alert(" L'image a été enregistrée "); } else if (String(result['status']) === String("Err_Connexion")) { alert('Erreur: ' + result['message']); @@ -5987,7 +5991,7 @@ function GestionAdministrative(props) { -
+
@@ -6614,7 +6618,7 @@ function GestionAdministrative(props) { className="disabled_style enable_style" > {status_inscription.map((option) => ( - + {option.label}  
))} diff --git a/src/components/Materiels.js b/src/components/Materiels.js index f4ab2f4..debfcdb 100644 --- a/src/components/Materiels.js +++ b/src/components/Materiels.js @@ -50,7 +50,7 @@ const Materiels = (props) => { var date_today_90j = new Date(); - date_today_90j.setDate(date_today_90j.getDate() +90); + date_today_90j.setDate(date_today_90j.getDate() + 90); const [p_filtre1, setp_filtre1] = useState(); const [p_filtre1_value, setp_filtre1_value] = useState(); @@ -67,12 +67,12 @@ const Materiels = (props) => { const columns = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'ref_interne', headerName: 'Ref. Interne', width: 150, hideable: false, }, - { field: 'nom', headerName: 'Nom', width: 150, hide: false, editable: true }, - { field: 'famille', headerName: 'Famille', width: 150, hide: false, editable: true }, - { field: 'marque', headerName: 'Marque', width: 150, hide: false, editable: true }, - { field: 'type', headerName: 'Type', width: 150, hide: false, editable: true }, - { field: 'fournisseur', headerName: 'Fournisseur', width: 150, hide: false, editable: true }, + { field: 'ref_interne', headerName: 'Ref. Interne', flex: 1, hideable: false, }, + { field: 'nom', headerName: 'Nom', flex: 1, hide: false, }, + { field: 'famille', headerName: 'Famille', flex: 1, hide: false, }, + { field: 'marque', headerName: 'Marque', flex: 1, hide: false, }, + { field: 'type', headerName: 'Type', width: 150, hide: false, }, + { field: 'fournisseur', headerName: 'Fournisseur', flex: 1, hide: false, }, { field: "delete", headerName: 'Supprimer', renderCell: (cellValues) => { @@ -139,11 +139,11 @@ const Materiels = (props) => { const columns_materielle_affectation = [ { field: '_id', headerName: '_id', hide: true }, { field: 'id', headerName: 'id', hide: true }, - { field: 'poste', headerName: 'Poste', width: 150, hideable: false, }, - { field: 'date_du', headerName: 'Du', width: 150, hide: false, editable: true }, - { field: 'date_au', headerName: 'Au', width: 150, hide: false, editable: true }, - { field: 'related_target_collection_object', headerName: 'Cible', width: 150, hide: false, editable: true }, - { field: 'related_target_collection_id_nom', headerName: 'Cible Nom', width: 150, hide: false, editable: true }, + { field: 'poste', headerName: 'Poste', flex: 1, hideable: false, }, + { field: 'date_du', headerName: 'Du', width: 150, hide: false, }, + { field: 'date_au', headerName: 'Au', width: 150, hide: false, }, + { field: 'related_target_collection_object', headerName: 'Cible', flex: 1, hide: false, }, + { field: 'related_target_collection_id_nom', headerName: 'Cible Nom', flex: 1, hide: false, }, { field: 'target_related_collection', headerName: 'Type', hide: true }, { field: 'target_related_collection_id', headerName: 'Type ID', hide: true }, { @@ -652,6 +652,13 @@ const Materiels = (props) => { if (String(materiel_data_edit_mode) !== "1") disable_Materiel_DetailFields(); + + setSelectionModel_affectations([]); + setdisplay_affectation("0"); + setAdd_new_affectation(""); + clean_affectation_fields(); + clean_nouvelle_affectation_fields(); + } @@ -1146,14 +1153,14 @@ const Materiels = (props) => { if (String(result['status']) === String("true")) { setrecord_materiel_Image_api("true"); setuserimgclassprofilchanged(""); - alert(" L'image à jour a été mise enregistrée "); + alert(" L'image a été enregistrée "); } else if (String(result['status']) === String("Err_Connexion")) { alert('Erreur: ' + result['message']); history.push("/Connexion"); } else { setrecord_materiel_Image_api("false"); - alert(" Erreur : " + result['message']); + alert(result['message']); } }) @@ -1253,7 +1260,9 @@ const Materiels = (props) => { setsubmenu("detail_materiel"); setadd_One_Materiel(""); - Get_Materiel_Data(selected_id); + //Get_Materiel_Data(selected_id); + Display_Detail_Material_Data(selected_id); + if (myRef_head) myRef_head.current.scrollIntoView({ behavior: "smooth" }); @@ -2408,7 +2417,7 @@ const Materiels = (props) => {
- {/* @@ -2438,16 +2447,15 @@ const Materiels = (props) => {
 
-
- - -
-
{String(submenu) === "detail_materiel" && String(add_One_Materiel) !== "1" &&
+
+ + +
@@ -2764,6 +2772,10 @@ const Materiels = (props) => { {String(submenu) === "detail_materiel" && String(add_One_Materiel) === "1" &&
+
+ + +
Ref. Interne
@@ -3014,6 +3026,10 @@ const Materiels = (props) => {
} {String(submenu) === "affectation" &&
+
+ + +
diff --git a/src/components/PartnerClient_Activite.js b/src/components/PartnerClient_Activite.js index 1ed0804..322f352 100644 --- a/src/components/PartnerClient_Activite.js +++ b/src/components/PartnerClient_Activite.js @@ -54,7 +54,7 @@ const PartnerClientActivite = (props) => { const history = useHistory(); var date_today_90j = new Date(); - date_today_90j.setDate(date_today_90j.getDate() +90); + date_today_90j.setDate(date_today_90j.getDate() + 90); function sleep(ms) { return new Promise(resolve => setTimeout(resolve, ms)); @@ -293,12 +293,16 @@ const PartnerClientActivite = (props) => { setrecordPartnerClient_Activite_Data_api("true"); setrecordPartnerClient_Activite_Data_result(res.data.message); - setshowactivite_detail("0"); Get_List_Activite_Of_client_Part(); - alert(res.data.message); setdatamodification_activite("0"); setformedit_mode_activite("0"); setcurrent_activite_recid(""); + + + setshow_all_activite_list("1"); + setshowactivite_detail('0'); + setadd_one_activite('0'); + alert(res.data.message); } else if (String(res.data.status) === String("Err_Connexion")) { @@ -728,6 +732,7 @@ const PartnerClientActivite = (props) => {
} {String(showactivite_detail) === "1" &&
+ {
} {String(formedit_mode_activite) === "0" &&
+ + { }} disabled={false} className="disabled_style" - value={setp_activite_deadline_label} + value={p_activite_deadline_label} />
} diff --git a/src/components/Partner_Client.js b/src/components/Partner_Client.js index 454d3bb..5bb9c6e 100644 --- a/src/components/Partner_Client.js +++ b/src/components/Partner_Client.js @@ -1,4 +1,4 @@ -import React, { useState, useEffect } from "react"; +import React, { useRef, useState, useEffect } from "react"; import axios from "axios"; import partnerbannerimg from "../mysy_img/MYSY_banner_compte.png"; import profileimg from "../mysy_img/MYSY-profil-2.png"; @@ -41,15 +41,20 @@ import { import { DataGrid, GridToolbar, frFR, GridCellParams } from '@mui/x-data-grid'; import { FcCancel, FcApproval, FcAcceptDatabase, FcPrint, FcDeleteDatabase } from "react-icons/fc"; import { darken, lighten, styled } from '@mui/material/styles'; +import 'react-tooltip/dist/react-tooltip.css' +import { Tooltip } from 'react-tooltip' import AddParnerClient from "./AddPartnerClient"; //import { FcHome} from "react-icons/fc"; import { alpha } from '@mui/material/styles'; import { gridClasses } from '@mui/x-data-grid'; import { AiOutlineUserAdd } from "react-icons/ai"; - - - +import TextField from '@mui/material/TextField'; +import MenuItem from '@mui/material/MenuItem'; +import InputAdornment from '@mui/material/InputAdornment'; +import { AiFillCloseCircle } from "react-icons/ai"; +import { CiTrash } from "react-icons/ci"; +import { MdAddCircleOutline, MdRemoveCircleOutline } from "react-icons/md"; const Partner_Client = (props) => { @@ -280,72 +285,203 @@ const Partner_Client = (props) => { var clientmail = String(line.email); setClient_email(clientmail); setEdite_Client("1"); + if (myRef_detail_client.current) { + myRef_detail_client.current.scrollIntoView({ behavior: "smooth" }); + } + } } + const [p_filtre1, setp_filtre1] = useState(); + const [p_filtre1_value, setp_filtre1_value] = useState(); + + const [p_filtre2, setp_filtre2] = useState(); + const [p_filtre2_value, setp_filtre2_value] = useState(); + + + function clean_all_filters() { + setp_filtre1(); + setp_filtre1_value(); + setp_filtre2(); + setp_filtre2_value(); + + + } + + const myRef_detail_client = useRef(null) return (
- {String(Edite_Client) === "1" &&
-
Detail client : {Client_email}
+

Vos clients

- +
Utilisez les filtres !
+
+
+
+ { + setp_filtre1(e.target.value) + }} + > -
} + Nom    + Email   - {String(Edite_Client) === "2" &&
- -
Detail client : {Client_email}
- - - -
} + +
-
Liste des clients
-
-
-
+
+ {p_filtre1 && + Choisir un fichier et Importer   - ajout csv + InputLabelProps={{ + shrink: true, + }} + disabled={false} + className="disabled_style" + value={p_filtre1_value} + onChange={(e) => { setp_filtre1_value(e.target.value); }} + InputProps={{ + endAdornment: ( + + { + setp_filtre1_value(""); + }} /> + + ), + }} + + /> + + } +
+ {p_filtre1 && } + {p_filtre1 && } + + +
+ + {p_filtre2 && +
+
+ { + setp_filtre2(e.target.value) + }} + > + + Nom    + Email   + + +
+
+ {String(p_filtre2).length > 3 && + setp_filtre2_value(e.target.value)} + InputProps={{ + endAdornment: ( + + { + setp_filtre2_value(""); + }} /> + + ), + }} + + />} +
+ + + {String(p_filtre2).length > 3 && } +
+ } + + + {
+ +
+ +
- -
- Télécharger un fichier modèle -
- - {part_client_file_name}
- {String(liste_part_client_file_change_api) === String("true") && } - {String(liste_part_client_file_change_api) === String("false") && } - - -
+ +
} + + + +
+ +
+
+   {
- {/*
Grid des clients
-
-
- {Get_List_Partner_Clients_result && String(Get_List_Partner_Clients_api) === "true" && - Get_List_Partner_Clients_result.map((client) => ( +
-
- mail = {String(JSON.parse(client).email)}
- nom = {String(JSON.parse(client).nom)}
- Tel = {String(JSON.parse(client).telephone)}
- Adresse = {String(JSON.parse(client).adr_adresse)} - {String(JSON.parse(client).adr_ville)}
+ -
+ + +
+ Télécharger un fichier modèle +
+ + {part_client_file_name}
+ {String(liste_part_client_file_change_api) === String("true") && } + {String(liste_part_client_file_change_api) === String("false") && } + + - ))} -
- */}
+ {String(Edite_Client) === "1" &&
+ +
Detail client : {Client_email}
+ + + +
} + + {String(Edite_Client) === "2" &&
+ +
Detail client : {Client_email}
+ + + +
} +
) diff --git a/src/styles/components/_partner_client_activite.scss b/src/styles/components/_partner_client_activite.scss index 6b5b040..1859f9f 100644 --- a/src/styles/components/_partner_client_activite.scss +++ b/src/styles/components/_partner_client_activite.scss @@ -1053,7 +1053,7 @@ .scroll_mysy { overflow-y: auto; - max-height: 20rem; + height: 30rem; overflow-y: visible; overflow-y: scroll; padding-right: 1rem !important; diff --git a/src/styles/components/_partnerclient.scss b/src/styles/components/_partnerclient.scss index 0cb8437..b7e90aa 100644 --- a/src/styles/components/_partnerclient.scss +++ b/src/styles/components/_partnerclient.scss @@ -1,479 +1,2206 @@ .partner_client { - .okUpdateData { - font-size: small; - color: green; - font-style: italic; - } - - .koUpdateData { - font-size: small; - color: red; - font-style: italic; - } - - @media only screen and (max-width: 600px) { + .loader-container { + width: 100%; + height: 100vh; + display: flex; + justify-content: center; + align-items: center; + position: fixed; + background: white; + background-color: transparent; + z-index: 1; + top: 0px; + opacity: 80%; + } + + .spinner { + width: 20rem; + height: 10rem; + border: 8px solid; + border-color: #3d5af1 transparent #3d5af1 transparent; + border-radius: 50%; + animation: spin-anim 1.2s linear infinite; + background-color: red; + color: black; + } + .mysy_spinner{ + border-radius: 5px; + border: 1px solid black; + opacity: 100%; + } + - .div_row { - float: left; - //border:0px solid black; - border-width: 0.01rem; - width: 100%; - margin-bottom: 1rem; - border-radius: 1rem; - } - .div_row_gauche { - float: left; - //border:0px solid black; - border-width: 0.01rem; - width: 48%; - border-radius: 1rem; - } - - .div_row_droite { - float: right; - //border:0px solid black; - border-width: 0.01rem; - width: 48%; - border-radius: 1rem; - margin-right: 15px !important; - } - - .titre1 { - font-family: "Quicksand", "Signika", sans-serif; - font-size: medium; - text-align: center; - margin-bottom: 0.8rem; - color: white; - cursor: pointer; - font-style: italic; - background-color: gray; - font-weight: normal; - float: left; - width: 100%; - } - - .detail_submenu { - background: #d8edfc; - border-radius: 15px; - margin-right: 1rem; - padding: 0.3rem; - margin-bottom: 0.5rem; - min-width: 100%; - text-align: center; - border: 1px solid #9cf; - color: #3b3e40; - font-family: "verdana", "Quicksand", "Signika", sans-serif; - font-size: small; - letter-spacing: 0.1rem; - font-weight: normal; - } + .Mui-disabled { + font-size: small !important; + padding: 0px !important; + padding-left: 5px !important; + } - .bton_add_session { - background: #c8cfd5; - color: black; - width: 30% !important; - } - .bton_add_menuclient { - background: #c8cfd5; - color: black; - width: 100% !important; - font-size: x-small !important; - } + @media screen and (max-width: 600px) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } - .icon_plus { - width: 6%; - } + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } + + .div_row { + float: left; + //border: 1px solid black; + border-width: 0.01rem; + width: 100%; + margin-bottom: 1rem; + border-radius: 1rem; + } + + .div_row_gauche { + + width: 100%; + border-radius: 10rem !important; + text-align: left; + + margin: 0px !important; + margin-bottom: 0.5rem !important; + margin-top: 0.5rem !important; + } + + .div_row_droite { + width: 100%; + border-radius: 10rem !important; + text-align: left; + + margin: 0px !important; + margin-bottom: 0.5rem !important; + margin-top: 0.5rem !important; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .titre1_aide_finance { + margin-top: 1rem; + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .pieddepage { + z-index: 50; + width: 100%; + float: left; + margin-top: 12rem; + } + + .div_mobile { + position: absolute; + top: 8rem; + z-index: 1; + width: 100%; + } + + .zone_data { + width: 95%; + margin-left: auto; + margin-right: auto; + } + + .detail_class_submenu { + background: #d8edfc; + border-radius: 15px; + margin-right: 1rem; + padding: 0.3rem; + margin-bottom: 0.5rem; + width: 10.5rem; + text-align: center; + border: 1px solid #9cf; + color: #3b3e40; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + letter-spacing: 0.1rem; + font-weight: normal; + width: 100%; + } + + .detail_class_submenu:hover:active, + .detail_class_submenu:hover { + background-color: #104277; + color: white; + } + + .detail_class_submenu:focus { + //border: 3px dotted green; + background-color: #104277; + color: white; + } + + .detail_class_submenu_data { + width: 100%; + min-height: 10rem; + background-color: #d8edfc; + padding-left: 5px; + text-align: left; + padding: 0; + border: 0px; + color: #3b3e40; + padding-left: 5px; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + border-radius: 10px; + border: 1px solid; + } - .client_grid { - margin-right: 10px !important; - margin-left: 10px !important; - display: grid; - height: 200px; - grid-template: repeat(2, 1fr) / repeat(2, 1fr); - gap: 20px 10px; - } + .training_caract { + width: 100%; + padding: 5px; + float: left; + } - .client_grid>div { - display: inline-block; - color: #444; - border: 1px solid #CCC; - background: #DDD; - box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); - cursor: pointer; - vertical-align: middle; - padding: 5px; - text-align: left; - } + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } - .client_grid>div:hover { - box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); - } + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } - .icon_excel { - width: 6%; - } + .selectsession { + width: 100%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } - .bton_import_excel { - background: #c8cfd5; - color: black; - width: 30% !important; - } + .session_data { + float: left; + width: 100%; + box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + border-radius: 10px; + margin-top: 10px; + margin-bottom: 10px; + + } + + .session_caract { + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + } + + .session_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 2rem !important; + margin: 5px !important; + } + + .css-1x5jdm { + padding: 5px; + } + + .css-1x5jdmq { + padding: 6px !important; + } + + .css-qiwgdb { + padding: 6px !important; + } + + .preview_certif { + display: block; + width: 100%; + height: 180px; + border-radius: 1rem !important; + margin-top: 1rem !important; + } + + .hr_break { + border: 2px solid grey; + } + + .icon_plus { + width: 6%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 100%; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 100% !important; + } + + .div_row_gauche_etendu { + width: 100%; + } + + .icon_excel { + width: 6%; + } + + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 100%; + margin-left: 10px; + margin-right: 10px; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 100%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 100%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 100%; + color: black; + margin-left: 10px; + margin-right: 10px; + } + + .div_row_gauche_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + padding-left: 0.2rem; + } + + .tips_img_class { + font-size: smaller; + font-style: italic; + margin-left: 1rem !important; + text-align: left; + float: left; + width: 100%; + padding-right: 10px; + } + + .img_class_logo { + display: block; + width: 128px; + height: 128px; + border-radius: 10px !important; + border: 1px solid black; + float: left; + } + + .bton_supprime_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + background: white; + color: red; + margin-top: 0.5rem; + width: 10rem; + cursor: pointer; + } + + .bton_supprime_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .bton_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + width: 10rem; + cursor: pointer; + } + + .bton_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .tick_ok_ko { + max-width: 3%; + cursor: pointer; + padding-top: 4px; + } + + .texte_area { + float: left; + width: 47% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 1.5rem !important; + } + + .texte_area_filter { + float: left; + width: 100% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin-top: 0px !important; + margin-bottom: 2px !important; + } + + .texte_area_filter_value { + float: left !important; + width: 100% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + + } + + + .filter_bton_add { + float: left; + width: 40% !important; + font-size: xx-large !important; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + text-align: right; + cursor: pointer; + } + + + .div_row { + float: left; + border-width: 0.01rem; + width: 100%; + + border-radius: 1rem; + } + + .div_row_gauche { + float: left; + width: 100%; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite { + float: left; + width: 100%; + border-radius: 1rem; + text-align: left; + + } + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 100%; + margin-left: 10px; + margin-right: 10px; + margin-bottom: 1rem !important; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 100%; + color: white; + margin-bottom: 1rem !important; + } + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 100%; + color: white; + margin-bottom: 1rem !important; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 100%; + color: black; + margin-bottom: 1rem !important; + } + + + .css-1t10bd6-MuiFormControl-root-MuiTextField-root fieldset { + border-color: transparent !important; + border-radius: 20px !important; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 3.5rem !important; + + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + + } + + .training_caract { + width: 100%; + + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .block_en_mass { + width: 100%; + float: left; + margin-bottom: 1rem; + } + + .block_en_mass_select { + width: 100%; + float: left; + margin-bottom: 1rem; + } + + .block_en_mass_bton_action { + width: 100%; + float: left; + margin-bottom: 1rem; + padding-top: 0.5rem !important; + } } @media only screen and (min-width: 601px) and (max-width: 991px) { - - .div_row { - float: left; - //border:0px solid black; - border-width: 0.01rem; - width: 100%; - margin-bottom: 1rem; - border-radius: 1rem; - } + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } - .div_row_gauche { - float: left; - //border:0px solid black; - border-width: 0.01rem; - width: 48%; - border-radius: 1rem; - } + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } - .div_row_droite { - float: right; - //border:0px solid black; - border-width: 0.01rem; - width: 48%; - border-radius: 1rem; - margin-right: 15px !important; - } + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } - .titre1 { - font-family: "Quicksand", "Signika", sans-serif; - font-size: medium; - text-align: center; - margin-bottom: 0.8rem; - color: white; - cursor: pointer; - font-style: italic; - background-color: gray; - font-weight: normal; - float: left; - width: 100%; - } + .titre1_aide_finance { + margin-top: 1rem; + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } - .detail_submenu { - background: #d8edfc; - border-radius: 15px; - margin-right: 1rem; - padding: 0.3rem; - margin-bottom: 0.5rem; - min-width: 10rem; - text-align: center; - border: 1px solid #9cf; - color: #3b3e40; - font-family: "verdana", "Quicksand", "Signika", sans-serif; - font-size: small; - letter-spacing: 0.1rem; - font-weight: normal; - } + .pieddepage { + z-index: 50; + width: 100%; + float: left; + margin-top: 12rem; + } + + .div_mobile { + position: absolute; + top: 8rem; + z-index: 1; + width: 100%; + } + + .zone_data { + width: 95%; + margin-left: auto; + margin-right: auto; + } + + .detail_class_submenu { + background: #d8edfc; + border-radius: 15px; + margin-right: 1rem; + padding: 0.3rem; + margin-bottom: 0.5rem; + width: 11rem; + text-align: center; + border: 1px solid #9cf; + color: #3b3e40; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + letter-spacing: 0.1rem; + font-weight: normal; + } + + .detail_class_submenu:hover:active, + .detail_class_submenu:hover { + background-color: #104277; + color: white; + } + + .detail_class_submenu:focus { + //border: 3px dotted green; + background-color: #104277; + color: white; + } + + .detail_class_submenu_data { + width: 100%; + min-height: 10rem; + background-color: #d8edfc; + padding-left: 5px; + text-align: left; + padding: 0; + border: 0px; + color: #3b3e40; + padding-left: 5px; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + border-radius: 10px; + border: 1px solid; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 90% !important; + height: 3.5rem !important; + margin: 5px !important; + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + } + + .training_caract { + width: 48%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .session_data { + float: left; + width: 100%; + box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + border-radius: 10px; + margin-top: 10px; + margin-bottom: 10px; - .bton_add_session { - background: #c8cfd5; - color: black; - width: 30% !important; - } + } - .bton_add_menuclient { - background: #c8cfd5; - color: black; - width: 50% !important; - font-size: x-small !important; - } + .session_caract { + width: 50%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + } - .icon_plus { - width: 6%; - } + .session_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 2rem !important; + margin: 5px !important; + } + + .css-1x5jdm { + padding: 5px; + } - .client_grid { - margin-right: 10px !important; - margin-left: 10px !important; - display: grid; - height: 200px; - grid-template: repeat(2, 1fr) / repeat(2, 1fr); - gap: 20px 10px; - } + .css-1x5jdmq { + padding: 6px !important; + } - .client_grid>div { - display: inline-block; - color: #444; - border: 1px solid #CCC; - background: #DDD; - box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); - cursor: pointer; - vertical-align: middle; - padding: 5px; - text-align: left; - } + .css-qiwgdb { + padding: 6px !important; + } - .client_grid>div:hover { - box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); - } + .preview_certif { + display: block; + width: 90%; + height: 200px; + border-radius: 1rem !important; + margin-top: 1rem !important; + } - .icon_excel { - width: 6%; - } + .preview_certif:hover { + transform: scale(1.3); + margin-left: 5rem; + } - .bton_import_excel { - background: #c8cfd5; - color: black; - width: 30% !important; - } + .hr_break { + border: 3px solid grey; + } + + .icon_plus { + width: 6%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 50%; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 65% !important; + } + + .div_row_gauche_etendu { + width: 80% !important; + } + + .icon_excel { + width: 6%; + } + + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 80%; + margin-left: 10px; + margin-right: 10px; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 80%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 80%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 80%; + color: black; + margin-left: 10px; + margin-right: 10px; + } + + .div_row_gauche_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + padding-left: 0.2rem; + } + + .tips_img_class { + font-size: small; + font-style: italic; + margin-left: 1rem !important; + text-align: left; + float: left; + width: 100%; + } + + .img_class_logo { + display: block; + width: 168px; + height: 168px; + border-radius: 10px !important; + border: 1px solid black; + float: left; + } + + .bton_supprime_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + background: white; + color: red; + margin-top: 0.5rem; + width: 15rem; + cursor: pointer; + } + + .bton_supprime_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .bton_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + width: 15rem; + cursor: pointer; + } + + .bton_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .tick_ok_ko { + max-width: 3%; + cursor: pointer; + padding-top: 4px; + } + + .texte_area { + float: left; + width: 47% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 1.5rem !important; + } + + .texte_area_filter { + float: left; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + } + + .texte_area_filter_value { + float: left !important; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + + } + + + .filter_bton_add { + float: left; + width: 5% !important; + font-size: large !important; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + text-align: right; + cursor: pointer; + margin-top: 1rem !important; + } + + .div_row { + float: left; + //border: 1px solid black; + border-width: 0.01rem; + width: 100%; + //margin-bottom: 1rem; + border-radius: 1rem; + } + + .div_row_gauche { + float: left; + // border:1px solid black; + // border-width:0.01rem; + width: 45%; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite { + float: right; + //border:1px solid black; + //border-width:0.01rem; + width: 45%; + border-radius: 1rem; + text-align: right; + } + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 40%; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 40%; + color: white; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 40%; + color: white; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 40%; + color: black; + margin-left: 10px; + margin-right: 10px; + min-width: 15rem; + } + + + .css-1t10bd6-MuiFormControl-root-MuiTextField-root fieldset { + border-color: transparent !important; + border-radius: 20px !important; + } + + + .training_caract { + width: 30%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .block_en_mass { + width: 50%; + float: left; + margin-bottom: 1rem; + } + + .block_en_mass_select { + width: 45%; + float: left; + margin-bottom: 1rem; + } + + .block_en_mass_bton_action { + width: 45%; + float: left; + margin-bottom: 1rem; + padding-top: 0.5rem !important; + } } @media only screen and (min-width: 992px) and (max-width: 1199px) { - - .div_row { - float: left; - //border:0px solid black; - border-width: 0.01rem; - width: 100%; - margin-bottom: 1rem; - border-radius: 1rem; - } + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } - .div_row_gauche { - float: left; - //border:0px solid black; - border-width: 0.01rem; - width: 48%; - border-radius: 1rem; - } + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } - .div_row_droite { - float: right; - //border:0px solid black; - border-width: 0.01rem; - width: 48%; - border-radius: 1rem; - margin-right: 15px !important; - } + .div_row { + float: left; + //border: 1px solid black; + border-width: 0.01rem; + width: 100%; + margin-bottom: 1rem; + border-radius: 1rem; + } - .titre1 { - font-family: "Quicksand", "Signika", sans-serif; - font-size: medium; - text-align: center; - margin-bottom: 0.8rem; - color: white; - cursor: pointer; - font-style: italic; - background-color: gray; - font-weight: normal; - float: left; - width: 100%; - } + .div_row_gauche { + float: left; + // border:1px solid black; + // border-width:0.01rem; + width: 45%; + border-radius: 1rem; + } - .detail_submenu { - background: #d8edfc; - border-radius: 15px; - margin-right: 1rem; - padding: 0.3rem; - margin-bottom: 0.5rem; - min-width: 10rem; - text-align: center; - border: 1px solid #9cf; - color: #3b3e40; - font-family: "verdana", "Quicksand", "Signika", sans-serif; - font-size: small; - letter-spacing: 0.1rem; - font-weight: normal; - } + .div_row_droite { + float: right; + //border:1px solid black; + //border-width:0.01rem; + width: 45%; + border-radius: 1rem; + text-align: right; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .titre1_aide_finance { + margin-top: 1rem; + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .pieddepage { + z-index: 50; + width: 100%; + float: left; + margin-top: 12rem; + } + + .div_mobile { + position: absolute; + top: 8rem; + z-index: 1; + width: 100%; + } + + .zone_data { + width: 95%; + margin-left: auto; + margin-right: auto; + } + + .detail_class_submenu { + background: #d8edfc; + border-radius: 15px; + margin-right: 1rem; + padding: 0.3rem; + margin-bottom: 0.5rem; + width: 11rem; + text-align: center; + border: 1px solid #9cf; + color: #3b3e40; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + letter-spacing: 0.1rem; + font-weight: normal; + } + + .detail_class_submenu:hover:active, + .detail_class_submenu:hover { + background-color: #104277; + color: white; + } + + .detail_class_submenu:focus { + //border: 3px dotted green; + background-color: #104277; + color: white; + } + + .detail_class_submenu_data { + width: 100%; + min-height: 10rem; + background-color: #d8edfc; + padding-left: 5px; + text-align: left; + padding: 0; + border: 0px; + color: #3b3e40; + padding-left: 5px; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + border-radius: 10px; + border: 1px solid; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 90% !important; + height: 3.5rem !important; + margin: 5px !important; + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + } + + .training_caract { + width: 30%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5x !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .session_data { + float: left; + width: 100%; + box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + border-radius: 10px; + margin-top: 10px; + margin-bottom: 10px; - .bton_add_session { - background: #c8cfd5; - color: black; - width: 30% !important; - } + } - .bton_add_menuclient { - background: #c8cfd5; - color: black; - width: 50% !important; - font-size: x-small !important; - } + .session_caract { + width: 33%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + } - .icon_plus { - width: 6%; - } + .session_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 2rem !important; + margin: 5px !important; + } + + .css-1x5jdm { + padding: 5px; + } + + .css-1x5jdmq { + padding: 6px !important; + } + + .css-qiwgdb { + padding: 6px !important; + } + + .preview_certif { + display: block; + width: 90%; + height: 180px; + border-radius: 1rem !important; + margin-top: 1rem !important; + } + + .preview_certif:hover { + transform: scale(1.3); + margin-left: 5rem; + } + + .hr_break { + border: 3px solid grey; + } + + .icon_plus { + width: 8%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 40%; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 50% !important; + } + + .div_row_gauche_etendu { + width: 80%; + } + + .icon_excel { + width: 6%; + } - .client_grid { - margin-right: 10px !important; - margin-left: 10px !important; - display: grid; - height: 200px; - grid-template: repeat(2, 1fr) / repeat(2, 1fr); - gap: 20px 10px; - } + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 65%; + margin-left: 10px; + margin-right: 10px; + } - .client_grid>div { - display: inline-block; - color: #444; - border: 1px solid #CCC; - background: #DDD; - box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); - cursor: pointer; - vertical-align: middle; - padding: 5px; - text-align: left; - } + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 65%; + color: white; + margin-left: 10px; + margin-right: 10px; + } - .client_grid>div:hover { - box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); - } + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 65%; + color: white; + margin-left: 10px; + margin-right: 10px; + } - .icon_excel { - width: 6%; - } + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 65%; + color: black; + margin-left: 10px; + margin-right: 10px; + } - .bton_import_excel { - background: #c8cfd5; - color: black; - width: 30% !important; - } + + .div_row_gauche_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + padding-left: 0.2rem; + } + + .tips_img_class { + font-size: small; + font-style: italic; + margin-left: 1rem !important; + text-align: left; + float: left; + width: 100%; + } + + .img_class_logo { + display: block; + width: 168px; + height: 168px; + border-radius: 10px !important; + border: 1px solid black; + float: left; + } + + .bton_supprime_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + background: white; + color: red; + margin-top: 0.5rem; + width: 15rem; + cursor: pointer; + } + + .bton_supprime_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .bton_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + width: 15rem; + cursor: pointer; + } + + .bton_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .tick_ok_ko { + max-width: 3%; + cursor: pointer; + padding-top: 4px; + } + + .texte_area { + float: left; + width: 47% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 1.5rem !important; + } + + .texte_area_filter { + float: left; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + } + + .texte_area_filter_value { + float: left !important; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + + } + + + .filter_bton_add { + float: left; + width: 5% !important; + font-size: xx-large !important; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + text-align: right; + cursor: pointer; + } + + + .titre1 { + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } } @media only screen and (min-width: 1200px) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } - .div_row { - float: left; - //border:0px solid black; - border-width: 0.01rem; - width: 100%; - margin-bottom: 1rem; - border-radius: 1rem; - } + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } - .div_row_gauche { - float: left; - //border:0px solid black; - border-width: 0.01rem; - width: 48%; - border-radius: 1rem; - } + .div_row { + float: left; + //border: 1px solid black; + border-width: 0.01rem; + width: 100%; + //margin-bottom: 1rem; + border-radius: 1rem; + } - .div_row_droite { - float: right; - //border:0px solid black; - border-width: 0.01rem; - width: 48%; - border-radius: 1rem; - margin-right: 15px !important; - } + .div_row_gauche { + float: left; + // border:1px solid black; + // border-width:0.01rem; + width: 45%; + border-radius: 1rem; + } - .titre1 { - font-family: "Quicksand", "Signika", sans-serif; - font-size: medium; - text-align: center; - margin-bottom: 0.8rem; - color: white; - cursor: pointer; - font-style: italic; - background-color: gray; - font-weight: normal; - float: left; - width: 100%; - } + .div_row_droite { + float: right; + //border:1px solid black; + //border-width:0.01rem; + width: 45%; + border-radius: 1rem; + text-align: right; + } - .detail_submenu { - background: #d8edfc; - border-radius: 15px; - margin-right: 1rem; - padding: 0.3rem; - margin-bottom: 0.5rem; - min-width: 10rem; - text-align: center; - border: 1px solid #9cf; - color: #3b3e40; - font-family: "verdana", "Quicksand", "Signika", sans-serif; - font-size: small; - letter-spacing: 0.1rem; - font-weight: normal; - } + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .titre1_aide_finance { + margin-top: 1rem; + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .pieddepage { + z-index: 50; + width: 100%; + float: left; + margin-top: 12rem; + } + + .div_mobile { + position: absolute; + top: 8rem; + z-index: 1; + width: 100%; + } + + .zone_data { + width: 95%; + margin-left: auto; + margin-right: auto; + } + + .detail_class_submenu { + background: #d8edfc; + border-radius: 15px; + margin-right: 1rem; + padding: 0.3rem; + margin-bottom: 0.5rem; + min-width: 12rem; + text-align: center; + border: 1px solid #9cf; + color: #3b3e40; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + letter-spacing: 0.1rem; + font-weight: normal; + } + + .detail_class_submenu:hover:active, + .detail_class_submenu:hover { + background-color: #104277; + color: white; + } + + .detail_class_submenu:focus { + //border: 3px dotted green; + background-color: #104277; + color: white; + } + + .detail_class_submenu_data { + width: 100%; + min-height: 10rem; + background-color: #d8edfc; + padding-left: 5px; + text-align: left; + padding: 0; + border: 0px; + color: #3b3e40; + padding-left: 5px; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + border-radius: 10px; + border: 1px solid; + } + + .disabled_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 90% !important; + height: 3.5rem !important; + margin: 5px !important; + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + } + + .training_caract { + width: 30%; + padding: 5px; + float: left; + } + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input .Mui-disabled { + font: inherit; + letter-spacing: inherit; + color: currentColor; + border: 0; + box-sizing: content-box; + background: none; + background-color: rgba(0, 0, 0, 0); + margin: 0; + -webkit-tap-highlight-color: transparent; + display: block; + min-width: 0; + width: 100%; + -webkit-animation-name: mui-auto-fill-cancel; + animation-name: mui-auto-fill-cancel; + -webkit-animation-duration: 10ms; + animation-duration: 10ms; + height: 3rem !important; + padding: 0 !important; + padding-left: 5px !important; + } + + .css-11u53oe-MuiSelect-select-MuiInputBase-input-MuiOutlinedInput-input { + padding: 1px !important; + } + + .selectsession { + width: 90%; + height: 3rem; + font-size: small; + border-radius: 0px !important; + } + + .session_data { + float: left; + width: 100%; + box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + -webkit-box-shadow: 1px 1px 10px 1px rgba(0, 0, 0, 0.5); + border-radius: 10px; + margin-top: 10px; + margin-bottom: 10px; - .bton_add_session { - background: #c8cfd5; - color: black; - width: 30% !important; - } + } - .bton_add_menuclient { - background: #c8cfd5; - color: black; - width: 30% !important; - font-size: x-small !important; - } + .session_caract { + width: 33%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + } - .icon_plus { - width: 6%; - } + .session_style { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 2rem !important; + margin: 5px !important; + } + + .preview_certif { + display: block; + width: 90%; + height: 200px; + border-radius: 1rem !important; + margin-top: 1rem !important; + } + + .preview_certif:hover { + transform: scale(1.4); + margin-left: 10rem; + } - .client_grid { - margin-right: 10px !important; - margin-left: 10px !important; - display: grid; - height: 200px; - grid-template: repeat(2, 1fr) / repeat(2, 1fr); - gap: 20px 10px; - } + .action_mass { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 40%; + background: #81BC3A; + height: 2.5rem; + } - .client_grid>div { - display: inline-block; - color: #444; - border: 1px solid #CCC; - background: #DDD; - box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); - cursor: pointer; - vertical-align: middle; - padding: 5px; - text-align: left; - } - .client_grid>div:hover { - box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); - } - .icon_excel { - width: 6%; - } + .block_en_mass { + width: 50%; + float: left; + margin-bottom: 1rem; + } - .bton_import_excel { - background: #c8cfd5; - color: black; - width: 30% !important; - } + .session_open_close { + cursor: pointer; + text-align: right; + font-size: small; + margin-right: 10px; + } + .hr_break { + border: 5px solid grey; + } + + .icon_plus { + width: 8%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 20% !important; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 40% !important; + } + + .div_row_gauche_etendu { + width: 80%; + } + + .icon_excel { + width: 4%; + } + + .bton_envoyer { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 60%; + background: #81BC3A; + } + + + .bton_traiter_en_mass { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 40%; + background: #81BC3A; + margin-left: 5%; + height: 2.5rem; + color: white; + + } + + .bton_fermer { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 60%; + background-color: white; + color: #104277 !important; + } + + + .enable_style { + background-color: #FFFFFF; + } + + + + .css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input:invalid { + padding-top: 5px !important; + padding-bottom: 5px !important; + padding-left: 5px !important; + } + + .css-1t10bd6-MuiFormControl-root-MuiTextField-root fieldset { + border-color: transparent !important; + border-radius: 20px !important; + } + + .bton_emarge { + border-radius: 5rem; + font-size: small; + padding: 0.5rem; + background: rgb(129, 188, 58); + margin-left: 5px; + margin-right: 5px; + } + + .css-1x5jdm { + padding: 5px; + } + + + .css-1x5jdmq { + padding: 6px !important; + height: 3rem ! important; + } + + .css-qiwgdb { + padding: 6px !important; + } + + + .bton_suppr { + background: transparent; + color: red; + border-radius: 5rem; + font-size: small; + text-align: center; + height: 2.5rem; + width: 40%; + margin-left: 10px; + margin-right: 10px; + } + + .bton_enreg { + border-radius: 5rem; + font-size: small; + background: #81BC3A !important; + text-align: center; + height: 2.5rem; + width: 40%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_edit { + border-radius: 5rem; + font-size: small; + background: black !important; + text-align: right; + height: 2.5rem; + width: 40%; + color: white; + margin-left: 10px; + margin-right: 10px; + } + + .bton_annule { + border-radius: 5rem; + font-size: small; + background: lightgray !important; + text-align: right; + height: 2.5rem; + width: 40%; + color: black; + margin-left: 10px; + margin-right: 10px; + } + + + + .div_row_gauche_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + } + + .div_row_droite_image { + float: left; + //border:0px solid black; + border-width: 0.01rem; + border-radius: 1rem; + text-align: left; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + font-size: small; + padding-left: 0.2rem; + } + + .tips_img_class { + font-size: small; + font-style: italic; + margin-left: 1rem !important; + text-align: left; + float: left; + width: 100%; + } + + .img_class_logo { + display: block; + width: 170px; + height: 168px; + border-radius: 10px !important; + border: 1px solid black; + float: left; + } + + .bton_supprime_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + background: white; + color: red; + margin-top: 0.5rem; + width: 15rem; + cursor: pointer; + } + + .bton_supprime_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .bton_image_class { + font-size: small; + text-align: center; + margin-left: 0px; + box-shadow: 1px 1px 10px 1px rgb(0 0 0 / 15%); + padding: 5px; + padding-left: 10px; + padding-right: 10px; + border: 1px solid rgb(194, 186, 186); + border-radius: 10px; + width: 15rem; + cursor: pointer; + } + + .bton_image_class:hover { + box-shadow: 5px 1px 5px 1px rgb(0 0 0 / 25%); + } + + .tick_ok_ko { + max-width: 3%; + cursor: pointer; + padding-top: 4px; + } + + .texte_area { + float: left; + width: 47% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 1.5rem !important; + } + + .texte_area_filter { + float: left; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + } + + .texte_area_filter_value { + float: left !important; + width: 40% !important; + font-size: x-small !important; + font-family: "verdana", "Quicksand", "Signika", sans-serif; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + + } + + + .filter_bton_add { + float: left; + width: 5% !important; + font-size: xx-large !important; + margin: 0.4rem !important; + margin-top: 0px !important; + margin-bottom: 2px !important; + text-align: right; + cursor: pointer; + } + + + .titre1 { + font-family: "Quicksand", "Signika", sans-serif; + font-size: medium; + text-align: center; + margin-bottom: 0.8rem; + color: white; + cursor: pointer; + font-style: italic; + background-color: gray; + font-weight: normal; + } + + .file_ariane { + font-size: large; + font-weight: 600; + width: 100%; + text-align: center; + } + + } + // end media .css-1v4ccyo { - height: 3.5rem !important; + height: 3.5rem !important; + } + + option { + font-weight: normal; + display: block; + white-space-collapse: collapse; + text-wrap: nowrap; + padding: 0px !important; + } + + .mysy_hr_text { + border: none; + border-top: 3px double #333; + color: #333; + overflow: visible; + text-align: center; + height: 5px; + } + + .mysy_hr_text:after { + background: #fff; + content: 'Détails'; + padding: 0 4px; + position: relative; + top: -13px; + } + + .MuiMenu-paper { + max-width: 30% !important; + } + + } - .css-1wgeduv-MuiFormControl-root-MuiTextField-root{ - width: 99% !important; - } +.MuiMenu-paper { + max-width: 30% !important; +} + +.tox-statusbar { + display: none !important; +} + + + + +.css-1x5jdmq { + height: 3rem !important; +} + +.select_option_css { + border-radius: 0px !important; +} + +.css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root { + height: 3.5rem !important; +} + + + +.react-datepicker__input-container { + width: 110%; +} + +.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input { + padding-left: 5px !important; } \ No newline at end of file