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: /* ===== alert.css ===================================================== michael@0: == Styles specific to the alerts dialog. michael@0: ======================================================================= */ michael@0: michael@0: @import url("chrome://global/skin/"); michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: #alertNotification { michael@0: -moz-appearance: none; michael@0: background: transparent; michael@0: } michael@0: michael@0: .alertBox { michael@0: border-radius: 5px; michael@0: overflow: hidden; michael@0: background-color: rgba(240,240,240,0.93); michael@0: box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); michael@0: } michael@0: michael@0: .alertImageBox { michael@0: padding: 8px 0; michael@0: width: 64px; michael@0: background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)); michael@0: -moz-border-end: 1px solid rgba(0,0,0,.08); michael@0: } michael@0: michael@0: .alertTitle, michael@0: .alertTextBox { michael@0: text-shadow: 0 1px white; michael@0: } michael@0: michael@0: .alertTextBox { michael@0: padding: 8px; michael@0: -moz-padding-start: 16px; michael@0: width: 255px; michael@0: } michael@0: michael@0: .alertTextBox, michael@0: .alertCloseBox { michael@0: background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1)); michael@0: } michael@0: michael@0: .alertTitle { michael@0: font-weight: bold; michael@0: font-size: 110%; michael@0: } michael@0: michael@0: #alertImage { michael@0: max-width: 48px; michael@0: max-height: 48px; michael@0: list-style-image: url(chrome://global/skin/alerts/notification-48.png); michael@0: } michael@0: michael@0: #alertNotification[clickable="true"] { michael@0: cursor: pointer; michael@0: } michael@0: michael@0: label { michael@0: cursor: inherit; michael@0: } michael@0: michael@0: .alertText[clickable="true"] { michael@0: color: -moz-nativehyperlinktext; michael@0: text-decoration: underline; michael@0: } michael@0: michael@0: .alertText[clickable="true"]:hover:active { michael@0: color: -moz-activehyperlinktext; michael@0: } michael@0: michael@0: @keyframes alert-animation { michael@0: from { michael@0: opacity: 0; michael@0: } michael@0: 6.25% { michael@0: opacity: 1; michael@0: } michael@0: 93.75% { michael@0: opacity: 1; michael@0: } michael@0: to { michael@0: opacity: 0; michael@0: } michael@0: } michael@0: michael@0: .alertCloseButton { michael@0: -moz-appearance: none; michael@0: padding: 0; michael@0: margin: 2px; michael@0: border: none; michael@0: } michael@0: michael@0: .alertCloseButton > .toolbarbutton-text { michael@0: display: none; michael@0: }