@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
341 lines (327 loc) • 11.3 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
*/
/* 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
*/
/* 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
*/
/*
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: Apache-2.0
*/
.awsui_error-icon-shake-wrapper_14mhv_11k8u_153:not(#\9),
.awsui_warning-icon-shake-wrapper_14mhv_11k8u_154:not(#\9) {
animation: awsui_awsui-motion-shake-horizontally_14mhv_11k8u_1 var(--motion-duration-refresh-only-medium-l0r8lz, 0ms);
}
@keyframes awsui_awsui-motion-shake-horizontally_14mhv_11k8u_1 {
0% {
transform: translateX(-5px);
animation-timing-function: linear;
}
50% {
transform: translateX(5px);
animation-timing-function: var(--motion-easing-refresh-only-a-6ywz7k, cubic-bezier(0, 0, 0, 1));
}
100% {
transform: translateX(0px);
}
}
@media (prefers-reduced-motion: reduce) {
.awsui_error-icon-shake-wrapper_14mhv_11k8u_153:not(#\9),
.awsui_warning-icon-shake-wrapper_14mhv_11k8u_154:not(#\9) {
animation: none;
transition: none;
}
}
.awsui-motion-disabled .awsui_error-icon-shake-wrapper_14mhv_11k8u_153:not(#\9), .awsui-mode-entering .awsui_error-icon-shake-wrapper_14mhv_11k8u_153:not(#\9), .awsui-motion-disabled .awsui_warning-icon-shake-wrapper_14mhv_11k8u_154:not(#\9), .awsui-mode-entering .awsui_warning-icon-shake-wrapper_14mhv_11k8u_154:not(#\9) {
animation: none;
transition: none;
}
.awsui_error-icon-scale-wrapper_14mhv_11k8u_184:not(#\9),
.awsui_warning-icon-scale-wrapper_14mhv_11k8u_185:not(#\9) {
animation: awsui_awsui-motion-scale-popup_14mhv_11k8u_1 var(--motion-duration-refresh-only-medium-l0r8lz, 0ms) var(--motion-easing-refresh-only-a-6ywz7k, cubic-bezier(0, 0, 0, 1));
}
@keyframes awsui_awsui-motion-scale-popup_14mhv_11k8u_1 {
0% {
transform: scale(0.95);
}
100% {
transform: scale(1);
}
}
@media (prefers-reduced-motion: reduce) {
.awsui_error-icon-scale-wrapper_14mhv_11k8u_184:not(#\9),
.awsui_warning-icon-scale-wrapper_14mhv_11k8u_185:not(#\9) {
animation: none;
transition: none;
}
}
.awsui-motion-disabled .awsui_error-icon-scale-wrapper_14mhv_11k8u_184:not(#\9), .awsui-mode-entering .awsui_error-icon-scale-wrapper_14mhv_11k8u_184:not(#\9), .awsui-motion-disabled .awsui_warning-icon-scale-wrapper_14mhv_11k8u_185:not(#\9), .awsui-mode-entering .awsui_warning-icon-scale-wrapper_14mhv_11k8u_185:not(#\9) {
animation: none;
transition: none;
}
.awsui_warning_14mhv_11k8u_154:not(#\9),
.awsui_error_14mhv_11k8u_153:not(#\9) {
animation: awsui_awsui-motion-fade-in-0_14mhv_11k8u_1 var(--motion-duration-refresh-only-medium-l0r8lz, 0ms) var(--motion-easing-refresh-only-a-6ywz7k, cubic-bezier(0, 0, 0, 1));
}
@keyframes awsui_awsui-motion-fade-in-0_14mhv_11k8u_1 {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.awsui_warning_14mhv_11k8u_154:not(#\9),
.awsui_error_14mhv_11k8u_153:not(#\9) {
animation: none;
transition: none;
}
}
.awsui-motion-disabled .awsui_warning_14mhv_11k8u_154:not(#\9), .awsui-mode-entering .awsui_warning_14mhv_11k8u_154:not(#\9), .awsui-motion-disabled .awsui_error_14mhv_11k8u_153:not(#\9), .awsui-mode-entering .awsui_error_14mhv_11k8u_153:not(#\9) {
animation: none;
transition: none;
}
.awsui_root_14mhv_11k8u_236: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;
box-sizing: border-box;
}
.awsui_label_14mhv_11k8u_269:not(#\9) {
box-sizing: border-box;
color: var(--color-text-form-label-uk0nvv, #16191f);
display: inline;
-webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto);
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto);
font-size: var(--font-size-body-m-kbh530, 14px);
line-height: var(--line-height-body-m-0awzkk, 22px);
font-weight: var(--font-display-label-weight-q56x6f, 400);
margin-inline-end: var(--space-xs-edba2s, 8px);
}
.awsui_label_14mhv_11k8u_269:not(#\9):only-child {
margin-block: 0;
margin-inline: 0;
}
.awsui_info_14mhv_11k8u_285:not(#\9) {
display: inline-flex;
padding-inline-start: var(--space-xs-edba2s, 8px);
border-inline-start: var(--border-divider-section-width-4f9905, 1px) solid var(--color-border-divider-default-g2zqci, #eaeded);
}
.awsui_description_14mhv_11k8u_291:not(#\9),
.awsui_constraint_14mhv_11k8u_292:not(#\9) {
color: var(--color-text-form-secondary-6vvbul, #687078);
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_hints_14mhv_11k8u_299:not(#\9),
.awsui_constraint-has-validation-text_14mhv_11k8u_300:not(#\9) {
padding-block-start: var(--space-xxs-ja5cp8, 4px);
}
.awsui_secondary-control_14mhv_11k8u_304:not(#\9) {
/* used in test-utils */
}
.awsui_controls_14mhv_11k8u_308:not(#\9):not(.awsui_label-hidden_14mhv_11k8u_308) {
padding-block-start: var(--space-xxs-ja5cp8, 4px);
}
.awsui_label-wrapper_14mhv_11k8u_311:not(#\9):empty + .awsui_controls_14mhv_11k8u_308 {
padding-block-start: 0;
}
.awsui_control_14mhv_11k8u_308:not(#\9) {
min-inline-size: 0;
word-break: break-word;
}
.awsui_error_14mhv_11k8u_153:not(#\9) {
color: var(--color-text-status-error-oa993i, #d13212);
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);
display: flex;
align-items: flex-start;
}
.awsui_warning_14mhv_11k8u_154:not(#\9) {
color: var(--color-text-status-warning-a2jajm, #906806);
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);
display: flex;
align-items: flex-start;
}
.awsui_error__message_14mhv_11k8u_338:not(#\9),
.awsui_warning__message_14mhv_11k8u_339:not(#\9) {
margin-inline-start: var(--space-xxs-ja5cp8, 4px);
}
.awsui_visually-hidden_14mhv_11k8u_343:not(#\9) {
position: absolute ;
inset-block-start: -9999px ;
inset-inline-start: -9999px ;
}