nitro-react/src/components/notification-center/NotificationCenterView.scss

60 lines
1.2 KiB
SCSS
Raw Normal View History

2021-06-22 11:52:47 +02:00
.nitro-notification-center-container {
position: absolute;
top: 0;
right: 0;
width: 300px;
height: calc(100% - #{$toolbar-height});
z-index: $notification-center-zindex;
2021-06-23 06:25:30 +02:00
pointer-events: none;
2021-06-22 11:52:47 +02:00
.nitro-notification-center {
background-color: $dark;
height: 100%;
2021-06-23 06:25:30 +02:00
pointer-events: all;
2021-06-22 11:52:47 +02:00
}
}
2022-03-23 10:18:00 +01:00
2022-03-28 05:13:44 +02:00
.nitro-alert {
min-height: 150px;
max-height: 350px;
.notification-frank {
background-image: url('../../assets/images/notifications/frank.gif');
width:47px;
height: 85px;
}
.notification-text {
min-width: 250px;
}
&.nitro-alert-default,
&.nitro-alert-motd {
width: 350px;
.notification-text {
min-width: auto;
}
}
&.nitro-alert-moderation,
&.nitro-alert-alert {
width: 250px;
.notification-text {
min-width: 225px;
}
}
}
.nitro-notification-bubble {
pointer-events: all;
padding: 6px 5px;
background-color: rgba($dark,.95);
box-shadow: inset 0px 5px lighten(rgba($dark,.6),2.5), inset 0 -4px darken(rgba($dark,.6),4);
font-size: $font-size-sm;
.bubble-image-container {
width: 50px;
height: 50px;
}
2022-03-23 10:18:00 +01:00
}