2021-05-16 17:02:57 -07:00
|
|
|
$off-grey-color: #ededed;
|
|
|
|
$off-color: #eef2f9;
|
|
|
|
|
2021-05-16 21:00:04 -07:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
2021-05-16 17:02:57 -07:00
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
2021-05-16 21:00:04 -07:00
|
|
|
margin: 2rem;
|
|
|
|
height: 100%;
|
2021-05-16 17:02:57 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.main {
|
|
|
|
margin: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.split-pane {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: vertical;
|
|
|
|
}
|
|
|
|
|
|
|
|
.split-elem {
|
|
|
|
flex-grow: 1;
|
2021-05-30 20:40:10 -07:00
|
|
|
flex-shrink: 1;
|
2021-05-16 21:00:04 -07:00
|
|
|
flex-basis: 40%;
|
|
|
|
margin: 0.25rem;
|
2021-05-16 17:02:57 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.table-wrapper {
|
|
|
|
border: 1px solid $off-grey-color;
|
|
|
|
padding-top: 0.5rem;
|
|
|
|
padding-bottom: 1rem;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
display: inline-block;
|
|
|
|
margin-top: 1rem;
|
|
|
|
box-shadow: 0px 0px 5px rgba(grey, 0.1);
|
2021-05-16 21:00:04 -07:00
|
|
|
box-sizing: border-box;
|
2021-05-30 20:40:10 -07:00
|
|
|
width: 100%;
|
2021-05-16 17:02:57 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.class-table {
|
|
|
|
border-collapse: collapse;
|
2021-05-30 20:40:10 -07:00
|
|
|
table-layout: fixed;
|
2021-05-16 17:02:57 -07:00
|
|
|
|
|
|
|
th, td {
|
|
|
|
padding: 0.5rem;
|
|
|
|
padding-left: 1rem;
|
|
|
|
padding-right: 1rem;
|
2021-05-30 20:40:10 -07:00
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
2021-05-16 17:02:57 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
th {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
transition: background-color 0.2s;
|
|
|
|
|
|
|
|
&.hoverable:hover {
|
|
|
|
background-color: lighten(yellow, 30%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-05-30 12:21:07 -07:00
|
|
|
.schedule-table {
|
|
|
|
width: 100%;
|
|
|
|
padding: 1rem;
|
|
|
|
}
|
|
|
|
|
2021-05-16 17:02:57 -07:00
|
|
|
.feather {
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
border: 1px solid black;
|
|
|
|
padding: 0.25rem;
|
|
|
|
border-radius: 0.25rem;
|
2021-05-30 12:21:07 -07:00
|
|
|
display: inline-block;
|
|
|
|
text-align: center;
|
2021-05-16 17:02:57 -07:00
|
|
|
vertical-align: middle;
|
2021-05-16 21:00:04 -07:00
|
|
|
}
|
2021-05-16 17:02:57 -07:00
|
|
|
|
2021-05-16 21:00:04 -07:00
|
|
|
.week-grid {
|
|
|
|
display: grid;
|
|
|
|
width: 100%;
|
2021-05-16 21:33:49 -07:00
|
|
|
height: 70vh;
|
|
|
|
grid-template-columns: auto repeat(5, 1fr);
|
2021-05-30 20:40:10 -07:00
|
|
|
grid-template-rows: auto repeat(12, 1fr);
|
|
|
|
|
|
|
|
.selected {
|
|
|
|
border-style: dashed;
|
|
|
|
border-width: 2px;
|
|
|
|
}
|
2021-05-16 21:00:04 -07:00
|
|
|
}
|
2021-05-16 17:02:57 -07:00
|
|
|
|
2021-05-16 21:00:04 -07:00
|
|
|
.course-block {
|
|
|
|
position: absolute;
|
|
|
|
border: 1px solid;
|
|
|
|
border-radius: 0.25rem;
|
|
|
|
padding: 0.25rem;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
2021-05-16 21:33:49 -07:00
|
|
|
p {
|
|
|
|
margin-top: 0.1rem;
|
|
|
|
margin-bottom: 0.1rem;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2021-05-30 12:21:07 -07:00
|
|
|
|
|
|
|
overflow: hidden;
|
2021-05-16 17:02:57 -07:00
|
|
|
}
|
2021-05-16 21:00:04 -07:00
|
|
|
|
|
|
|
.column-container {
|
|
|
|
position: relative;
|
|
|
|
padding: 0.25rem;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border-left: 0.5px solid lighten(grey, 20%);
|
|
|
|
border-right: 0.5px solid lighten(grey, 20%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.table-day-header {
|
|
|
|
padding: 0.25rem;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2021-05-30 12:21:07 -07:00
|
|
|
|
|
|
|
.time-column {
|
|
|
|
padding-right: 1rem;
|
|
|
|
}
|
2021-05-30 20:40:10 -07:00
|
|
|
|
|
|
|
.bubble {
|
|
|
|
padding: 0.2rem;
|
|
|
|
padding-right: 0.5rem;
|
|
|
|
padding-left: 0.5rem;
|
|
|
|
border: 0.1rem solid;
|
|
|
|
border-radius: 0.5rem;
|
|
|
|
margin-right: 0.5rem;
|
|
|
|
background-color: lighten(#86b2ff, 10%);
|
|
|
|
border-color: #86b2ff;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.course {
|
|
|
|
padding: 1rem;
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
border-style: dashed;
|
|
|
|
border-width: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:nth-child(2n) {
|
|
|
|
background-color: $off-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.selected {
|
|
|
|
border: 1px dashed black;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.course-content {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.course-add-remove {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.course-title {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 1.1rem;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
max-width: 40vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
p.course-info {
|
|
|
|
margin-top: 0.5rem;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.feather {
|
|
|
|
height: 1.3rem;
|
|
|
|
stroke-width: 0.15rem;
|
|
|
|
margin-right: 0.1rem;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-green {
|
|
|
|
background-color: lighten(#5bc275, 30%);
|
|
|
|
border-color: #5bc275;
|
|
|
|
color: darken(#5bc275, 30%);
|
|
|
|
}
|
|
|
|
|
|
|
|
.color-red {
|
|
|
|
background-color: lighten(#c25b75, 30%);
|
|
|
|
border-color: #c25b75;
|
|
|
|
color: darken(#c25b75, 30%);
|
|
|
|
}
|