-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade: Align the icons again properly on Moodle 4.4.
- Loading branch information
Showing
3 changed files
with
5 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,4 @@ | ||
/* Float the icons left to be placed next to the existing icons "messages" and "notifications". */ | ||
.navbar .localnavbarplus.nav-link { | ||
float: left; | ||
} | ||
|
||
/* Remove the right margin from each but the last icon to achieve the same margins for moodle and navbarplus icons. */ | ||
.navbar .localnavbarplus.nav-link .icon { | ||
margin-right: 0; | ||
} | ||
.navbar .localnavbarplus.nav-link:last-child .icon { | ||
margin-right: .5rem; | ||
} | ||
|
||
/* Do not display the icon if a user has disabled Javascript in his browser. */ | ||
/* Do not display the reset user tour icon if a user has disabled Javascript in his browser. */ | ||
body:not(.jsenabled) #localnavbarplus-resetusertour { | ||
display: none; | ||
} | ||
|
||
/* Inherit the colors. */ | ||
.navbar .localnavbarplus a, | ||
.navbar .localnavbarplus .icon { | ||
color: inherit; | ||
} |