2016-10-13 17:05:11 +08:00
|
|
|
@import 'constants';
|
2016-10-03 20:40:15 +08:00
|
|
|
@import "mixins";
|
|
|
|
|
2016-10-04 17:51:47 +08:00
|
|
|
.notifications-container {
|
2016-10-04 20:16:18 +08:00
|
|
|
margin-bottom: 20px;
|
2016-10-04 17:51:47 +08:00
|
|
|
margin-top: 20px;
|
|
|
|
}
|
2016-10-03 20:40:15 +08:00
|
|
|
|
2016-10-04 17:51:47 +08:00
|
|
|
.notifications-header {
|
|
|
|
background-color: $color-concrete;
|
|
|
|
border-left: 1px solid $color-alto;
|
|
|
|
border-right: 1px solid $color-alto;
|
2016-10-05 20:30:17 +08:00
|
|
|
border-top: 1px solid $color-alto;
|
2016-10-04 17:51:47 +08:00
|
|
|
border-top-left-radius: 10px;
|
|
|
|
border-top-right-radius: 10px;
|
|
|
|
color: $color-dove-gray;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 8px;
|
|
|
|
}
|
2016-10-03 20:40:15 +08:00
|
|
|
|
2016-10-04 20:16:18 +08:00
|
|
|
.notifications-list {
|
|
|
|
background-color: $color-white;
|
|
|
|
border: 1px solid $color-alto;
|
|
|
|
list-style: none;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 0;
|
2016-10-04 17:51:47 +08:00
|
|
|
|
2016-10-04 20:16:18 +08:00
|
|
|
.notification {
|
|
|
|
border-bottom: 1px solid $color-alto;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
padding-top: 10px;
|
2016-10-04 17:51:47 +08:00
|
|
|
|
2016-10-04 20:16:18 +08:00
|
|
|
&:hover {
|
2016-10-04 20:47:02 +08:00
|
|
|
background-color: $color-mystic;
|
2016-10-03 20:40:15 +08:00
|
|
|
}
|
2016-10-05 22:48:40 +08:00
|
|
|
|
|
|
|
&.no-notifications {
|
|
|
|
padding-left: 15px;
|
|
|
|
}
|
2016-10-04 20:16:18 +08:00
|
|
|
}
|
2016-10-03 20:40:15 +08:00
|
|
|
|
2016-10-04 20:16:18 +08:00
|
|
|
.unseen {
|
|
|
|
border-left: 4px solid $color-theme-primary;
|
|
|
|
}
|
2016-10-03 20:40:15 +08:00
|
|
|
|
2016-10-04 20:16:18 +08:00
|
|
|
.text-center {
|
|
|
|
margin-left: 10px;
|
|
|
|
padding-top: 10px;
|
|
|
|
}
|
2016-10-03 20:40:15 +08:00
|
|
|
|
2016-10-04 20:16:18 +08:00
|
|
|
.assignment {
|
|
|
|
background-color: $color-theme-primary;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: $color-wild-sand;
|
2016-10-07 21:25:53 +08:00
|
|
|
display: inline-block;
|
2016-10-07 18:25:46 +08:00
|
|
|
font-size: 13px;
|
2016-10-07 21:25:53 +08:00
|
|
|
height: 30px;
|
2016-10-07 18:25:46 +08:00
|
|
|
padding-top: 5px;
|
2016-10-13 17:05:11 +08:00
|
|
|
width: 30px;
|
2016-10-04 20:16:18 +08:00
|
|
|
}
|
2016-10-03 20:40:15 +08:00
|
|
|
|
2016-10-04 20:16:18 +08:00
|
|
|
.system-message {
|
|
|
|
background-color: $color-theme-secondary;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: $color-wild-sand;
|
2016-10-07 21:25:53 +08:00
|
|
|
display: inline-block;
|
2016-10-04 20:16:18 +08:00
|
|
|
font-size: 13px;
|
2016-10-07 21:25:53 +08:00
|
|
|
height: 30px;
|
2016-10-07 18:25:46 +08:00
|
|
|
padding-top: 5px;
|
2016-10-07 21:25:53 +08:00
|
|
|
width: 30px;
|
2016-10-03 20:40:15 +08:00
|
|
|
}
|
2017-03-24 19:10:07 +08:00
|
|
|
|
|
|
|
.deliver {
|
|
|
|
background-color: $color-orange;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: $color-wild-sand;
|
|
|
|
display: inline-block;
|
|
|
|
font-size: 13px;
|
|
|
|
height: 30px;
|
|
|
|
padding-top: 5px;
|
|
|
|
width: 30px;
|
|
|
|
}
|
2016-10-04 17:51:47 +08:00
|
|
|
}
|
2016-10-03 20:40:15 +08:00
|
|
|
|
2016-10-04 20:16:18 +08:00
|
|
|
|
2016-10-04 17:51:47 +08:00
|
|
|
.notifications-footer {
|
2016-10-03 20:40:15 +08:00
|
|
|
|
2016-10-04 17:51:47 +08:00
|
|
|
background-color: $color-mystic;
|
|
|
|
|
|
|
|
.btn-more-notifications {
|
|
|
|
border-bottom: 1px solid $color-alto;
|
|
|
|
border-left: 1px solid $color-alto;
|
|
|
|
border-right: 1px solid $color-alto;
|
2016-10-04 20:16:18 +08:00
|
|
|
margin: 0;
|
2016-10-03 20:40:15 +08:00
|
|
|
padding: 8px;
|
|
|
|
text-align: center;
|
|
|
|
|
2016-10-04 17:51:47 +08:00
|
|
|
&:hover {
|
|
|
|
background-color: $color-mystic;
|
|
|
|
}
|
|
|
|
}
|
2016-10-03 20:40:15 +08:00
|
|
|
}
|