138 lines
2.3 KiB
Text
138 lines
2.3 KiB
Text
$unread_notifications_dot_size: 8px;
|
|
.unread-notifications-dot {
|
|
width: $unread_notifications_dot_size;
|
|
height: $unread_notifications_dot_size;
|
|
background-color: #e22;
|
|
border-radius: $unread_notifications_dot_size / 2;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
}
|
|
|
|
.upperRightUI {
|
|
.notificationsIcon {
|
|
position: relative;
|
|
}
|
|
}
|
|
|
|
.controller-notifications {
|
|
ul.notifications {
|
|
list-style: none;
|
|
}
|
|
|
|
.notificationPage,
|
|
.notificationsPage {
|
|
font-family: 'din-regular', Sans-Serif;
|
|
|
|
& a:hover {
|
|
text-decoration: none;
|
|
}
|
|
|
|
& > .notification-title {
|
|
border-bottom: 1px solid #eee;
|
|
padding-bottom: 0.25em;
|
|
margin-bottom: 0.5em;
|
|
}
|
|
|
|
.back {
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
|
|
.notificationsPage {
|
|
header {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.emptyInbox {
|
|
padding-top: 15px;
|
|
}
|
|
|
|
.notification {
|
|
padding: 10px;
|
|
position: relative;
|
|
|
|
&:hover {
|
|
background: #F6F6F6;
|
|
|
|
.notification-read-unread {
|
|
display:block;
|
|
}
|
|
|
|
.notification-date {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
& > a {
|
|
float: left;
|
|
width: 85%;
|
|
box-sizing: border-box;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.notification-actor {
|
|
float: left;
|
|
|
|
img {
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 16px;
|
|
}
|
|
}
|
|
|
|
.notification-body {
|
|
margin-left: 50px;
|
|
|
|
.in-bold {
|
|
font-family: 'din-medium', Sans-Serif;
|
|
}
|
|
|
|
.action {
|
|
background: #4fb5c0;
|
|
color: #FFF;
|
|
padding: 2px 6px;
|
|
border-radius: 3px;
|
|
display: inline-block;
|
|
margin: 5px 0;
|
|
}
|
|
}
|
|
|
|
.notification-date {
|
|
position: absolute;
|
|
top: 50%;
|
|
right: 10px;
|
|
color: #607d8b;
|
|
font-size: 13px;
|
|
line-height: 13px;
|
|
margin-top: -6px;
|
|
}
|
|
|
|
.notification-read-unread {
|
|
display: none;
|
|
float: left;
|
|
width: 15%;
|
|
|
|
a {
|
|
position: absolute;
|
|
top: 50%;
|
|
margin-top: -10px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
|
|
&.unread {
|
|
background: #EEE;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notificationPage .notification-body {
|
|
p, div {
|
|
margin: 1em auto;
|
|
}
|
|
}
|
|
}
|