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

103 lines
1.9 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 {
2016-10-04 20:47:02 +08:00
background-color: $color-mystic;
2016-10-03 20:40:15 +08:00
}
&.no-notifications {
padding-left: 15px;
}
}
2016-10-03 20:40:15 +08:00
.unseen {
border-left: 4px solid $color-theme-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 {
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;
width: 30px;
}
2016-10-03 20:40:15 +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;
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-03 20:40:15 +08:00
.notifications-footer {
2016-10-03 20:40:15 +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;
margin: 0;
2016-10-03 20:40:15 +08:00
padding: 8px;
text-align: center;
&:hover {
background-color: $color-mystic;
}
}
2016-10-03 20:40:15 +08:00
}