@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
288 lines (285 loc) • 12.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
*/
/* 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 */
.awsui_selectable-item_15o6u_12yw8_145:not(#\9) {
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;
list-style: none;
z-index: 1;
border-block: var(--border-divider-list-width-um3zli, 1px) solid transparent;
border-inline: var(--border-divider-list-width-um3zli, 1px) solid transparent;
border-block-start-color: var(--color-border-dropdown-item-default-tizn4l, #eaeded);
border-block-end-color: var(--color-border-dropdown-item-default-tizn4l, #eaeded);
background-color: var(--color-background-dropdown-item-default-q1rj8l, #ffffff);
color: var(--color-text-dropdown-item-default-ti6pjc, #16191f);
border-inline-start-width: 0;
border-inline-end-width: 0;
padding-block: calc(var(--space-xxs-ja5cp8, 4px) + var(--border-item-width-ip3vxj, 1px) - var(--border-divider-list-width-um3zli, 1px));
padding-inline: calc(var(--space-field-horizontal-zt16s8, 8px) + var(--border-item-width-ip3vxj, 1px));
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_pad-bottom_15o6u_12yw8_167:not(#\9) {
padding-block-end: calc(calc(var(--space-xxs-ja5cp8, 4px) + var(--border-item-width-ip3vxj, 1px) - var(--border-divider-list-width-um3zli, 1px)) + var(--space-xxxs-j6dpcy, 2px));
border-block-end-color: transparent;
}
.awsui_selectable-item_15o6u_12yw8_145:not(#\9):not(:first-child) {
margin-block-start: calc(-1 * var(--border-item-width-ip3vxj, 1px));
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_has-background_15o6u_12yw8_174:not(#\9) {
background-color: var(--color-background-dropdown-item-hover-6zmazg, #f2f3f3);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_highlighted_15o6u_12yw8_177:not(#\9), .awsui_selectable-item_15o6u_12yw8_145.awsui_selected_15o6u_12yw8_177:not(#\9) {
color: var(--color-text-dropdown-item-highlighted-0ns2tb, #16191f);
border-width: var(--border-item-width-ip3vxj, 1px);
border-start-start-radius: var(--border-radius-item-ilq21a, 0px);
border-start-end-radius: var(--border-radius-item-ilq21a, 0px);
border-end-start-radius: var(--border-radius-item-ilq21a, 0px);
border-end-end-radius: var(--border-radius-item-ilq21a, 0px);
padding-block: var(--space-xxs-ja5cp8, 4px);
padding-inline: var(--space-field-horizontal-zt16s8, 8px);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_highlighted_15o6u_12yw8_177.awsui_pad-bottom_15o6u_12yw8_167:not(#\9), .awsui_selectable-item_15o6u_12yw8_145.awsui_selected_15o6u_12yw8_177.awsui_pad-bottom_15o6u_12yw8_167:not(#\9) {
padding-block-end: calc(var(--space-xxs-ja5cp8, 4px) + var(--space-xxxs-j6dpcy, 2px));
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_highlighted_15o6u_12yw8_177:not(#\9) {
z-index: 3;
background-color: var(--color-background-dropdown-item-hover-6zmazg, #f2f3f3);
border-color: var(--color-border-dropdown-item-hover-8pzdhc, #879596);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_highlighted_15o6u_12yw8_177.awsui_disabled_15o6u_12yw8_195:not(#\9) {
color: var(--color-text-dropdown-item-dimmed-6g8wds, #aab7b8);
border-color: var(--color-border-dropdown-item-dimmed-hover-7hrdqp, #879596);
background-color: var(--color-background-dropdown-item-dimmed-oa2pjk, transparent);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_selected_15o6u_12yw8_177:not(#\9) {
z-index: 2;
background-color: var(--color-background-dropdown-item-selected-6qo3t1, #f1faff);
border-color: var(--color-border-dropdown-item-selected-3abw87, #eaeded);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_selected_15o6u_12yw8_177.awsui_next-item-selected_15o6u_12yw8_205:not(#\9) {
border-end-start-radius: 0;
border-end-end-radius: 0;
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_selected_15o6u_12yw8_177.awsui_highlighted_15o6u_12yw8_177:not(#\9) {
border-color: var(--color-border-dropdown-item-hover-8pzdhc, #879596);
z-index: 3;
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_selected_15o6u_12yw8_177 + .awsui_selectable-item_15o6u_12yw8_145.awsui_selected_15o6u_12yw8_177:not(#\9) {
border-start-start-radius: 0;
border-start-end-radius: 0;
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_highlighted_15o6u_12yw8_177.awsui_is-keyboard_15o6u_12yw8_217:not(#\9) {
border-color: var(--color-border-dropdown-item-focused-hebyze, #0073bb);
box-shadow: inset 0 0 0 var(--border-control-focus-ring-shadow-spread-o8rs1p, 1px) var(--color-border-item-focused-j88ehv, #0073bb);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_parent_15o6u_12yw8_221:not(#\9) {
font-weight: bold;
color: var(--color-text-dropdown-group-label-s1hwg5, #545b64);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_parent_15o6u_12yw8_221:not(#\9):not(.awsui_interactiveGroups_15o6u_12yw8_225) {
border-block-start-color: var(--color-border-dropdown-group-tg9vgt, #eaeded);
padding-block: var(--space-xs-edba2s, 8px);
padding-inline: var(--space-xs-edba2s, 8px);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_parent_15o6u_12yw8_221.awsui_interactiveGroups_15o6u_12yw8_225:not(#\9) {
padding-block: calc(var(--space-xs-edba2s, 8px) + var(--border-item-width-ip3vxj, 1px) - var(--border-divider-list-width-um3zli, 1px));
padding-inline: calc(var(--space-field-horizontal-zt16s8, 8px) + var(--border-item-width-ip3vxj, 1px));
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_parent_15o6u_12yw8_221.awsui_interactiveGroups_15o6u_12yw8_225.awsui_highlighted_15o6u_12yw8_177:not(#\9) {
color: var(--color-text-dropdown-item-highlighted-0ns2tb, #16191f);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_parent_15o6u_12yw8_221.awsui_interactiveGroups_15o6u_12yw8_225.awsui_highlighted_15o6u_12yw8_177:not(#\9), .awsui_selectable-item_15o6u_12yw8_145.awsui_parent_15o6u_12yw8_221.awsui_interactiveGroups_15o6u_12yw8_225.awsui_selected_15o6u_12yw8_177:not(#\9) {
padding-block: var(--space-xs-edba2s, 8px);
padding-inline: var(--space-field-horizontal-zt16s8, 8px);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_child_15o6u_12yw8_241:not(#\9) {
padding-inline-start: calc(var(--space-xxl-sgg5p8, 32px) + var(--border-item-width-ip3vxj, 1px));
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_child_15o6u_12yw8_241.awsui_highlighted_15o6u_12yw8_177:not(#\9), .awsui_selectable-item_15o6u_12yw8_145.awsui_child_15o6u_12yw8_241.awsui_selected_15o6u_12yw8_177:not(#\9) {
padding-inline-start: var(--space-xxl-sgg5p8, 32px);
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_disabled_15o6u_12yw8_195:not(#\9) {
color: var(--color-text-dropdown-item-disabled-j9pzby, #aab7b8);
}
.awsui_selectable-item_15o6u_12yw8_145:not(#\9):not(.awsui_disabled_15o6u_12yw8_195):not(.awsui_parent_15o6u_12yw8_221) {
cursor: pointer;
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_interactiveGroups_15o6u_12yw8_225:not(#\9):not(.awsui_disabled_15o6u_12yw8_195) {
cursor: pointer;
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_virtual_15o6u_12yw8_256:not(#\9) {
position: absolute;
inset-block-start: var(--border-dropdown-virtual-offset-width-4cjhpv, 0px);
inset-inline-start: 0;
inline-size: 100%;
box-sizing: border-box;
}
.awsui_selectable-item_15o6u_12yw8_145.awsui_virtual_15o6u_12yw8_256:not(#\9):first-of-type:not(.awsui_selected_15o6u_12yw8_177, .awsui_highlighted_15o6u_12yw8_177) {
border-block-start-color: var(--color-border-dropdown-item-top-chy7j8, #eaeded);
}
.awsui_measure-strut_15o6u_12yw8_267:not(#\9) {
position: absolute;
pointer-events: none;
block-size: 100%;
inline-size: 100%;
inset-block-start: 0;
inset-inline-start: 0;
padding-block-start: var(--border-divider-list-width-um3zli, 1px);
}
.awsui_measure-strut-first_15o6u_12yw8_276:not(#\9) {
padding-block-end: var(--border-divider-list-width-um3zli, 1px);
}
.awsui_screenreader-content_15o6u_12yw8_280:not(#\9) {
position: absolute ;
inset-block-start: -9999px ;
inset-inline-start: -9999px ;
}
.awsui_option-content_15o6u_12yw8_286:not(#\9) {
/* used in test-utils */
}