{"version":3,"sources":["webpack:///./packages/mdc-banner/styles.scss","webpack:///./packages/material-components-web/node_modules/@material/theme/_css.scss","webpack:///./packages/mdc-banner/_banner.scss","webpack:///./packages/material-components-web/node_modules/@material/rtl/_rtl.scss","webpack:///./packages/material-components-web/node_modules/@material/button/_button-shared-theme.scss","webpack:///./packages/material-components-web/node_modules/@material/ripple/_ripple-theme.scss"],"names":[],"mappings":";;;;;;;AA+QE,qBC7MI,WAYF,qCDgNF,qBC5NI,yBAYF,mDD4OF,wCAGI,eE1RO,CFgSP,4CATJ,wCAUM,gBAaN,qBAEI,eE/SO,CA2CX,YFyTE,SAvVM,CE+CJ,0BACA,sBACA,aACA,cACA,SACA,kBACA,WAlBA,yBAEE,+BACE,OACA,QAGF,8BDbJ,mCEEE,+EFFF,oCC4BE,yBFqQF,4DACE,eAGF,4DACE,mBAGF,yDCzSA,kCD2SE,mBGzSA,qIFFF,kCD8SA,4DACE,kBE7QJ,4DAII,aAIJ,kBAEI,6BAGF,uCAEI,sIAIA,wDAKN,qBAEI,6BAGF,0CAEI,sIF+MN,2CAEI,OACA,iBACA,kBACA,QE3MJ,mBAEI,0BACA,sBACA,eACA,eACA,WAIJ,qBAEI,aACA,gBACA,kBACA,gEACA,WAIJ,kCAEI,aACA,WAIJ,qBDrGE,gCCyGE,cACA,gBACA,mBACA,kBC1GA,6DFFF,gCCgHF,kBAEI,kBACA,QACA,8DAIJ,kBDxHE,mCC4HE,kBACA,YAEA,gBAtKqB,CAuKrB,mBAvKqB,CCyCrB,uDFFF,mCCoIF,qBDpIE,iCCwIE,oBACA,aACA,cACA,mBACA,gBC1IA,6DFFF,iCCgJF,8BDhJE,+BEEE,+EFFF,+BCjBF,YDKI,sBAYF,yDAZE,wCAYF,yEAZE,wBAYF,0DAZE,gBAYF,mDDiJF,8BC7JI,WAYF,oDDuVF,8BCnWI,8BAYF,0EAZE,mBAYF,2DAZE,+BAYF,uEAZE,gBAYF,0DAZE,oBAYF,mED4NF,iCCxOI,kBAYF,4DDwXF,iCCpYI,YAYF,qDAZE,WAYF,oDDkIF,+BC9II,sBAYF,yDDoKF,+BChLI,wCAYF,yEDkLF,+BC9LI,wBAYF,0DGuSF,uCHnTI,cAYF,kGI4EA,uGJxFE,yBAYF,2HIodF,wIJheI,aAYF,mHIodF,gLA9QI,yBJlNA,aAYF,mHIgOE,6EAEI,gCAKF,oFAEI,wBA/QO,CJ0Bb,YAYF,sHIoPA,4CJpPA,sICVF,8BDUE,+BEEE,+EFFF,+B","file":"mdc.banner.min.css","sourcesContent":["//\n// Copyright 2020 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// Selector '.mdc-*' should only be used in this project.\n// stylelint-disable selector-class-pattern --\n// Internal styling for Tooltip MDC component.\n\n@use 'sass:map';\n@use 'sass:meta';\n@use '@material/elevation/elevation-theme';\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/rtl/rtl';\n@use '@material/shape/mixins' as shape-mixins;\n@use '@material/button/button-text-theme';\n@use '@material/theme/theme';\n@use '@material/theme/theme-color';\n@use '@material/theme/keys';\n@use '@material/typography/typography';\n@use '@material/tokens/resolvers';\n\n$fill-color: surface;\n$text-color: on-surface;\n$divider-color: rgba(theme-color.prop-value(on-surface), 0.12);\n$graphic-background-color: primary;\n$graphic-color: surface;\n$graphic-shape-radius: 50%;\n$primary-action-text-color: primary;\n$secondary-action-text-color: primary;\n\n$mobile-breakpoint: 480px;\n$z-index: 1;\n$custom-property-prefix: 'banner';\n\n$light-theme: (\n action-focus-state-layer-color: theme-color.$primary,\n action-focus-state-layer-opacity: 0.12,\n action-focus-label-text-color: null,\n action-hover-state-layer-color: theme-color.$primary,\n action-hover-state-layer-opacity: 0.04,\n action-hover-label-text-color: null,\n action-label-text-color: theme-color.$primary,\n // TODO(b/197004146): Support action label typography.\n action-label-text-font: null,\n action-label-text-size: null,\n action-label-text-tracking: null,\n action-label-text-weight: null,\n action-pressed-state-layer-color: theme-color.$primary,\n action-pressed-state-layer-opacity: 0.1,\n action-pressed-label-text-color: null,\n container-color: theme-color.$surface,\n container-elevation: null,\n container-shadow-color: null,\n container-shape: 0,\n divider-color: $divider-color,\n divider-height: 1px,\n supporting-text-color: theme-color.$on-surface,\n supporting-text-font: typography.get-font(body2),\n supporting-text-line-height: typography.get-line-height(body2),\n supporting-text-size: typography.get-size(body2),\n supporting-text-tracking: typography.get-tracking(body2),\n supporting-text-weight: typography.get-weight(body2),\n with-image-image-shape: $graphic-shape-radius,\n with-image-image-size: 40px,\n);\n\n@mixin theme($theme, $resolvers: resolvers.$material) {\n // TODO(b/251881053): Replace with `validate-theme`.\n @include theme.validate-theme-styles($light-theme, $theme);\n $theme: _resolve-theme($theme, $resolvers);\n @include keys.declare-custom-properties(\n $theme,\n $prefix: $custom-property-prefix\n );\n}\n\n@function _resolve-theme($theme, $resolvers) {\n @return map.merge(\n $theme,\n _resolve-theme-elevation(\n $theme,\n map.get($resolvers, elevation),\n container-elevation\n )\n );\n}\n\n@function _resolve-theme-elevation($theme, $resolver, $keys...) {\n @if $resolver == null {\n @return $theme;\n }\n\n @each $key in $keys {\n // Resolve the value for each state key.\n $resolved-value: meta.call(\n $resolver,\n $elevation: map.get($theme, $key),\n $shadow-color: map.get($theme, container-shadow-color)\n );\n\n // Update the theme with the resolved value.\n $theme: map.set($theme, $key, $resolved-value);\n }\n\n @return $theme;\n}\n\n@mixin theme-styles(\n $theme,\n $resolver: resolvers.$material,\n $query: feature-targeting.all()\n) {\n @include theme.validate-theme-styles($light-theme, $theme);\n $theme: keys.create-theme-properties(\n $theme,\n $prefix: $custom-property-prefix\n );\n\n @include text-color(map.get($theme, supporting-text-color), $query: $query);\n @include _supporting-text-typography(\n (\n font: map.get($theme, supporting-text-font),\n size: map.get($theme, supporting-text-size),\n tracking: map.get($theme, supporting-text-tracking),\n weight: map.get($theme, supporting-text-weight),\n line-height: map.get($theme, supporting-text-line-height),\n ),\n $query: $query\n );\n\n @include graphic-shape-radius(\n map.get($theme, with-image-image-shape),\n $query: $query\n );\n @include _graphic-size(\n map.get($theme, with-image-image-size),\n $query: $query\n );\n\n @include fill-color(map.get($theme, container-color), $query: $query);\n @include divider-color(map.get($theme, divider-color), $query: $query);\n @include _divider-height(map.get($theme, divider-height), $query: $query);\n @include _banner-shape(map.get($theme, container-shape), $query: $query);\n @include _banner-elevation(\n $resolver,\n map.get($theme, container-elevation),\n map.get($theme, container-shadow-color),\n $query\n );\n\n .mdc-button {\n @include button-text-theme.theme-styles(\n (\n focus-label-text-color: map.get($theme, action-focus-label-text-color),\n focus-state-layer-color: map.get($theme, action-focus-state-layer-color),\n focus-state-layer-opacity:\n map.get($theme, action-focus-state-layer-opacity),\n hover-label-text-color: map.get($theme, action-hover-label-text-color),\n hover-state-layer-color: map.get($theme, action-hover-state-layer-color),\n hover-state-layer-opacity:\n map.get($theme, action-hover-state-layer-opacity),\n label-text-color: map.get($theme, action-label-text-color),\n label-text-font: map.get($theme, action-label-text-font),\n label-text-size: map.get($theme, action-label-text-size),\n label-text-tracking: map.get($theme, action-label-text-tracking),\n label-text-weight: map.get($theme, action-label-text-weight),\n pressed-label-text-color:\n map.get($theme, action-pressed-label-text-color),\n pressed-state-layer-color:\n map.get($theme, action-pressed-state-layer-color),\n pressed-state-layer-opacity:\n map.get($theme, action-pressed-state-layer-opacity),\n ),\n $query: $query\n );\n }\n}\n\n///\n/// Customizes fill color.\n/// @param {Color | String} $color Either a valid color value or a key from\n/// `$theme-theme-color.property-values`.\n///\n@mixin fill-color($color, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n @include feature-targeting.targets($feat-color) {\n @include theme.property(background-color, $color);\n }\n\n .mdc-banner__fixed {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(background-color, $color);\n }\n }\n}\n\n///\n/// Customizes text color.\n/// @param {Color | String} $color Either a valid color value or a key from\n/// `$theme-theme-color.property-values`.\n///\n@mixin text-color($color, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n .mdc-banner__text {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(color, $color);\n }\n }\n}\n\n///\n/// Customizes divider color.\n/// @param {Color | String} $color Either a valid color value or a key from\n/// `$theme-theme-color.property-values`.\n///\n@mixin divider-color($color, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n @include feature-targeting.targets($feat-color) {\n @include theme.property(border-bottom-color, $color);\n }\n\n .mdc-banner__fixed {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(border-bottom-color, $color);\n }\n }\n}\n\n@mixin _divider-height($height, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n @include theme.property(border-bottom-width, $height);\n }\n\n .mdc-banner__fixed {\n @include feature-targeting.targets($feat-structure) {\n @include theme.property(border-bottom-width, $height);\n }\n }\n}\n\n///\n/// Customizes the graphic color.\n/// @param {Color | String} $color Either a valid color value or a key from\n/// `$theme-theme-color.property-values`.\n///\n@mixin graphic-color($color, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n .mdc-banner__graphic {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(color, $color);\n }\n }\n}\n\n///\n/// Customizes the graphic background color.\n/// @param {Color | String} $color Either a valid color value or a key from\n/// `$theme-theme-color.property-values`.\n///\n@mixin graphic-background-color($color, $query: feature-targeting.all()) {\n $feat-color: feature-targeting.create-target($query, color);\n\n .mdc-banner__graphic {\n @include feature-targeting.targets($feat-color) {\n @include theme.property(background-color, $color);\n }\n }\n}\n\n///\n/// Customizes the graphic shape radius.\n/// @param {Number} $shape-radius Shape radius in length or percentage.\n///\n@mixin graphic-shape-radius($shape-radius, $query: feature-targeting.all()) {\n .mdc-banner__graphic {\n @include shape-mixins.radius($shape-radius, $query: $query);\n }\n}\n\n///\n/// Sets the min-width for the banner content.\n/// @param {Number} $min-width Minimum width value in `px`.\n/// @param {Number} $mobile-breakpoint Mobile breakpoint value in `px`.\n///\n@mixin min-width(\n $min-width,\n $mobile-breakpoint: $mobile-breakpoint,\n $query: feature-targeting.all()\n) {\n $feat-structure: feature-targeting.create-target($query, structure);\n .mdc-banner__content,\n .mdc-banner__fixed {\n @include feature-targeting.targets($feat-structure) {\n min-width: $min-width;\n\n // The first media query ensures that banners are always 100% width on\n // mobile devices, as required by the spec. The second media query\n // prevents banners from being wider than the viewport for large min-width\n // values.\n @media (max-width: $mobile-breakpoint), (max-width: $min-width) {\n min-width: 100%;\n }\n }\n }\n}\n\n///\n/// Sets the max-width for the banner content.\n/// @param {Number} $max-width Maximum width value in `px`.\n///\n@mixin max-width($max-width, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n .mdc-banner__content {\n @include feature-targeting.targets($feat-structure) {\n max-width: $max-width;\n }\n }\n}\n\n///\n/// Sets the banner content to centered instead of leading.\n///\n@mixin position-centered($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n .mdc-banner__content {\n @include feature-targeting.targets($feat-structure) {\n left: 0;\n margin-left: auto;\n margin-right: auto;\n right: 0;\n }\n }\n}\n\n///\n/// Sets the banner content to stacked layout.\n///\n@mixin layout-stacked($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n .mdc-banner__content {\n flex-wrap: wrap;\n }\n\n .mdc-banner__graphic {\n margin-bottom: 12px;\n }\n\n .mdc-banner__text {\n @include rtl.reflexive-property(margin, 16px, 8px);\n padding-bottom: 4px;\n }\n\n .mdc-banner__actions {\n margin-left: auto;\n }\n }\n}\n\n// Sets the z-index of the banner.\n// @param {Number} $z-index\n@mixin z-index($z-index, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n @include feature-targeting.targets($feat-structure) {\n z-index: $z-index;\n }\n}\n\n// Sets the width of the banner fixed element. Use to adjust the width of the\n// fixed banner in cases where width is not the same as the viewport.\n// @param {Number} $width Width value in `px`.\n@mixin fixed-width($width, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n\n .mdc-banner__fixed {\n @include feature-targeting.targets($feat-structure) {\n width: $width;\n }\n }\n}\n\n@mixin _supporting-text-typography(\n $typography-map,\n $query: feature-targeting.all()\n) {\n $feat-typography: feature-targeting.create-target($query, typography);\n\n $font: map.get($typography-map, font);\n $size: map.get($typography-map, size);\n $tracking: map.get($typography-map, tracking);\n $weight: map.get($typography-map, weight);\n $line-height: map.get($typography-map, line-height);\n\n .mdc-banner__text {\n @include feature-targeting.targets($feat-typography) {\n @include theme.property(letter-spacing, $tracking);\n @include theme.property(font-size, $size);\n @include theme.property(font-family, $font);\n @include theme.property(font-weight, $weight);\n @include theme.property(line-height, $line-height);\n }\n }\n}\n\n@mixin _banner-shape($shape, $query: feature-targeting.all()) {\n @include shape-mixins.radius($shape, $query: $query);\n}\n\n@mixin _banner-elevation(\n $resolver,\n $elevation,\n $shadow-color,\n $query: feature-targeting.all()\n) {\n $elevation-resolver: map.get($resolver, elevation);\n\n @include elevation-theme.with-resolver(\n $elevation-resolver,\n $elevation: $elevation,\n $shadow-color: $shadow-color,\n $query: $query\n );\n}\n\n@mixin _graphic-size($size, $query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n .mdc-banner__graphic {\n @include feature-targeting.targets($feat-structure) {\n @include theme.property(height, $size);\n @include theme.property(width, $size);\n }\n }\n}\n","//\n// Copyright 2020 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n@use 'sass:list';\n@use 'sass:map';\n@use 'sass:meta';\n@use './gss';\n\n/// When true, add an additional property/value declaration before declarations\n/// that use advanced features such as custom properties or CSS functions. This\n/// adds fallback support for older browsers such as IE11 that do not support\n/// these features at the cost of additional CSS. Set this variable to false to\n/// disable generating fallback declarations.\n$enable-fallback-declarations: true !default;\n\n/// Writes a CSS property/value declaration. This mixin is used throughout the\n/// theme package for consistency for dynamically setting CSS property values.\n///\n/// This mixin may optionally take a fallback value. For advanced features such\n/// as custom properties or CSS functions like min and max, a fallback value is\n/// recommended to support older browsers.\n///\n/// @param {String} $property - The CSS property of the declaration.\n/// @param {*} $value - The value of the CSS declaration. The value should be\n/// resolved by other theme functions first (i.e. custom property Maps and\n/// Material theme keys are not supported in this mixin). If the value is\n/// null, no declarations will be emitted.\n/// @param {*} $fallback - An optional fallback value for older browsers. If\n/// provided, a second property/value declaration will be added before the\n/// main property/value declaration.\n/// @param {Map} $gss - An optional Map of GSS annotations to add.\n/// @param {Bool} $important - If true, add `!important` to the declaration.\n@mixin declaration(\n $property,\n $value,\n $fallback-value: null,\n $gss: (),\n $important: false\n) {\n // Normally setting a null value to a property will not emit CSS, so mixins\n // wouldn't need to check this. However, Sass will throw an error if the\n // interpolated property is a custom property.\n @if $value != null {\n $important-rule: if($important, ' !important', '');\n\n @if $fallback-value and $enable-fallback-declarations {\n @include gss.annotate($gss);\n #{$property}: #{$fallback-value} #{$important-rule};\n\n // Add @alternate to annotations.\n $gss: map.merge(\n $gss,\n (\n alternate: true,\n )\n );\n }\n\n @include gss.annotate($gss);\n #{$property}: #{$value}#{$important-rule};\n }\n}\n\n/// Unpacks shorthand values for CSS properties (i.e. lists of 1-3 values).\n/// If a list of 4 values is given, it is returned as-is.\n///\n/// Examples:\n///\n/// unpack-value(4px) => 4px 4px 4px 4px\n/// unpack-value(4px 2px) => 4px 2px 4px 2px\n/// unpack-value(4px 2px 2px) => 4px 2px 2px 2px\n/// unpack-value(4px 2px 0 2px) => 4px 2px 0 2px\n///\n/// @param {Number | Map | List} $value - List of 1 to 4 value numbers.\n/// @return {List} a List of 4 value numbers.\n@function unpack-value($value) {\n @if meta.type-of($value) == 'map' or list.length($value) == 1 {\n @return $value $value $value $value;\n } @else if list.length($value) == 4 {\n @return $value;\n } @else if list.length($value) == 3 {\n @return list.nth($value, 1) list.nth($value, 2) list.nth($value, 3)\n list.nth($value, 2);\n } @else if list.length($value) == 2 {\n @return list.nth($value, 1) list.nth($value, 2) list.nth($value, 1)\n list.nth($value, 2);\n }\n\n @error \"Invalid CSS property value: '#{$value}' is more than 4 values\";\n}\n","//\n// Copyright 2020 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n// Selector '.mdc-*' should only be used in this project.\n// stylelint-disable selector-class-pattern --\n// Internal styling for Tooltip MDC component.\n\n@use 'sass:math';\n@use '@material/feature-targeting/feature-targeting';\n@use '@material/typography/typography';\n@use '@material/button/button-theme';\n@use '@material/ripple/ripple-theme';\n@use '@material/rtl/rtl';\n@use './banner-theme';\n\n$_text-type-scale: body2;\n$_min-width: 344px;\n$_max-width: 720px;\n// Minimum banner height minus standard text height, divided by 2 for both top\n// and bottom padding. This is used to support two/three line banners.\n$_text-padding-top-bottom: math.div(52px - 20px, 2);\n\n$_enter-duration: 300ms;\n$_exit-duration: 250ms;\n\n/// Core styles for banner component.\n@mixin core-styles($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n $feat-animation: feature-targeting.create-target($query, animation);\n\n @include banner-theme.graphic-color(\n banner-theme.$graphic-color,\n $query: $query\n );\n @include banner-theme.graphic-background-color(\n banner-theme.$graphic-background-color,\n $query: $query\n );\n @include banner-theme.min-width($_min-width, $query: $query);\n @include banner-theme.max-width($_max-width, $query: $query);\n @include static-styles($query: $query);\n\n .mdc-banner {\n @include banner-theme.theme-styles(\n banner-theme.$light-theme,\n $query: $query\n );\n }\n\n .mdc-banner__secondary-action {\n @include feature-targeting.targets($feat-structure) {\n @include rtl.reflexive-property(margin, 0, 8px);\n }\n }\n}\n\n@mixin static-styles($query: feature-targeting.all()) {\n $feat-structure: feature-targeting.create-target($query, structure);\n $feat-animation: feature-targeting.create-target($query, animation);\n\n .mdc-banner {\n @include banner-theme.z-index(banner-theme.$z-index, $query: $query);\n\n @include feature-targeting.targets($feat-structure) {\n // Mobile view styles.\n @media (max-width: banner-theme.$mobile-breakpoint) {\n // Span across viewport for fixed mobile view.\n .mdc-banner__fixed {\n left: 0;\n right: 0;\n }\n\n .mdc-banner__text {\n @include rtl.reflexive-property(margin, 16px, 36px);\n }\n }\n\n border-bottom-style: solid;\n box-sizing: border-box;\n display: none;\n flex-shrink: 0;\n height: 0;\n position: relative;\n width: 100%;\n }\n\n &.mdc-banner--mobile-stacked {\n @media (max-width: banner-theme.$mobile-breakpoint) {\n @include banner-theme.layout-stacked($query: $query);\n }\n }\n }\n\n .mdc-banner--opening,\n .mdc-banner--open,\n .mdc-banner--closing {\n @include feature-targeting.targets($feat-structure) {\n display: flex;\n }\n }\n\n .mdc-banner--open {\n @include feature-targeting.targets($feat-animation) {\n transition: height $_enter-duration ease;\n }\n\n .mdc-banner__content {\n @include feature-targeting.targets($feat-animation) {\n transition: transform $_enter-duration ease;\n }\n\n @include feature-targeting.targets($feat-structure) {\n transform: translateY(0);\n }\n }\n }\n\n .mdc-banner--closing {\n @include feature-targeting.targets($feat-animation) {\n transition: height $_exit-duration ease;\n }\n\n .mdc-banner__content {\n @include feature-targeting.targets($feat-animation) {\n transition: transform $_exit-duration ease;\n }\n }\n }\n\n .mdc-banner--centered {\n @include banner-theme.position-centered($query: $query);\n }\n\n .mdc-banner__fixed {\n @include feature-targeting.targets($feat-structure) {\n border-bottom-style: solid;\n box-sizing: border-box;\n height: inherit;\n position: fixed;\n width: 100%;\n }\n }\n\n .mdc-banner__content {\n @include feature-targeting.targets($feat-structure) {\n display: flex;\n min-height: 52px;\n position: absolute;\n transform: translateY(-100%);\n width: 100%;\n }\n }\n\n .mdc-banner__graphic-text-wrapper {\n @include feature-targeting.targets($feat-structure) {\n display: flex;\n width: 100%;\n }\n }\n\n .mdc-banner__graphic {\n @include feature-targeting.targets($feat-structure) {\n @include rtl.reflexive-property(margin, 16px, 0);\n\n flex-shrink: 0;\n margin-top: 16px;\n margin-bottom: 16px;\n text-align: center;\n }\n }\n\n .mdc-banner__icon {\n @include feature-targeting.targets($feat-structure) {\n position: relative;\n top: 50%;\n transform: translateY(-50%);\n }\n }\n\n .mdc-banner__text {\n @include feature-targeting.targets($feat-structure) {\n @include rtl.reflexive-property(margin, 24px, 90px);\n\n align-self: center;\n flex-grow: 1;\n\n padding-top: $_text-padding-top-bottom;\n padding-bottom: $_text-padding-top-bottom;\n }\n }\n\n .mdc-banner__actions {\n @include feature-targeting.targets($feat-structure) {\n @include rtl.reflexive-property(padding, 0, 8px);\n\n align-self: flex-end;\n display: flex;\n flex-shrink: 0;\n padding-bottom: 8px;\n padding-top: 8px;\n }\n }\n\n .mdc-banner__secondary-action {\n @include feature-targeting.targets($feat-structure) {\n @include rtl.reflexive-property(margin, 0, 8px);\n }\n }\n}\n","//\n// Copyright 2017 Google Inc.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a copy\n// of this software and associated documentation files (the \"Software\"), to deal\n// in the Software without restriction, including without limitation the rights\n// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n// copies of the Software, and to permit persons to whom the Software is\n// furnished to do so, subject to the following conditions:\n//\n// The above copyright notice and this permission notice shall be included in\n// all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\n// THE SOFTWARE.\n//\n\n@use 'sass:list';\n@use 'sass:meta';\n@use 'sass:selector';\n@use '@material/theme/gss';\n@use '@material/theme/selector-ext';\n@use '@material/theme/theme';\n\n$include: true !default;\n\n/// Creates a rule that will be applied when a component is within the context\n/// of an RTL layout.\n///\n/// @example - scss\n/// .mdc-foo {\n/// padding-left: 4px;\n///\n/// @include rtl {\n/// padding-left: auto;\n/// padding-right: 4px;\n/// }\n/// }\n///\n/// @example - css\n/// .mdc-foo {\n/// padding-left: 4px;\n/// }\n///\n/// [dir=\"rtl\"] .mdc-foo,\n/// .mdc-foo[dir=\"rtl\"] {\n/// padding-left: auto;\n/// padding-right: 4px;\n/// }\n///\n/// Note that this mixin works by checking for an ancestor element with\n/// `[dir=\"rtl\"]`. As a result, nested `dir` values are not supported:\n///\n/// @example - html\n/// \n/// \n///