2023-03-24 17:42:37 +08:00
|
|
|
// scss-lint:disable SelectorDepth unknownProperties
|
|
|
|
// scss-lint:disable NestingDepth SelectorFormat
|
|
|
|
|
|
|
|
.sci--navigation--notificaitons-flyout-container {
|
|
|
|
position: relative;
|
|
|
|
|
2023-04-13 20:54:03 +08:00
|
|
|
.sci--navigation--notificaitons-flyout-backdrop {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
position: fixed;
|
|
|
|
right: 0;
|
2023-04-17 21:23:52 +08:00
|
|
|
top: 0;
|
2023-04-13 20:54:03 +08:00
|
|
|
}
|
|
|
|
|
2023-04-12 17:14:53 +08:00
|
|
|
.has-unseen {
|
|
|
|
&::after {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $brand-focus;
|
|
|
|
border-radius: .5rem;
|
|
|
|
color: $color-white;
|
|
|
|
content: attr(data-unseen);
|
|
|
|
display: flex;
|
|
|
|
font-size: 10px;
|
|
|
|
height: 1rem;
|
|
|
|
justify-content: center;
|
2023-05-05 17:45:43 +08:00
|
|
|
left: 1.25rem;
|
|
|
|
min-width: 1rem;
|
|
|
|
padding: 0 .25rem;
|
2023-04-12 17:14:53 +08:00
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2023-05-05 17:45:43 +08:00
|
|
|
white-space: nowrap;
|
2023-04-12 17:14:53 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-03-24 17:42:37 +08:00
|
|
|
.sci--navigation--notificaitons-flyout {
|
|
|
|
background-color: $color-white;
|
|
|
|
border-radius: 0 0 $border-radius-default $border-radius-default;
|
|
|
|
box-shadow: $flyout-shadow;
|
2023-04-07 19:59:06 +08:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-05-04 16:06:42 +08:00
|
|
|
height: calc(100vh - var(--top-navigation-height) - 2em);
|
2023-04-07 19:59:06 +08:00
|
|
|
padding: 1.5rem;
|
2023-03-24 17:42:37 +08:00
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2023-05-04 16:06:42 +08:00
|
|
|
top: calc(var(--top-navigation-height) - .5em);
|
2023-03-24 17:42:37 +08:00
|
|
|
width: 400px;
|
|
|
|
|
|
|
|
.sci--navigation--notificaitons-flyout-title {
|
|
|
|
@include font-h2;
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2023-04-07 19:59:06 +08:00
|
|
|
margin-bottom: .625rem;
|
2023-03-24 17:42:37 +08:00
|
|
|
|
|
|
|
.fas {
|
|
|
|
@include font-button;
|
|
|
|
cursor: pointer;
|
|
|
|
margin-left: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--navigation--notificaitons-flyout-tabs {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
2023-04-07 19:59:06 +08:00
|
|
|
flex-basis: 2.5rem;
|
|
|
|
flex-shrink: 0;
|
|
|
|
gap: 3rem;
|
2023-03-24 17:42:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sci--navigation--notificaitons-flyout-tab {
|
|
|
|
cursor: pointer;
|
2023-04-12 17:14:53 +08:00
|
|
|
padding: .5rem .625rem;
|
|
|
|
position: relative;
|
2023-03-24 17:42:37 +08:00
|
|
|
|
|
|
|
&.active {
|
|
|
|
color: $brand-focus;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
hr {
|
2023-04-07 19:59:06 +08:00
|
|
|
margin: .625rem 0;
|
2023-03-24 17:42:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sci-navigation--notificaitons-flyout-subtitle {
|
|
|
|
@include font-main;
|
2023-04-07 19:59:06 +08:00
|
|
|
line-height: 2.25rem;
|
|
|
|
margin-bottom: .625rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci--navigation--notificaitons-flyout-notifications {
|
2023-04-13 20:54:03 +08:00
|
|
|
margin-left: -1.5rem;
|
|
|
|
padding: 0 1.5rem;
|
2023-04-07 19:59:06 +08:00
|
|
|
position: relative;
|
2023-04-13 20:54:03 +08:00
|
|
|
width: calc(100% + 3rem);
|
2023-04-07 19:59:06 +08:00
|
|
|
|
|
|
|
.next-page-loader {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
margin: 1rem 0;
|
|
|
|
}
|
2023-03-24 17:42:37 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.sci-navigation--notificaitons-flyout-notification {
|
|
|
|
border-bottom: $border-tertiary;
|
|
|
|
display: grid;
|
|
|
|
grid-template-columns: max-content auto;
|
2023-04-07 19:59:06 +08:00
|
|
|
padding: 1rem 0;
|
2023-03-24 17:42:37 +08:00
|
|
|
|
|
|
|
.sci-navigation--notificaitons-flyout-notification-icon {
|
|
|
|
align-items: center;
|
|
|
|
background-color: $brand-primary;
|
|
|
|
border-radius: 50%;
|
|
|
|
color: $color-white;
|
|
|
|
display: flex;
|
|
|
|
grid-row: 1 / 4;
|
2023-04-07 19:59:06 +08:00
|
|
|
height: 2rem;
|
2023-03-24 17:42:37 +08:00
|
|
|
justify-content: center;
|
2023-04-07 19:59:06 +08:00
|
|
|
margin-right: .75rem;
|
|
|
|
width: 2rem;
|
2023-03-24 17:42:37 +08:00
|
|
|
|
|
|
|
&.deliver {
|
|
|
|
background-color: $brand-warning;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.system {
|
|
|
|
background-color: $brand-success;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci-navigation--notificaitons-flyout-notification-date {
|
|
|
|
@include font-small;
|
|
|
|
color: $color-silver-chalice;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci-navigation--notificaitons-flyout-notification-title {
|
2023-04-07 19:59:06 +08:00
|
|
|
margin: .25rem 0;
|
2023-04-17 21:23:52 +08:00
|
|
|
|
|
|
|
&:not([data-seen="true"]) {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sci-navigation--notificaitons-flyout-notification-message {
|
|
|
|
&[data-notification="system"] {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2023-03-24 17:42:37 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|