/*! * 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. */ @mixin ouiPopoverTitle($size: 'm') { @if ($size == 's') { @include ouiTitle('xxxs'); } @else if ($size == 'm') { @include ouiTitle('xxs'); } @else { @warn 'ouiPopoverTitle only accepts "s" or "m" sizes'; } padding: $ouiSizeM; text-transform: uppercase; border-bottom: $ouiBorderThin; } @mixin ouiPopoverFooter { @include ouiFontSizeS; padding: $ouiSizeM; border-top: $ouiBorderThin; } /* OUI -> EUI Aliases */ @mixin euiPopoverTitle($size: 'm') { @include ouiPopoverTitle($size); } @mixin euiPopoverFooter { @include ouiPopoverFooter; } /* End of Aliases */