2016-11-28 18:36:30 +00:00
|
|
|
$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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-24 20:36:48 +00:00
|
|
|
.controller-notifications {
|
|
|
|
ul.notifications {
|
|
|
|
list-style: none;
|
|
|
|
}
|
2016-11-24 22:31:58 +00:00
|
|
|
|
2016-11-25 16:39:10 +00:00
|
|
|
.notificationPage,
|
|
|
|
.notificationsPage {
|
2016-11-28 22:37:27 +00:00
|
|
|
font-family: 'din-regular', Sans-Serif;
|
2016-11-25 16:39:10 +00:00
|
|
|
|
2016-12-12 22:55:42 +00:00
|
|
|
& a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2016-12-08 21:48:50 +00:00
|
|
|
& > .notification-title {
|
2016-11-25 16:39:10 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.back {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-12 22:55:42 +00:00
|
|
|
.notificationsPage {
|
|
|
|
header {
|
|
|
|
margin-bottom: 0;
|
2016-11-25 16:39:10 +00:00
|
|
|
}
|
2016-12-12 22:55:42 +00:00
|
|
|
|
2016-12-13 14:30:25 +00:00
|
|
|
.emptyInbox {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
|
|
|
|
2016-12-12 22:55:42 +00:00
|
|
|
.notification {
|
|
|
|
padding: 10px;
|
2016-12-16 04:57:37 +00:00
|
|
|
position: relative;
|
2016-12-12 22:55:42 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: #F6F6F6;
|
2016-12-16 04:57:37 +00:00
|
|
|
|
|
|
|
.notification-read-unread {
|
|
|
|
display:block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-date {
|
|
|
|
display: none;
|
|
|
|
}
|
2016-12-12 22:55:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& > a {
|
|
|
|
float: left;
|
|
|
|
width: 85%;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding-right: 10px;
|
|
|
|
}
|
2016-11-25 16:39:10 +00:00
|
|
|
|
2016-12-16 04:57:37 +00:00
|
|
|
.notification-actor {
|
2016-12-12 22:55:42 +00:00
|
|
|
float: left;
|
|
|
|
|
2016-12-16 04:57:37 +00:00
|
|
|
img {
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 16px;
|
|
|
|
}
|
2016-12-12 22:55:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification-body {
|
2016-12-16 04:57:37 +00:00
|
|
|
margin-left: 50px;
|
2016-12-12 22:55:42 +00:00
|
|
|
|
2016-12-16 04:57:37 +00:00
|
|
|
.in-bold {
|
2016-12-12 22:55:42 +00:00
|
|
|
font-family: 'din-medium', Sans-Serif;
|
|
|
|
}
|
2016-12-16 04:57:37 +00:00
|
|
|
|
|
|
|
.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;
|
2016-11-25 16:39:10 +00:00
|
|
|
}
|
|
|
|
}
|
2016-12-12 22:55:42 +00:00
|
|
|
|
2016-11-25 16:39:10 +00:00
|
|
|
}
|
2016-12-08 21:48:50 +00:00
|
|
|
|
2016-12-12 22:55:42 +00:00
|
|
|
|
|
|
|
|
2016-12-08 21:48:50 +00:00
|
|
|
.notificationPage .notification-body {
|
|
|
|
p, div {
|
|
|
|
margin: 1em auto;
|
|
|
|
}
|
|
|
|
}
|
2016-11-24 22:31:58 +00:00
|
|
|
}
|