mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-56205 theme_boost: Adjust margin between icon and caret in dropdowns
This commit is contained in:
parent
751122dbc0
commit
6321934c73
@ -17,10 +17,6 @@
|
||||
.dropdown-toggle {
|
||||
/* So that the caret takes the colour of the icon. */
|
||||
color: #999;
|
||||
|
||||
&::after {
|
||||
margin-left: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -26,9 +26,15 @@ a:first-of-type > .icon {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
// Fix the first item in a drop down menu (it's a list of links and icons, but has been made vertical.
|
||||
.dropdown .dropdown-item .icon {
|
||||
margin-left: 0;
|
||||
// Fix the space between the dropdown icon and the caret.
|
||||
.action-menu {
|
||||
.dropdown-toggle {
|
||||
.icon {
|
||||
// Use a negative margin on the icon to ensure that the dropdown toggle
|
||||
// is an icon and not just text in which case the margin is needed.
|
||||
margin-right: -$caret-width;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// YUI 2 Tree View icons must not have a margin left.
|
||||
|
Loading…
x
Reference in New Issue
Block a user