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
- #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;
- }
- }