X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmenu%2Fnotification.component.scss;h=3515c3e19ff32e74b392379b7f33298802a533e5;hb=38d69d65012c8bf01bceb672be99f94fe414f275;hp=d85cc8e66c5d24eb234bacb24968aae7f01f716c;hpb=968aaed2066873fc1c39f95168284122d9d15e21;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/menu/notification.component.scss b/client/src/app/menu/notification.component.scss index d85cc8e66..3515c3e19 100644 --- a/client/src/app/menu/notification.component.scss +++ b/client/src/app/menu/notification.component.scss @@ -1,8 +1,8 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables' as *; +@use '_mixins' as *; .content { - scrollbar-color: unset; + scrollbar-color: auto; } .notification-inbox-popover { @@ -16,19 +16,20 @@ .notification-inbox-popover, .notification-inbox-link a { @include apply-svg-color(#808080); - ::ng-deep { - svg { - transition: color .1s ease-in-out; - } - } transition: all .1s ease-in-out; border-radius: 25px; cursor: pointer; - &:hover, &:active { - background-color: rgba(255, 255, 255, 0.15); + ::ng-deep svg { + transition: color .1s ease-in-out; + } + + &:hover, + &:active { @include apply-svg-color(#fff); + + background-color: rgba(255, 255, 255, 0.15); } } @@ -59,7 +60,7 @@ font-size: 14px; font-family: $main-fonts; width: 400px; - box-shadow: 0 2px 6px rgba(0, 0, 0, 0.30); + box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3); .loader { display: flex; @@ -80,7 +81,7 @@ max-height: 500px; } - & > my-user-notifications:nth-child(2) { + > my-user-notifications:nth-child(2) { overflow-y: auto; flex-grow: 1; } @@ -110,7 +111,8 @@ background: transparent; } - a, button { + a, + button { color: rgba(20, 20, 20, 0.5); &:hover:not(:disabled) { @@ -133,12 +135,13 @@ } } -.notification-inbox-popover, .notification-inbox-link { +.notification-inbox-popover, +.notification-inbox-link { cursor: pointer; position: relative; .unread-notifications { - margin-left: 20px; + @include margin-left(20px); } .unread-notifications {