wekan/client/components/notifications/notificationsDrawer.css

79 lines
1.9 KiB
CSS
Raw Normal View History

section#notifications-drawer a:hover {
color: #2980b9 !important;
}
section#notifications-drawer .header {
display: flex;
justify-content: space-between;
padding: 0.5lh 2ch;
gap: 0.5lh;
align-items: center;
background: #ededed;
border-bottom: 1px solid #dbdbdb;
}
section#notifications-drawer .header .toggle-read {
color: #2980b9;
}
section#notifications-drawer .header .notification-menu {
position: absolute;
left: 16px;
top: 44px;
background: white;
border: 1px solid #dbdbdb;
border-radius: 3px;
box-shadow: 0 2px 8px rgba(0,0,0,0.15);
min-width: 220px;
z-index: 100;
display: none;
}
section#notifications-drawer .header .notification-menu.is-open {
display: block;
}
section#notifications-drawer .header .notification-menu .menu-section {
padding: 4px 0;
}
section#notifications-drawer .header .notification-menu .menu-divider {
border-top: 1px solid #dbdbdb;
margin: 4px 0;
}
section#notifications-drawer .header .notification-menu .menu-item {
display: flex;
align-items: center;
padding: 8px 12px;
cursor: pointer;
color: #333;
white-space: nowrap;
}
section#notifications-drawer .header .notification-menu .menu-item:hover {
background-color: #f5f5f5;
}
section#notifications-drawer .header .notification-menu .menu-item.selected {
background-color: #e8f4f8;
}
section#notifications-drawer .header .notification-menu .menu-item .check-icon {
width: 20px;
min-width: 20px;
margin-right: 8px;
text-align: center;
color: #2980b9;
font-weight: bold;
}
section#notifications-drawer .header .notification-menu .menu-item .menu-icon {
margin-right: 8px;
font-size: 16px;
}
section#notifications-drawer .header h5 {
text-align: center;
margin: 0;
}
section#notifications-drawer .header .close {
display: flex;
opacity: 1;
}
section#notifications-drawer ul.notifications {
margin: 0;
height: fit-content;
display: flex;
flex-direction: column;
}