notificationsDrawer.css 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. section#notifications-drawer {
  2. position: fixed;
  3. top: 48px;
  4. right: 0;
  5. width: 400px;
  6. background-color: #fafafa;
  7. box-shadow: 0 1px 2px rgba(0,0,0,0.15);
  8. border-radius: 2px;
  9. max-height: calc(100vh - 28px - 36px);
  10. color: #000;
  11. padding-top: 36px;
  12. }
  13. section#notifications-drawer a:hover {
  14. color: #2980b9 !important;
  15. }
  16. section#notifications-drawer .header {
  17. position: fixed;
  18. top: 48px;
  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. }
  26. section#notifications-drawer .header .toggle-read {
  27. position: absolute;
  28. left: 16px;
  29. top: calc(50% - 8px);
  30. color: #2980b9;
  31. }
  32. section#notifications-drawer .header h5 {
  33. text-align: center;
  34. margin: 0;
  35. }
  36. section#notifications-drawer .header .close {
  37. position: absolute;
  38. top: calc(50% - 12px);
  39. right: 12px;
  40. font-size: 24px;
  41. height: 24px;
  42. line-height: 24px;
  43. opacity: 1;
  44. }
  45. section#notifications-drawer .all-read,
  46. section#notifications-drawer .remove-read {
  47. color: #2980b9;
  48. background-color: #fafafa;
  49. margin: 8px 16px 12px;
  50. display: inline-block;
  51. }
  52. section#notifications-drawer .remove-read {
  53. float: right;
  54. }
  55. section#notifications-drawer .remove-read:hover {
  56. color: #eb4646 !important;
  57. }
  58. section#notifications-drawer .remove-read:hover i.fa {
  59. color: inherit;
  60. }
  61. section#notifications-drawer ul.notifications {
  62. display: block;
  63. padding: 0px 16px 0px 16px;
  64. margin: 0;
  65. height: calc(100vh - 122px);
  66. overflow-y: scroll;
  67. }