2021-11-12 22:17:46 +01:00
|
|
|
/* table_editor, par Sébastien L.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/***************************/
|
|
|
|
/* Le tableau */
|
|
|
|
/***************************/
|
2021-11-13 09:11:00 +01:00
|
|
|
.tableau{
|
2021-11-12 22:17:46 +01:00
|
|
|
display: grid;
|
|
|
|
grid-auto-rows: minmax(24px, auto);
|
2021-11-13 09:11:00 +01:00
|
|
|
gap: 2px;
|
2021-11-18 00:24:56 +01:00
|
|
|
margin-top: 5px;
|
|
|
|
background: #fffefa;
|
|
|
|
margin: 10px;
|
2021-11-12 22:17:46 +01:00
|
|
|
}
|
2021-11-13 09:11:00 +01:00
|
|
|
.entete{
|
2021-11-12 22:17:46 +01:00
|
|
|
background: #09c;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
2021-11-13 09:11:00 +01:00
|
|
|
.tableau>div{
|
|
|
|
padding: 4px 8px;
|
|
|
|
border-radius: 4px;
|
2021-11-12 22:17:46 +01:00
|
|
|
border: 1px solid #999;
|
|
|
|
grid-column: var(--x) / span var(--nbX);
|
|
|
|
grid-row: var(--y) / span var(--nbY);
|
|
|
|
}
|
|
|
|
|
2021-11-13 09:11:00 +01:00
|
|
|
[data-editable="true"]{
|
|
|
|
cursor: pointer;
|
2021-11-12 22:17:46 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/***************************/
|
2021-11-13 09:11:00 +01:00
|
|
|
/* Statut des cellules */
|
2021-11-12 22:17:46 +01:00
|
|
|
/***************************/
|
2021-11-13 09:11:00 +01:00
|
|
|
.selected{ outline: 1px solid #c09; }
|
|
|
|
.modifying{ outline: 2px dashed #c09; }
|
|
|
|
.wait{ outline: 2px solid #c90; }
|
|
|
|
.good{ outline: 2px solid #9c0; }
|
2021-11-13 09:43:13 +01:00
|
|
|
.modified { font-weight: bold; color:indigo}
|
2021-11-13 09:11:00 +01:00
|
|
|
/***************************/
|
|
|
|
/* Message */
|
|
|
|
/***************************/
|
|
|
|
.message{
|
|
|
|
position: fixed;
|
|
|
|
bottom: 100%;
|
|
|
|
left: 50%;
|
|
|
|
z-index: 10;
|
|
|
|
padding: 20px;
|
|
|
|
border-radius: 0 0 10px 10px;
|
|
|
|
background: #ec7068;
|
|
|
|
background: #90c;
|
|
|
|
color: #FFF;
|
|
|
|
font-size: 24px;
|
|
|
|
animation: message 3s;
|
|
|
|
transform: translate(-50%, 0);
|
|
|
|
}
|
|
|
|
@keyframes message{
|
|
|
|
20%{transform: translate(-50%, 100%)}
|
|
|
|
80%{transform: translate(-50%, 100%)}
|
2021-11-12 22:17:46 +01:00
|
|
|
}
|