Skip to content

Commit

Permalink
Merge pull request #20 from contao-themes-net/fix/active-nav-item
Browse files Browse the repository at this point in the history
Fix/active nav item
  • Loading branch information
MDevster authored Jun 22, 2021
2 parents ca78b88 + 6e23f05 commit 14d2600
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## [1.6.1](https://github.com/contao-themes-net/odd-theme-bundle/tree/1.6.1) – 2021-06-22

- [fix] css fix for active nav items in main navigation and sub navigation

## [1.6.0](https://github.com/contao-themes-net/odd-theme-bundle/tree/1.6.0) – 2021-06-10

- [feature] add sidebar modal
Expand Down
2 changes: 1 addition & 1 deletion src/Module/OddThemeSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class OddThemeSetup extends \BackendModule
{
const VERSION = '1.6.0';
const VERSION = '1.6.1';

protected $strTemplate = 'be_oddtheme_setup';

Expand Down
5 changes: 3 additions & 2 deletions src/Resources/public/scss/parts/header.scss
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@
}
}

strong {
strong, a.trail {
color: $nav-active-color;
font-weight: 700;
}

svg {
Expand Down Expand Up @@ -382,7 +383,7 @@ header, footer {
top: -1px;
}

&.active, &:hover {
&.active, &:hover, &.trail:not(.submenu) {
background: $subnav-hover-active-background;
color: $subnav-hover-active-color;

Expand Down

0 comments on commit 14d2600

Please sign in to comment.