27 lines
771 B
CSS
27 lines
771 B
CSS
.event-span {
|
|
font-size: clamp(.45em, 1.8vh, .75em);
|
|
padding: 0 .5em;
|
|
border-radius: .4em;
|
|
color: var(--strong);
|
|
font-weight: 600;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
line-height: 1; /* let the track height define the visual height */
|
|
height: 100%; /* fill the grid row height */
|
|
align-self: stretch; /* fill row vertically */
|
|
justify-self: stretch; /* stretch across chosen grid columns */
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
pointer-events: auto; /* clickable despite overlay having none */
|
|
z-index: 1;
|
|
}
|
|
|
|
/* Selection styles */
|
|
.cell.selected {
|
|
background: var(--select);
|
|
box-shadow: 0 0 .1em var(--muted) inset;
|
|
}
|
|
.cell.selected .event { opacity: .7 }
|