2019-05-17 18:28:15 +02:00
|
|
|
@import (reference) "./colortheme-all.less";
|
2019-07-16 17:29:55 +02:00
|
|
|
@import (reference) "./avatar.less";
|
2019-05-17 18:28:15 +02:00
|
|
|
|
|
|
|
|
.notifications_main() {
|
|
|
|
|
--LessLoader_require: LessLoader_currentFile();
|
|
|
|
|
}
|
|
|
|
|
& {
|
|
|
|
|
@notif-height: 50px;
|
|
|
|
|
.cp-notifications-container {
|
|
|
|
|
max-width: 300px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-flow: column;
|
|
|
|
|
.cp-notification {
|
2019-06-18 14:23:48 +02:00
|
|
|
min-height: @notif-height;
|
2019-05-17 18:28:15 +02:00
|
|
|
display: flex;
|
|
|
|
|
.cp-notification-content {
|
|
|
|
|
flex: 1;
|
2019-06-28 16:11:54 +02:00
|
|
|
align-items: stretch;
|
2019-05-17 18:28:15 +02:00
|
|
|
min-width: 0;
|
2019-05-21 18:43:11 +02:00
|
|
|
p {
|
2019-05-23 16:02:21 +02:00
|
|
|
word-break: break-word;
|
2019-05-21 18:43:11 +02:00
|
|
|
}
|
|
|
|
|
&.cp-clickable {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-05-17 18:28:15 +02:00
|
|
|
}
|
|
|
|
|
.cp-notification-dismiss {
|
|
|
|
|
color: black;
|
|
|
|
|
width: 25px;
|
2019-07-02 12:05:04 +02:00
|
|
|
display: flex;
|
2019-05-17 18:28:15 +02:00
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2019-06-07 11:47:50 +02:00
|
|
|
cursor: pointer;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
2019-05-17 18:28:15 +02:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-07-04 11:41:54 +02:00
|
|
|
hr {
|
|
|
|
|
margin: 0px !important;
|
|
|
|
|
}
|
2019-07-01 11:09:06 +02:00
|
|
|
.cp-notifications-gotoapp {
|
|
|
|
|
p {
|
|
|
|
|
padding: 10px 0 !important;
|
|
|
|
|
text-align: center !important;
|
|
|
|
|
font-weight: bold;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: rgba(0,0,0,0.1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-07-16 17:29:55 +02:00
|
|
|
.cp-notifications-requestedit-verified {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
&> span.cp-avatar {
|
2019-07-17 12:15:28 +02:00
|
|
|
.avatar_main(30px);
|
2019-07-16 17:29:55 +02:00
|
|
|
}
|
|
|
|
|
&> span {
|
|
|
|
|
margin-right: 10px;
|
|
|
|
|
}
|
|
|
|
|
&> p {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-05-17 18:28:15 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|