Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions classes/output/core_renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,10 @@ private function build_course_view_items(\stdClass $course): array
[
'text' => get_string('courses'),
'url' => (new moodle_url('/course/index.php'))->out(false)
],
[
'text' => get_string('mycourses'),
'url' => (new moodle_url('/my/courses.php'))->out(false)
]
];

Expand Down
57 changes: 15 additions & 42 deletions scss/standard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1119,15 +1119,24 @@ div.backup-section + form {
border-radius: 0;
display: block;
padding: 0;
> li {
.breadcrumb-item {
padding: 5px 1em 5px 1.15em;
overflow: visible;
width: fit-content;
margin-right: -.4em;
margin-bottom: 3px;
clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%, 10px 50%);
color: $grey;
text-shadow: none;
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
background-color: $color_gallery_approx;
padding: 5px 15px;
float: left;
position: relative;
&:first-child {
padding-left: 0.85em;
clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
}
&:nth-child(2n):not(:last-child) {
background-color: mix($primary, $color_gallery_approx, 15%);
}
a {
color: $grey;
&:hover,
Expand All @@ -1136,37 +1145,12 @@ div.backup-section + form {
text-decoration: none;
}
}
> .divider {
font-size: 10px;
color: $primary;
}
}
.breadcrumb-item {
&:last-child {
color: $white;
padding-left: 15px;
padding-right: 10px;
background: $primary;
&:before {
display: none;
}
&:after {
content: '';
width: 0;
height: 0;
border-top: 18px solid transparent;
border-bottom: 15px solid transparent;
border-left: 20px solid $primary;
position: absolute;
right: -20px;
top: 0;
}
}
+ .breadcrumb-item:before {
content: '\f105';
font-family: $font_0;
font-weight: $font_weight;
margin-right: 10px;
display: none;
}
}
}
Expand Down Expand Up @@ -1233,29 +1217,18 @@ div.backup-section + form {
}
body:not(.pagelayout-frontpage) {
&.theme-container.limitedwidth #page.drawers {
.main-inner {
max-width: 1280px;
margin-left: auto;
margin-right: auto;
}
.secondary-navigation {
max-width: 960px;
margin-left: auto;
margin-right: auto;
}
}
&.default-container.limitedwidth #page.drawers {
.main-inner {
max-width: 960px;
margin-left: auto;
margin-right: auto;
}
.secondary-navigation {
max-width: 960px;
margin-left: auto;
margin-right: auto;
}

}
&.custom-container.limitedwidth #page.drawers {
.main-inner {
Expand Down
Loading