jellyfin-web/dashboard-ui/css/notifications.css

128 lines
2.9 KiB
CSS
Raw Normal View History

.btnNotifications {
2014-07-17 15:21:35 -07:00
text-decoration: none !important;
2015-05-30 07:32:18 -07:00
padding: 0 !important;
outline: 0 !important;
2015-05-31 14:07:44 -07:00
margin: 0 !important;
float: right;
vertical-align: middle;
2015-09-21 18:05:33 -07:00
min-width: 4.1em;
2014-06-21 22:52:31 -07:00
}
.btnNotificationsInner {
color: #fff;
2015-09-21 18:05:33 -07:00
font-weight: 500;
position: relative;
border-radius: 1000px;
2016-03-27 20:37:33 -07:00
background: #2E7D32;
2015-09-21 18:05:33 -07:00
line-height: 28px;
min-width: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
2013-07-06 14:23:32 -07:00
}
.levelNormal {
background-color: #4d90fe;
2013-07-06 14:23:32 -07:00
}
.levelWarning {
background-color: #FF7537;
2013-07-06 14:23:32 -07:00
}
.levelError {
background-color: #d14836;
2013-07-06 16:08:10 -07:00
}
2013-07-06 14:23:32 -07:00
.flyoutNotification {
2015-06-01 07:49:23 -07:00
border-top: 1px solid #404040;
2014-07-17 15:21:35 -07:00
padding: 0 0 .5em;
2013-07-06 14:23:32 -07:00
}
.flyoutNotification p {
2013-07-06 16:08:10 -07:00
margin: .5em 0;
2013-07-07 08:53:26 -07:00
white-space: normal;
max-width: 95%;
2013-07-06 14:23:32 -07:00
}
2014-06-07 12:46:24 -07:00
.flyoutNotification:last-child {
2015-06-01 07:49:23 -07:00
border-bottom: 1px solid #404040;
2015-05-31 14:07:44 -07:00
}
.flyoutNotification a {
font-weight: 500 !important;
2014-06-07 12:46:24 -07:00
}
2014-07-17 15:21:35 -07:00
.notificationTime {
2015-05-31 14:07:44 -07:00
color: #52B54B;
2013-07-06 14:23:32 -07:00
}
.notificationImage {
2014-07-17 15:21:35 -07:00
margin: 0 .5em 0 1em;
padding: .5em 0;
display: inline-block;
vertical-align: top;
2013-07-06 14:23:32 -07:00
display: none;
}
2014-07-17 15:21:35 -07:00
.notificationContent {
display: inline-block;
vertical-align: top;
overflow: hidden;
2013-07-06 14:23:32 -07:00
}
2014-07-17 15:21:35 -07:00
.unreadFlyoutNotification {
color: blue;
}
2013-07-06 14:23:32 -07:00
.imgNotification, .imgNotificationInner {
2013-07-06 16:08:10 -07:00
width: 40px;
height: 40px;
2013-07-06 14:23:32 -07:00
}
.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);
}
2013-07-06 16:08:10 -07:00
.imgNotificationNormal .imgNotificationInner {
background-image: url(images/notifications/info.png);
}
2013-07-06 14:23:32 -07:00
.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);
}
2013-07-06 16:08:10 -07:00
.imgNotificationError .imgNotificationInner {
background-image: url(images/notifications/error.png);
}
2013-07-06 14:23:32 -07:00
.imgNotificationWarning {
background-color: #FF7537;
}
2013-07-06 16:08:10 -07:00
.imgNotificationWarning .imgNotificationInner {
background-image: url(images/notifications/error.png);
2015-05-30 07:32:18 -07:00
}