X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fmenu%2Fnotification.component.scss;h=3515c3e19ff32e74b392379b7f33298802a533e5;hb=a554bc1a260a525cd635d62404b9fe76fdb9e36b;hp=c65787779546aa4fca663bb0c9463d592bd91182;hpb=4024c44f9027a32809931de0692d40d001df721c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/menu/notification.component.scss b/client/src/app/menu/notification.component.scss index c65787779..3515c3e19 100644 --- a/client/src/app/menu/notification.component.scss +++ b/client/src/app/menu/notification.component.scss @@ -1,5 +1,5 @@ -@import '_variables'; -@import '_mixins'; +@use '_variables' as *; +@use '_mixins' as *; .content { scrollbar-color: auto; @@ -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 {