@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
509 lines (504 loc) • 19.5 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_help-panel_1d237_16tox_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;
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;
word-wrap: break-word;
padding-block-start: var(--space-panel-header-vertical-zbqp6n, 20px);
padding-block-end: 0;
/* stylelint-disable @awsui/no-implicit-descendant, selector-max-type */
/* stylelint-enable @awsui/no-implicit-descendant, selector-max-type */
}
.awsui_help-panel_1d237_16tox_181 hr:not(#\9) {
border-block: none;
border-inline: none;
border-block-start: var(--border-divider-section-width-4f9905, 1px) solid var(--color-border-divider-default-g2zqci, #eaeded);
margin-block: var(--space-scaled-xl-jawob6, 24px);
margin-inline: calc(-1 * var(--space-panel-divider-margin-horizontal-ouvw5o, 12px));
}
.awsui_help-panel_1d237_16tox_181 ol:not(#\9),
.awsui_help-panel_1d237_16tox_181 ul:not(#\9) {
padding-inline-start: var(--space-l-f4l5gr, 20px);
list-style-position: outside;
margin-block: var(--space-s-hdd878, 12px);
margin-inline: 0;
}
.awsui_help-panel_1d237_16tox_181 li:not(#\9) {
margin-block: var(--space-scaled-xxs-t2t62i, 4px);
margin-inline: 0;
}
.awsui_help-panel_1d237_16tox_181 a:not(#\9),
.awsui_help-panel_1d237_16tox_181 h2:not(#\9),
.awsui_help-panel_1d237_16tox_181 h3:not(#\9),
.awsui_help-panel_1d237_16tox_181 h4:not(#\9),
.awsui_help-panel_1d237_16tox_181 h5:not(#\9),
.awsui_help-panel_1d237_16tox_181 pre:not(#\9),
.awsui_help-panel_1d237_16tox_181 code:not(#\9) {
margin-block: var(--space-xs-edba2s, 8px);
margin-inline: 0;
padding-block: 0;
}
.awsui_help-panel_1d237_16tox_181 code: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);
font-family: var(--font-family-monospace-froq9j, Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace);
background-color: var(--color-background-layout-main-f3jtyd, #f2f3f3);
padding-block: 0;
padding-inline: var(--space-xxs-ja5cp8, 4px);
word-wrap: break-word;
white-space: pre-wrap;
}
.awsui_help-panel_1d237_16tox_181 pre: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);
font-family: var(--font-family-monospace-froq9j, Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace);
background-color: var(--color-background-layout-main-f3jtyd, #f2f3f3);
padding-block: 0;
padding-inline: var(--space-xxs-ja5cp8, 4px);
word-wrap: break-word;
white-space: pre-wrap;
padding-block: var(--space-xxs-ja5cp8, 4px);
padding-inline: var(--space-xxs-ja5cp8, 4px);
}
.awsui_help-panel_1d237_16tox_181 dl:not(#\9) {
margin-block: var(--space-s-hdd878, 12px);
margin-inline: 0;
/* stylelint-disable-next-line selector-max-universal */
}
.awsui_help-panel_1d237_16tox_181 dl *:not(#\9) {
margin-block: 0;
}
.awsui_help-panel_1d237_16tox_181 dt:not(#\9) {
margin-block-start: var(--space-xs-edba2s, 8px);
font-weight: 700;
}
.awsui_help-panel_1d237_16tox_181 dd:not(#\9) {
margin-block-start: 0;
margin-block-end: var(--space-xs-edba2s, 8px);
margin-inline: 0;
}
.awsui_help-panel_1d237_16tox_181 h2:not(#\9),
.awsui_help-panel_1d237_16tox_181 h3:not(#\9),
.awsui_help-panel_1d237_16tox_181 h4:not(#\9),
.awsui_help-panel_1d237_16tox_181 h5:not(#\9),
.awsui_help-panel_1d237_16tox_181 h6:not(#\9) {
margin-block-start: var(--space-xl-gsucfg, 24px);
color: var(--color-text-heading-default-wliqyu, #16191f);
}
.awsui_help-panel_1d237_16tox_181 > :not(#\9):last-child {
margin-block-end: var(--space-panel-content-bottom-s2l12q, 40px);
}
.awsui_help-panel_1d237_16tox_181 p:not(#\9) {
color: inherit;
text-decoration: none;
margin-block: var(--space-s-hdd878, 12px);
margin-inline: 0;
}
.awsui_help-panel_1d237_16tox_181 h1: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_help-panel_1d237_16tox_181 h2: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_help-panel_1d237_16tox_181 h3: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_help-panel_1d237_16tox_181 h4:not(#\9) {
font-size: var(--font-size-heading-s-d8ts7u, 16px);
line-height: var(--line-height-heading-s-i8coai, 20px);
letter-spacing: var(--letter-spacing-heading-s-i1mjjy, normal);
font-weight: var(--font-weight-heading-s-6rdhmg, 700);
-webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto);
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto);
}
.awsui_help-panel_1d237_16tox_181 h5:not(#\9) {
font-size: var(--font-size-heading-xs-pgspul, 16px);
line-height: var(--line-height-heading-xs-8t7s1x, 20px);
font-weight: var(--font-weight-heading-xs-xuskfi, 400);
-webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto);
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto);
}
.awsui_help-panel_1d237_16tox_181 b:not(#\9),
.awsui_help-panel_1d237_16tox_181 strong:not(#\9) {
font-weight: 700;
}
.awsui_loading_1d237_16tox_348:not(#\9) {
padding-inline-start: var(--space-panel-side-left-2amwxl, 32px);
padding-inline-end: var(--space-panel-side-right-lgtbro, 32px);
}
.awsui_header_1d237_16tox_353:not(#\9) {
font-size: var(--font-panel-header-size-ey4ywd, 18px);
letter-spacing: var(--letter-spacing-heading-m-m4ll99, normal);
line-height: var(--font-panel-header-line-height-pqpwyv, 22px);
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);
color: var(--color-text-heading-default-wliqyu, #16191f);
padding-block-end: var(--space-panel-header-vertical-zbqp6n, 20px);
padding-inline: var(--space-panel-side-left-2amwxl, 32px) calc(var(--space-xl-gsucfg, 24px) + var(--space-scaled-xxl-fzmynl, 32px));
border-block: none;
border-inline: none;
border-block-end: var(--border-divider-section-width-4f9905, 1px) solid var(--color-border-panel-header-x89ddl, #eaeded);
margin-block-start: 0;
margin-block-end: var(--space-panel-content-top-kw8n3a, 20px);
/* stylelint-disable @awsui/no-implicit-descendant, selector-max-type */
/* stylelint-enable @awsui/no-implicit-descendant, selector-max-type */
}
.awsui_with-toolbar_1d237_16tox_371 > .awsui_header_1d237_16tox_353:not(#\9) {
border-color: transparent;
margin-block-end: 0px;
}
.awsui_header_1d237_16tox_353 h2:not(#\9),
.awsui_header_1d237_16tox_353 h3:not(#\9),
.awsui_header_1d237_16tox_353 h4:not(#\9),
.awsui_header_1d237_16tox_353 h5:not(#\9),
.awsui_header_1d237_16tox_353 h6:not(#\9) {
font-size: var(--font-panel-header-size-ey4ywd, 18px);
letter-spacing: var(--letter-spacing-heading-m-m4ll99, normal);
line-height: var(--font-panel-header-line-height-pqpwyv, 22px);
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);
padding-block: 0;
margin-block: 0;
}
.awsui_content_1d237_16tox_390:not(#\9) {
color: var(--color-text-body-secondary-kc95tq, #545b64);
padding-inline-start: var(--space-panel-side-left-2amwxl, 32px);
padding-inline-end: var(--space-panel-side-right-lgtbro, 32px);
/* stylelint-disable @awsui/no-implicit-descendant, selector-max-type */
/* stylelint-enable @awsui/no-implicit-descendant, selector-max-type */
}
.awsui_content_1d237_16tox_390 h2:not(#\9):first-child,
.awsui_content_1d237_16tox_390 h3:not(#\9):first-child,
.awsui_content_1d237_16tox_390 h4:not(#\9):first-child,
.awsui_content_1d237_16tox_390 h5:not(#\9):first-child,
.awsui_content_1d237_16tox_390 h6:not(#\9):first-child,
.awsui_content_1d237_16tox_390 p:not(#\9):first-child {
margin-block-start: 0;
}
.awsui_content_1d237_16tox_390 a:not(#\9) {
text-underline-offset: 0.25em;
text-decoration-thickness: 1px;
color: var(--awsui-style-color-default-d43v8n, var(--color-text-link-default-owstl4, #0073bb));
font-weight: inherit;
letter-spacing: normal;
text-decoration-line: underline;
text-decoration-color: currentColor;
transition-property: color, -webkit-text-decoration;
transition-property: color, text-decoration;
transition-property: color, text-decoration, -webkit-text-decoration;
transition-duration: var(--motion-duration-refresh-only-medium-l0r8lz, 0ms);
}
@media (prefers-reduced-motion: reduce) {
.awsui_content_1d237_16tox_390 a:not(#\9) {
animation: none;
transition: none;
}
}
.awsui-motion-disabled .awsui_content_1d237_16tox_390 a:not(#\9), .awsui-mode-entering .awsui_content_1d237_16tox_390 a:not(#\9) {
animation: none;
transition: none;
}
.awsui_content_1d237_16tox_390 a:not(#\9):hover {
cursor: pointer;
color: var(--awsui-style-color-hover-d43v8n, var(--color-text-link-hover-aohp90, #0a4a74));
}
.awsui_content_1d237_16tox_390 a:not(#\9):focus {
outline: none;
}
.awsui_content_1d237_16tox_390 a:not(#\9):active {
color: var(--awsui-style-color-active-d43v8n, var(--color-text-link-hover-aohp90, #0a4a74));
}
.awsui_content_1d237_16tox_390 a:not(#\9):active, .awsui_content_1d237_16tox_390 a:not(#\9):focus, .awsui_content_1d237_16tox_390 a:not(#\9):hover {
text-decoration-line: underline;
text-decoration-color: currentColor;
}
.awsui_footer_1d237_16tox_441:not(#\9) {
color: var(--color-text-body-secondary-kc95tq, #545b64);
padding-block: 0;
padding-inline-start: var(--space-panel-side-left-2amwxl, 32px);
padding-inline-end: var(--space-panel-side-right-lgtbro, 32px);
/* stylelint-disable @awsui/no-implicit-descendant, selector-max-type */
/* stylelint-enable @awsui/no-implicit-descendant, selector-max-type */
}
.awsui_footer_1d237_16tox_441 ul:not(#\9) {
list-style: none;
padding-inline-start: 0;
}
.awsui_footer_1d237_16tox_441 a:not(#\9) {
text-underline-offset: 0.25em;
text-decoration-thickness: 1px;
color: var(--awsui-style-color-default-d43v8n, var(--color-text-link-default-owstl4, #0073bb));
font-weight: inherit;
letter-spacing: normal;
text-decoration-line: none;
text-decoration-color: transparent;
transition-property: color, -webkit-text-decoration;
transition-property: color, text-decoration;
transition-property: color, text-decoration, -webkit-text-decoration;
transition-duration: var(--motion-duration-refresh-only-medium-l0r8lz, 0ms);
}
@media (prefers-reduced-motion: reduce) {
.awsui_footer_1d237_16tox_441 a:not(#\9) {
animation: none;
transition: none;
}
}
.awsui-motion-disabled .awsui_footer_1d237_16tox_441 a:not(#\9), .awsui-mode-entering .awsui_footer_1d237_16tox_441 a:not(#\9) {
animation: none;
transition: none;
}
.awsui_footer_1d237_16tox_441 a:not(#\9):hover {
cursor: pointer;
color: var(--awsui-style-color-hover-d43v8n, var(--color-text-link-hover-aohp90, #0a4a74));
}
.awsui_footer_1d237_16tox_441 a:not(#\9):focus {
outline: none;
}
.awsui_footer_1d237_16tox_441 a:not(#\9):active {
color: var(--awsui-style-color-active-d43v8n, var(--color-text-link-hover-aohp90, #0a4a74));
}
.awsui_footer_1d237_16tox_441 a:not(#\9):active, .awsui_footer_1d237_16tox_441 a:not(#\9):focus, .awsui_footer_1d237_16tox_441 a:not(#\9):hover {
text-decoration-line: underline;
text-decoration-color: currentColor;
}
.awsui_content_1d237_16tox_390:not(#\9),
.awsui_footer_1d237_16tox_441:not(#\9) {
/* stylelint-disable @awsui/no-implicit-descendant, selector-max-type */
/* stylelint-enable @awsui/no-implicit-descendant, selector-max-type */
}
.awsui_content_1d237_16tox_390 a:not(#\9):focus,
.awsui_footer_1d237_16tox_441 a: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);
}