notificationsDrawer.styl 1.1 KB

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