pkg-components
Version:
111 lines (100 loc) • 2.39 kB
CSS
.container {
display: flex;
margin-top: 110px;
}
.timeColumn {
cursor: pointer;
display: flex;
flex-direction: column;
flex-shrink: 0;
justify-content: space-between;
padding-right: 10px;
width: 110px;
box-shadow: var(--box-shadow-xs);
}
.time {
font-family: PFont-Light;
text-align: right;
padding-right: 5px;
position: relative;
height: 110px;
font-size: var(--font-size-xs);
}
.time::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100vw;
height: 1px;
border-top: 1px solid var(--color-neutral-gray);
}
.time:last-child {
height: 110px;
}
.scheduleGrid {
border-radius: 10px;
border: 1px solid var(--color-neutral-gray);
display: grid;
grid-template-columns: repeat(7, 1fr);
width: var(--width-max-desktop);
}
.dayColumn {
border-left: 1px solid var(--color-neutral-gray);
display: flex;
flex-direction: column;
font-family: PFont-Light;
position: relative;
}
.dayColumn:first-child {
border-left: none;
}
.dayLabel_action {
border-radius: 110px;
color: rgb(38, 175, 72);
font-family: PFont-Light;
font-size: var(--font-size-xs);
font-weight: 500;
margin-bottom: 5px;
padding: 10px;
position: absolute;
top: -70px;
}
.hourCell {
position: relative;
height: 110px;
background-color: var(--color-base-transparent);
}
.hourCell:first-child::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 1px;
border-top: 1px solid gray;
}
.event {
background-color: rgb(224, 242, 223);
color: rgb(38, 175, 72);
margin-bottom: 3px;
font-size: var(--font-size-xs);
height: 110px;
display: flex; /* Hacer que el contenido sea flex */
align-items: center; /* Alinear verticalmente el contenido */
padding: 0 10px; /* Añadir espaciado interior */
width: -webkit-fill-available;
}
.hourCell_close {
position: relative;
overflow: hidden;
}
.line_close {
position: absolute;
width: 200px;
min-width: 200px;
max-width: 200px;
top: 50%;
border-top: .5px solid var(--color-neutral-gray);
transform: rotate(31deg) scale(1.9) translate(2px, 2px);
}