@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
381 lines (369 loc) • 14 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
*/
/*
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_segment_8cbea_6akvr_161:not(#\9) {
font-size: var(--font-size-body-m-kbh530, 14px);
line-height: var(--line-height-body-m-0awzkk, 22px);
word-wrap: break-word;
max-inline-size: 100%;
overflow: hidden;
font-weight: var(--font-weight-button-rb1vba, 700);
-webkit-font-smoothing: var(--font-smoothing-webkit-gsroen, auto);
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-7ax6sl, auto);
letter-spacing: 0.25px;
padding-block: var(--space-scaled-xxs-t2t62i, 4px);
padding-inline: calc(var(--space-button-horizontal-gnfbt4, 20px) - var(--space-static-xxs-jqh73n, 4px));
background: var(--color-background-segment-default-akl4mj, #ffffff);
color: var(--color-text-segment-default-48d69d, #545b64);
overflow: visible;
border-start-start-radius: var(--border-radius-button-f5klif, 2px);
border-start-end-radius: var(--border-radius-button-f5klif, 2px);
border-end-start-radius: var(--border-radius-button-f5klif, 2px);
border-end-end-radius: var(--border-radius-button-f5klif, 2px);
position: relative;
block-size: calc(100% - var(--space-static-xxs-jqh73n, 4px));
display: flex;
align-items: center;
border-inline: none;
border-block: none;
}
.awsui_segment_8cbea_6akvr_161:not(#\9):not(.awsui_refresh_8cbea_6akvr_187) {
block-size: calc(100% - var(--space-static-xxs-jqh73n, 4px) - 2 * var(--border-width-field-404eki, 1px));
}
.awsui_segment_8cbea_6akvr_161:not(#\9):focus {
outline: none;
}
.awsui_segment_8cbea_6akvr_161.awsui_disabled_8cbea_6akvr_193:not(#\9) {
background: var(--color-background-segment-disabled-4h6zm5, #ffffff);
border-color: var(--color-border-segment-disabled-vpnkqa, #d5dbdb);
color: var(--color-text-interactive-disabled-jwju02, #aab7b8);
}
body[data-awsui-focus-visible=true] .awsui_segment_8cbea_6akvr_161:not(#\9):focus {
position: relative;
}
body[data-awsui-focus-visible=true] .awsui_segment_8cbea_6akvr_161:not(#\9):focus {
outline: 2px dotted transparent;
outline-offset: calc(var(--space-segmented-control-focus-outline-gutter-ptaps9, 3px) - 1px);
}
body[data-awsui-focus-visible=true] .awsui_segment_8cbea_6akvr_161:not(#\9):focus::before {
content: " ";
display: block;
position: absolute;
inset-inline-start: calc(-1 * var(--space-segmented-control-focus-outline-gutter-ptaps9, 3px));
inset-block-start: calc(-1 * var(--space-segmented-control-focus-outline-gutter-ptaps9, 3px));
inline-size: calc(100% + var(--space-segmented-control-focus-outline-gutter-ptaps9, 3px) + var(--space-segmented-control-focus-outline-gutter-ptaps9, 3px));
block-size: calc(100% + var(--space-segmented-control-focus-outline-gutter-ptaps9, 3px) + var(--space-segmented-control-focus-outline-gutter-ptaps9, 3px));
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 2px var(--color-border-item-focused-j88ehv, #0073bb);
}
.awsui_segment_8cbea_6akvr_161:not(#\9):not(:last-child)::after {
content: "";
position: absolute;
inset-inline-end: calc(-1 * (var(--space-static-xxs-jqh73n, 4px) + 1px));
block-size: calc(100% - (var(--space-static-xxs-jqh73n, 4px) + var(--space-static-xxxs-b6tgp7, 2px)) * 2);
min-block-size: calc(var(--line-height-body-m-0awzkk, 22px) - var(--space-static-xxs-jqh73n, 4px) * 2);
inline-size: 1px;
background: var(--color-border-input-default-ijkrzo, #687078);
z-index: 1;
}
.awsui_segment_8cbea_6akvr_161:not(#\9):not(.awsui_refresh_8cbea_6akvr_187):not(:last-child)::after {
inset-inline-end: calc(-1 * var(--space-static-xxs-jqh73n, 4px));
}
.awsui_segment_8cbea_6akvr_161:not(#\9):nth-child(1) {
grid-column: 1;
-ms-grid-column: 1;
}
.awsui_segment_8cbea_6akvr_161:not(#\9):nth-child(2) {
grid-column: 2;
-ms-grid-column: 2;
}
.awsui_segment_8cbea_6akvr_161:not(#\9):nth-child(3) {
grid-column: 3;
-ms-grid-column: 3;
}
.awsui_segment_8cbea_6akvr_161:not(#\9):nth-child(4) {
grid-column: 4;
-ms-grid-column: 4;
}
.awsui_segment_8cbea_6akvr_161:not(#\9):nth-child(5) {
grid-column: 5;
-ms-grid-column: 5;
}
.awsui_segment_8cbea_6akvr_161:not(#\9):nth-child(6) {
grid-column: 6;
-ms-grid-column: 6;
}
.awsui_segment_8cbea_6akvr_161.awsui_selected_8cbea_6akvr_256:not(#\9) {
background: var(--color-background-segment-active-73phfs, #0073bb);
color: var(--color-text-segment-active-4d27ka, #ffffff);
}
.awsui_segment_8cbea_6akvr_161.awsui_selected_8cbea_6akvr_256 + .awsui_segment_8cbea_6akvr_161:not(#\9), .awsui_segment_8cbea_6akvr_161.awsui_selected_8cbea_6akvr_256 + .awsui_segment_8cbea_6akvr_161.awsui_disabled_8cbea_6akvr_193:not(#\9) {
border-inline-start-color: var(--color-border-segment-active-mv1bbg, #16191f);
}
.awsui_segment_8cbea_6akvr_161:not(#\9):not(.awsui_disabled_8cbea_6akvr_193) + .awsui_segment_8cbea_6akvr_161.awsui_disabled_8cbea_6akvr_193 {
border-inline-start-color: var(--color-border-segment-default-4q3z1n, #687078);
}
.awsui_segment_8cbea_6akvr_161:not(#\9):hover:not(.awsui_selected_8cbea_6akvr_256):not(.awsui_disabled_8cbea_6akvr_193):not(:focus) {
background: var(--color-background-segment-hover-ibz6bl, #fafafa);
color: var(--color-text-segment-hover-uq9b0c, #16191f);
border-color: var(--color-border-segment-hover-x2c7ym, #16191f);
cursor: pointer;
}
.awsui_segment_8cbea_6akvr_161:not(#\9):hover:not(.awsui_selected_8cbea_6akvr_256):not(.awsui_disabled_8cbea_6akvr_193):not(:focus) + .awsui_segment_8cbea_6akvr_161:not(.awsui_selected_8cbea_6akvr_256) {
border-inline-start-color: var(--color-border-segment-hover-x2c7ym, #16191f);
}
.awsui_segment_8cbea_6akvr_161.awsui_selected_8cbea_6akvr_256 + .awsui_segment_8cbea_6akvr_161:not(#\9):hover:not(.awsui_selected_8cbea_6akvr_256):not(.awsui_disabled_8cbea_6akvr_193):not(:focus) {
border-inline-start-color: var(--color-border-segment-active-mv1bbg, #16191f);
}
.awsui_icon_8cbea_6akvr_279:not(#\9) {
/* used in test-utils */
}
.awsui_with-text_8cbea_6akvr_283:not(#\9) {
position: relative;
inset-inline-start: calc(-1 * var(--space-xxs-ja5cp8, 4px));
margin-inline-end: var(--space-xxs-ja5cp8, 4px);
}
.awsui_with-no-text_8cbea_6akvr_289:not(#\9) {
margin-inline: auto;
inset-inline: 0;
}
.awsui_root_8cbea_6akvr_294: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;
}
.awsui_segment-part_8cbea_6akvr_326:not(#\9) {
display: inline-grid;
border-inline: solid var(--border-width-field-404eki, 1px) var(--color-border-input-default-ijkrzo, #687078);
border-block: solid var(--border-width-field-404eki, 1px) var(--color-border-input-default-ijkrzo, #687078);
border-start-start-radius: var(--border-radius-button-f5klif, 2px);
border-start-end-radius: var(--border-radius-button-f5klif, 2px);
border-end-start-radius: var(--border-radius-button-f5klif, 2px);
border-end-end-radius: var(--border-radius-button-f5klif, 2px);
align-items: center;
min-block-size: calc(var(--line-height-body-m-0awzkk, 22px) + var(--space-static-xxs-jqh73n, 4px));
padding-inline: var(--space-static-xxxs-b6tgp7, 2px);
gap: calc(var(--space-static-xxs-jqh73n, 4px) * 2 + 1px);
}
.awsui_segment-part_8cbea_6akvr_326:not(#\9):not(.awsui_refresh_8cbea_6akvr_187) {
padding-inline: calc(var(--space-static-xxxs-b6tgp7, 2px) + 1px);
gap: calc(var(--space-static-xxs-jqh73n, 4px) * 2 - 1px);
}
@media (max-width: 688px) {
.awsui_segment-part_8cbea_6akvr_326:not(#\9) {
display: none;
}
}
.awsui_select_8cbea_6akvr_256:not(#\9) {
display: none;
}
@media (max-width: 688px) {
.awsui_select_8cbea_6akvr_256:not(#\9) {
display: block;
}
}
.awsui_segment-count-2_8cbea_6akvr_359:not(#\9) {
grid-template-columns: repeat(2, auto);
}
.awsui_segment-count-3_8cbea_6akvr_363:not(#\9) {
grid-template-columns: repeat(3, auto);
}
.awsui_segment-count-4_8cbea_6akvr_367:not(#\9) {
grid-template-columns: repeat(4, auto);
}
.awsui_segment-count-5_8cbea_6akvr_371:not(#\9) {
grid-template-columns: repeat(5, auto);
}
.awsui_segment-count-6_8cbea_6akvr_375:not(#\9) {
grid-template-columns: repeat(6, auto);
}
.awsui_disabled-reason-tooltip_8cbea_6akvr_379:not(#\9) {
/* used in test-utils or tests */
}