scinote-web/app/assets/stylesheets/notifications.scss

99 lines
1.8 KiB
SCSS
Raw Normal View History

@import 'constants';
2016-10-03 20:40:15 +08:00
@import "mixins";
.notifications-container {
margin-bottom: 20px;
margin-top: 20px;
}
2016-10-03 20:40:15 +08:00
.notifications-header {
background-color: $color-concrete;
border-left: 1px solid $color-alto;
border-right: 1px solid $color-alto;
border-top: 1px solid $color-alto;
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
.notifications-list {
background-color: $color-white;
border: 1px solid $color-alto;
list-style: none;
margin-bottom: 0;
padding: 0;
.notification {
border-bottom: 1px solid $color-alto;
padding-bottom: 10px;
padding-top: 10px;
&:hover {
background-color: $color-gainsboro;
2016-10-03 20:40:15 +08:00
}
&.no-notifications {
padding-left: 15px;
}
}
2016-10-03 20:40:15 +08:00
.unseen {
2018-03-28 19:54:01 +08:00
border-left: 4px solid $brand-primary;
}
2016-10-03 20:40:15 +08:00
.text-center {
margin-left: 10px;
padding-top: 10px;
}
2016-10-03 20:40:15 +08:00
.assignment {
2018-03-28 19:54:01 +08:00
background-color: $brand-primary;
border-radius: 50%;
2018-03-28 19:54:01 +08:00
color: $color-concrete;
2016-10-07 21:25:53 +08:00
display: inline-block;
2018-03-30 15:54:57 +08:00
font-size: $font-size-small;
2016-10-07 21:25:53 +08:00
height: 30px;
2016-10-07 18:25:46 +08:00
padding-top: 5px;
width: 30px;
}
2016-10-03 20:40:15 +08:00
.system-message {
2018-05-15 23:10:31 +08:00
background-color: $brand-success;
border-radius: 50%;
2018-03-28 19:54:01 +08:00
color: $color-concrete;
2016-10-07 21:25:53 +08:00
display: inline-block;
2018-03-30 15:54:57 +08:00
font-size: $font-size-small;
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 {
2018-03-28 19:54:01 +08:00
background-color: $brand-warning;
2017-03-24 19:10:07 +08:00
border-radius: 50%;
2018-03-28 19:54:01 +08:00
color: $color-concrete;
2017-03-24 19:10:07 +08:00
display: inline-block;
2018-03-30 15:54:57 +08:00
font-size: $font-size-small;
2017-03-24 19:10:07 +08:00
height: 30px;
padding-top: 5px;
width: 30px;
}
.deliver-error {
background-color: $brand-danger;
border-radius: 50%;
color: $color-concrete;
display: inline-block;
font-size: $font-size-small;
height: 30px;
padding-top: 5px;
width: 30px;
}
}
2016-10-03 20:40:15 +08:00
2018-03-29 19:58:14 +08:00
.btn-more-notifications {
margin-top: 15px;
2016-10-03 20:40:15 +08:00
}