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
5 changes: 3 additions & 2 deletions src/theme/Navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default function NavbarWrapper(props) {
<a className={styles.nav_link} href="https://tracker.moodle.org"><span>Tracker</span></a>
</li>
<li>
<a className={styles.nav_link} href="https://moodledev.io/"><span>Development</span></a>
<a className={styles.nav_link} href="https://moodledev.io/"><span className={styles.active}>Development</span></a>
</li>
<li>
<a className={styles.nav_link} href="https://lang.moodle.org"><span>Translation</span></a>
Expand Down Expand Up @@ -121,7 +121,8 @@ export default function NavbarWrapper(props) {
className={styles.nav_link}
type="button"
onClick={() => openMenu('waffle_menu')}
aria-label="Toggle sites menu"
aria-label="Other Moodle Sites"
title="Other Moodle Sites"
>
<i className={styles.fa_waffle} />
</button>
Expand Down
16 changes: 16 additions & 0 deletions src/theme/Navbar/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,22 @@
padding-left: 0.5rem;
background: none !important;
border: 0 !important;
text-decoration: none;
}
.moodlesitestopnavbar .nav_link span {
height: 22px;
}
.moodlesitestopnavbar .nav_link span.active,
.moodlesitestopnavbar .nav_link:hover span.active {
color: #194866;
border-bottom: 3px solid #f98012;
height: 25px;
}

.moodlesitestopnavbar .nav_link:hover span {
color : #000000;
border-bottom: 3px solid #f98012;
height: 25px;
}

.moodlesitestopnavbar .mobile_menu{
Expand Down