/*! * SPDX-License-Identifier: Apache-2.0 * * The OpenSearch Contributors require contributions made to * this file be licensed under the Apache-2.0 license or a * compatible open source license. * * Modifications Copyright OpenSearch Contributors. See * GitHub history for details. */ .ouiBeacon { position: relative; background-color: $ouiColorVis0; border-radius: 50%; &:before, &:after { position: absolute; content: ''; height: 100%; width: 100%; left: 0; top: 0; background-color: transparent; border-radius: 50%; box-shadow: 0 0 1px 1px $ouiColorVis0; } &:before { animation: ouiBeaconPulseLarge 2.5s infinite ease-out; } &:after { animation: ouiBeaconPulseSmall 2.5s infinite ease-out .25s; } } @keyframes ouiBeaconPulseLarge { 0% { transform: scale(.1); opacity: 1; } 70% { transform: scale(3); opacity: 0; } 100% { opacity: 0; } } @keyframes ouiBeaconPulseSmall { 0% { transform: scale(.1); opacity: 1; } 70% { transform: scale(2); opacity: 0; } 100% { opacity: 0; } }