Move all code to old/ to prepare for Nuxt rewrite
This commit is contained in:
parent
6007f4caeb
commit
51ff27c569
33 changed files with 0 additions and 1 deletions
46
old/ui/timetable.module.css
Normal file
46
old/ui/timetable.module.css
Normal file
|
@ -0,0 +1,46 @@
|
|||
.timetable {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.timetable table {
|
||||
border-spacing: 0;
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
font-size: 0.8rem;
|
||||
--row-header-width: 6rem;
|
||||
--cell-size: 3rem;
|
||||
}
|
||||
|
||||
.timetable col {
|
||||
width: calc(var(--cell-size) * var(--minutes, 60) / 60);
|
||||
}
|
||||
|
||||
.timetable col.header {
|
||||
width: var(--row-header-width);
|
||||
}
|
||||
|
||||
.timetable th:first-child {
|
||||
background-color: var(--background);
|
||||
position: sticky;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.timetable :is(td, th) {
|
||||
padding: 0.1rem;
|
||||
border-top: 1px solid var(--foreground);
|
||||
border-right: 1px solid var(--foreground);
|
||||
}
|
||||
.timetable tr th:first-child {
|
||||
border-left: 1px solid var(--foreground);
|
||||
}
|
||||
.timetable tbody tr:last-child :is(td, th) {
|
||||
border-bottom: 1px solid var(--foreground);
|
||||
}
|
||||
|
||||
.break {
|
||||
background-color: color-mix(in oklab, var(--background), rgb(50, 50, 255) 60%);
|
||||
}
|
||||
|
||||
.event {
|
||||
background-color: color-mix(in oklab, var(--background), rgb(255, 125, 50) 60%);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue