2017-09-25 19:21:04 +00:00
|
|
|
$notifications-border-color: #DDDDDD;
|
2017-09-28 16:28:33 +00:00
|
|
|
$notifications-hover-color: #F6F6F6;
|
2016-11-01 03:18:27 +00:00
|
|
|
$unread_notifications_dot_size: 8px;
|
2017-09-25 19:21:04 +00:00
|
|
|
|
2016-11-01 03:18:27 +00:00
|
|
|
.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;
|
|
|
|
}
|
2017-09-20 03:48:46 +00:00
|
|
|
|
|
|
|
.notificationsBox {
|
|
|
|
position: absolute;
|
|
|
|
background: #FFFFFF;
|
|
|
|
border-radius: 2px;
|
|
|
|
width: 350px;
|
|
|
|
right: 0;
|
|
|
|
top: 50px;
|
|
|
|
box-shadow: 0 3px 6px rgba(0,0,0,0.16);
|
2017-09-25 19:21:04 +00:00
|
|
|
border: 1px solid $notifications-border-color;
|
2017-09-20 03:48:46 +00:00
|
|
|
|
|
|
|
.notificationsBoxTriangle {
|
|
|
|
min-width: 0 !important;
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
right: 48px;
|
|
|
|
width: 20px !important;
|
|
|
|
height: 20px !important;
|
|
|
|
margin-left: -10px;
|
2017-09-25 19:21:04 +00:00
|
|
|
top: -11px;
|
|
|
|
border-left: 1px solid $notifications-border-color;
|
|
|
|
border-top: 1px solid $notifications-border-color;
|
2017-09-20 03:48:46 +00:00
|
|
|
border-bottom: 0 !important;
|
|
|
|
border-right: 0 !important;
|
|
|
|
background-color: #fff;
|
|
|
|
transform: rotate(45deg);
|
|
|
|
-webkit-transform: rotate(45deg);
|
|
|
|
-ms-transform: rotate(45deg);
|
|
|
|
}
|
|
|
|
|
2017-09-25 19:21:04 +00:00
|
|
|
ul.notifications {
|
|
|
|
max-height: 500px;
|
|
|
|
overflow-y: auto;
|
2017-09-28 16:28:33 +00:00
|
|
|
|
|
|
|
.notification {
|
|
|
|
font-size: 13px;
|
|
|
|
|
|
|
|
.notification-body {
|
|
|
|
border-bottom: 1px solid $notifications-border-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.notificationsEmpty {
|
|
|
|
font-family: din-regular, helvetica, sans-serif;
|
|
|
|
margin: 50px 10px;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2017-09-25 19:21:04 +00:00
|
|
|
}
|
|
|
|
|
2017-09-20 03:48:46 +00:00
|
|
|
.notificationsBoxSeeAll {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
padding: 6px 0;
|
|
|
|
font-family: din-regular, helvetica, sans-serif;
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.1);
|
2017-09-25 19:21:04 +00:00
|
|
|
|
2017-09-28 16:28:33 +00:00
|
|
|
&:hover {
|
|
|
|
color: #333;
|
|
|
|
background: $notifications-hover-color;
|
2017-09-25 19:21:04 +00:00
|
|
|
}
|
|
|
|
}
|
2017-09-20 03:48:46 +00:00
|
|
|
}
|
2016-11-01 03:18:27 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.controller-notifications {
|
|
|
|
.notificationPage,
|
|
|
|
.notificationsPage {
|
2016-11-28 22:37:27 +00:00
|
|
|
font-family: 'din-regular', Sans-Serif;
|
2016-11-01 03:18:27 +00:00
|
|
|
|
2016-12-12 21:07:34 +00:00
|
|
|
& a:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2016-12-08 19:39:41 +00:00
|
|
|
& > .notification-title {
|
2016-11-01 03:18:27 +00:00
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
padding-bottom: 0.25em;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.back {
|
|
|
|
margin-top: 1em;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-12-12 21:07:34 +00:00
|
|
|
.notificationsPage {
|
|
|
|
header {
|
|
|
|
margin-bottom: 0;
|
2016-11-01 03:18:27 +00:00
|
|
|
}
|
2016-12-12 21:07:34 +00:00
|
|
|
|
2016-12-13 07:42:33 +00:00
|
|
|
.emptyInbox {
|
|
|
|
padding-top: 15px;
|
|
|
|
}
|
2016-11-01 03:18:27 +00:00
|
|
|
}
|
2016-12-08 19:39:41 +00:00
|
|
|
|
2017-09-20 03:48:46 +00:00
|
|
|
|
2016-12-12 21:07:34 +00:00
|
|
|
|
2017-02-11 14:06:01 +00:00
|
|
|
.notificationPage {
|
|
|
|
.thirty-two-avatar {
|
|
|
|
display: inline-block;
|
|
|
|
width: 32px;
|
|
|
|
height: 32px;
|
|
|
|
border-radius: 16px;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
2017-09-20 03:48:46 +00:00
|
|
|
|
2017-02-11 14:06:01 +00:00
|
|
|
.button {
|
|
|
|
line-height: 32px;
|
2017-09-20 03:48:46 +00:00
|
|
|
|
2017-02-11 14:06:01 +00:00
|
|
|
img {
|
|
|
|
margin-top: 8px;
|
|
|
|
}
|
2017-09-20 03:48:46 +00:00
|
|
|
|
2017-02-11 14:06:01 +00:00
|
|
|
&.decline {
|
|
|
|
background: #DB5D5D;
|
|
|
|
&:hover {
|
|
|
|
background: #DC4B4B;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2017-09-20 03:48:46 +00:00
|
|
|
|
2017-02-11 14:06:01 +00:00
|
|
|
.notification-body {
|
|
|
|
p, div {
|
|
|
|
margin: 1em auto;
|
|
|
|
line-height: 20px;
|
|
|
|
}
|
2016-12-08 19:39:41 +00:00
|
|
|
}
|
|
|
|
}
|
2016-11-01 03:18:27 +00:00
|
|
|
}
|
2017-09-22 22:38:38 +00:00
|
|
|
|
|
|
|
ul.notifications {
|
|
|
|
list-style: none;
|
2017-09-25 19:21:04 +00:00
|
|
|
|
|
|
|
li:last-child {
|
|
|
|
.notification-body {
|
|
|
|
border-bottom: none !important;
|
|
|
|
}
|
|
|
|
}
|
2017-09-22 22:38:38 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.notification {
|
2017-09-25 19:21:04 +00:00
|
|
|
padding: 10px 10px 0 10px;
|
2017-09-22 22:38:38 +00:00
|
|
|
position: relative;
|
2017-09-25 19:21:04 +00:00
|
|
|
font-family: 'din-regular', Sans-Serif;
|
2017-09-22 22:38:38 +00:00
|
|
|
|
2017-09-28 16:28:33 +00:00
|
|
|
&.unread {
|
|
|
|
background: #EEE;
|
|
|
|
}
|
|
|
|
|
2017-09-22 22:38:38 +00:00
|
|
|
&:hover {
|
2017-09-28 16:28:33 +00:00
|
|
|
background: $notifications-hover-color;
|
2017-09-22 22:38:38 +00:00
|
|
|
|
|
|
|
.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;
|
|
|
|
line-height: 20px;
|
2017-09-25 19:21:04 +00:00
|
|
|
padding-bottom: 10px;
|
2017-09-22 22:38:38 +00:00
|
|
|
|
|
|
|
.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;
|
|
|
|
margin-top: -6px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notification-read-unread {
|
|
|
|
display: none;
|
|
|
|
float: left;
|
|
|
|
width: 15%;
|
|
|
|
|
2017-09-25 19:21:04 +00:00
|
|
|
a, div {
|
2017-09-22 22:38:38 +00:00
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
margin-top: -10px;
|
|
|
|
text-align: center;
|
2017-09-25 19:21:04 +00:00
|
|
|
cursor: pointer;
|
2017-09-22 22:38:38 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|