notificationsDrawer.styl 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. belize = #2980b9
  2. section#notifications-drawer
  3. position: fixed
  4. top: 48px
  5. right: 0
  6. width: 400px
  7. background-color: #fafafa
  8. box-shadow: 0 1px 2px rgba(0,0,0,0.15)
  9. border-radius: 2px
  10. max-height: calc(100vh - 28px - 36px)
  11. color: black
  12. padding-top 36px
  13. a:hover
  14. color: belize !important
  15. .header
  16. position: fixed
  17. top 48px
  18. right 0
  19. width calc(400px - 32px)
  20. padding: 8px 16px
  21. background: #ededed
  22. border-bottom: 1px solid #dbdbdb
  23. z-index 2
  24. .toggle-read
  25. position absolute
  26. left 16px
  27. top calc(50% - 8px)
  28. color belize
  29. h5
  30. text-align: center
  31. margin: 0
  32. .close
  33. position: absolute
  34. top: calc(50% - 12px)
  35. right: 12px
  36. font-size: 24px
  37. height: 24px
  38. line-height: 24px
  39. opacity 1
  40. .all-read,
  41. .remove-read
  42. color belize
  43. background-color: #fafafa
  44. margin 8px 16px 12px
  45. display inline-block
  46. .remove-read
  47. float right
  48. &:hover
  49. color #eb4646 !important
  50. i.fa
  51. color inherit
  52. ul.notifications
  53. display: block
  54. padding: 0px 16px 0px 16px
  55. margin: 0
  56. height: calc(100vh - 122px)
  57. overflow-y: scroll