2023-04-17 15:44:55 +02:00
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selectors>* {
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.selectors:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
|
|
|
|
2023-06-13 16:25:45 +02:00
|
|
|
#validate_selectors {
|
2023-07-26 16:43:49 +02:00
|
|
|
margin: 15px 0;
|
2023-06-13 16:25:45 +02:00
|
|
|
}
|
|
|
|
|
2023-04-17 15:44:55 +02:00
|
|
|
.no-display {
|
|
|
|
display: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* === Gestion de la timeline === */
|
|
|
|
|
|
|
|
#tl_date {
|
|
|
|
visibility: hidden;
|
|
|
|
width: 0px;
|
|
|
|
height: 0px;
|
|
|
|
position: absolute;
|
|
|
|
left: 15%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.infos {
|
|
|
|
position: relative;
|
|
|
|
width: fit-content;
|
2023-05-30 11:47:59 +02:00
|
|
|
display: flex;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
align-content: center;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#datestr {
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: white;
|
|
|
|
border: 1px #444 solid;
|
|
|
|
border-radius: 5px;
|
|
|
|
padding: 5px;
|
2023-05-30 11:47:59 +02:00
|
|
|
min-width: 100px;
|
|
|
|
display: inline-block;
|
|
|
|
min-height: 20px;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#tl_slider {
|
|
|
|
width: 90%;
|
|
|
|
cursor: grab;
|
|
|
|
|
|
|
|
/* visibility: hidden; */
|
|
|
|
}
|
|
|
|
|
|
|
|
#datestr,
|
|
|
|
#time {
|
|
|
|
width: fit-content;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-slider-handle.tl_handle {
|
|
|
|
background: none;
|
|
|
|
width: 25px;
|
|
|
|
height: 25px;
|
|
|
|
visibility: visible;
|
|
|
|
background-position: top;
|
|
|
|
background-size: cover;
|
|
|
|
border: none;
|
|
|
|
top: -180%;
|
|
|
|
cursor: grab;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#l_handle {
|
|
|
|
background-image: url(../icons/l_handle.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
#r_handle {
|
|
|
|
background-image: url(../icons/r_handle.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.ui-slider-range.ui-widget-header.ui-corner-all {
|
|
|
|
background-color: #F9C768;
|
|
|
|
background-image: none;
|
|
|
|
opacity: 0.50;
|
|
|
|
visibility: visible;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* === Gestion des etuds row === */
|
|
|
|
|
|
|
|
|
|
|
|
.etud_row {
|
|
|
|
display: grid;
|
2023-07-25 19:59:47 +02:00
|
|
|
grid-template-columns: 2% 20% 55% auto;
|
2023-04-19 17:35:48 +02:00
|
|
|
gap: 16px;
|
2023-04-17 15:44:55 +02:00
|
|
|
background-color: white;
|
|
|
|
border-radius: 15px;
|
2023-04-19 17:35:48 +02:00
|
|
|
padding: 4px 16px;
|
2023-04-17 15:44:55 +02:00
|
|
|
margin: 0.5% 0;
|
|
|
|
box-shadow: -1px 12px 5px -8px rgba(68, 68, 68, 0.61);
|
|
|
|
-webkit-box-shadow: -1px 12px 5px -8px rgba(68, 68, 68, 0.61);
|
|
|
|
-moz-box-shadow: -1px 12px 5px -8px rgba(68, 68, 68, 0.61);
|
2023-04-19 17:35:48 +02:00
|
|
|
max-width: 800px;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row * {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
height: 50px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-07-25 19:59:47 +02:00
|
|
|
.etud_row.def,
|
|
|
|
.etud_row.dem {
|
|
|
|
background-color: #c8c8c8;
|
|
|
|
}
|
|
|
|
|
2023-04-17 15:44:55 +02:00
|
|
|
/* --- Index --- */
|
|
|
|
.etud_row .index_field {
|
|
|
|
grid-column: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* --- Nom étud --- */
|
|
|
|
.etud_row .name_field {
|
|
|
|
grid-column: 2;
|
|
|
|
height: 100%;
|
2023-07-25 19:59:47 +02:00
|
|
|
justify-content: start;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row .name_field .name_set {
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
margin: 0 5%;
|
2023-09-11 15:55:18 +02:00
|
|
|
|
|
|
|
cursor: pointer;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
2023-07-25 19:59:47 +02:00
|
|
|
.etud_row.def .nom::after,
|
|
|
|
.tr.def .td.sticky span::after {
|
|
|
|
display: block;
|
|
|
|
content: " (Déf.)";
|
|
|
|
color: #d61616;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row.dem .nom::after,
|
|
|
|
.tr.dem .td.sticky span::after {
|
|
|
|
display: block;
|
|
|
|
content: " (Dém.)";
|
|
|
|
color: #d61616;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
|
2023-04-17 15:44:55 +02:00
|
|
|
.etud_row .name_field .name_set * {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row .name_field .name_set h4 {
|
|
|
|
font-size: small;
|
|
|
|
font-weight: 600;
|
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row .name_field .name_set h5 {
|
|
|
|
font-size: x-small;
|
|
|
|
}
|
|
|
|
|
2023-04-19 17:35:48 +02:00
|
|
|
.etud_row .pdp {
|
|
|
|
border-radius: 15px;
|
|
|
|
}
|
|
|
|
|
2023-04-17 15:44:55 +02:00
|
|
|
/* --- Barre assiduités --- */
|
|
|
|
.etud_row .assiduites_bar {
|
2023-04-19 17:35:48 +02:00
|
|
|
display: grid;
|
|
|
|
grid-template-columns: 7px 1fr;
|
|
|
|
gap: 13px;
|
2023-04-17 15:44:55 +02:00
|
|
|
grid-column: 3;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.etud_row .assiduites_bar .filler {
|
|
|
|
height: 5px;
|
|
|
|
width: 90%;
|
|
|
|
|
|
|
|
background-color: white;
|
|
|
|
border: 1px solid #444;
|
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row .assiduites_bar #prevDateAssi {
|
|
|
|
height: 7px;
|
|
|
|
width: 7px;
|
|
|
|
|
|
|
|
background-color: white;
|
|
|
|
border: 1px solid #444;
|
|
|
|
margin: 0px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row .assiduites_bar #prevDateAssi.single {
|
|
|
|
height: 9px;
|
|
|
|
width: 9px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row.conflit {
|
2023-06-12 17:54:30 +02:00
|
|
|
background-color: #ff0000c2;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
2023-07-25 19:59:47 +02:00
|
|
|
.etud_row .assiduites_bar .absent,
|
|
|
|
.demo.absent {
|
2023-04-19 17:35:48 +02:00
|
|
|
background-color: #F1A69C !important;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
2023-07-25 19:59:47 +02:00
|
|
|
.etud_row .assiduites_bar .present,
|
|
|
|
.demo.present {
|
2023-04-19 17:35:48 +02:00
|
|
|
background-color: #9CF1AF !important;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
2023-07-25 19:59:47 +02:00
|
|
|
.etud_row .assiduites_bar .retard,
|
|
|
|
.demo.retard {
|
2023-04-19 17:35:48 +02:00
|
|
|
background-color: #F1D99C !important;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
2023-07-25 19:59:47 +02:00
|
|
|
.etud_row .assiduites_bar .justified,
|
|
|
|
.demo.justified {
|
2023-04-19 20:58:15 +02:00
|
|
|
background-image: repeating-linear-gradient(135deg, transparent, transparent 4px, #7059FF 4px, #7059FF 8px);
|
|
|
|
}
|
|
|
|
|
2023-07-25 19:59:47 +02:00
|
|
|
.etud_row .assiduites_bar .invalid_justified,
|
|
|
|
.demo.invalid_justified {
|
|
|
|
background-image: repeating-linear-gradient(225deg, transparent, transparent 4px, #d61616 4px, #d61616 8px);
|
2023-04-19 20:58:15 +02:00
|
|
|
}
|
|
|
|
|
2023-04-17 15:44:55 +02:00
|
|
|
|
|
|
|
/* --- Boutons assiduités --- */
|
|
|
|
.etud_row .btns_field {
|
|
|
|
grid-column: 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btns_field:disabled {
|
|
|
|
opacity: 0.7;
|
|
|
|
}
|
|
|
|
|
|
|
|
.etud_row .btns_field * {
|
|
|
|
margin: 0 5%;
|
|
|
|
cursor: pointer;
|
|
|
|
width: 35px;
|
|
|
|
height: 35px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.rbtn {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
|
2023-06-14 17:53:19 +02:00
|
|
|
cursor: pointer;
|
|
|
|
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.rbtn::before {
|
|
|
|
content: "";
|
|
|
|
display: inline-block;
|
|
|
|
width: 35px;
|
|
|
|
height: 35px;
|
|
|
|
background-position: center;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
2023-09-11 11:30:43 +02:00
|
|
|
|
2023-04-17 15:44:55 +02:00
|
|
|
.rbtn.present::before {
|
|
|
|
background-image: url(../icons/present.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.rbtn.absent::before {
|
|
|
|
background-image: url(../icons/absent.svg);
|
|
|
|
}
|
|
|
|
|
2023-06-13 16:25:45 +02:00
|
|
|
.rbtn.aucun::before {
|
|
|
|
background-image: url(../icons/aucun.svg);
|
|
|
|
}
|
|
|
|
|
2023-04-17 15:44:55 +02:00
|
|
|
.rbtn.retard::before {
|
|
|
|
background-image: url(../icons/retard.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.rbtn:checked:before {
|
2023-09-11 11:30:43 +02:00
|
|
|
outline: 5px solid #7059FF;
|
|
|
|
border-radius: 50%;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.rbtn:focus {
|
|
|
|
outline: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*<== Modal conflit ==>*/
|
|
|
|
.modal {
|
2023-06-12 17:54:30 +02:00
|
|
|
display: block;
|
2023-04-17 15:44:55 +02:00
|
|
|
position: fixed;
|
|
|
|
z-index: 500;
|
|
|
|
left: 0;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: auto;
|
|
|
|
background-color: rgba(0, 0, 0, 0.4);
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-content {
|
|
|
|
background-color: #fefefe;
|
|
|
|
margin: 5% auto;
|
|
|
|
padding: 20px;
|
|
|
|
border: 1px solid #888;
|
|
|
|
width: 80%;
|
2023-07-26 07:32:32 +02:00
|
|
|
height: 320px;
|
2023-04-17 15:44:55 +02:00
|
|
|
position: relative;
|
|
|
|
border-radius: 10px;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.close {
|
|
|
|
color: #111;
|
|
|
|
position: absolute;
|
|
|
|
right: 5px;
|
|
|
|
top: 0px;
|
|
|
|
font-size: 28px;
|
|
|
|
font-weight: bold;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Ajout de styles pour la frise chronologique */
|
|
|
|
.modal-timeline {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: stretch;
|
|
|
|
margin-bottom: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.time-labels,
|
|
|
|
.assiduites-container {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.time-label {
|
|
|
|
font-size: 14px;
|
|
|
|
margin-bottom: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.assiduite {
|
|
|
|
position: absolute;
|
|
|
|
top: 20px;
|
|
|
|
cursor: pointer;
|
|
|
|
border-radius: 4px;
|
|
|
|
z-index: 10;
|
|
|
|
height: 100px;
|
|
|
|
padding: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.assiduite-info {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.assiduite-id,
|
|
|
|
.assiduite-period,
|
|
|
|
.assiduite-state,
|
|
|
|
.assiduite-user_id {
|
|
|
|
font-size: 12px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.assiduites-container {
|
|
|
|
min-height: 20px;
|
|
|
|
height: calc(50% - 60px);
|
|
|
|
/* Augmentation de la hauteur du conteneur des assiduités */
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.action-buttons {
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
align-items: center;
|
|
|
|
height: 60px;
|
|
|
|
width: 100%;
|
|
|
|
bottom: 5%;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Ajout de la classe CSS pour la bordure en pointillés */
|
|
|
|
.assiduite.selected {
|
|
|
|
border: 2px dashed black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.assiduite-special {
|
|
|
|
height: 120px;
|
|
|
|
position: absolute;
|
|
|
|
z-index: 5;
|
|
|
|
border: 2px solid #000;
|
|
|
|
background-color: rgba(36, 36, 36, 0.25);
|
|
|
|
background-image: repeating-linear-gradient(135deg, transparent, transparent 5px, rgba(81, 81, 81, 0.61) 5px, rgba(81, 81, 81, 0.61) 10px);
|
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*<== Info sur l'assiduité sélectionnée ==>*/
|
|
|
|
.modal-assiduite-content {
|
|
|
|
background-color: #fefefe;
|
|
|
|
margin: 5% auto;
|
|
|
|
padding: 20px;
|
|
|
|
border: 1px solid #888;
|
|
|
|
width: max-content;
|
|
|
|
position: relative;
|
|
|
|
border-radius: 10px;
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.modal-assiduite-content.show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.modal-assiduite-content .infos {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: space-evenly;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*<=== Mass Action ==>*/
|
|
|
|
|
|
|
|
.mass-selection {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
width: 100%;
|
|
|
|
margin: 2% 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mass-selection span {
|
|
|
|
margin: 0 1%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mass-selection .rbtn {
|
|
|
|
background-color: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*<== Loader ==> */
|
|
|
|
|
|
|
|
.loader-container {
|
|
|
|
display: none;
|
|
|
|
/* Cacher le loader par défaut */
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
|
|
/* Fond semi-transparent pour bloquer les clics */
|
|
|
|
z-index: 9999;
|
|
|
|
/* Placer le loader au-dessus de tout le contenu */
|
|
|
|
}
|
|
|
|
|
|
|
|
.loader {
|
|
|
|
border: 6px solid #f3f3f3;
|
|
|
|
border-radius: 50%;
|
|
|
|
border-top: 6px solid #3498db;
|
|
|
|
width: 60px;
|
|
|
|
height: 60px;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
animation: spin 2s linear infinite;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes spin {
|
|
|
|
0% {
|
|
|
|
transform: translate(-50%, -50%) rotate(0deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
transform: translate(-50%, -50%) rotate(360deg);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.fieldsplit {
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.fieldsplit legend {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#page-assiduite-content {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
gap: 5%;
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
#page-assiduite-content>* {
|
|
|
|
margin: 1.5% 0;
|
2023-04-20 18:04:21 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.rouge {
|
|
|
|
color: crimson;
|
2023-06-12 17:54:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.legende {
|
|
|
|
border: 1px dashed #333;
|
|
|
|
width: 75%;
|
|
|
|
padding: 20px;
|
2023-06-13 16:25:45 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.order {
|
2023-06-15 17:50:38 +02:00
|
|
|
background-image: url(../icons/sort.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
.filter {
|
|
|
|
background-image: url(../icons/filter.svg);
|
|
|
|
}
|
|
|
|
|
2023-06-23 16:12:36 +02:00
|
|
|
[name='destroyFile'] {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
appearance: none;
|
|
|
|
cursor: pointer;
|
|
|
|
background-image: url(../icons/trash.svg);
|
|
|
|
}
|
|
|
|
|
|
|
|
[name='destroyFile']:checked {
|
|
|
|
background-image: url(../icons/remove_circle.svg);
|
|
|
|
}
|
|
|
|
|
2023-06-15 17:50:38 +02:00
|
|
|
.icon {
|
2023-06-13 16:25:45 +02:00
|
|
|
display: block;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
2023-06-23 16:12:36 +02:00
|
|
|
outline: none !important;
|
|
|
|
border: none !important;
|
2023-06-13 16:25:45 +02:00
|
|
|
cursor: pointer;
|
2023-06-23 16:12:36 +02:00
|
|
|
margin: 0 2px !important;
|
2023-06-13 16:25:45 +02:00
|
|
|
}
|
|
|
|
|
2023-06-15 17:50:38 +02:00
|
|
|
.icon:focus {
|
2023-06-13 16:25:45 +02:00
|
|
|
outline: none;
|
|
|
|
border: none;
|
2023-07-04 15:04:58 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
#forcemodule {
|
|
|
|
border-radius: 8px;
|
|
|
|
background: crimson;
|
|
|
|
max-width: fit-content;
|
|
|
|
padding: 5px;
|
|
|
|
color: white;
|
2023-07-25 19:59:47 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.demo {
|
|
|
|
width: 23px;
|
|
|
|
height: 13px;
|
|
|
|
display: inline-block;
|
|
|
|
border: solid 1px #333;
|
2023-04-17 15:44:55 +02:00
|
|
|
}
|