moodle_local_treestudyplan/scss/studyplan-report.scss

111 lines
2.7 KiB
SCSS
Raw Normal View History

2024-02-18 23:27:57 +01:00
.path-local-treestudyplan {
font: inherit;
2024-02-23 09:20:10 +01:00
--border-color: var(--primary);
--conditions-bgcolor: #e7e7e7;
--courseresult-bgcolor: white;
--studentinfo-bgcolor: white;
2024-02-23 09:20:10 +01:00
table.q-studyplanreport {
2024-02-20 20:40:18 +01:00
table-layout: fixed;
2024-02-23 09:20:10 +01:00
width: calc(12rem + (var(--resultColCount) * 4rem));
2024-02-20 20:40:18 +01:00
}
2024-02-18 23:27:57 +01:00
.q-header, .q-student-results {
2024-02-23 09:20:10 +01:00
background-color: var(--courseresult-bgcolor);
2024-02-18 23:27:57 +01:00
2024-02-23 09:20:10 +01:00
.q-period-heading, .q-line-heading, .q-item-heading, .q-condition-heading
2024-02-18 23:27:57 +01:00
{
2024-02-23 09:20:10 +01:00
border-right: 1px solid var(--border-color);
border-top: 1px solid var(--border-color);
padding: 0.5rem;
}
2024-02-18 23:27:57 +01:00
2024-02-23 09:20:10 +01:00
.q-period-heading, .q-line-heading, .q-item-heading,
.q-condition-heading.overall, .q-result.overall {
background-color: var(--courseresult-bgcolor);
}
2024-02-18 23:27:57 +01:00
2024-02-23 09:20:10 +01:00
.q-period-heading.collapsed {
width:12rem;
2024-02-18 23:27:57 +01:00
}
.q-result {
height: 2rem;
2024-02-19 11:34:40 +01:00
padding-top: 0.25rem;
2024-02-18 23:27:57 +01:00
}
2024-02-23 09:20:10 +01:00
.q-line-heading,
.q-item-heading,
2024-02-18 23:27:57 +01:00
.q-condition-heading {
width: 2rem;
2024-02-23 09:20:10 +01:00
writing-mode: vertical-rl;
2024-02-18 23:27:57 +01:00
text-orientation: sideways;
2024-02-23 09:20:10 +01:00
.q-chevron {
text-orientation: initial;
writing-mode: horizontal-tb;
}
2024-02-18 23:27:57 +01:00
}
2024-02-20 20:40:18 +01:00
.q-period-heading,
.q-line-heading,
.q-item-heading,
.q-condition-heading {
vertical-align: top;
}
2024-02-23 09:20:10 +01:00
.q-line-heading > span.q-wrap{
display:inline-block;
height: 7rem;
2024-02-18 23:27:57 +01:00
}
2024-02-23 09:20:10 +01:00
.q-item-heading > span.q-wrap{
display:inline-block;
height: 7rem;
white-space: nowrap;
2024-02-18 23:27:57 +01:00
}
.q-condition-heading {
2024-02-23 09:20:10 +01:00
> span.q-wrap {
display:inline-block;
2024-02-20 20:40:18 +01:00
height: 8rem;
}
2024-02-23 09:20:10 +01:00
text-align: left;
background: var(--conditions-bgcolor);
2024-02-18 23:27:57 +01:00
}
}
2024-02-20 20:40:18 +01:00
.q-result {
text-align: center;
vertical-align: middle;
2024-02-23 09:20:10 +01:00
border-right: 1px solid var(--border-color);
width: 4rem;
padding-left: 0.25rem;
padding-right: 0.25rem;
background-color: var(--conditions-bgcolor);
&.overall, &.collapsed {
background-color: var(--courseresult-bgcolor);
}
2024-02-20 20:40:18 +01:00
}
2024-02-18 23:27:57 +01:00
.q-studentname {
padding: 0.5em;
2024-02-23 09:20:10 +01:00
border-right: 2px solid var(--border-color);
width: 12rem;
background-color: var(--studentinfo-bgcolor);
2024-02-18 23:27:57 +01:00
}
2024-02-20 20:40:18 +01:00
.q-courseresult,
.q-conditionresult{
i.fa {
font-size: 21px;
vertical-align: middle;
}
2024-02-18 23:27:57 +01:00
}
2024-02-23 09:20:10 +01:00
.q-conditionresult{
font-size: 1.2rem;
display: inline-block;
width: 100%;
}
}