mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-18 03:18:19 -07:00
128 lines
2.9 KiB
CSS
128 lines
2.9 KiB
CSS
.btnNotifications {
|
|
text-decoration: none !important;
|
|
padding: 0 !important;
|
|
outline: 0 !important;
|
|
margin: 0 !important;
|
|
float: right;
|
|
vertical-align: middle;
|
|
min-width: 4.1em;
|
|
}
|
|
|
|
.btnNotificationsInner {
|
|
color: #fff;
|
|
font-weight: 500;
|
|
position: relative;
|
|
border-radius: 1000px;
|
|
background: #2E7D32;
|
|
line-height: 28px;
|
|
min-width: 30px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.levelNormal {
|
|
background-color: #444;
|
|
}
|
|
|
|
.levelWarning {
|
|
background-color: #FF7537;
|
|
}
|
|
|
|
.levelError {
|
|
background-color: #d14836;
|
|
}
|
|
|
|
.flyoutNotification {
|
|
border-top: 1px solid #404040;
|
|
padding: 0 0 .5em;
|
|
}
|
|
|
|
.flyoutNotification p {
|
|
margin: .5em 0;
|
|
white-space: normal;
|
|
max-width: 95%;
|
|
}
|
|
|
|
.flyoutNotification:last-child {
|
|
border-bottom: 1px solid #404040;
|
|
}
|
|
|
|
.flyoutNotification a {
|
|
font-weight: 500 !important;
|
|
}
|
|
|
|
.notificationTime {
|
|
color: #52B54B;
|
|
}
|
|
|
|
.notificationImage {
|
|
margin: 0 .5em 0 1em;
|
|
padding: .5em 0;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
display: none;
|
|
}
|
|
|
|
.notificationContent {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.unreadFlyoutNotification {
|
|
color: blue;
|
|
}
|
|
|
|
.imgNotification, .imgNotificationInner {
|
|
width: 40px;
|
|
height: 40px;
|
|
}
|
|
|
|
.imgNotificationInner {
|
|
background-repeat: no-repeat;
|
|
background-size: contain;
|
|
background-position: center center;
|
|
}
|
|
|
|
.imgNotificationIcon {
|
|
background-size: 50% auto;
|
|
}
|
|
|
|
.imgNotificationNormal {
|
|
background-color: #4d90fe;
|
|
background-image: -webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed));
|
|
background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
|
|
background-image: -moz-linear-gradient(top,#4d90fe,#4787ed);
|
|
background-image: -ms-linear-gradient(top,#4d90fe,#4787ed);
|
|
background-image: -o-linear-gradient(top,#4d90fe,#4787ed);
|
|
background-image: linear-gradient(top,#4d90fe,#4787ed);
|
|
}
|
|
|
|
.imgNotificationNormal .imgNotificationInner {
|
|
background-image: url(images/notifications/info.png);
|
|
}
|
|
|
|
.imgNotificationError {
|
|
background-color: #d14836;
|
|
background-image: -webkit-gradient(linear,left top,left bottom,from(#dd4b39),to(#d14836));
|
|
background-image: -webkit-linear-gradient(top,#dd4b39,#d14836);
|
|
background-image: -moz-linear-gradient(top,#dd4b39,#d14836);
|
|
background-image: -ms-linear-gradient(top,#dd4b39,#d14836);
|
|
background-image: -o-linear-gradient(top,#dd4b39,#d14836);
|
|
background-image: linear-gradient(top,#dd4b39,#d14836);
|
|
}
|
|
|
|
.imgNotificationError .imgNotificationInner {
|
|
background-image: url(images/notifications/error.png);
|
|
}
|
|
|
|
.imgNotificationWarning {
|
|
background-color: #FF7537;
|
|
}
|
|
|
|
.imgNotificationWarning .imgNotificationInner {
|
|
background-image: url(images/notifications/error.png);
|
|
}
|