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

104 lines
1.6 KiB
SCSS
Raw Normal View History

@import "constants";
@import "mixins";
// System notification partial
.system-notification {
border-bottom: 1px solid $color-gainsboro;
display: inline-block;
margin-bottom: 5px;
min-height: 70px;
padding-bottom: 5px;
position: relative;
width: 100%;
.status-block {
float: left;
height: 0;
width: 60px;
.status-icon {
background: $brand-success;
border-radius: 15px;
height: 30px;
line-height: 32px;
margin: 15px 20px;
text-align: center;
width: 30px;
&.seen {
background: $color-gainsboro;
}
i {
color: $color-white;
font-size: 18px;
margin-top: 5px;
}
}
}
.body-block {
float: right;
width: calc(100% - 70px);
.datetime {
font-size: 12px;
line-height: 20px;
opacity: .7;
}
.title {
line-height: 20px;
margin: 0;
}
.message {
line-height: 20px;
}
}
}
// Global system notification
#system-notifications-index {
#search-bar-notifications {
border-bottom: 1px solid $color-gainsboro;
margin: 10px 0;
padding: 0 0 10px;
width: 100%;
.form-group {
width: 100%;
.input-group {
max-width: 600px;
width: 100%;
}
}
}
.no-notification-meessage {
padding: 20px 0;
}
.title-container {
border-bottom: 1px solid $color-gainsboro;
left: -20px;
margin: 0;
padding-bottom: 10px;
padding-left: 20px;
position: relative;
width: calc(100% + 40px);
a {
font-size: 14px;
margin-left: 30px;
}
}
.btn-more-notifications {
margin-top: 0;
}
}