Simplify overriding menu dropdown icon color
By default Foundation uses a `#1779ba transparent transparent` transparent border. We were overriding the whole border, when we only needed to override the top border. Furthermore, we were overriding it twice: once in the public area and once in the admin area. However, if we use `currentcolor`, we only have to override it once, and in both cases the border will have the same color as the text surrounding it (white in the public area and black in the admin area).
This commit is contained in:
@@ -155,10 +155,6 @@ $table-header: #ecf1f6;
|
||||
color: $admin-color;
|
||||
}
|
||||
|
||||
.dropdown.menu > .is-dropdown-submenu-parent > a::after {
|
||||
border-color: #000 transparent transparent;
|
||||
}
|
||||
|
||||
.fieldset {
|
||||
|
||||
select {
|
||||
|
||||
@@ -644,7 +644,7 @@ body > header,
|
||||
}
|
||||
|
||||
&.is-dropdown-submenu-parent > a::after {
|
||||
border-color: #fff transparent transparent;
|
||||
border-top-color: currentcolor;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user