111 lines
1.9 KiB
CSS
111 lines
1.9 KiB
CSS
.football-container {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.toolbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 620px; /* largeur égale au canvas pour aligner */
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
canvas {
|
|
border: 2px solid #000000; /* Bordure noire pour le canvas */
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.color-palette {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.shape-selector {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.color-box {
|
|
width: 30px;
|
|
height: 30px;
|
|
margin: 0 5px;
|
|
border-radius: 50%;
|
|
border: 2px solid transparent;
|
|
cursor: pointer;
|
|
transition: border 0.2s;
|
|
}
|
|
|
|
.color-box.selected {
|
|
border: 2px solid #000000;
|
|
}
|
|
|
|
.controls {
|
|
margin-top: 15px;
|
|
}
|
|
|
|
.clear-button {
|
|
padding: 10px 20px;
|
|
background-color: #ff4d4d; /* Rouge vif */
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
.clear-button:hover {
|
|
background-color: #ff1a1a; /* couleur plus foncée au survol */
|
|
}
|
|
|
|
.timeline-container {
|
|
width: 100%;
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.player-timeline {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.timeline {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 25px;
|
|
background-color: #f0f0f0;
|
|
border: 1px solid #ccc;
|
|
display: flex;
|
|
align-items: right;
|
|
}
|
|
|
|
.timeline-name {
|
|
width: 10%;
|
|
display: flex;
|
|
align-items: left;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.timeline-block {
|
|
position: absolute;
|
|
height: 23px;
|
|
background-color: hsla(240, 100%, 50%, 0.308);
|
|
border: 2px solid black;
|
|
cursor: move;
|
|
font-family: Arial, Helvetica, sans-serif;
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.time-indicator {
|
|
position: absolute;
|
|
top: 0;
|
|
width: 3px; /* Epaisseur du trait */
|
|
height: 100%; /* La hauteur couvre toute la timeline */
|
|
background-color: red; /* Couleur du trait de temps */
|
|
left: 0; /* Point de départ du trait */
|
|
} |