MDL-40759 fontawesome: Style fix for clean theme

Action menu items were misaligned because of change from smallicon to icon.
This commit is contained in:
Damyon Wiese 2017-03-23 11:16:43 +08:00
parent 2375f37c5a
commit fe4f35b29b
2 changed files with 6 additions and 4 deletions

View File

@ -1986,7 +1986,8 @@ img#persona_signin {
padding-right: 4px;
.iconsmall,
.smallicon {
.smallicon,
.icon {
margin: 4px 4px 4px 0;
padding: 8px 4px 0 2px;
vertical-align: text-bottom;
@ -2031,7 +2032,7 @@ img#persona_signin {
a {
display: block;
color: @dropdownLinkColor;
padding: 2px 1em 2px 28px;
padding: 6px 1em 6px 1em;
&:hover {
color: @dropdownLinkColorHover;
background-color: @dropdownLinkBackgroundHover;

View File

@ -4436,7 +4436,8 @@ img#persona_signin {
padding-right: 4px;
}
.jsenabled .moodle-actionmenu[data-enhance] .toggle-display.textmenu .iconsmall,
.jsenabled .moodle-actionmenu[data-enhance] .toggle-display.textmenu .smallicon {
.jsenabled .moodle-actionmenu[data-enhance] .toggle-display.textmenu .smallicon,
.jsenabled .moodle-actionmenu[data-enhance] .toggle-display.textmenu .icon {
margin: 4px 4px 4px 0;
padding: 8px 4px 0 2px;
vertical-align: text-bottom;
@ -4482,7 +4483,7 @@ img#persona_signin {
.moodle-actionmenu[data-enhanced].show .menu a {
display: block;
color: #333;
padding: 2px 1em 2px 28px;
padding: 6px 1em 6px 1em;
}
.moodle-actionmenu[data-enhanced].show .menu a:hover {
color: #fff;