@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
449 lines (437 loc) • 17.6 kB
CSS
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/* stylelint-disable @awsui/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
/* stylelint-enable @awsui/no-motion-outside-of-mixin, selector-combinator-disallowed-list, selector-pseudo-class-no-unknown, selector-class-pattern */
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
/* Style used for links in slots/components that are text heavy, to help links stand out among
surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F73#description */
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
.awsui_root_2qdw9_1n03v_185:not(#\9) {
border-collapse: separate;
border-spacing: 0;
box-sizing: border-box;
caption-side: top;
cursor: auto;
direction: inherit;
empty-cells: show;
font-family: serif;
font-style: normal;
font-variant: normal;
font-stretch: normal;
hyphens: none;
letter-spacing: normal;
list-style: disc outside none;
tab-size: 8;
text-align: start;
text-indent: 0;
text-shadow: none;
text-transform: none;
visibility: visible;
white-space: normal;
word-spacing: normal;
font-size: var(--font-size-body-m-kbh530, 14px);
line-height: var(--line-height-body-m-0awzkk, 22px);
color: var(--color-text-body-default-zs35hz, #16191f);
font-weight: 400;
font-family: var(--font-family-base-5z8fw5, "Noto Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: auto;
cursor: inherit;
display: flex;
inline-size: 100%;
flex-wrap: wrap;
justify-content: space-between;
}
.awsui_root_2qdw9_1n03v_185.awsui_refresh_2qdw9_1n03v_221:not(#\9), .awsui_root_2qdw9_1n03v_185:not(#\9):not(.awsui_root-no-actions_2qdw9_1n03v_221) {
row-gap: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_root-no-actions_2qdw9_1n03v_221.awsui_root-variant-h2_2qdw9_1n03v_224:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221), .awsui_root-no-actions_2qdw9_1n03v_221.awsui_root-variant-h3_2qdw9_1n03v_224:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221), .awsui_root-has-description_2qdw9_1n03v_224.awsui_root-variant-h2_2qdw9_1n03v_224:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221), .awsui_root-has-description_2qdw9_1n03v_224.awsui_root-variant-h3_2qdw9_1n03v_224:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block-end: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_root-no-actions_2qdw9_1n03v_221:not(#\9):not(.awsui_root-has-description_2qdw9_1n03v_224):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block-end: calc(var(--space-scaled-xs-wbfgrv, 8px) + var(--space-xxxs-j6dpcy, 2px));
}
.awsui_root-no-actions_2qdw9_1n03v_221.awsui_refresh_2qdw9_1n03v_221.awsui_root-variant-h2_2qdw9_1n03v_224:not(#\9), .awsui_root-no-actions_2qdw9_1n03v_221.awsui_refresh_2qdw9_1n03v_221.awsui_root-variant-h3_2qdw9_1n03v_224:not(#\9) {
row-gap: var(--space-scaled-xxxs-jdgipl, 2px);
}
.awsui_root_2qdw9_1n03v_185.awsui_root-variant-h1_2qdw9_1n03v_233:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
row-gap: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_root-no-actions_2qdw9_1n03v_221:not(#\9):not(.awsui_root-has-description_2qdw9_1n03v_224).awsui_refresh_2qdw9_1n03v_221.awsui_root-variant-h3_2qdw9_1n03v_224 {
padding-block-end: var(--space-scaled-xs-wbfgrv, 8px);
}
.awsui_root_2qdw9_1n03v_185.awsui_root-variant-h1_2qdw9_1n03v_233.awsui_root-has-description_2qdw9_1n03v_224:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block-end: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_main_2qdw9_1n03v_243:not(#\9) {
word-wrap: break-word;
max-inline-size: 100%;
display: flex;
justify-content: space-between;
inline-size: 100%;
flex-wrap: wrap;
column-gap: var(--space-xs-edba2s, 8px);
row-gap: calc(var(--space-scaled-xxs-t2t62i, 4px) + var(--space-scaled-xxxs-jdgipl, 2px));
}
.awsui_main_2qdw9_1n03v_243.awsui_no-wrap_2qdw9_1n03v_253:not(#\9) {
flex-wrap: nowrap;
}
.awsui_main_2qdw9_1n03v_243.awsui_refresh_2qdw9_1n03v_221:not(#\9) {
row-gap: var(--space-xxs-ja5cp8, 4px);
}
.awsui_main-variant-h1_2qdw9_1n03v_259:not(#\9) {
row-gap: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_root-has-description_2qdw9_1n03v_224 > .awsui_main_2qdw9_1n03v_243:not(#\9) {
row-gap: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_actions_2qdw9_1n03v_267:not(#\9) {
display: flex;
align-items: flex-start;
min-block-size: var(--size-vertical-input-pta06y, 32px);
}
.awsui_actions-centered_2qdw9_1n03v_272:not(#\9) {
align-items: center;
}
.awsui_actions-variant-h1_2qdw9_1n03v_275.awsui_refresh_2qdw9_1n03v_221:not(#\9) {
padding-block: calc((var(--line-height-heading-xl-gnbljj, 36px) - var(--size-vertical-input-pta06y, 32px)) / 2);
padding-inline: 0;
}
.awsui_actions-variant-h2_2qdw9_1n03v_279.awsui_refresh_2qdw9_1n03v_221:not(#\9) {
padding-block: calc((var(--line-height-heading-l-4wuokq, 22px) - var(--size-vertical-input-pta06y, 32px)) / 2);
padding-inline: 0;
}
.awsui_actions-variant-h3_2qdw9_1n03v_283.awsui_refresh_2qdw9_1n03v_221:not(#\9) {
padding-block: calc((var(--line-height-heading-m-gv8yla, 22px) - var(--size-vertical-input-pta06y, 32px)) / 2);
padding-inline: 0;
}
.awsui_actions-variant-h1_2qdw9_1n03v_275:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block: var(--space-scaled-xs-wbfgrv, 8px);
padding-inline: 0;
}
.awsui_actions-variant-h2_2qdw9_1n03v_279:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221), .awsui_actions-variant-h3_2qdw9_1n03v_283:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block: var(--space-scaled-xxs-t2t62i, 4px);
padding-inline: 0;
}
.awsui_root-has-description_2qdw9_1n03v_224 > .awsui_main_2qdw9_1n03v_243 > .awsui_actions_2qdw9_1n03v_267:not(#\9) {
padding-block-end: 0;
}
.awsui_title_2qdw9_1n03v_299:not(#\9) {
min-inline-size: 0;
word-break: break-word;
color: var(--color-text-heading-default-wliqyu, #16191f);
}
.awsui_title-variant-h1_2qdw9_1n03v_304:not(#\9) {
font-size: var(--font-size-heading-xl-e8bqij, 28px);
padding-block-start: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_title-variant-h1_2qdw9_1n03v_304.awsui_refresh_2qdw9_1n03v_221:not(#\9) {
padding-block-start: calc((var(--size-vertical-input-pta06y, 32px) - var(--line-height-heading-xl-gnbljj, 36px)) / 2);
}
.awsui_title-variant-h2_2qdw9_1n03v_311:not(#\9) {
font-size: var(--font-size-heading-l-04luh4, 18px);
}
.awsui_title-variant-h2_2qdw9_1n03v_311.awsui_refresh_2qdw9_1n03v_221:not(#\9) {
padding-block-start: calc((var(--size-vertical-input-pta06y, 32px) - var(--line-height-heading-l-4wuokq, 22px)) / 2);
}
.awsui_title-variant-h3_2qdw9_1n03v_317:not(#\9) {
font-size: var(--font-size-heading-m-9xjzrj, 18px);
}
.awsui_title-variant-h3_2qdw9_1n03v_317.awsui_refresh_2qdw9_1n03v_221:not(#\9) {
padding-block-start: calc((var(--size-vertical-input-pta06y, 32px) - var(--line-height-heading-m-gv8yla, 22px)) / 2);
}
.awsui_title-variant-h2_2qdw9_1n03v_311:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221), .awsui_title-variant-h3_2qdw9_1n03v_317:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block-start: var(--space-scaled-xs-wbfgrv, 8px);
}
.awsui_no-wrap_2qdw9_1n03v_253 > .awsui_title_2qdw9_1n03v_299:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block-end: calc(var(--space-scaled-xxs-t2t62i, 4px) + var(--space-scaled-xxxs-jdgipl, 2px));
}
.awsui_root-no-actions_2qdw9_1n03v_221.awsui_root-has-description_2qdw9_1n03v_224 > .awsui_main_2qdw9_1n03v_243 > :not(#\9):not(.awsui_refresh_2qdw9_1n03v_221).awsui_title-variant-h2_2qdw9_1n03v_311, .awsui_root-no-actions_2qdw9_1n03v_221.awsui_root-has-description_2qdw9_1n03v_224 > .awsui_main_2qdw9_1n03v_243 > :not(#\9):not(.awsui_refresh_2qdw9_1n03v_221).awsui_title-variant-h3_2qdw9_1n03v_317 {
padding-block-end: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_root-variant-h1_2qdw9_1n03v_233.awsui_root-no-actions_2qdw9_1n03v_221:not(#\9):not(.awsui_root-has-description_2qdw9_1n03v_224):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block-end: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_virtual-space_2qdw9_1n03v_338:not(#\9) {
position: absolute ;
inset-block-start: -9999px ;
inset-inline-start: -9999px ;
}
.awsui_info_2qdw9_1n03v_344:not(#\9) {
padding-inline-end: var(--space-s-hdd878, 12px);
}
.awsui_description_2qdw9_1n03v_348:not(#\9) {
margin-block: 0;
margin-inline: 0;
padding-block: 0;
padding-inline: 0;
color: var(--color-text-heading-secondary-urdy5f, #545b64);
}
.awsui_description-variant-h1_2qdw9_1n03v_355:not(#\9) {
font-size: var(--font-size-body-m-kbh530, 14px);
line-height: var(--line-height-body-m-0awzkk, 22px);
}
.awsui_description-variant-h2_2qdw9_1n03v_359:not(#\9) {
font-size: var(--font-header-h2-description-size-jhlfgf, 12px);
line-height: var(--font-header-h2-description-line-height-bhmh72, 16px);
}
.awsui_description-variant-h2_2qdw9_1n03v_359:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
padding-block-end: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_description-variant-h3_2qdw9_1n03v_366:not(#\9) {
font-size: var(--font-size-body-m-kbh530, 14px);
line-height: var(--line-height-body-m-0awzkk, 22px);
}
.awsui_description-variant-h3_2qdw9_1n03v_366:not(#\9):not(.awsui_refresh_2qdw9_1n03v_221) {
font-size: var(--font-size-body-s-6sh5cc, 12px);
line-height: var(--line-height-body-s-usc3fr, 16px);
letter-spacing: var(--letter-spacing-body-s-4f9u0r, normal);
padding-block-end: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_heading_2qdw9_1n03v_377:not(#\9) {
margin-block: 0;
margin-inline: 0;
display: inline;
font-size: inherit;
margin-inline-end: var(--space-xs-edba2s, 8px);
}
.awsui_heading_2qdw9_1n03v_377:not(#\9):only-child {
margin-block: 0;
margin-inline: 0;
}
.awsui_heading_2qdw9_1n03v_377:not(#\9):focus {
outline: none;
}
body[data-awsui-focus-visible=true] .awsui_heading_2qdw9_1n03v_377:not(#\9):focus {
outline: thin dotted;
outline: var(--border-link-focus-ring-outline-o0qm2f, 5px auto Highlight);
outline-offset: 2px;
outline-color: var(--color-border-item-focused-j88ehv, #0073bb);
border-start-start-radius: var(--border-radius-control-default-focus-ring-eq2wmk, 2px);
border-start-end-radius: var(--border-radius-control-default-focus-ring-eq2wmk, 2px);
border-end-start-radius: var(--border-radius-control-default-focus-ring-eq2wmk, 2px);
border-end-end-radius: var(--border-radius-control-default-focus-ring-eq2wmk, 2px);
box-shadow: 0 0 0 var(--border-link-focus-ring-shadow-spread-ziqmfh, 0px) var(--color-border-item-focused-j88ehv, #0073bb);
}
.awsui_heading-variant-h1_2qdw9_1n03v_402:not(#\9) {
font-size: var(--font-size-heading-xl-e8bqij, 28px);
line-height: var(--line-height-heading-xl-gnbljj, 36px);
letter-spacing: var(--letter-spacing-heading-xl-cbi7sv, normal);
}
.awsui_heading-variant-h2_2qdw9_1n03v_407:not(#\9) {
font-size: var(--font-size-heading-l-04luh4, 18px);
line-height: var(--line-height-heading-l-4wuokq, 22px);
letter-spacing: var(--letter-spacing-heading-l-zb25sz, normal);
}
.awsui_heading-variant-h3_2qdw9_1n03v_412:not(#\9) {
font-size: var(--font-size-heading-m-9xjzrj, 18px);
line-height: var(--line-height-heading-m-gv8yla, 22px);
letter-spacing: var(--letter-spacing-heading-m-m4ll99, normal);
}
.awsui_heading-text_2qdw9_1n03v_418:not(#\9) {
/* used in test-utils */
}
.awsui_heading-text-variant-h1_2qdw9_1n03v_421:not(#\9) {
font-size: var(--font-size-heading-xl-e8bqij, 28px);
line-height: var(--line-height-heading-xl-gnbljj, 36px);
letter-spacing: var(--letter-spacing-heading-xl-cbi7sv, normal);
font-weight: var(--font-weight-heading-xl-nre0k2, 400);
-webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto);
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto);
}
.awsui_heading-text-variant-h2_2qdw9_1n03v_429:not(#\9) {
font-size: var(--font-size-heading-l-04luh4, 18px);
line-height: var(--line-height-heading-l-4wuokq, 22px);
letter-spacing: var(--letter-spacing-heading-l-zb25sz, normal);
font-weight: var(--font-weight-heading-l-0lcea3, 700);
-webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto);
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto);
}
.awsui_heading-text-variant-h3_2qdw9_1n03v_437:not(#\9) {
font-size: var(--font-size-heading-m-9xjzrj, 18px);
line-height: var(--line-height-heading-m-gv8yla, 22px);
letter-spacing: var(--letter-spacing-heading-m-m4ll99, normal);
font-weight: var(--font-weight-heading-m-0c5l08, 400);
-webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto);
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto);
}
.awsui_counter_2qdw9_1n03v_446:not(#\9) {
color: var(--color-text-counter-a9cq2m, #687078);
font-weight: 400;
}