diff --git a/src/components/DisplayPartnerSession.js b/src/components/DisplayPartnerSession.js index be70b2b..5cb864d 100644 --- a/src/components/DisplayPartnerSession.js +++ b/src/components/DisplayPartnerSession.js @@ -808,7 +808,7 @@ const DisplayPartnerSession = (props) => { { field: '_id', headerName: '_id', hide: true }, { field: 'related_target_collection_id', headerName: 'related_target_collection_id', minWidth: 200, hide: true, flex: 1, minWidth: 150, maxWidth: 300 }, { field: 'related_target_collection', headerName: 'related_target_collection', minWidth: 150, hide: true, editable: false, resizable: true }, - { field: 'type_ressource', headerName: 'Type', minWidth: 150, hide: false, editable: false }, + { field: 'type_ressource', headerName: 'Type', minWidth: 150, hide: true, editable: false }, { field: 'related_target_collection_object', headerName: 'object', minWidth: 200, hide: false, editable: false, resizable: true, flex: 1, }, { field: 'related_target_collection_id_nom', headerName: 'nom', minWidth: 200, hide: false, editable: false, resizable: true, flex: 1, }, { field: 'poste', headerName: 'Poste', minWidth: 200, hide: false, editable: false, flex: 1, }, @@ -2081,6 +2081,19 @@ const DisplayPartnerSession = (props) => { } + const [actionmass_sequence_val, setactionmass_sequence_val] = useState(); + const actionmass_sequence = (event) => { + const value = event.target.value; + + + if (String(value) === "ajout_ressource" || String(value) === "supprimer" ) { + setactionmass_sequence_val(value); + } + else { + setactionmass_sequence_val(); + } + } + function GetSelectedRows_Insc_Ids() { @@ -2143,6 +2156,51 @@ const DisplayPartnerSession = (props) => { } + + + function GetSelectedRows_Sequence_Ids() { + + + var tab_tmp = [] + for (var i = 0; i < selectionModel_sequence.length; i++) { + //console.log(" ### selectionModel_insc[i] = ", selectionModel_insc[i]); + var myid = parseInt(String(selectionModel_sequence[i])); + //var line = JSON.parse(rowss[myid]); + tab_tmp.push(myid); + } + return tab_tmp; + + } + + async function actionmass_sequence_Traitement() { + + var liste_formation = GetSelectedRows_Sequence_Ids(); + for (var i = 0; i < liste_formation.length; i++) { + + + var line = JSON.parse(rowss_insc[liste_formation[i]]); + //console.log(" line = ", line); + var email = line.email; + //console.log(" Traitement de email = ", email); + if (String(actionmass_insc_val) === "ajout_ressource") { + + alert(" Action Ajout Ressource en cours de dev"); + + } else if (String(actionmass_insc_val) === "supprimer") { + + alert(" Action supprimer sequence en cours de dev"); + + } + await sleep(5); + + } + + + + } + + + async function actionmass_insc_Traitemet() { var liste_formation = GetSelectedRows_Insc_Ids(); @@ -6313,6 +6371,68 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair } + + const [Add_Automatic_Sequence_Session_api, setAdd_Automatic_Sequence_Session_api] = useState(); + const [Add_Automatic_Sequence_Session_message, setAdd_Automatic_Sequence_Session_message] = useState(); + const [Add_Automatic_Sequence_Session_result, setAdd_Automatic_Sequence_Session_result] = useState(); + const Add_Automatic_Sequence_Session = event => { + + var new_title = p_detail_sequence_title; + var new_start_date = moment(sequence_startDate).format("DD/MM/YYYY HH:mm"); + var new_end_date = moment(sequence_endDate).format("DD/MM/YYYY HH:mm"); + + var form = new FormData(); + + const stored_cookie = getCookie('tokenmysypart'); + form.append("token", stored_cookie); + form.append("session_id", selected_session_id); + form.append("jounree_modele_id", ""); + + + //console.log(" form == ", form); + + var myurl = process.env.REACT_APP_API_URL + "myclass/api/Create_Automatic_Sequence/"; + + setLoading(true); + axios.post(myurl, form).then(res => { + //console.log(" In Add_Automatic_Sequence_Session res.data.status = " + res.data.status); + //console.log(" In Add_Automatic_Sequence_Session res.data.message r_class = " + res.data.message); + + setLoading(false); + if (String(res.data.status) === String("true")) { + setAdd_Automatic_Sequence_Session_api("true"); + setAdd_Automatic_Sequence_Session_result(res.data.message); + + Getall_Sequence_Of_Session(selected_session_id); + + setp_detail_sequence_title(); + setp_detail_sequence_comment(); + setsequence_startDate(); + setsequence_endDate(); + + + + alert(res.data.message); + Close_Dialog_Detail_seq_open(); + } + else { + setAdd_Automatic_Sequence_Session_api("false"); + setAdd_Automatic_Sequence_Session_message(res.data.message); + alert(res.data.message); + } + + }).catch((error) => { + + + setLoading(false); + console.warn('UpdateStagiaireData : Not good man :( Add_Automatic_Sequence_Session = ' + error); + setAdd_Automatic_Sequence_Session_api("false"); + alert(" Impossible de créer automatiquement les séquences"); + }) + } + + + const [Update_One_Sequence_Session_api, setUpdate_One_Sequence_Session_api] = useState(); const [Update_One_Sequence_Session_message, setUpdate_One_Sequence_Session_message] = useState(); const [Update_One_Sequence_Session_result, setUpdate_One_Sequence_Session_result] = useState(); @@ -9076,7 +9196,8 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair }} > { setselectionModel_sequence(newSelectionModel); /*if (newSelectionModel.length === 1) @@ -9085,7 +9206,7 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair } }} - selectionModel={selectionModel} + selectionModel={selectionModel_sequence} localeText={frFR.components.MuiDataGrid.defaultProps.localeText} rows={Getall_Sequence_Of_Session_result.map((item, index) => ( @@ -9105,7 +9226,7 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair columns={columns_sequence} pageSize={10} className="datagridclass" - + onRowDoubleClick={(newSelectionModel) => { setselected_detail_sequence_title(newSelectionModel.row.sequence_title); @@ -9127,10 +9248,10 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair }} - + rowsPerPageOptions={[10]} - disableSelectionOnClick + //disableSelectionOnClick components={{ Toolbar: GridToolbar, }} @@ -9175,11 +9296,78 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair /> + + + {selectionModel_sequence && selectionModel_sequence.length > 1 && +
+ +     + + {actionmass_sequence_val && + + Traiter + + } + modal + nested + position="center center" + > + + {close => ( +
+ +
MySy Information
+
+ {' '} + + Confirmer l'action {actionmass_sequence_val} en masse. +
+
+
+ + +
+
+ +
+
+
+ )} +
+ } +
+ + +
+ + }
- @@ -9193,15 +9381,11 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair   - + Création automatique   @@ -9222,13 +9406,13 @@ Update du 22/10/2023 - Gestion des champs spécifiques ajoutés par le partenair
{' '} - Confirmer l'action {actionmass_preinsc_val} en masse.
- /!\ : Toutes les séquences de cette session seront supprimées.
+ Confirmer l'action {actionmass_preinsc_val} en masse.
+ /!\ : Toutes les séquences de cette session seront supprimées.
diff --git a/src/components/Module_Absence.js b/src/components/Module_Absence.js index 7e5a85b..fff6b52 100644 --- a/src/components/Module_Absence.js +++ b/src/components/Module_Absence.js @@ -1028,7 +1028,7 @@ const Module_Absence = (props) => { } - className="disabled_style enable_style" + className="disabled_style session_caract_Dialog_DatePicker" locale='fr-FR' showTimeSelect timeFormat="HH:mm" @@ -1054,7 +1054,7 @@ const Module_Absence = (props) => { } - className="disabled_style enable_style" + className="disabled_style session_caract_Dialog_DatePicker" locale='fr-FR' showTimeSelect timeFormat="HH:mm" diff --git a/src/components/Module_Agenda.js b/src/components/Module_Agenda.js index 6074645..aa120b9 100644 --- a/src/components/Module_Agenda.js +++ b/src/components/Module_Agenda.js @@ -94,8 +94,6 @@ const Module_Agenda = (props) => { form.append("related_collection", "ressource_humaine"); form.append("related_collection_recid", selected_employee_id); - - var myurl = process.env.REACT_APP_API_URL + "myclass/api/get_Agenda_Event_List/"; setLoading(true); @@ -111,25 +109,33 @@ const Module_Agenda = (props) => { var tab_event = [] var filtre2 = res.data.message.map(obj => { - var local_val = {} - if (JSON.parse(obj).comment) { - local_val = { - 'title': String(JSON.parse(obj).event_title), - 'start': String(JSON.parse(obj).event_start), - 'end': String(JSON.parse(obj).event_end), - 'id': String(JSON.parse(obj)._id), - 'comment': String(JSON.parse(obj).comment), - } - } else { - local_val = { - 'title': String(JSON.parse(obj).event_title), - 'start': String(JSON.parse(obj).event_start), - 'end': String(JSON.parse(obj).event_end), - 'id': String(JSON.parse(obj)._id), - 'comment': "", - } + var local_val = {}; + var local_comment = ""; + if (JSON.parse(obj).comment) { + local_comment = String(JSON.parse(obj).comment); } + + + var bg_color = ""; + var local_sequence_session_id = ""; + if (JSON.parse(obj).sequence_session_id) { + local_sequence_session_id = String(JSON.parse(obj).sequence_session_id); + bg_color = "Olive" + } + + local_val = { + 'title': String(JSON.parse(obj).event_title), + 'start': String(JSON.parse(obj).event_start), + 'end': String(JSON.parse(obj).event_end), + 'id': String(JSON.parse(obj)._id), + 'comment': String(local_comment), + 'sequence_session_id': String(local_sequence_session_id), + 'backgroundColor':bg_color, + + } + + tab_event.push(local_val); @@ -170,7 +176,6 @@ const Module_Agenda = (props) => { form.append("related_collection_recid", myconntected_employee_id); - var myurl = process.env.REACT_APP_API_URL + "myclass/api/get_Agenda_Event_List/"; setLoading(true); @@ -187,25 +192,32 @@ const Module_Agenda = (props) => { var tab_event = [] var filtre2 = res.data.message.map(obj => { - var local_val = {} - if (JSON.parse(obj).comment) { - local_val = { - 'title': String(JSON.parse(obj).event_title), - 'start': String(JSON.parse(obj).event_start), - 'end': String(JSON.parse(obj).event_end), - 'id': String(JSON.parse(obj)._id), - 'comment': String(JSON.parse(obj).comment), - } - } else { - local_val = { - 'title': String(JSON.parse(obj).event_title), - 'start': String(JSON.parse(obj).event_start), - 'end': String(JSON.parse(obj).event_end), - 'id': String(JSON.parse(obj)._id), - 'comment': "", - } + var local_val = {}; + var local_comment = ""; + if (JSON.parse(obj).comment) { + local_comment = String(JSON.parse(obj).comment); } + + + var bg_color = ""; + var local_sequence_session_id = ""; + if (JSON.parse(obj).sequence_session_id) { + local_sequence_session_id = String(JSON.parse(obj).sequence_session_id); + bg_color = "Olive" + } + + local_val = { + 'title': String(JSON.parse(obj).event_title), + 'start': String(JSON.parse(obj).event_start), + 'end': String(JSON.parse(obj).event_end), + 'id': String(JSON.parse(obj)._id), + 'comment': String(local_comment), + 'sequence_session_id': String(local_sequence_session_id), + 'backgroundColor':bg_color, + + } + tab_event.push(local_val); @@ -249,6 +261,7 @@ const Module_Agenda = (props) => { form.append("related_collection_recid", local_selected_id); + var myurl = process.env.REACT_APP_API_URL + "myclass/api/get_Agenda_Event_List/"; @@ -265,31 +278,39 @@ const Module_Agenda = (props) => { var tab_event = [] var filtre2 = res.data.message.map(obj => { - var local_val = {} - if (JSON.parse(obj).comment) { - local_val = { - 'title': String(JSON.parse(obj).event_title), - 'start': String(JSON.parse(obj).event_start), - 'end': String(JSON.parse(obj).event_end), - 'id': String(JSON.parse(obj)._id), - 'comment': String(JSON.parse(obj).comment), - } - } else { - local_val = { - 'title': String(JSON.parse(obj).event_title), - 'start': String(JSON.parse(obj).event_start), - 'end': String(JSON.parse(obj).event_end), - 'id': String(JSON.parse(obj)._id), - 'comment': "", - } + var local_val = {}; + var local_comment = ""; + if (JSON.parse(obj).comment) { + local_comment = String(JSON.parse(obj).comment); } + + + var bg_color = ""; + var local_sequence_session_id = ""; + if (JSON.parse(obj).sequence_session_id) { + local_sequence_session_id = String(JSON.parse(obj).sequence_session_id); + bg_color = "Olive" + } + + local_val = { + 'title': String(JSON.parse(obj).event_title), + 'start': String(JSON.parse(obj).event_start), + 'end': String(JSON.parse(obj).event_end), + 'id': String(JSON.parse(obj)._id), + 'comment': String(local_comment), + 'sequence_session_id': String(local_sequence_session_id), + 'backgroundColor':bg_color, + + } + tab_event.push(local_val); }); setmysy_events(tab_event); + console.log(" ### tab_event = ", tab_event); } @@ -326,7 +347,6 @@ const Module_Agenda = (props) => { form.append("related_collection_recid", local_selected_id); - var myurl = process.env.REACT_APP_API_URL + "myclass/api/get_Agenda_Event_List/"; setLoading(true); @@ -342,25 +362,32 @@ const Module_Agenda = (props) => { var tab_event = [] var filtre2 = res.data.message.map(obj => { - var local_val = {} - if (JSON.parse(obj).comment) { - local_val = { - 'title': String(JSON.parse(obj).event_title), - 'start': String(JSON.parse(obj).event_start), - 'end': String(JSON.parse(obj).event_end), - 'id': String(JSON.parse(obj)._id), - 'comment': String(JSON.parse(obj).comment), - } - } else { - local_val = { - 'title': String(JSON.parse(obj).event_title), - 'start': String(JSON.parse(obj).event_start), - 'end': String(JSON.parse(obj).event_end), - 'id': String(JSON.parse(obj)._id), - 'comment': "", - } + var local_val = {}; + var local_comment = ""; + if (JSON.parse(obj).comment) { + local_comment = String(JSON.parse(obj).comment); } + + + var bg_color = ""; + var local_sequence_session_id = ""; + if (JSON.parse(obj).sequence_session_id) { + local_sequence_session_id = String(JSON.parse(obj).sequence_session_id); + bg_color = "Olive" + } + + local_val = { + 'title': String(JSON.parse(obj).event_title), + 'start': String(JSON.parse(obj).event_start), + 'end': String(JSON.parse(obj).event_end), + 'id': String(JSON.parse(obj)._id), + 'comment': String(local_comment), + 'sequence_session_id': String(local_sequence_session_id), + 'backgroundColor':bg_color, + + } + tab_event.push(local_val); @@ -459,28 +486,30 @@ const Module_Agenda = (props) => { const [events, setEvents] = useState([]); const handleSelect = (info) => { - if( String(selected_employee_id).length < 2 ){ + if (String(selected_employee_id).length < 2) { alert(" Vous devez choisir un employé ou un materiel"); - return; + return; } if (String(props.write_access) !== "1") { // Pas d'acces en ecriture. return; } + + + setp_detail_title("Nouvelle") setp_detail_start(info.start) setp_detail_end(info.end) setp_detail_comment(""); + setp_detail_sequence_session_id(""); setp_detail_event_id(""); setStartDate(info.start); setendDate(info.end); setDialog_1_open(true); - - - + /*const { start, end } = info; const eventNamePrompt = prompt("Enter, Nom evenment"); if (eventNamePrompt) { @@ -509,15 +538,16 @@ const Module_Agenda = (props) => { const handleEventClick = (arg) => { - if( String(selected_employee_id).length < 2 ){ + if (String(selected_employee_id).length < 2) { alert(" Vous devez choisir un employé ou un materiel"); - return; + return; } setp_detail_title(arg.event.title) setp_detail_start(arg.event.start) setp_detail_end(arg.event.end) setp_detail_event_id(arg.event.id); + if (arg.event.extendedProps.comment) { setp_detail_comment(arg.event.extendedProps.comment); @@ -525,6 +555,15 @@ const Module_Agenda = (props) => { else setp_detail_comment(""); + if (arg.event.extendedProps.sequence_session_id) { + setp_detail_sequence_session_id(arg.event.extendedProps.sequence_session_id); + + } + else + setp_detail_sequence_session_id(""); + + + setStartDate(arg.event.start); setendDate(arg.event.end); setDialog_1_open(true); @@ -591,6 +630,7 @@ const Module_Agenda = (props) => { const [p_detail_start, setp_detail_start] = useState(); const [p_detail_end, setp_detail_end] = useState(); const [p_detail_comment, setp_detail_comment] = useState(); + const [p_detail_sequence_session_id, setp_detail_sequence_session_id] = useState(""); const [startDate, setStartDate] = useState(new Date()); const [endDate, setendDate] = useState(new Date()); @@ -606,9 +646,9 @@ const Module_Agenda = (props) => { var local_related_collection = p_filtre1; - if( String(selected_employee_id).length < 2 ){ + if (String(selected_employee_id).length < 2) { alert(" Vous devez choisir un employé ou un materiel"); - return; + return; } if (moment(endDate) <= moment(startDate)) { @@ -660,6 +700,7 @@ const Module_Agenda = (props) => { setp_detail_start(); setp_detail_end(); setp_detail_comment(); + setp_detail_sequence_session_id(""); alert(res.data.message); @@ -715,13 +756,14 @@ const Module_Agenda = (props) => { setDelete_One_Agenda_Event_api("true"); setDelete_One_Agenda_Event_result(res.data.message); - Get_List_Agenda_Events(); + Get_List_Agenda_Events_For_Given_User(selected_employee_id); setp_detail_event_id(); setp_detail_title(); setp_detail_start(); setp_detail_end(); setp_detail_comment(); + setp_detail_sequence_session_id(""); alert(res.data.message); @@ -837,7 +879,7 @@ const Module_Agenda = (props) => { value={p_detail_title} onChange={(e) => { - if (String(props.write_access) === "1") + if (String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "") setp_detail_title(e.target.value); } } @@ -852,13 +894,13 @@ const Module_Agenda = (props) => { id="event_dialog_start" selected={startDate} onChange={(date) => { - if (String(props.write_access) === "1") + if (String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "" ) return setStartDate(date); } } - - className="disabled_style enable_style" + + className="disabled_style session_caract_Dialog_DatePicker" locale='fr-FR' showTimeSelect timeFormat="HH:mm" @@ -878,13 +920,13 @@ const Module_Agenda = (props) => { selected={endDate} onChange={(date) => { - if (String(props.write_access) === "1") + if (String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "") return setendDate(date); } } - - className="disabled_style enable_style" + + className="disabled_style session_caract_Dialog_DatePicker" locale='fr-FR' showTimeSelect timeFormat="HH:mm" @@ -907,7 +949,9 @@ const Module_Agenda = (props) => { value={p_detail_comment} onChange={(e) => { - if (String(props.write_access) === "1") + + console.log( " dans comment p_detail_sequence_session_id = ", p_detail_sequence_session_id); + if (String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "") setp_detail_comment(e.target.value); } } @@ -927,7 +971,7 @@ const Module_Agenda = (props) => {
- {String(props.write_access) === "1" &&
+ {String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "" &&
{p_detail_event_id && String(p_detail_event_id) !== "" && } {(!p_detail_event_id || String(p_detail_event_id) === "") && } @@ -944,7 +988,7 @@ const Module_Agenda = (props) => { - {String(props.write_access) === "1" && p_detail_event_id && String(p_detail_event_id) !== "" && + {String(props.write_access) === "1" && String(p_detail_sequence_session_id) === "" && p_detail_event_id && String(p_detail_event_id) !== "" &&
+
+
+ {String(menu) !== "config_jours_heures" &&
   JOURS & HEURES
} + {String(menu) === "config_jours_heures" &&
    JOURS & HEURES
} +
+
@@ -1378,7 +1398,7 @@ const Partner = (props) => { {String(menu) === "mes_stagiaires" &&
- +
} @@ -1419,6 +1439,13 @@ const Partner = (props) => { } + + {String(menu) === "config_jours_heures" &&
+ + +
+ } + {String(menu) === "config_champ_specific" &&
diff --git a/src/components/Partner_Config_Jours_Travail.js b/src/components/Partner_Config_Jours_Travail.js new file mode 100644 index 0000000..15dc06b --- /dev/null +++ b/src/components/Partner_Config_Jours_Travail.js @@ -0,0 +1,409 @@ +import React, { useRef, useState, useEffect } from "react"; +import TextField from '@mui/material/TextField'; +import MenuItem from '@mui/material/MenuItem'; +import 'react-confirm-alert/src/react-confirm-alert.css'; // Import css +import Button from '@mui/material/Button'; +import axios from "axios"; +import { getCookie, setCookie } from 'react-use-cookie'; +import { useHistory } from "react-router-dom"; +import CheckOut from "./CheckOut"; +import { DataGrid, GridToolbar, frFR } from '@mui/x-data-grid'; +import "react-draft-wysiwyg/dist/react-draft-wysiwyg.css"; +import { Editor } from '@tinymce/tinymce-react'; +import parse from 'html-react-parser'; +import { FcViewDetails, FcDisapprove } from "react-icons/fc"; +import 'react-tooltip/dist/react-tooltip.css' +import { Tooltip } from 'react-tooltip' +import add_plus from "../mysy_img/plus.png"; +import excel_icone from "../mysy_img/excel_icone.png"; +import participants from "../mysy_img/participants.png"; +import fileDownload from 'js-file-download' +import Popup from 'reactjs-popup'; +import 'reactjs-popup/dist/index.css'; +import { FcCancel, FcApproval, FcAcceptDatabase, FcPrint } from "react-icons/fc"; +import DatePicker from "react-datepicker"; +import "react-datepicker/dist/react-datepicker.css"; +import { format } from 'date-fns' +import moment from "moment"; +import InputAdornment from '@mui/material/InputAdornment'; +import { AiFillCloseCircle } from "react-icons/ai"; +import Box from '@mui/material/Box'; +import { Typography, LinearProgress, sliderClasses } from '@mui/material'; +import styled from 'styled-components'; +import { CiTrash } from "react-icons/ci"; +import { MdAddCircleOutline, MdRemoveCircleOutline } from "react-icons/md"; +import Dialog from '@mui/material/Dialog'; +import DialogActions from '@mui/material/DialogActions'; +import DialogContent from '@mui/material/DialogContent'; +import DialogContentText from '@mui/material/DialogContentText'; +import DialogTitle from '@mui/material/DialogTitle'; +import { TransitionProps } from '@mui/material/transitions'; +import img_loading_spin from "./../mysy_img/mysy_spin_loading.gif"; + + +const Partner_Configuration_Jours_Travail = (props) => { + + const history = useHistory(); + const [submenu, setsubmenu] = useState(""); + const [rowss, setRows] = useState([]); + const [selectionModel, setSelectionModel] = React.useState([]); + + var date_today_90j = new Date(); + date_today_90j.setDate(date_today_90j.getDate() + 90); + + 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(); + + const [isLoading, setLoading] = useState(); + + const columns = [ + { field: '_id', headerName: '_id', hide: true }, + { field: 'id', headerName: 'id', hide: true }, + { field: 'config_name', headerName: 'Nom étape', flex: 1, hide: false, editable: false }, + { field: 'config_value', headerName: 'Sequence', flex: 1, hide: false, editable: false }, + { field: 'config_comment', headerName: 'Sequence', flex: 1, hide: true, editable: false }, + + + { + field: "delete", headerName: 'Supprimer', + renderCell: (cellValues) => { + return ( + + { + // handleClick_delete(event, cellValues); + }} + > + + + } + modal + nested + position="center center" + > + {close => ( +
+ +
MySy Information
+
+ {' '} + + En confirmant cette opération, le document sera définitivement supprimé.
+ +
+
+
+ + +
+
+ +
+
+
+ )} +
+ + + ); + } + } + + ] + + + + const myRef = useRef(null) + + + const myRef_head = useRef(null); + const [selected_id, setselected_id] = useState(""); + + + const [Dialog_1_message, setDialog_1_message] = React.useState(false); + const [Dialog_1_open, setDialog_1_open] = React.useState(false); + function Dialog_1_handle_change_participant_session(message) { + setDialog_1_message(message); + setDialog_1_open(true); + } + + const Dialog_1_handleClose = () => { + //alert(" Utiliser le bouton 'fermer' "); + //setOpen(false); + }; + + const Dialog_1_handleClose_buton = () => { + setDialog_1_open(false); + }; + + + return ( +
+ {isLoading &&
+
+
} +

Votre configuration des jours et heure de travail

+ +
+
Utilisez les filtres !
+
+
+ { + setp_filtre1(e.target.value); + + }} + > + Nom du point de configuration   + + + +
+ + + +
+ {p_filtre1 && + { setp_filtre1_value(e.target.value); }} + InputProps={{ + endAdornment: ( + + { + setp_filtre1_value(""); + }} /> + + ), + }} + + /> + + } +
+ {p_filtre1 && } + {p_filtre1 && } + + +
+ +
+ +
+ +
+ +
+ + +
+ +
+ +
+
+ +
+
+
+ +
+   + + { + setSelectionModel(newSelectionModel); + /* if (newSelectionModel.length === 1) + handleClick_edit_config_From_Line(newSelectionModel); + if (newSelectionModel.length !== 1) { + setp_detail_config_valeur(); + setp_detail_config_point(); + setConfig_data_changed(); + setconfig_data_edit_mode(); + setdisplay_detail_config(); + + + }*/ + }} + selectionModel={selectionModel} + + localeText={frFR.components.MuiDataGrid.defaultProps.localeText} + rows={rowss.map((item, index) => ( + { + id: index, + _id: JSON.parse(item)._id, + config_name: JSON.parse(item).session_step_name, + config_value: JSON.parse(item).session_step_sequence, + config_comment: JSON.parse(item).session_step_comment, + } + ))} + + columns={columns} + pageSize={10} + className="datagridclass" + + onRowDoubleClick={(newSelectionModel) => { + //handleClick_edit_config_From_Line (newSelectionModel.row.id); + + }} + + rowsPerPageOptions={[10]} + //disableSelectionOnClick + components={{ + Toolbar: GridToolbar, + }} + //sx={datagridSx} + getCellClassName={(params) => { + + + //field === "order_header_status" + if (params.field === "order_header_status" && String(params.value) == "0") { + return 'cell--status--brouillon'; + } + + if (params.field === "order_header_status" && String(params.value) == "1") { + + return 'cell--status--encours'; + } + + if (params.field === "order_header_status" && String(params.value) == "2") { + return 'cell--status--traite'; + } + + if (params.field === "order_header_status" && String(params.value) == "3") { + return 'cell--status--facture'; + } + + }} + getRowClassName={(params) => { + + if (String(params.row.status) === "-1") { + return 'line--statut--annule'; + } + if (String(params.row.status) === "0") { + return 'line--statut--preinscrit'; + } + if (String(params.row.status) === "1") { + return 'line--statut--inscrit'; + } + }} + + + /> + +
+ +
+ +
+ +
+
+ +
+ +
+
+
 
+
+ +
+ ) +} + + +export default Partner_Configuration_Jours_Travail; + diff --git a/src/styles/components/_module_absence.scss b/src/styles/components/_module_absence.scss index 26ac0d7..4728b7e 100644 --- a/src/styles/components/_module_absence.scss +++ b/src/styles/components/_module_absence.scss @@ -2473,6 +2473,12 @@ } + .session_caract_Dialog_DatePicker { + width: 99% !important; + background-color: #FFFFFF; + } + + .css-1v4ccyo { height: 3.5rem !important; font-size: small; diff --git a/src/styles/components/_module_agenda.scss b/src/styles/components/_module_agenda.scss index f4f8ae7..3d34c3f 100644 --- a/src/styles/components/_module_agenda.scss +++ b/src/styles/components/_module_agenda.scss @@ -2473,6 +2473,12 @@ } + .session_caract_Dialog_DatePicker { + width: 99% !important; + background-color: #FFFFFF; + } + + .css-1v4ccyo { height: 3.5rem !important; font-size: small; diff --git a/src/styles/components/_partner_configuration_jours_travail.scss b/src/styles/components/_partner_configuration_jours_travail.scss new file mode 100644 index 0000000..c17fc93 --- /dev/null +++ b/src/styles/components/_partner_configuration_jours_travail.scss @@ -0,0 +1,2395 @@ +.partner_configuration_jours_travail { + + + .Mui-disabled { + font-size: small !important; + padding: 0px !important; + padding-left: 5px !important; + } + + + + @media screen and (max-width: 600px) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } + + .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; + } + + + .training_caract { + width: 100%; + 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: 100%; + 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; + + + } + + .session_caract { + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .session_caract_comment_2_lines { + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .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; + padding-bottom: 0px !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%; + } + + + .icon_plus_line { + width: 3%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 100%; + } + + .bton_add_sous_menu { + 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; + padding-left: 5px !important; + + } + + .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) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } + + .koUpdateData { + font-size: small; + color: red; + font-style: italic; + } + + .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; + padding-left: 5px !important; + } + + .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; + + + } + + .session_caract { + width: 50%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .session_caract_comment_2_lines { + width: 50%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .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; + padding-bottom: 0px !important; + } + + .css-qiwgdb { + padding: 6px !important; + } + + .preview_certif { + display: block; + width: 90%; + height: 200px; + 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: 6%; + } + + + .icon_plus_line { + width: 4%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 50%; + } + + .bton_add_sous_menu { + background: #c8cfd5; + color: black; + width: 100%; + } + + .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) { + .okUpdateData { + font-size: small; + color: green; + font-style: italic; + } + + .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 { + float: left; + // border:1px solid black; + // border-width:0.01rem; + width: 45%; + border-radius: 1rem; + } + + .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; + padding-left: 5px !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: 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; + + + } + + .session_caract { + width: 33%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .session_caract_comment_2_lines { + width: 33%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + + + .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; + padding-bottom: 0px !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%; + } + + + .icon_plus_line { + width: 3%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 40%; + } + + .bton_add_sous_menu { + background: #c8cfd5; + color: black; + width: 100%; + } + + .bton_import_excel { + background: #c8cfd5; + color: black; + width: 50% !important; + } + + .div_row_gauche_etendu { + width: 80%; + } + + .icon_excel { + width: 6%; + } + + + .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; + } + + .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; + } + + .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; + } + + .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; + } + + + .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; + } + + .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 { + float: left; + // border:1px solid black; + // border-width:0.01rem; + width: 45%; + border-radius: 1rem; + } + + .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; + 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; + padding-left: 5px !important; + } + + .disabled_style_Dialog { + //background-color: #ECEFF1; + font-size: small !important; + color: black; + width: 100% !important; + height: 3.5rem !important; + margin: 5px !important; + //border: none !important; + border-radius: 5px; + background: white; + border: solid gainsboro 1px; + padding-left: 5px !important; + } + + .session_caract_Dialog { + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .session_caract_Dialog_comment_2_lines { + + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !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; + } + + .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; + + + } + + + + .session_caract { + width: 33%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .session_caract_comment_2_lines { + width: 33%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .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; + } + + + .action_mass { + border-radius: 5px; + font-size: small; + padding: 0.3rem; + width: 40%; + background: #81BC3A; + height: 2.5rem; + } + + + + .block_en_mass { + width: 50%; + float: left; + margin-bottom: 1rem; + } + + .session_open_close { + cursor: pointer; + text-align: right; + font-size: small; + margin-right: 10px; + } + + .hr_break { + border: 5px solid grey; + } + + .icon_plus { + width: 8%; + } + + .icon_plus_line { + width: 2%; + } + + .bton_add_session { + background: #c8cfd5; + color: black; + width: 25% !important; + } + + .bton_add_sous_menu { + background: #c8cfd5; + color: black; + width: 25% !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; + padding-bottom: 0px !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; + } + + .css-l4u8b9-MuiInputBase-root-MuiInput-root{ + text-align: left !important; + } + + .bton_enreg_dialog { + 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_annule_dialog { + 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; + } + + + } + + // end media + + + .css-md26zr-MuiInputBase-root-MuiOutlinedInput-root{ + height: 3.5rem !important; + } + + .css-1bp1ao6{ + height: 3.5rem !important; + } + + .session_caract_Dialog { + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + .session_caract_Dialog_comment_2_lines { + + width: 100%; + padding: 5px; + float: left; + text-align: left; + font-size: small; + margin-bottom: 1rem !important; + } + + + .css-1v4ccyo { + height: 3.5rem !important; + font-size: small; + } + + 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; + } + + .separator { + display: flex; + align-items: center; + text-align: center; + margin-bottom: 0.5rem !important; + } + + .separator::before, + .separator::after { + content: ''; + flex: 1; + border-bottom: 1px solid #e0e0e0; + } + + .separator:not(:empty)::before { + margin-right: .35em; + } + + .separator:not(:empty)::after { + margin-left: .35em; + } + + .MuiSelect-select{ + //height: 3rem !important; + + } + + +} + +.MuiMenu-paper { + max-width: 30% !important; +} + +.tox-statusbar { + display: none !important; +} + + + + +.css-1x5jdmq { + height: 3rem !important; + font-size: small; +} + +.select_option_css { + border-radius: 0px !important; +} + +.css-9ddj71-MuiInputBase-root-MuiOutlinedInput-root { + height: 3.5rem !important; + font-size: small !important; +} + + + +.react-datepicker__input-container { + width: 110%; +} + +.css-1t8l2tu-MuiInputBase-input-MuiOutlinedInput-input { + padding-left: 5px !important; +} \ No newline at end of file diff --git a/src/styles/index.scss b/src/styles/index.scss index c6addd6..b633d86 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -86,4 +86,5 @@ @import "./components/module_agenda.scss"; @import "./components/partner_configuration_session_step"; @import "./components/module_absence"; +@import "./components/partner_configuration_jours_travail";