Skip to content

Commit 10dd196

Browse files
Fix #225: UI Fixes.
* Course add-section button now has a background color. * Course images are now wider and top aligned on My Courses page. * Course names are now larger on My Courses page. * Category names are now larger on My Courses page. Co-authored-by: @petro-nonfree
1 parent c445c02 commit 10dd196

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

scss/trema/blocks.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
}
6565
}
6666
}
67+
.block_myoverview .summary-image {
68+
height: auto;
69+
width: 100%;
70+
aspect-ratio: 7 / 4;
71+
}
6772

6873
#page .course-card-view {
6974
@media (min-width: 580px) {

scss/trema/courseformats.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,7 @@ body.format-tiles {
3030
border-width: 1px;
3131
width: 100%;
3232
}
33+
34+
.btn.add-section {
35+
background-color: rgba(255,255,255,0.8)!important;
36+
}

scss/trema/courselist.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,3 +129,18 @@ body#page-enrol-index {
129129
}
130130
}
131131
}
132+
133+
.course-summaryitem .align-items-center {
134+
align-items: normal!important
135+
}
136+
137+
body #page .course-summaryitem {
138+
a.aalink.coursename {
139+
font-weight: bold;
140+
font-size: large;
141+
}
142+
.categoryname {
143+
font-size: small;
144+
font-style: italic;
145+
}
146+
}

0 commit comments

Comments
 (0)