/* 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/. */ /* Notification overrides for Heartbeat UI */ @keyframes pulse-onshow { 0% { opacity: 0; transform: scale(1); } 25% { opacity: 1; transform: scale(1.1); } 50% { transform: scale(1); } 75% { transform: scale(1.1); } 100% { transform: scale(1); } } @keyframes pulse-twice { 0% { transform: scale(1.1); } 50% { transform: scale(0.8); } 100% { transform: scale(1); } } .messageImage.heartbeat { /* Needed for the animation to not get clipped when pulsing. */ margin-inline: 8px; } .messageImage.heartbeat.pulse-onshow { animation-duration: 1.5s; animation-iteration-count: 1; animation-name: pulse-onshow; animation-timing-function: cubic-bezier(0.7, 1.8, 0.9, 1.1); } .messageImage.heartbeat.pulse-twice { animation-duration: 1s; animation-iteration-count: 2; animation-name: pulse-twice; animation-timing-function: linear; } /* Learn More link styles */ .heartbeat > hbox > .text-link { margin-inline-start: 0 !important; } .heartbeat > hbox > .text-link:hover { text-decoration: none !important; }