2
0

_comments-notification-dropdown.scss 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .comment-notifications-toggle-button {
  2. $root: &;
  3. padding: 0 17px;
  4. margin: 0;
  5. display: flex;
  6. align-items: center;
  7. border: 0;
  8. background-color: transparent;
  9. &--active,
  10. &:hover {
  11. #{$root}__icon {
  12. color: $color-white;
  13. }
  14. }
  15. &--icon-toggle {
  16. #{$root}__icon {
  17. transform: rotate(180deg) translate3d(3px, 10px, 0);
  18. }
  19. }
  20. &__icon {
  21. width: 15px;
  22. height: 18px;
  23. color: $color-teal-dark;
  24. transition: color 100ms cubic-bezier(0.4, 0, 0.2, 1);
  25. }
  26. }
  27. .comment-notifications-dropdown {
  28. position: absolute;
  29. display: none;
  30. bottom: -92px;
  31. z-index: 51;
  32. background-color: $color-text-base;
  33. padding: 20px;
  34. border-radius: 6px;
  35. min-width: 260px;
  36. box-sizing: border-box;
  37. border: 1px solid $color-text-base;
  38. &__title {
  39. font-size: 12px;
  40. text-transform: uppercase;
  41. font-weight: 700;
  42. color: $color-white;
  43. }
  44. &--active {
  45. display: block;
  46. }
  47. &::before {
  48. content: '';
  49. position: absolute;
  50. top: -8px;
  51. width: 0;
  52. height: 0;
  53. z-index: 2;
  54. right: 18px;
  55. border-style: solid;
  56. border-width: 0 8px 8px 8px;
  57. border-color: transparent transparent $color-text-base transparent;
  58. }
  59. }