@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
350 lines (346 loc) • 12.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
*/
/* 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_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
animation: awsui_awsui-motion-fade-in-dropdown_qwoo0_1uqx9_1 var(--motion-duration-show-quick-fkbsov, 135ms) var(--motion-easing-show-quick-17va6f, ease-out);
}
@keyframes awsui_awsui-motion-fade-in-dropdown_qwoo0_1uqx9_1 {
from {
opacity: 0.4;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
animation: none;
transition: none;
}
}
.awsui-motion-disabled .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9), .awsui-mode-entering .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
animation: none;
transition: none;
}
.awsui_dropdown-content-wrapper_qwoo0_1uqx9_153.awsui_refresh_qwoo0_1uqx9_174:not(#\9) {
transform-origin: top;
animation-name: awsui_awsui-motion-fade-in-0_qwoo0_1uqx9_1;
animation-duration: var(--motion-duration-show-quick-fkbsov, 135ms);
animation-timing-function: var(--motion-easing-show-quick-17va6f, ease-out);
}
@keyframes awsui_awsui-motion-fade-in-0_qwoo0_1uqx9_1 {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-reduced-motion: reduce) {
.awsui_dropdown-content-wrapper_qwoo0_1uqx9_153.awsui_refresh_qwoo0_1uqx9_174:not(#\9) {
animation: none;
transition: none;
}
}
.awsui-motion-disabled .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153.awsui_refresh_qwoo0_1uqx9_174:not(#\9), .awsui-mode-entering .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153.awsui_refresh_qwoo0_1uqx9_174:not(#\9) {
animation: none;
transition: none;
}
.awsui_root_qwoo0_1uqx9_199: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;
position: relative;
white-space: inherit;
}
.awsui_root_qwoo0_1uqx9_199.awsui_interior_qwoo0_1uqx9_232:not(#\9) {
position: static;
}
.awsui_dropdown_qwoo0_1uqx9_153:not(#\9) {
position: absolute;
display: none;
z-index: 2000;
transform-origin: top;
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_use-portal_qwoo0_1uqx9_242:not(#\9) {
z-index: 7000;
}
.awsui_dropdown_qwoo0_1uqx9_153:not(#\9):not(.awsui_interior_qwoo0_1uqx9_232) {
transform: translateY(0px);
transition: transform var(--motion-duration-show-quick-fkbsov, 135ms);
}
@media (prefers-reduced-motion: reduce) {
.awsui_dropdown_qwoo0_1uqx9_153:not(#\9):not(.awsui_interior_qwoo0_1uqx9_232) {
animation: none;
transition: none;
}
}
.awsui-motion-disabled .awsui_dropdown_qwoo0_1uqx9_153:not(#\9):not(.awsui_interior_qwoo0_1uqx9_232), .awsui-mode-entering .awsui_dropdown_qwoo0_1uqx9_153:not(#\9):not(.awsui_interior_qwoo0_1uqx9_232) {
animation: none;
transition: none;
}
.awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
position: relative;
background-color: var(--color-background-dropdown-item-default-q1rj8l, #ffffff);
outline: none;
box-shadow: var(--shadow-dropdown-yqlbut, 0 1px 1px 0 rgba(0, 28, 36, 0.3), 1px 1px 1px 0 rgba(0, 28, 36, 0.15), -1px 1px 1px 0 rgba(0, 28, 36, 0.15));
border-start-start-radius: var(--border-radius-dropdown-awjhsp, 0px);
border-start-end-radius: var(--border-radius-dropdown-awjhsp, 0px);
border-end-start-radius: var(--border-radius-dropdown-awjhsp, 0px);
border-end-end-radius: var(--border-radius-dropdown-awjhsp, 0px);
border-block: var(--border-divider-list-width-um3zli, 1px) solid var(--color-border-container-top-wiud2r, #eaeded);
box-sizing: border-box;
}
.awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9)::after {
content: "";
position: absolute;
z-index: 1;
inset-block-start: -1px;
inset-block-end: -1px;
inset-inline-start: 0px;
inset-inline-end: 0px;
background-color: transparent;
border-block: var(--border-width-field-404eki, 1px) solid var(--color-border-dropdown-container-xmqvfn, transparent);
border-inline: var(--border-width-field-404eki, 1px) solid var(--color-border-dropdown-container-xmqvfn, transparent);
border-start-start-radius: var(--border-radius-dropdown-awjhsp, 0px);
border-start-end-radius: var(--border-radius-dropdown-awjhsp, 0px);
border-end-start-radius: var(--border-radius-dropdown-awjhsp, 0px);
border-end-end-radius: var(--border-radius-dropdown-awjhsp, 0px);
pointer-events: none;
}
.awsui_dropdown-content-wrapper_qwoo0_1uqx9_153.awsui_is-empty_qwoo0_1uqx9_288:not(#\9)::after {
display: none;
}
.awsui_dropdown_qwoo0_1uqx9_153 > .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
border-block-start: var(--border-divider-list-width-um3zli, 1px) solid var(--color-border-container-top-wiud2r, #eaeded);
border-block-end: var(--border-divider-list-width-um3zli, 1px) solid var(--color-border-dropdown-group-tg9vgt, #eaeded);
}
.awsui_dropdown-drop-up_qwoo0_1uqx9_295 > .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
transform-origin: bottom;
box-shadow: var(--shadow-dropup-xkpv46, 0 -1px 1px 0 rgba(0, 28, 36, 0.3), 1px -1px 1px 0 rgba(0, 28, 36, 0.15), -1px -1px 1px 0 rgba(0, 28, 36, 0.15));
}
.awsui_dropdown-drop-up_qwoo0_1uqx9_295.awsui_with-limited-width_qwoo0_1uqx9_299 > .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
border-block-start: none;
}
.awsui_dropdown-drop-left_qwoo0_1uqx9_302:not(#\9) {
inset-inline-end: 0;
}
.awsui_dropdown-drop-right_qwoo0_1uqx9_305:not(#\9) {
inset-inline-start: 0;
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_occupy-entire-width_qwoo0_1uqx9_308:not(#\9) {
min-inline-size: 100%;
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_stretch-beyond-trigger-width_qwoo0_1uqx9_311:not(#\9) {
inline-size: max-content;
max-inline-size: var(--awsui-dropdown-default-max-width-g964ok, 100%);
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_interior_qwoo0_1uqx9_232 > .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
margin-block-start: -1px;
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_hide-block-border_qwoo0_1uqx9_318 > .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
border-block-start: none;
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_hide-block-border_qwoo0_1uqx9_318:not(#\9):not(.awsui_dropdown-drop-up_qwoo0_1uqx9_295) > .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153 {
border-block-end: none;
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_hide-block-border_qwoo0_1uqx9_318.awsui_refresh_qwoo0_1uqx9_174 > .awsui_dropdown-content-wrapper_qwoo0_1uqx9_153:not(#\9) {
border-block-end: none;
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_open_qwoo0_1uqx9_327:not(#\9) {
display: block;
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_open_qwoo0_1uqx9_327:not(#\9):not(.awsui_interior_qwoo0_1uqx9_232).awsui_refresh_qwoo0_1uqx9_174[data-animating=true] {
transform: translateY(4px);
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_open_qwoo0_1uqx9_327:not(#\9):not(.awsui_interior_qwoo0_1uqx9_232).awsui_refresh_qwoo0_1uqx9_174[data-animating=true].awsui_dropdown-drop-up_qwoo0_1uqx9_295 {
transform: translateY(-4px);
}
.awsui_dropdown_qwoo0_1uqx9_153.awsui_open_qwoo0_1uqx9_327.awsui_nowrap_qwoo0_1uqx9_336:not(#\9) {
white-space: nowrap;
overflow: scroll;
}
.awsui_dropdown-content_qwoo0_1uqx9_153:not(#\9) {
display: flex;
flex-direction: column;
inline-size: 100%;
}
.awsui_stretch-trigger-height_qwoo0_1uqx9_347:not(#\9) {
block-size: 100%;
}