Simplify setting border on active menu elements
Since we are using the same color as the text color in both the public and admin areas, we can omit the border color completely. Since now admin elements get the exact same border, we can remove this border so they'll inherit the same border as used in the public area.
This commit is contained in:
@@ -291,7 +291,6 @@ $table-header: #ecf1f6;
|
||||
}
|
||||
|
||||
.is-active {
|
||||
border-bottom: 2px solid $admin-color;
|
||||
color: $admin-color;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -235,7 +235,7 @@ a {
|
||||
|
||||
&.is-active {
|
||||
@include brand-text;
|
||||
border-bottom: 2px solid $brand;
|
||||
border-bottom: 2px solid;
|
||||
padding-bottom: rem-calc(1);
|
||||
}
|
||||
|
||||
@@ -272,7 +272,7 @@ a {
|
||||
|
||||
&.is-active {
|
||||
@include brand-text;
|
||||
border-bottom: 2px solid $brand;
|
||||
border-bottom: 2px solid;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user