2007-03-22 10:30:00 -07:00
|
|
|
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
|
|
|
|
|
|
|
|
notification {
|
|
|
|
background-color: InfoBackground;
|
|
|
|
color: InfoText;
|
2009-09-04 03:58:18 -07:00
|
|
|
text-shadow: none;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="info"] {
|
|
|
|
background-color: -moz-Dialog;
|
2008-02-09 22:05:34 -08:00
|
|
|
color: -moz-DialogText;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="critical"] {
|
|
|
|
background-color: red;
|
2008-02-09 22:05:34 -08:00
|
|
|
color: white;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.messageImage {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2009-02-24 00:30:46 -08:00
|
|
|
-moz-margin-start: 6px;
|
|
|
|
-moz-margin-end: 1px;
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
2008-04-29 14:29:30 -07:00
|
|
|
/* Default icons for notifications */
|
|
|
|
|
|
|
|
notification[type="info"] .messageImage {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/information-16.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="warning"] .messageImage {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/warning-16.png");
|
|
|
|
}
|
|
|
|
|
|
|
|
notification[type="critical"] .messageImage {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/error-16.png");
|
|
|
|
}
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
.messageCloseButton {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
|
|
-moz-appearance: none;
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
2007-03-22 10:30:00 -07:00
|
|
|
padding: 4px 2px;
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.messageCloseButton:hover {
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 32px, 16px, 16px);
|
2007-03-22 10:30:00 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.messageCloseButton:hover:active {
|
2010-07-18 07:29:32 -07:00
|
|
|
-moz-image-region: rect(0, 48px, 16px, 32px);
|
2008-03-21 02:40:20 -07:00
|
|
|
}
|
2009-02-24 00:30:46 -08:00
|
|
|
|
|
|
|
.messageCloseButton > .toolbarbutton-icon {
|
|
|
|
-moz-margin-end: 5px;
|
|
|
|
}
|
2010-11-05 14:03:41 -07:00
|
|
|
|
2010-12-03 13:39:11 -08:00
|
|
|
/* Popup notification */
|
|
|
|
|
|
|
|
.popup-notification-description {
|
2011-05-31 14:13:43 -07:00
|
|
|
max-width: 24em;
|
2010-12-03 13:39:11 -08:00
|
|
|
}
|
2010-11-05 14:03:41 -07:00
|
|
|
|
2011-02-12 00:32:07 -08:00
|
|
|
.popup-notification-button-container {
|
2010-11-05 14:03:41 -07:00
|
|
|
margin-top: 17px;
|
|
|
|
}
|
|
|
|
|
2010-11-05 14:03:41 -07:00
|
|
|
%ifdef XP_WIN
|
2011-01-18 08:42:57 -08:00
|
|
|
/*
|
|
|
|
XXX: apply styles to all themes until bug 509642 is fixed
|
2011-01-21 04:04:07 -08:00
|
|
|
@media all and (-moz-windows-default-theme) {
|
|
|
|
*/
|
2010-11-06 09:05:55 -07:00
|
|
|
.popup-notification-menubutton[type="menu-button"] {
|
2010-11-05 14:03:41 -07:00
|
|
|
-moz-appearance: none;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 0;
|
2010-11-05 14:03:41 -07:00
|
|
|
%ifndef WINSTRIPE_AERO
|
|
|
|
background-color: rgba(250,250,250,.3);
|
|
|
|
%endif
|
2010-11-05 14:03:41 -07:00
|
|
|
}
|
|
|
|
|
2010-11-06 09:05:55 -07:00
|
|
|
.popup-notification-menubutton[type="menu-button"]:hover:active {
|
2010-11-05 14:03:41 -07:00
|
|
|
border-color: rgba(0,0,0,.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-menubutton > .button-menubutton-button,
|
|
|
|
.popup-notification-menubutton > .button-menubutton-dropmarker {
|
|
|
|
-moz-appearance: none;
|
|
|
|
margin: 0;
|
2010-12-07 12:45:31 -08:00
|
|
|
border: 1px solid rgba(0,0,0,.35);
|
2010-11-05 14:03:41 -07:00
|
|
|
%ifdef WINSTRIPE_AERO
|
2010-11-05 14:03:41 -07:00
|
|
|
background-image: -moz-linear-gradient(top, rgba(250,250,250,.6), rgba(175,175,175,.25) 49%, rgba(0,0,0,.12) 51%, rgba(0,0,0,.09) 60%, rgba(0,0,0,.05));
|
|
|
|
box-shadow: 0 0 1px 1px rgba(255,255,255,.75) inset;
|
2010-11-05 14:03:41 -07:00
|
|
|
%else
|
|
|
|
box-shadow: 0 1px 0 rgba(255,255,255,.5) inset,
|
|
|
|
0 2px 2px rgba(255,255,255,.35) inset,
|
|
|
|
0 -1px 2px rgba(0,0,0,.1) inset,
|
|
|
|
0 1px 0 rgba(255,255,255,.35);
|
|
|
|
%endif
|
2010-11-05 14:03:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-menubutton > .button-menubutton-button {
|
2011-01-24 17:27:25 -08:00
|
|
|
background-color: transparent;
|
|
|
|
padding: 1px;
|
|
|
|
-moz-border-end: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-menubutton > .button-menubutton-button > .button-box {
|
2010-11-05 14:03:41 -07:00
|
|
|
-moz-padding-start: 8px;
|
|
|
|
-moz-padding-end: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-menubutton > .button-menubutton-dropmarker {
|
|
|
|
padding: 9px 5px 8px;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
|
|
|
list-style-image: url("chrome://global/skin/arrow/arrow-dn-sharp.gif");
|
|
|
|
}
|
|
|
|
|
2011-02-28 03:55:06 -08:00
|
|
|
.popup-notification-menubutton:-moz-focusring > .button-menubutton-dropmarker {
|
2011-01-24 17:27:25 -08:00
|
|
|
outline: 1px dotted ThreeDDarkShadow;
|
|
|
|
outline-offset: -3px;
|
|
|
|
}
|
|
|
|
|
2010-11-05 14:03:41 -07:00
|
|
|
%ifdef WINSTRIPE_AERO
|
2010-11-05 14:03:41 -07:00
|
|
|
.popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(ltr),
|
|
|
|
.popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(rtl) {
|
|
|
|
border-radius: 2px 0 0 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-menubutton > .button-menubutton-button:-moz-locale-dir(rtl),
|
|
|
|
.popup-notification-menubutton > .button-menubutton-dropmarker:-moz-locale-dir(ltr) {
|
|
|
|
border-radius: 0 2px 2px 0;
|
|
|
|
}
|
2010-11-05 14:03:41 -07:00
|
|
|
%endif
|
2010-11-05 14:03:41 -07:00
|
|
|
|
|
|
|
.popup-notification-menubutton > .button-menubutton-button:hover,
|
|
|
|
.popup-notification-menubutton > .button-menubutton-dropmarker:hover {
|
2010-11-05 14:03:41 -07:00
|
|
|
%ifdef WINSTRIPE_AERO
|
2010-11-05 14:03:41 -07:00
|
|
|
background-image: -moz-linear-gradient(top, rgba(250,250,250,.9), rgba(200,200,200,.6) 49%, rgba(0,0,0,.23) 51%, rgba(0,0,0,.17) 60%, rgba(0,0,0,.05));
|
|
|
|
box-shadow: 0 0 0 1px white inset,
|
|
|
|
0 0 2px 1px rgba(255,255,255,.75) inset;
|
2010-11-05 14:03:41 -07:00
|
|
|
%else
|
|
|
|
background-color: rgba(250,250,250,.6);
|
|
|
|
%endif
|
2010-11-05 14:03:41 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup-notification-menubutton > .button-menubutton-button:hover:active,
|
|
|
|
.popup-notification-menubutton > .button-menubutton-dropmarker:hover:active,
|
|
|
|
.popup-notification-menubutton[open="true"] > .button-menubutton-dropmarker {
|
2010-11-05 14:03:41 -07:00
|
|
|
%ifdef WINSTRIPE_AERO
|
2010-11-05 14:03:41 -07:00
|
|
|
background-image: -moz-linear-gradient(top, rgba(250,250,250,.9), rgba(200,200,200,.6) 49%, rgba(0,0,0,.23) 51%, rgba(0,0,0,.17) 60%, rgba(0,0,0,.05));
|
2010-11-05 14:03:41 -07:00
|
|
|
%else
|
|
|
|
background-color: rgba(0,0,0,.05);
|
|
|
|
%endif
|
2010-11-05 14:03:41 -07:00
|
|
|
box-shadow: 0 0 2px rgba(0,0,0,.65) inset;
|
|
|
|
}
|
2011-01-18 08:42:57 -08:00
|
|
|
/*}*/
|
2010-11-05 14:03:41 -07:00
|
|
|
%endif
|
2010-12-16 09:53:24 -08:00
|
|
|
|
2011-01-13 16:07:44 -08:00
|
|
|
.popup-notification-closebutton {
|
|
|
|
-moz-margin-end: -14px;
|
|
|
|
margin-top: -10px;
|
|
|
|
}
|
|
|
|
|
2010-12-16 09:53:24 -08:00
|
|
|
.popup-notification-closeitem {
|
|
|
|
list-style-image: url("chrome://global/skin/icons/close.png");
|
|
|
|
-moz-image-region: rect(0, 16px, 16px, 0);
|
|
|
|
}
|