diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-10-26 17:18:38 +0200 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-10-26 17:18:38 +0200 |
| commit | 9f24f7421860a0ca14aa63f551797979e8dc1bf9 (patch) | |
| tree | 1addf507b7abf65afbeed49f7f28cd0bdb7ca717 /htdocs/src/scss/layout/_nav.scss | |
| parent | 8bcefff67e99c8dd38e339ea3cbb6726982f3b49 (diff) | |
chore: add a different style to the selected project inside nav
Diffstat (limited to 'htdocs/src/scss/layout/_nav.scss')
| -rw-r--r-- | htdocs/src/scss/layout/_nav.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/htdocs/src/scss/layout/_nav.scss b/htdocs/src/scss/layout/_nav.scss index 9f80a65..33346b5 100644 --- a/htdocs/src/scss/layout/_nav.scss +++ b/htdocs/src/scss/layout/_nav.scss @@ -51,6 +51,17 @@ color: fun.get-var(color-primary-dark); text-decoration: fun.convert-px(1) solid underline; } + + &--selected { + background: fun.get-var(color-primary-dark); + box-shadow: inset 0 0 0 4px fun.get-var(color-bg); + color: fun.get-var(color-fg-inverted); + + &:hover, + &:focus { + background: fun.get-var(color-primary-light); + } + } } .btn { |
