diff -r 000000000000 -r 6474c204b198 toolkit/themes/osx/global/alerts/alert.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/toolkit/themes/osx/global/alerts/alert.css Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,100 @@ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +/* ===== alert.css ===================================================== + == Styles specific to the alerts dialog. + ======================================================================= */ + +@import url("chrome://global/skin/"); + +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); + +#alertNotification { + -moz-appearance: none; + background: transparent; +} + +.alertBox { + border-radius: 5px; + overflow: hidden; + background-color: rgba(240,240,240,0.93); + box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); +} + +.alertImageBox { + padding: 8px 0; + width: 64px; + background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)); + -moz-border-end: 1px solid rgba(0,0,0,.08); +} + +.alertTitle, +.alertTextBox { + text-shadow: 0 1px white; +} + +.alertTextBox { + padding: 8px; + -moz-padding-start: 16px; + width: 255px; +} + +.alertTextBox, +.alertCloseBox { + background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1)); +} + +.alertTitle { + font-weight: bold; + font-size: 110%; +} + +#alertImage { + max-width: 48px; + max-height: 48px; + list-style-image: url(chrome://global/skin/alerts/notification-48.png); +} + +#alertNotification[clickable="true"] { + cursor: pointer; +} + +label { + cursor: inherit; +} + +.alertText[clickable="true"] { + color: -moz-nativehyperlinktext; + text-decoration: underline; +} + +.alertText[clickable="true"]:hover:active { + color: -moz-activehyperlinktext; +} + +@keyframes alert-animation { + from { + opacity: 0; + } + 6.25% { + opacity: 1; + } + 93.75% { + opacity: 1; + } + to { + opacity: 0; + } +} + +.alertCloseButton { + -moz-appearance: none; + padding: 0; + margin: 2px; + border: none; +} + +.alertCloseButton > .toolbarbutton-text { + display: none; +}