metamaps--metamaps/app/assets/stylesheets/notifications.scss.erb

104 lines
1.7 KiB
Text
Raw Normal View History

$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
.notificationPage,
.notificationsPage {
2016-11-28 22:37:27 +00:00
font-family: 'din-regular', Sans-Serif;
2016-12-12 22:55:42 +00:00
& a:hover {
text-decoration: none;
}
& > .notification-title {
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-12-12 22:55:42 +00:00
.notification:first-child {
border-top: none;
}
2016-12-12 22:55:42 +00:00
.notification:last-child {
border-bottom: 1px solid #DCDCDC;
}
2016-12-12 22:55:42 +00:00
.notification {
padding: 10px;
border:1px solid #DCDCDC;
border-bottom: none;
&:hover {
background: #F6F6F6;
}
& > a {
float: left;
width: 85%;
box-sizing: border-box;
padding-right: 10px;
}
.notification-read-unread {
2016-12-12 22:55:42 +00:00
float: left;
width: 15%;
}
.notification-body,
.notification-subject {
display: inline-block;
vertical-align: top;
}
.notification-body {
margin-left: 15px;
}
&.unread {
.notification-body,
.notification-subject,
.notification-read-unread {
font-family: 'din-medium', Sans-Serif;
}
}
}
2016-12-12 22:55:42 +00:00
}
2016-12-12 22:55:42 +00:00
.notificationPage .notification-body {
p, div {
margin: 1em auto;
}
}
2016-11-24 22:31:58 +00:00
}