michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: notification { michael@0: background-color: InfoBackground; michael@0: color: InfoText; michael@0: text-shadow: none; michael@0: } michael@0: michael@0: notification[type="info"] { michael@0: background-color: -moz-Dialog; michael@0: color: -moz-DialogText; michael@0: } michael@0: michael@0: notification[type="critical"] { michael@0: background-image: linear-gradient(rgb(212,0,0), rgb(152,0,0)); michael@0: color: white; michael@0: } michael@0: michael@0: .notification-inner { michael@0: padding-top: 1px; michael@0: padding-bottom: 1px; michael@0: } michael@0: michael@0: .messageText { michael@0: margin-top: 0 !important; michael@0: margin-bottom: 0 !important; michael@0: } michael@0: michael@0: .messageImage { michael@0: width: 16px; michael@0: height: 16px; michael@0: -moz-margin-start: 6px; michael@0: -moz-margin-end: 1px; michael@0: } michael@0: michael@0: /* Default icons for notifications */ michael@0: michael@0: .messageImage[type="info"] { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-info?size=menu"); michael@0: } michael@0: michael@0: .messageImage[type="warning"] { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-warning?size=menu"); michael@0: } michael@0: michael@0: .messageImage[type="critical"] { michael@0: list-style-image: url("moz-icon://stock/gtk-dialog-error?size=menu"); michael@0: } michael@0: michael@0: .messageCloseButton { michael@0: padding-left: 11px; michael@0: padding-right: 11px; michael@0: } michael@0: michael@0: /* Popup notification */ michael@0: michael@0: .popup-notification-description { michael@0: max-width: 24em; michael@0: } michael@0: michael@0: .popup-notification-learnmore-link { michael@0: margin-top: 1em !important; michael@0: } michael@0: michael@0: .popup-notification-learnmore-link:not([href]) { michael@0: display: none; michael@0: } michael@0: michael@0: .popup-notification-button-container { michael@0: margin-top: 17px; michael@0: }