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: .alertBox { michael@0: border: 1px solid threedshadow; michael@0: background-color: -moz-Dialog; 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,.1); 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: .alertCloseButton { michael@0: -moz-appearance: none; michael@0: height: 16px; michael@0: padding: 4px 2px; michael@0: width: 16px; michael@0: } michael@0: michael@0: .alertCloseButton > .toolbarbutton-text { michael@0: display: none; michael@0: }