aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-11-15 11:41:25 +0100
committerChocobozzz <me@florianbigard.com>2018-11-15 16:38:36 +0100
commite6d5a4f1ea917098058f9db2e28f1c039d8f5c00 (patch)
treecac961202d1d6686ebdbd903ab7bf2a425eb6c77 /client/src/app/menu
parent3e9e6f2f14fda845e6000cfada07d1bfb176bd21 (diff)
downloadPeerTube-e6d5a4f1ea917098058f9db2e28f1c039d8f5c00.tar.gz
PeerTube-e6d5a4f1ea917098058f9db2e28f1c039d8f5c00.tar.zst
PeerTube-e6d5a4f1ea917098058f9db2e28f1c039d8f5c00.zip
Add background effect to active menu page
Diffstat (limited to 'client/src/app/menu')
-rw-r--r--client/src/app/menu/menu.component.scss6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss
index a842765ba..b271ebfd2 100644
--- a/client/src/app/menu/menu.component.scss
+++ b/client/src/app/menu/menu.component.scss
@@ -131,10 +131,14 @@ menu {
131 transition: background-color .1s ease-in-out; 131 transition: background-color .1s ease-in-out;
132 @include disable-default-a-behaviour; 132 @include disable-default-a-behaviour;
133 133
134 &:hover, &.focus-visible { 134 &.active {
135 background-color: rgba(255, 255, 255, 0.15); 135 background-color: rgba(255, 255, 255, 0.15);
136 } 136 }
137 137
138 &:hover, &.focus-visible {
139 background-color: rgba(255, 255, 255, 0.10);
140 }
141
138 .icon { 142 .icon {
139 @include icon(22px); 143 @include icon(22px);
140 144