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:
Javi Martín
2021-05-20 00:00:09 +02:00
parent 28ae1a369a
commit 0c2e752932
2 changed files with 1 additions and 5 deletions

View File

@@ -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 {

View File

@@ -644,7 +644,7 @@ body > header,
}
&.is-dropdown-submenu-parent > a::after {
border-color: #fff transparent transparent;
border-top-color: currentcolor;
}
}