96 lines
1.4 KiB
SCSS
96 lines
1.4 KiB
SCSS
.weeklyagenda-cell {
|
|
margin-top: 1em;
|
|
display: flex;
|
|
ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
}
|
|
& > ul {
|
|
width: 100%;
|
|
& > li {
|
|
display: none;
|
|
&.shown {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
button.previous-week,
|
|
button.next-week {
|
|
height: 3em;
|
|
z-index: 10;
|
|
}
|
|
button.next-week {
|
|
margin-left: 1em;
|
|
margin-right: 0;
|
|
}
|
|
.week-title {
|
|
display: block;
|
|
height: 3em;
|
|
line-height: 3em;
|
|
}
|
|
.no-activity {
|
|
color: #888;
|
|
}
|
|
li {
|
|
&.day-title {
|
|
margin: 1em 0 0.5em 0;
|
|
}
|
|
&.disabled {
|
|
color: #888;
|
|
}
|
|
& > span {
|
|
position: relative;
|
|
}
|
|
}
|
|
span > span {
|
|
padding-left: 1.8em;
|
|
&::before {
|
|
display: block;
|
|
content: '';
|
|
position: absolute;
|
|
margin: auto;
|
|
height: calc(0.66rem + 2px);
|
|
width: calc(0.66rem + 2px);
|
|
background: transparent;
|
|
top: 0.33rem;
|
|
left: 0;
|
|
border: 1px solid #aaa;
|
|
border-radius: 2px;
|
|
}
|
|
&::after {
|
|
display: block;
|
|
content: '';
|
|
position: absolute;
|
|
margin: auto;
|
|
height: calc(0.66rem);
|
|
width: calc(0.66rem);
|
|
background: transparent;
|
|
transition: background 0.1s linear;
|
|
top: calc(0.33rem + 1px);
|
|
left: 1px;
|
|
}
|
|
}
|
|
& [data-status=green] span > span::after {
|
|
background: #3c3;
|
|
}
|
|
}
|
|
|
|
br.weekbreak {
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 500px) {
|
|
br.weekbreak { display: block; }
|
|
div.weeklyagenda-cell > ul {
|
|
margin: 0 -4em;
|
|
& .week-title {
|
|
margin: 0 4em;
|
|
line-height: 150%;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|