2007-03-22 10:30:00 -07:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
notification {
|
2009-08-30 17:23:29 -07:00
|
|
|
padding: 3px 3px 4px;
|
2009-09-04 03:58:18 -07:00
|
|
|
text-shadow: none;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="info"] {
|
2008-04-22 17:00:58 -07:00
|
|
|
color: rgba(255,255,255,0.95);
|
|
|
|
background: url("chrome://global/skin/notification/info-bar-background.png") #404040 repeat-x top left;
|
|
|
|
border-top: 1px solid #707070;
|
|
|
|
border-bottom: 1px solid #2a2a2a;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="warning"] {
|
2008-04-22 17:00:58 -07:00
|
|
|
color: rgba(0,0,0,0.95);
|
|
|
|
background: url("chrome://global/skin/notification/warning-bar-background.png") #ffc703 repeat-x top left;
|
|
|
|
border-top: 1px solid #ffe970;
|
|
|
|
border-bottom: 1px solid #bf8a01;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="critical"] {
|
2008-04-22 17:00:58 -07:00
|
|
|
color: rgba(255,255,255,0.95);
|
|
|
|
background: url("chrome://global/skin/notification/critical-bar-background.png") #980000 repeat-x top left;
|
|
|
|
border-top: 1px solid #e35959;
|
|
|
|
border-bottom: 1px solid #5d0000;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.messageImage {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2008-11-27 14:14:35 -08:00
|
|
|
margin: 0 4px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-04-29 14:29:30 -07:00
|
|
|
/* Default icons for notifications */
|
|
|
|
|
|
|
|
notification[type="info"] .messageImage {
|
2009-05-28 22:50:12 -07:00
|
|
|
list-style-image: url("chrome://global/skin/notification/info-icon.png");
|
2008-04-29 14:29:30 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="warning"] .messageImage {
|
2009-05-28 22:50:12 -07:00
|
|
|
list-style-image: url("chrome://global/skin/notification/warning-icon.png");
|
2008-04-29 14:29:30 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="critical"] .messageImage {
|
2009-05-28 22:50:12 -07:00
|
|
|
list-style-image: url("chrome://global/skin/notification/error-icon.png");
|
2008-04-29 14:29:30 -07:00
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.notification-inner {
|
|
|
|
border: 0 !important;
|
|
|
|
}
|
|
|
|
|
2008-11-27 14:14:35 -08:00
|
|
|
.messageText {
|
|
|
|
margin: 0 3px !important;
|
|
|
|
padding: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.messageCloseButton {
|
|
|
|
-moz-appearance: none;
|
2009-06-02 00:00:32 -07:00
|
|
|
padding: 0;
|
2008-11-27 14:14:35 -08:00
|
|
|
margin: 0 2px;
|
2009-03-14 01:10:08 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/closetab.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageCloseButton > .toolbarbutton-text {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2008-11-27 14:14:35 -08:00
|
|
|
.messageCloseButton > .toolbarbutton-icon {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.messageCloseButton:hover {
|
2009-03-14 01:10:08 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/closetab-hover.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.messageCloseButton:hover:active {
|
2009-03-14 01:10:08 -07:00
|
|
|
list-style-image: url("chrome://global/skin/icons/closetab-active.png");
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2009-03-14 01:10:08 -07:00
|
|
|
.messageCloseButton:focus > .toolbarbutton-icon {
|
|
|
|
-moz-border-radius: 100%;
|
2009-06-02 00:00:32 -07:00
|
|
|
-moz-box-shadow: 0 0 3px 1px -moz-mac-focusring,
|
|
|
|
0 0 0 2px -moz-mac-focusring inset;
|
2009-03-14 01:10:08 -07:00
|
|
|
}
|
2009-04-30 22:04:16 -07:00
|
|
|
|
|
|
|
/* geolocation adds a text-link for a "Learn more..." link.
|
|
|
|
normal blue color of text-link is hard to read.
|
|
|
|
*/
|
|
|
|
notification[type="info"] .text-link {
|
|
|
|
color: rgba(255,255,255,0.95) !important;
|
|
|
|
}
|
|
|
|
|