Files
BlueLotus_XSSReceiver/static/css/notification.css

195 lines
4.2 KiB
CSS
Raw Normal View History

#notifications-bottom-right {
position: absolute;
width: 360px;
right: 20px;
bottom: 40px;
}
.webpushtipoutter {
z-index: 9999;
position: absolute;
right: 5px;
bottom: 5px;
_width: 330px;
}
.webpushtipinner {
position: relative;
height: 66px;
padding: 7px;
}
.newmailNotifyBox {
position: absolute;
bottom: 0;
right: 0;
z-index: 5;
padding: 8px 17px 7px 0;
overflow: hidden;
}
.newmailNotifyItem {
position: relative;
width: 305px;
height: 69px;
margin-bottom: 10px;
padding: 1px;
border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.2);
-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.2);
background: #ADBFC8;
background: -moz-linear-gradient(top,#C4D1D7,#98AFBA);
background: -webkit-gradient(linear,0 0,0 bottom,from(#C4D1D7),to(#98AFBA));
background: -o-linear-gradient(top,#C4D1D7,#98AFBA);
-moz-transition: box-shadow 1s;
}
.newmailNotifyItem:hover .newmailNotify {
box-shadow: 0 0 5px #8EC7EF inset;
-webkit-box-shadow: 0 0 5px #8EC7EF inset;
}
.newmailNotifyItem:hover .notify_type {
background: transparent;
*background: #EEF6F9;
}
.newmailNotify {
height: 66px;
background: #F7FDFF;
cursor: pointer;
border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 0 0 9px #E5EFF5 inset;
-webkit-box-shadow: 0 0 9px #E5EFF5 inset;
}
.newmailNotify .notify_close {
position: absolute;
top: -6px;
top: 4px\9;
right: -6px;
right: 4px\9;
width: 15px;
height: 15px;
height: 14px\9;
overflow: hidden;
background: url(../images/mail.png) no-repeat -106px -18px #B6CFDA;
opacity: 0;
filter: alpha(opacity=0);
border-radius: 10px;
-webkit-border-radius: 10px;
-moz-transition: opacity 0.2s ease;
-webkit-transition: opacity 0.1s ease;
_filter: alpha(opacity=100);
}
.newmailNotify:hover .notify_close:hover,.hover .notify_close:hover {
opacity: 1;
filter: alpha(opacity=100);
}
.newmailNotify:hover .notify_close:active,.hover .notify_close:active {
opacity: 1;
filter: alpha(opacity=100);
}
.newmailNotify:hover .notify_close,.hover .notify_close {
opacity: 0.8;
filter: alpha(opacity=80);
}
.newmailNotify .notify_type {
position: relative;
float: left;
width: 60px;
height: 66px;
border-right: 1px solid #CBDAE1;
background: #EEF6F9;
border-radius: 5px 0 0 5px;
-webkit-border-radius: 5px 0 0 5px;
}
.newmailNotify .notify_type span {
display: inline-block;
width: 32px;
height: 34px;
margin: 16px 0 0 16px;
background: url(../images/notify_letter.png) no-repeat;
}
.newmailNotify .notify_type label {
position: absolute;
top: 12px;
right: 10px;
+right: 5px;
text-align: center;
overflow: visible;
}
.newmailNotify .notify_type em {
display: inline-block;
cursor: pinter;
min-width: 13px;
margin-right: -50%;
+margin-right: 0;
padding: 0 2px;
+padding: 0 2px 2px;
border: 1px solid white;
line-height: 15px;
color: white;
font-weight: bold;
font-style: normal;
background: #D40707;
border-radius: 8px;
-webkit-border-radius: 8px;
background: -moz-linear-gradient(top,#E80505,#C70909);
background: -webkit-gradient(linear,0 0,0 bottom,from(#E80505),to(#C70909));
background: -o-linear-gradient(top,#E80505,#C70909);
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
.newmailNotify .notify_type em {
border: none;
};
}
.newmailNotify .notify_content {
margin-left: 66px;
overflow: hidden;
width: 230px;
}
.newmailNotify p {
margin: 0;
padding: 2px 0 1px;
white-space: normal;
white-space: nowrap\9;
_white-space: normal;
height: auto\9;
_height: 16px;
_line-height: 16px;
overflow: hidden;
text-overflow: ellipsis;
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
.newmailNotify p {
margin-top: 2px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
};
}
.newmailNotify .notify_location {
padding: 7px 0 1px;
font-size: 12px;
font-weight: bold;
}
.newmailNotify .notify_digest {
color: #8596A9;
padding-top: 2px;
}