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

55 lines
932 B
SCSS
Raw Normal View History

2016-11-24 20:36:48 +00:00
.controller-notifications {
ul.notifications {
list-style: none;
}
2016-11-24 22:31:58 +00:00
$menu_bar_height: 6em;
.notificationPage,
.notificationsPage {
width: auto;
max-width: 100%;
box-sizing: border-box;
margin: 1em;
margin-top: 1em + $menu_bar_height;
& > .title {
border-bottom: 1px solid #eee;
padding-bottom: 0.25em;
margin-bottom: 0.5em;
}
.back {
margin-top: 1em;
}
}
.notification {
.notification-subject {
width: 25%;
}
.notification-body {
width: 50%;
}
.notification-read-unread {
width: 10%;
}
.notification-body,
.notification-subject,
.notification-read-unread {
display: inline-block;
vertical-align: top;
font-weight: 300;
}
&.unread {
.notification-body,
.notification-subject,
.notification-read-unread {
font-weight: bold;
}
}
}
2016-11-24 22:31:58 +00:00
}