1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/windows/global/alerts/alert.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,88 @@ 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 +.alertBox { 1.17 + border: 1px solid threedshadow; 1.18 + border-radius: 3px; 1.19 + background-color: -moz-Dialog; 1.20 +} 1.21 + 1.22 +.alertImageBox { 1.23 + padding: 8px 0; 1.24 + width: 64px; 1.25 + background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.6)); 1.26 + -moz-border-end: 1px solid rgba(0,0,0,.1); 1.27 +} 1.28 + 1.29 +.alertTextBox { 1.30 + padding: 8px; 1.31 + -moz-padding-start: 16px; 1.32 + width: 255px; 1.33 +} 1.34 + 1.35 +.alertTextBox, 1.36 +.alertCloseBox { 1.37 + background-image: linear-gradient(rgba(255,255,255,0.2), rgba(255,255,255,0.1)); 1.38 +} 1.39 + 1.40 +.alertTitle { 1.41 + font-weight: bold; 1.42 + font-size: 110%; 1.43 +} 1.44 + 1.45 +#alertImage { 1.46 + max-width: 48px; 1.47 + max-height: 48px; 1.48 + list-style-image: url(chrome://global/skin/alerts/notification-48.png); 1.49 +} 1.50 + 1.51 +#alertNotification[clickable="true"] { 1.52 + cursor: pointer; 1.53 +} 1.54 + 1.55 +label { 1.56 + cursor: inherit; 1.57 +} 1.58 + 1.59 +.alertText[clickable="true"] { 1.60 + color: -moz-nativehyperlinktext; 1.61 + text-decoration: underline; 1.62 +} 1.63 + 1.64 +.alertText[clickable="true"]:hover:active { 1.65 + color: -moz-activehyperlinktext; 1.66 +} 1.67 + 1.68 +@keyframes alert-animation { 1.69 + from { 1.70 + opacity: 0; 1.71 + } 1.72 + 6.25% { 1.73 + opacity: 1; 1.74 + } 1.75 + 93.75% { 1.76 + opacity: 1; 1.77 + } 1.78 + to { 1.79 + opacity: 0; 1.80 + } 1.81 +} 1.82 + 1.83 +.alertCloseButton { 1.84 + -moz-appearance: none; 1.85 + padding: 4px 2px; 1.86 + border: none !important; 1.87 +} 1.88 + 1.89 +.alertCloseButton > .toolbarbutton-text { 1.90 + display: none; 1.91 +}