1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00
onion/sass/ascribe_notification_list.scss

81 lines
1.7 KiB
SCSS
Raw Normal View History

.notification-header, .notification-wrapper {
min-width: 350px;
width: 100%;
}
.notification-header {
2015-09-01 14:45:14 +02:00
border-bottom: 1px solid #cccccc;
border-top: 1px solid #cccccc;
padding: 0.3em 1em;
background-color: #eeeeee;
}
2015-09-01 14:45:14 +02:00
.notification-wrapper {
height:8.4em;
border-bottom: 1px solid #eeeeee;
2015-10-08 20:26:29 +02:00
margin: 0;
padding: 0.5em;
color: black;
2015-09-01 14:45:14 +02:00
// ToDo: Include media queries for thumbnail
.thumbnail-wrapper {
width: 7.4em;
height: 7.4em;
padding:0;
cursor: pointer;
text-align: center;
img {
max-width: 100%;
max-height: 100%;
}
&::before {
content: ' ';
display: inline-block;
vertical-align: middle; /* vertical alignment of the inline element */
height: 100%;
}
}
h1 {
margin-top: 0.3em;
margin-bottom: 0.15em;
font-size: 1.8em;
2015-09-03 17:25:22 +02:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2015-09-01 14:45:14 +02:00
}
.sub-header {
2015-09-03 17:25:22 +02:00
margin-bottom: 0.6em;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2015-09-01 14:45:14 +02:00
}
.notification-action {
color: $ascribe-pink;
2015-09-01 14:45:14 +02:00
}
}
.notification-menu .dropdown-menu {
background-color: white;
border-top: 0;
max-height: 70vh;
overflow-y: auto;
overflow-x: hidden;
li:hover {
background-color: $ascribe-white;
2015-09-01 14:45:14 +02:00
}
}
.notification-amount {
padding: 0.3em;
}
.ascribe-global-action {
text-align: center;
padding: 1em;
color: black;
border: 1px solid #cccccc;
background-color: white;
margin-top: 1px;
}