Clear notifications viewed from another store (browser/worker)

This commit is contained in:
yflory
2019-05-17 18:28:15 +02:00
parent 7fd3bba2a6
commit 11a365557c
3 changed files with 67 additions and 8 deletions

View File

@@ -0,0 +1,34 @@
@import (reference) "./colortheme-all.less";
.notifications_main() {
--LessLoader_require: LessLoader_currentFile();
}
& {
@notif-height: 50px;
.cp-notifications-container {
max-width: 300px;
display: flex;
flex-flow: column;
.cp-notification {
height: @notif-height;
display: flex;
.cp-notification-content {
flex: 1;
min-width: 0;
}
.cp-notification-dismiss {
color: black;
width: 25px;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
span {
cursor: pointer;
}
}
}
}
}