1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/osx/global/alerts/alert.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,100 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +/* ===== alert.css ===================================================== 1.9 + == Styles specific to the alerts dialog. 1.10 + ======================================================================= */ 1.11 + 1.12 +@import url("chrome://global/skin/"); 1.13 + 1.14 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.15 + 1.16 +#alertNotification { 1.17 + -moz-appearance: none; 1.18 + background: transparent; 1.19 +} 1.20 + 1.21 +.alertBox { 1.22 + border-radius: 5px; 1.23 + overflow: hidden; 1.24 + background-color: rgba(240,240,240,0.93); 1.25 + box-shadow: inset 0 0 0 1px rgba(255,255,255,0.3); 1.26 +} 1.27 + 1.28 +.alertImageBox { 1.29 + padding: 8px 0; 1.30 + width: 64px; 1.31 + background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)); 1.32 + -moz-border-end: 1px solid rgba(0,0,0,.08); 1.33 +} 1.34 + 1.35 +.alertTitle, 1.36 +.alertTextBox { 1.37 + text-shadow: 0 1px white; 1.38 +} 1.39 + 1.40 +.alertTextBox { 1.41 + padding: 8px; 1.42 + -moz-padding-start: 16px; 1.43 + width: 255px; 1.44 +} 1.45 + 1.46 +.alertTextBox, 1.47 +.alertCloseBox { 1.48 + background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1)); 1.49 +} 1.50 + 1.51 +.alertTitle { 1.52 + font-weight: bold; 1.53 + font-size: 110%; 1.54 +} 1.55 + 1.56 +#alertImage { 1.57 + max-width: 48px; 1.58 + max-height: 48px; 1.59 + list-style-image: url(chrome://global/skin/alerts/notification-48.png); 1.60 +} 1.61 + 1.62 +#alertNotification[clickable="true"] { 1.63 + cursor: pointer; 1.64 +} 1.65 + 1.66 +label { 1.67 + cursor: inherit; 1.68 +} 1.69 + 1.70 +.alertText[clickable="true"] { 1.71 + color: -moz-nativehyperlinktext; 1.72 + text-decoration: underline; 1.73 +} 1.74 + 1.75 +.alertText[clickable="true"]:hover:active { 1.76 + color: -moz-activehyperlinktext; 1.77 +} 1.78 + 1.79 +@keyframes alert-animation { 1.80 + from { 1.81 + opacity: 0; 1.82 + } 1.83 + 6.25% { 1.84 + opacity: 1; 1.85 + } 1.86 + 93.75% { 1.87 + opacity: 1; 1.88 + } 1.89 + to { 1.90 + opacity: 0; 1.91 + } 1.92 +} 1.93 + 1.94 +.alertCloseButton { 1.95 + -moz-appearance: none; 1.96 + padding: 0; 1.97 + margin: 2px; 1.98 + border: none; 1.99 +} 1.100 + 1.101 +.alertCloseButton > .toolbarbutton-text { 1.102 + display: none; 1.103 +}