projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e9e6f2
)
Add background effect to active menu page
author
Chocobozzz
<me@florianbigard.com>
Thu, 15 Nov 2018 10:41:25 +0000
(11:41 +0100)
committer
Chocobozzz
<me@florianbigard.com>
Thu, 15 Nov 2018 15:38:36 +0000
(16:38 +0100)
client/src/app/menu/menu.component.scss
patch
|
blob
|
history
diff --git
a/client/src/app/menu/menu.component.scss
b/client/src/app/menu/menu.component.scss
index a842765ba089615c5619d13987dbfc9775babaec..b271ebfd28b6b0b36c1176fb731a8b38ed23f0b8 100644
(file)
--- a/
client/src/app/menu/menu.component.scss
+++ b/
client/src/app/menu/menu.component.scss
@@
-131,10
+131,14
@@
menu {
transition: background-color .1s ease-in-out;
@include disable-default-a-behaviour;
- &
:hover, &.focus-visibl
e {
+ &
.activ
e {
background-color: rgba(255, 255, 255, 0.15);
}
+ &:hover, &.focus-visible {
+ background-color: rgba(255, 255, 255, 0.10);
+ }
+
.icon {
@include icon(22px);