diff --git a/classes/output/core_renderer.php b/classes/output/core_renderer.php index c835cfc..2372521 100644 --- a/classes/output/core_renderer.php +++ b/classes/output/core_renderer.php @@ -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) ] ]; diff --git a/scss/standard.scss b/scss/standard.scss index 0312426..26c1daa 100644 --- a/scss/standard.scss +++ b/scss/standard.scss @@ -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, @@ -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; } } } @@ -1233,11 +1217,6 @@ 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; @@ -1245,17 +1224,11 @@ body:not(.pagelayout-frontpage) { } } &.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 {