You are here

notifications.base.css in Notifications widget 8

#block-notificationblock {
  display: inline-block;
}

.glyphicon-bell {
  top: 8px;
  font-size: 16px;
  line-height: 17px;
  margin-right: 5px;
  margin-left: 10px;
}

.dropdown-menu.notify-drop {
  background: #fff!important;
  margin: 0;
  padding: 0;
}
.dropdown-menu.notify-drop .drop-content li a {
  color: #333!important;
}
.notify-drop .drop-content li {
  display: block;
  padding: 10px 10px 10px 30px !important;
  border-bottom: solid 1px #e5e5e5;
  position: relative;
}
.notify-drop .drop-content li .fa {
  position: absolute;
  left: 13px;
  top: 13px;
  font-weight: bold;
}
.notify-drop .drop-content li a {
  background: rgba(255,255,255,0)!important;
  padding: 0!important;
}
.notify-drop .drop-content li: nth-last-child(1) {
  border-bottom: 0px!important;
  border-radius: 0 0 0px 0px;
}
.notify-drop .drop-content li: hover {
  background: #f8f8f8;
}
.notify-drop-title {
  padding: 11px 15px;
  font-size: 15px;
  background: #fff;
}
.drop-content {
  border: solid 1px #e5e5e5;
  border-radius: 0 0 0px 0px;
  max-height: 400px;
  overflow: auto;
}

.notify-drop:after,
.notify-drop:before {
  bottom: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}
.notify-drop li.unread {
  border-left: 4px solid #54bbba;
}
.notify-drop li.unread a {
  font-weight: bold;
}
.notification-icon:after {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif!important;
  position: absolute;
  content: attr(data-count);
  margin-left: -6.8775px;
  margin-top: -6.8775px;
  padding: 0 4px;
  line-height: 13.755px;
  background: #54bbba;
  border-radius: 10px;
  color: #fff;
  text-align: center;
  vertical-align: middle;
  font-size: 11.004px;
  font-weight: 600;
  border-radius: .25em;
}
.actionable-notification-msg,
.notification-items,
.notification-msg {
  font-size: 14px !important;
}
.clear-all-notification {
  display: block;
  text-align: center;
  padding: 11px 10px;
  cursor: pointer;
}
@media only screen and (min-width:  768px) {
  .notify-drop:after,
  .notify-drop:before {
    right: 0;
    left: 93%;
  }
}
@media (min-width:  1200px) {
  .dropdown-menu.notify-drop {
    min-width: 300px;
    right: -130px!important;
  }
}
@media (min-width:  768px) and ( max-width:  1199px) {
  .dropdown-menu.notify-drop {
    min-width: 300px;
    right: 0px!important;
  }
  .notify-drop: after,
  .notify-drop: before {
    right: 0;
    left: 93%!important;
  }
}
@media only screen and (max-width: 767px) {
  .dropdown-menu.notify-drop {
    right: -70px!important;
    min-width: 300px;
    position: absolute!important;
  }
  .dropdown-menu: after,
  .dropdown-menu: before {
    left: 71%!important;
  }
  .dropdown-menu.notify-drop:before {
    border-color: rgba(221, 221, 221, 0);
    border-bottom-color: #fff;
    border-width: 14px;
    margin-left: -15px;
  }
  .dropdown-menu.notify-drop:after {
    border-color: rgba(221, 221, 221, 0);
    border-bottom-color: #fff;
    border-width: 14px;
    margin-left: -15px;
  }
}

File

