Simplify dropdown menu colors

Using `inherit` we don't have to overwrite the styles in the admin menu.
This commit is contained in:
Javi Martín
2021-04-29 17:49:51 +02:00
parent 9a94a5f87f
commit bc7005aeef
2 changed files with 4 additions and 11 deletions

View File

@@ -147,10 +147,6 @@ $table-header: #ecf1f6;
@include breakpoint(medium) {
height: auto !important;
}
a {
color: #000 !important;
}
}
.title-bar {

View File

@@ -559,7 +559,7 @@ body > header,
}
a {
color: #fff;
color: inherit;
padding-left: 0;
@include breakpoint(medium) {
@@ -591,6 +591,7 @@ body > header,
&.is-dropdown-submenu {
background: #fff;
color: $text;
margin: 0;
margin-top: rem-calc(-12);
padding: 0;
@@ -601,10 +602,6 @@ body > header,
display: block;
height: auto;
margin-bottom: 0;
a {
color: $text;
}
}
}
@@ -647,7 +644,7 @@ body > header,
}
&.is-active > a {
color: #fff;
color: inherit;
}
&.is-dropdown-submenu-parent > a::after {
@@ -787,7 +784,7 @@ body > header,
margin-bottom: $line-height / 2;
a {
color: $text;
color: inherit;
display: inline-block;
font-weight: bold;
margin-right: $line-height / 2;