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