/* 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/. */ #fxmonitor-notification popupnotificationcontent { margin-top: 0; } #fxmonitor-notification .popup-notification-body > :not(popupnotificationcontent) { display: none; } .fxmonitor-icon { width: 16px; height: 16px; } #fxmonitor-notification-anchor, .fxmonitor-icon { animation-timing-function: linear; animation-duration: 0.66s; } /* We only want to animate the icon/doorhanger the first time it's shown for a site. An attribute fxmonitoranimationdone is used to control this from FirefoxMonitor.jsm */ #fxmonitor-notification-anchor:not([fxmonitoranimationdone]) { animation-name: fxmonitor-anchor-animation; } #fxmonitor-notification-anchor:not([fxmonitoranimationdone]):-moz-locale-dir(rtl) { animation-name: fxmonitor-anchor-animation-rtl; } #fxmonitor-notification-anchor:not([fxmonitoranimationdone]) .fxmonitor-icon { animation-name: fxmonitor-icon-animation; } #notification-popup[popupid=fxmonitor]:not([fxmonitoranimationdone]) { transition-delay: 0.33s; } /* Animate the appearance of the anchor icon: push the other icons to the right. */ @keyframes fxmonitor-anchor-animation { from { margin-right: -20px; } 50% { margin-right: 0; } to { } } /* For RTL locales, push the other icons to the left. */ @keyframes fxmonitor-anchor-animation-rtl { from { margin-left: -20px; } 50% { margin-left: 0; } to { } } /* After the appearance of the anchor box, expand the icon into view */ @keyframes fxmonitor-icon-animation { from { transform: scale(0); opacity: 0; } 50% { transform: scale(0); opacity: 0; } 75% { transform: scale(1.2); } to { } } #fxmonitor-notification .popupText { max-width: 300px; } #fxmonitor-notification .headerText { font-weight: 600; white-space: pre; }