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

201 lines
5.0 KiB
CSS
Raw Normal View History

2013-07-06 14:23:32 -07:00
.btnNotifications {
text-decoration: none;
vertical-align: middle;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
padding: 8px 12px;
text-align: center;
text-decoration: none !important;
-moz-user-select: none;
-webkit-user-select: none;
background-color: #f5f5f5;
background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));
background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
border: 1px solid #dcdcdc;
color: #666;
}
.levelNormal {
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);
border-color: #3079ed;
color: #fff!important;
}
.levelWarning {
background-color: #FF7537;
background-image: none;
border-color: #FF7537;
color: #fff!important;
}
.levelError {
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);
border-color: #c6322a;
color: #fff!important;
}
2013-07-06 16:08:10 -07:00
.notificationsFlyout {
width: 300px;
}
2013-07-06 14:23:32 -07:00
.flyoutNotification {
border-top: 1px solid #ccc;
background: #f8f8f8;
color: #555;
2013-07-06 16:08:10 -07:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
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
}
.notificationName {
font-weight: bold;
color: #555;
}
.notificationImage {
display: none;
}
.unreadFlyoutNotification {
background-color: #ECEEF4;
}
.btnMarkReadContainer {
padding: .5em;
}
.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);
}
.notificationContent {
padding: 0 .5em;
2013-07-06 14:23:32 -07:00
}
2013-07-06 16:08:10 -07:00
@media all and (min-width: 350px) {
2013-07-06 14:23:32 -07:00
.notificationsFlyout {
2013-07-06 16:08:10 -07:00
width: 320px;
2013-07-06 14:23:32 -07:00
}
}
2013-07-06 16:08:10 -07:00
@media all and (min-width: 400px) {
2013-07-06 14:23:32 -07:00
.notificationsFlyout {
2013-07-06 16:08:10 -07:00
width: 370px;
2013-07-06 14:23:32 -07:00
}
2013-07-06 16:08:10 -07:00
}
2013-07-06 14:23:32 -07:00
2013-07-06 16:08:10 -07:00
@media all and (min-width: 450px) {
.notificationsFlyout {
width: 400px;
}
2013-07-06 14:23:32 -07:00
.notificationImage {
2013-07-06 16:08:10 -07:00
margin: 0 .5em 0 1em;
padding: .5em 0;
2013-07-06 14:23:32 -07:00
display: inline-block;
vertical-align: top;
}
.notificationContent {
display: inline-block;
vertical-align: top;
2013-07-06 16:08:10 -07:00
overflow: hidden;
}
}
@media all and (min-width: 500px) {
.notificationsFlyout {
width: 450px;
}
2013-07-15 18:36:18 -07:00
.notificationContent p {
max-width: 350px;
}
2013-07-06 16:08:10 -07:00
}
@media all and (min-width: 600px) {
.notificationsFlyout {
width: 500px;
2013-07-06 14:23:32 -07:00
}
2013-07-06 18:41:20 -07:00
.imgNotification, .imgNotificationInner {
width: 60px;
height: 60px;
}
2013-07-15 18:36:18 -07:00
.notificationContent p {
max-width: 400px;
}
2013-07-06 14:23:32 -07:00
}