notification.styl 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. #notifications-drawer
  2. &.show-read .notification.read
  3. display: flex
  4. .notification
  5. display: flex
  6. float: none
  7. padding: 15px 8px 8px
  8. color: black
  9. border-bottom: 1px solid #dbdbdb
  10. &.read
  11. display: none
  12. .read-status
  13. width: 30px
  14. input
  15. width: 24px
  16. height: 24px
  17. .activity-type
  18. margin: 16px 0 0
  19. width: 17px
  20. height: 17px
  21. font-size: 17px
  22. display: block
  23. color: #bbb
  24. .details
  25. width: calc(100% - 30px)
  26. .activity
  27. display: flex
  28. a.member
  29. margin: 0px 0px 0px -3px
  30. padding: 0px
  31. svg
  32. padding: 3px
  33. margin: 0px 0px 0px -3px
  34. .activity-desc
  35. width: 100%;
  36. .activity-comment
  37. display: block
  38. width: 100%
  39. border-radius: 3px
  40. background: #fff
  41. text-decoration: none
  42. box-shadow: 0 1px 2px rgba(0,0,0,0.2)
  43. margin-top: 5px
  44. padding: 5px
  45. .activity-meta
  46. display: block
  47. font-size: 0.8em
  48. color: #999
  49. font-style: italic
  50. .remove
  51. a:hover
  52. color #eb4646 !important
  53. @media screen and (max-width: 800px)
  54. #notifications-drawer
  55. .notification
  56. height: auto
  57. .details
  58. .activity
  59. a.member
  60. padding: 12px 10px 12px 10px
  61. margin: -10px 0px -10px 0px
  62. svg
  63. padding: 5px
  64. margin: 0px 0px 0px -16px