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

82 lines
1.5 KiB
SCSS
Raw Normal View History

2016-10-03 20:40:15 +08:00
@import "colors";
@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-top: 1px solid $color-alto;
border-left: 1px solid $color-alto;
border-right: 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
}
}
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;
font-size: 15px;
padding: 7px;
}
2016-10-03 20:40:15 +08:00
.system-message {
background-color: $color-theme-secondary;
border-radius: 50%;
color: $color-wild-sand;
font-size: 13px;
padding: 7px 10px;
2016-10-03 20:40:15 +08:00
}
}
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
}