css/notifications.base.css
View source
  1. #block-notificationblock {
  2. display: inline-block;
  3. }
  4. .glyphicon-bell {
  5. top: 8px;
  6. font-size: 16px;
  7. line-height: 17px;
  8. margin-right: 5px;
  9. margin-left: 10px;
  10. }
  11. .dropdown-menu.notify-drop {
  12. background: #fff!important;
  13. margin: 0;
  14. padding: 0;
  15. }
  16. .dropdown-menu.notify-drop .drop-content li a {
  17. color: #333!important;
  18. }
  19. .notify-drop .drop-content li {
  20. display: block;
  21. padding: 10px 10px 10px 30px !important;
  22. border-bottom: solid 1px #e5e5e5;
  23. position: relative;
  24. }
  25. .notify-drop .drop-content li .fa {
  26. position: absolute;
  27. left: 13px;
  28. top: 13px;
  29. font-weight: bold;
  30. }
  31. .notify-drop .drop-content li a {
  32. background: rgba(255,255,255,0)!important;
  33. padding: 0!important;
  34. }
  35. .notify-drop .drop-content li: nth-last-child(1) {
  36. border-bottom: 0px!important;
  37. border-radius: 0 0 0px 0px;
  38. }
  39. .notify-drop .drop-content li: hover {
  40. background: #f8f8f8;
  41. }
  42. .notify-drop-title {
  43. padding: 11px 15px;
  44. font-size: 15px;
  45. background: #fff;
  46. }
  47. .drop-content {
  48. border: solid 1px #e5e5e5;
  49. border-radius: 0 0 0px 0px;
  50. max-height: 400px;
  51. overflow: auto;
  52. }
  53. .notify-drop:after,
  54. .notify-drop:before {
  55. bottom: 100%;
  56. border: solid transparent;
  57. content: " ";
  58. height: 0;
  59. width: 0;
  60. position: absolute;
  61. pointer-events: none;
  62. }
  63. .notify-drop li.unread {
  64. border-left: 4px solid #54bbba;
  65. }
  66. .notify-drop li.unread a {
  67. font-weight: bold;
  68. }
  69. .notification-icon:after {
  70. font-family: "Helvetica Neue", Helvetica, Arial, sans-serif!important;
  71. position: absolute;
  72. content: attr(data-count);
  73. margin-left: -6.8775px;
  74. margin-top: -6.8775px;
  75. padding: 0 4px;
  76. line-height: 13.755px;
  77. background: #54bbba;
  78. border-radius: 10px;
  79. color: #fff;
  80. text-align: center;
  81. vertical-align: middle;
  82. font-size: 11.004px;
  83. font-weight: 600;
  84. border-radius: .25em;
  85. }
  86. .actionable-notification-msg,
  87. .notification-items,
  88. .notification-msg {
  89. font-size: 14px !important;
  90. }
  91. .clear-all-notification {
  92. display: block;
  93. text-align: center;
  94. padding: 11px 10px;
  95. cursor: pointer;
  96. }
  97. @media only screen and (min-width: 768px) {
  98. .notify-drop:after,
  99. .notify-drop:before {
  100. right: 0;
  101. left: 93%;
  102. }
  103. }
  104. @media (min-width: 1200px) {
  105. .dropdown-menu.notify-drop {
  106. min-width: 300px;
  107. right: -130px!important;
  108. }
  109. }
  110. @media (min-width: 768px) and ( max-width: 1199px) {
  111. .dropdown-menu.notify-drop {
  112. min-width: 300px;
  113. right: 0px!important;
  114. }
  115. .notify-drop: after,
  116. .notify-drop: before {
  117. right: 0;
  118. left: 93%!important;
  119. }
  120. }
  121. @media only screen and (max-width: 767px) {
  122. .dropdown-menu.notify-drop {
  123. right: -70px!important;
  124. min-width: 300px;
  125. position: absolute!important;
  126. }
  127. .dropdown-menu: after,
  128. .dropdown-menu: before {
  129. left: 71%!important;
  130. }
  131. .dropdown-menu.notify-drop:before {
  132. border-color: rgba(221, 221, 221, 0);
  133. border-bottom-color: #fff;
  134. border-width: 14px;
  135. margin-left: -15px;
  136. }
  137. .dropdown-menu.notify-drop:after {
  138. border-color: rgba(221, 221, 221, 0);
  139. border-bottom-color: #fff;
  140. border-width: 14px;
  141. margin-left: -15px;
  142. }
  143. }