@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
430 lines (418 loc) • 16.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 */
.awsui_root_2qdw9_1ei0r_181: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;
-webkit-hyphens: none;
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_1ei0r_181.awsui_refresh_2qdw9_1ei0r_217:not(#\9), .awsui_root_2qdw9_1ei0r_181:not(#\9):not(.awsui_root-no-actions_2qdw9_1ei0r_217) {
row-gap: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_root-no-actions_2qdw9_1ei0r_217.awsui_root-variant-h2_2qdw9_1ei0r_220:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217), .awsui_root-no-actions_2qdw9_1ei0r_217.awsui_root-variant-h3_2qdw9_1ei0r_220:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217), .awsui_root-has-description_2qdw9_1ei0r_220.awsui_root-variant-h2_2qdw9_1ei0r_220:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217), .awsui_root-has-description_2qdw9_1ei0r_220.awsui_root-variant-h3_2qdw9_1ei0r_220:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block-end: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_root-no-actions_2qdw9_1ei0r_217:not(#\9):not(.awsui_root-has-description_2qdw9_1ei0r_220):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block-end: calc(var(--space-scaled-xs-wbfgrv, 8px) + var(--space-xxxs-j6dpcy, 2px));
}
.awsui_root-no-actions_2qdw9_1ei0r_217.awsui_refresh_2qdw9_1ei0r_217.awsui_root-variant-h2_2qdw9_1ei0r_220:not(#\9), .awsui_root-no-actions_2qdw9_1ei0r_217.awsui_refresh_2qdw9_1ei0r_217.awsui_root-variant-h3_2qdw9_1ei0r_220:not(#\9) {
row-gap: var(--space-scaled-xxxs-jdgipl, 2px);
}
.awsui_root_2qdw9_1ei0r_181.awsui_root-variant-h1_2qdw9_1ei0r_229:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
row-gap: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_root-no-actions_2qdw9_1ei0r_217:not(#\9):not(.awsui_root-has-description_2qdw9_1ei0r_220).awsui_refresh_2qdw9_1ei0r_217.awsui_root-variant-h3_2qdw9_1ei0r_220 {
padding-block-end: var(--space-scaled-xs-wbfgrv, 8px);
}
.awsui_root_2qdw9_1ei0r_181.awsui_root-variant-h1_2qdw9_1ei0r_229.awsui_root-has-description_2qdw9_1ei0r_220:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block-end: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_main_2qdw9_1ei0r_239: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_1ei0r_239.awsui_no-wrap_2qdw9_1ei0r_249:not(#\9) {
flex-wrap: nowrap;
}
.awsui_main_2qdw9_1ei0r_239.awsui_refresh_2qdw9_1ei0r_217:not(#\9) {
row-gap: var(--space-xxs-ja5cp8, 4px);
}
.awsui_main-variant-h1_2qdw9_1ei0r_255:not(#\9) {
row-gap: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_root-has-description_2qdw9_1ei0r_220 > .awsui_main_2qdw9_1ei0r_239:not(#\9) {
row-gap: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_actions_2qdw9_1ei0r_263:not(#\9) {
display: flex;
align-items: flex-start;
min-block-size: var(--size-vertical-input-pta06y, 32px);
}
.awsui_actions-centered_2qdw9_1ei0r_268:not(#\9) {
align-items: center;
}
.awsui_actions-variant-h1_2qdw9_1ei0r_271.awsui_refresh_2qdw9_1ei0r_217: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_1ei0r_275.awsui_refresh_2qdw9_1ei0r_217: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_1ei0r_279.awsui_refresh_2qdw9_1ei0r_217: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_1ei0r_271:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block: var(--space-scaled-xs-wbfgrv, 8px);
padding-inline: 0;
}
.awsui_actions-variant-h2_2qdw9_1ei0r_275:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217), .awsui_actions-variant-h3_2qdw9_1ei0r_279:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block: var(--space-scaled-xxs-t2t62i, 4px);
padding-inline: 0;
}
.awsui_root-has-description_2qdw9_1ei0r_220 > .awsui_main_2qdw9_1ei0r_239 > .awsui_actions_2qdw9_1ei0r_263:not(#\9) {
padding-block-end: 0;
}
.awsui_title_2qdw9_1ei0r_295:not(#\9) {
min-inline-size: 0;
word-break: break-word;
color: var(--color-text-heading-default-wliqyu, #16191f);
}
.awsui_title-variant-h1_2qdw9_1ei0r_300: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_1ei0r_300.awsui_refresh_2qdw9_1ei0r_217: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_1ei0r_307:not(#\9) {
font-size: var(--font-size-heading-l-04luh4, 18px);
}
.awsui_title-variant-h2_2qdw9_1ei0r_307.awsui_refresh_2qdw9_1ei0r_217: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_1ei0r_313:not(#\9) {
font-size: var(--font-size-heading-m-9xjzrj, 18px);
}
.awsui_title-variant-h3_2qdw9_1ei0r_313.awsui_refresh_2qdw9_1ei0r_217: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_1ei0r_307:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217), .awsui_title-variant-h3_2qdw9_1ei0r_313:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block-start: var(--space-scaled-xs-wbfgrv, 8px);
}
.awsui_no-wrap_2qdw9_1ei0r_249 > .awsui_title_2qdw9_1ei0r_295:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block-end: calc(var(--space-scaled-xxs-t2t62i, 4px) + var(--space-scaled-xxxs-jdgipl, 2px));
}
.awsui_root-no-actions_2qdw9_1ei0r_217.awsui_root-has-description_2qdw9_1ei0r_220 > .awsui_main_2qdw9_1ei0r_239 > :not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217).awsui_title-variant-h2_2qdw9_1ei0r_307, .awsui_root-no-actions_2qdw9_1ei0r_217.awsui_root-has-description_2qdw9_1ei0r_220 > .awsui_main_2qdw9_1ei0r_239 > :not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217).awsui_title-variant-h3_2qdw9_1ei0r_313 {
padding-block-end: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_root-variant-h1_2qdw9_1ei0r_229.awsui_root-no-actions_2qdw9_1ei0r_217:not(#\9):not(.awsui_root-has-description_2qdw9_1ei0r_220):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block-end: var(--space-scaled-2x-xxs-0k2v6n, 4px);
}
.awsui_virtual-space_2qdw9_1ei0r_334:not(#\9) {
position: absolute ;
inset-block-start: -9999px ;
inset-inline-start: -9999px ;
}
.awsui_info_2qdw9_1ei0r_340:not(#\9) {
padding-inline-end: var(--space-s-hdd878, 12px);
}
.awsui_description_2qdw9_1ei0r_344: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_1ei0r_351: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_1ei0r_355: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_1ei0r_355:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block-end: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_description-variant-h3_2qdw9_1ei0r_362:not(#\9) {
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);
}
.awsui_description-variant-h3_2qdw9_1ei0r_362:not(#\9):not(.awsui_refresh_2qdw9_1ei0r_217) {
padding-block-end: var(--space-scaled-xxs-t2t62i, 4px);
}
.awsui_heading_2qdw9_1ei0r_371:not(#\9) {
margin-block: 0;
margin-inline: 0;
display: inline;
font-size: inherit;
margin-inline-end: var(--space-xs-edba2s, 8px);
}
.awsui_heading_2qdw9_1ei0r_371:not(#\9):only-child {
margin-block: 0;
margin-inline: 0;
}
.awsui_heading-variant-h1_2qdw9_1ei0r_382: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_1ei0r_387: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_1ei0r_392: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_1ei0r_398:not(#\9) {
/* used in test-utils */
}
.awsui_heading-text-variant-h1_2qdw9_1ei0r_401: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_1ei0r_409: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_1ei0r_417: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_1ei0r_426:not(#\9) {
color: var(--color-text-counter-a9cq2m, #687078);
font-weight: 400;
}