123 lines
2.5 KiB
CSS
123 lines
2.5 KiB
CSS
.App {
|
|
text-align: center;
|
|
}
|
|
|
|
.App-logo {
|
|
height: 40vmin;
|
|
pointer-events: none;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.App-logo {
|
|
animation: App-logo-spin infinite 20s linear;
|
|
}
|
|
}
|
|
|
|
.App-header {
|
|
background-color: #2F4858;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: calc(10px + 2vmin);
|
|
color: white;
|
|
}
|
|
|
|
.App-link {
|
|
color: #61dafb;
|
|
}
|
|
|
|
@keyframes App-logo-spin {
|
|
from {
|
|
transform: rotate(0deg);
|
|
}
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.sample-tracker-container {
|
|
position: relative; /* Ensure tooltip positions correctly within the container */
|
|
padding: 5px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
max-width: 50%;
|
|
width: auto;
|
|
margin: 0 auto;
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.tooltip {
|
|
position: absolute;
|
|
background-color: #f9f9f9;
|
|
border: 1px solid #ccc;
|
|
border-radius: 5px;
|
|
padding: 5px;
|
|
box-shadow: 0 0 10px rgba(0,0,0,0.1);
|
|
top: 50px; /* Adjust positioning */
|
|
left: 10%; /* Center horizontally relative to the container */
|
|
transform: translateX(-50%);
|
|
z-index: 1000;
|
|
pointer-events: none; /* Prevents tooltip from interfering with other elements */
|
|
}
|
|
|
|
.sample-tracker {
|
|
border: 1px solid #ddd; /* Optional: border around the box */
|
|
border-radius: 5px; /* Optional: rounded corners for the entire box */
|
|
}
|
|
|
|
.pucks-container {
|
|
display: flex;
|
|
flex-wrap: nowrap;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.puck-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin: 0 5px;
|
|
}
|
|
|
|
.puck-label {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
justify-content: flex-start;
|
|
align-items: center;
|
|
height: 100px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.puck-label span {
|
|
display: block; /* Continue displaying each letter as a block to allow individual rotation */
|
|
transform: rotate(-90deg); /* Rotate each letter by -90 degrees */
|
|
margin: 2px 0; /* Add some margin to give space between letters */
|
|
}
|
|
|
|
.samples {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 3px;
|
|
}
|
|
|
|
.sample-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
border: 1px solid lightgray;
|
|
}
|
|
|
|
.header-band {
|
|
background-color: #007bff; /* Replace with desired color */
|
|
color: white; /* Text color */
|
|
padding: 2px 5px; /* Adjust vertical padding to reduce thickness */
|
|
text-align: center; /* Center the text */
|
|
border-radius: 5px 5px 0 0; /* Rounded corners for the top */
|
|
font-size: 12px; /* Adjust text size if needed */
|
|
}
|
|
|