@cloudscape-design/components-themeable 3.0.364 → 3.0.366
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/internal/manifest.json +1 -1
- package/lib/internal/scss/breadcrumb-group/item/styles.scss +1 -1
- package/lib/internal/scss/internal/styles/links.scss +2 -0
- package/lib/internal/scss/link/constants.scss +7 -6
- package/lib/internal/template/alert/internal.d.ts.map +1 -1
- package/lib/internal/template/alert/internal.js +15 -13
- package/lib/internal/template/alert/internal.js.map +1 -1
- package/lib/internal/template/annotation-context/annotation/styles.css.js +24 -24
- package/lib/internal/template/annotation-context/annotation/styles.scoped.css +30 -30
- package/lib/internal/template/annotation-context/annotation/styles.selectors.js +24 -24
- package/lib/internal/template/attribute-editor/styles.css.js +14 -14
- package/lib/internal/template/attribute-editor/styles.scoped.css +30 -31
- package/lib/internal/template/attribute-editor/styles.selectors.js +14 -14
- package/lib/internal/template/breadcrumb-group/item/styles.css.js +9 -9
- package/lib/internal/template/breadcrumb-group/item/styles.scoped.css +21 -21
- package/lib/internal/template/breadcrumb-group/item/styles.selectors.js +9 -9
- package/lib/internal/template/button/styles.css.js +20 -20
- package/lib/internal/template/button/styles.scoped.css +152 -152
- package/lib/internal/template/button/styles.selectors.js +20 -20
- package/lib/internal/template/cards/index.d.ts.map +1 -1
- package/lib/internal/template/cards/index.js +9 -7
- package/lib/internal/template/cards/index.js.map +1 -1
- package/lib/internal/template/cards/interfaces.d.ts +1 -1
- package/lib/internal/template/cards/interfaces.js.map +1 -1
- package/lib/internal/template/help-panel/index.d.ts.map +1 -1
- package/lib/internal/template/help-panel/index.js +3 -1
- package/lib/internal/template/help-panel/index.js.map +1 -1
- package/lib/internal/template/help-panel/styles.css.js +4 -4
- package/lib/internal/template/help-panel/styles.scoped.css +71 -72
- package/lib/internal/template/help-panel/styles.selectors.js +4 -4
- package/lib/internal/template/internal/base-component/styles.scoped.css +11 -26
- package/lib/internal/template/internal/components/token-list/styles.css.js +9 -9
- package/lib/internal/template/internal/components/token-list/styles.scoped.css +22 -22
- package/lib/internal/template/internal/components/token-list/styles.selectors.js +9 -9
- package/lib/internal/template/internal/context/link-default-variant-context.d.ts +6 -0
- package/lib/internal/template/internal/context/link-default-variant-context.d.ts.map +1 -0
- package/lib/internal/template/internal/context/link-default-variant-context.js +7 -0
- package/lib/internal/template/internal/context/link-default-variant-context.js.map +1 -0
- package/lib/internal/template/internal/environment.js +1 -1
- package/lib/internal/template/internal/environment.json +1 -1
- package/lib/internal/template/internal/generated/theming/index.cjs +0 -40
- package/lib/internal/template/internal/generated/theming/index.js +0 -40
- package/lib/internal/template/link/index.d.ts.map +1 -1
- package/lib/internal/template/link/index.js +2 -2
- package/lib/internal/template/link/index.js.map +1 -1
- package/lib/internal/template/link/interfaces.d.ts +7 -0
- package/lib/internal/template/link/interfaces.d.ts.map +1 -1
- package/lib/internal/template/link/interfaces.js.map +1 -1
- package/lib/internal/template/link/internal.d.ts.map +1 -1
- package/lib/internal/template/link/internal.js +4 -1
- package/lib/internal/template/link/internal.js.map +1 -1
- package/lib/internal/template/link/styles.css.js +20 -20
- package/lib/internal/template/link/styles.scoped.css +91 -90
- package/lib/internal/template/link/styles.selectors.js +20 -20
- package/lib/internal/template/popover/internal.d.ts.map +1 -1
- package/lib/internal/template/popover/internal.js +3 -1
- package/lib/internal/template/popover/internal.js.map +1 -1
- package/lib/internal/template/table/internal.d.ts.map +1 -1
- package/lib/internal/template/table/internal.js +58 -56
- package/lib/internal/template/table/internal.js.map +1 -1
- package/lib/internal/template/tag-editor/styles.css.js +3 -3
- package/lib/internal/template/tag-editor/styles.scoped.css +12 -12
- package/lib/internal/template/tag-editor/styles.selectors.js +3 -3
- package/lib/internal/template/text-content/styles.css.js +1 -1
- package/lib/internal/template/text-content/styles.scoped.css +72 -74
- package/lib/internal/template/text-content/styles.selectors.js +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/congratulation-screen.js +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-detail-view/congratulation-screen.js.map +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js +1 -1
- package/lib/internal/template/tutorial-panel/components/tutorial-list/index.js.map +1 -1
- package/lib/internal/template/wizard/wizard-navigation.js +1 -1
- package/lib/internal/template/wizard/wizard-navigation.js.map +1 -1
- package/package.json +1 -1
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
text-decoration: map.get($variant, 'decoration');
|
|
20
20
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
21
21
|
text-decoration-color: map.get($variant, 'decoration-color');
|
|
22
|
+
text-decoration-thickness: map.get($variant, 'decoration-thickness');
|
|
22
23
|
|
|
23
24
|
@include styles.with-motion {
|
|
24
25
|
transition-property: color, text-decoration;
|
|
@@ -44,6 +45,7 @@
|
|
|
44
45
|
text-decoration: underline;
|
|
45
46
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
46
47
|
text-decoration-color: map.get($variant, 'decoration-color-hover');
|
|
48
|
+
text-decoration-thickness: map.get($variant, 'decoration-thickness');
|
|
47
49
|
}
|
|
48
50
|
}
|
|
49
51
|
|
|
@@ -22,11 +22,11 @@ $link-variants: (
|
|
|
22
22
|
'text-color-default': awsui.$color-text-link-default,
|
|
23
23
|
'text-color-hover': awsui.$color-text-link-hover,
|
|
24
24
|
'text-color-active': awsui.$color-text-link-hover,
|
|
25
|
-
'font-weight':
|
|
26
|
-
'decoration':
|
|
27
|
-
'decoration-color':
|
|
25
|
+
'font-weight': inherit,
|
|
26
|
+
'decoration': underline,
|
|
27
|
+
'decoration-color': currentColor,
|
|
28
28
|
'decoration-color-hover': currentColor,
|
|
29
|
-
'letter-spacing':
|
|
29
|
+
'letter-spacing': normal,
|
|
30
30
|
),
|
|
31
31
|
'info': (
|
|
32
32
|
'text-color-default': awsui.$color-text-link-default,
|
|
@@ -43,9 +43,10 @@ $link-variants: (
|
|
|
43
43
|
'text-color-hover': awsui.$color-text-link-hover,
|
|
44
44
|
'text-color-active': awsui.$color-text-link-hover,
|
|
45
45
|
'font-weight': awsui.$font-box-value-large-weight,
|
|
46
|
-
'decoration':
|
|
47
|
-
'decoration-color':
|
|
46
|
+
'decoration': underline,
|
|
47
|
+
'decoration-color': currentColor,
|
|
48
48
|
'decoration-color-hover': currentColor,
|
|
49
|
+
'decoration-thickness': 0.3rem,
|
|
49
50
|
),
|
|
50
51
|
'top-navigation': (
|
|
51
52
|
'text-color-default': awsui.$color-text-interactive-default,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.d.ts","sourceRoot":"lib/default/","sources":["alert/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAYtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.d.ts","sourceRoot":"lib/default/","sources":["alert/internal.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAiB,MAAM,OAAO,CAAC;AAYtC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,0BAA0B,EAAE,MAAM,sCAAsC,CAAC;AAgBlF,QAAA,MAAM,aAAa;;qEA8FlB,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -15,6 +15,7 @@ import useForwardFocus from '../internal/hooks/forward-focus';
|
|
|
15
15
|
import { useMergeRefs } from '../internal/hooks/use-merge-refs';
|
|
16
16
|
import { useInternalI18n } from '../i18n/context';
|
|
17
17
|
import { DATA_ATTR_ANALYTICS_ALERT } from '../internal/analytics/selectors';
|
|
18
|
+
import { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';
|
|
18
19
|
const typeToIcon = {
|
|
19
20
|
error: 'status-negative',
|
|
20
21
|
warning: 'status-warning',
|
|
@@ -37,19 +38,20 @@ const InternalAlert = React.forwardRef((_a, ref) => {
|
|
|
37
38
|
[DATA_ATTR_ANALYTICS_ALERT]: type,
|
|
38
39
|
};
|
|
39
40
|
return (React.createElement("div", Object.assign({}, baseProps, analyticsAttributes, { "aria-hidden": !visible, className: clsx(styles.root, { [styles.hidden]: !visible }, baseProps.className, styles[`breakpoint-${breakpoint}`]), ref: mergedRef }),
|
|
40
|
-
React.createElement(
|
|
41
|
-
React.createElement(
|
|
42
|
-
React.createElement("div", { className: styles[
|
|
43
|
-
React.createElement("div", { className: styles['alert-
|
|
44
|
-
React.createElement("div", { className:
|
|
45
|
-
React.createElement(
|
|
46
|
-
|
|
47
|
-
React.createElement("div", { className:
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
React.createElement(
|
|
41
|
+
React.createElement(LinkDefaultVariantContext.Provider, { value: { defaultVariant: 'primary' } },
|
|
42
|
+
React.createElement(VisualContext, { contextName: "alert" },
|
|
43
|
+
React.createElement("div", { className: clsx(styles.alert, styles[`type-${type}`], styles[`icon-size-${size}`]) },
|
|
44
|
+
React.createElement("div", { className: styles['alert-mobile-block'] },
|
|
45
|
+
React.createElement("div", { className: styles['alert-focus-wrapper'], tabIndex: -1, ref: focusRef },
|
|
46
|
+
React.createElement("div", { className: clsx(styles.icon, styles.text), role: "img", "aria-label": statusIconAriaLabel },
|
|
47
|
+
React.createElement(InternalIcon, { name: typeToIcon[type], size: size })),
|
|
48
|
+
React.createElement("div", { className: styles.body },
|
|
49
|
+
React.createElement("div", { className: clsx(styles.message, styles.text) },
|
|
50
|
+
header && React.createElement("div", { className: styles.header }, header),
|
|
51
|
+
React.createElement("div", { className: styles.content }, children)))),
|
|
52
|
+
hasAction && React.createElement("div", { className: styles.action }, actionButton)),
|
|
53
|
+
dismissible && (React.createElement("div", { className: styles.dismiss },
|
|
54
|
+
React.createElement(InternalButton, { className: styles['dismiss-button'], variant: "icon", iconName: "close", formAction: "none", ariaLabel: i18n('dismissAriaLabel', dismissAriaLabel), onClick: () => fireNonCancelableEvent(onDismiss) }))))))));
|
|
53
55
|
});
|
|
54
56
|
export default InternalAlert;
|
|
55
57
|
//# sourceMappingURL=internal.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["alert/internal.tsx"],"names":[],"mappings":";AAAA,qEAAqE;AACrE,sCAAsC;AACtC,OAAO,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AACtC,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD,OAAO,YAAY,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,aAAa,MAAM,uCAAuC,CAAC;AAClE,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qCAAqC,CAAC;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,mCAAmC,CAAC;AACrE,OAAO,eAAe,MAAM,iCAAiC,CAAC;AAG9D,OAAO,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAC;AAEhE,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"internal.js","sourceRoot":"lib/default/","sources":["alert/internal.tsx"],"names":[],"mappings":"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","sourcesContent":["// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.\n// SPDX-License-Identifier: Apache-2.0\nimport React, { useRef } from 'react';\nimport clsx from 'clsx';\nimport { InternalButton } from '../button/internal';\nimport { IconProps } from '../icon/interfaces';\nimport InternalIcon from '../icon/internal';\nimport { getBaseProps } from '../internal/base-component';\nimport VisualContext from '../internal/components/visual-context';\nimport styles from './styles.css.js';\nimport { fireNonCancelableEvent } from '../internal/events';\nimport { useContainerBreakpoints } from '../internal/hooks/container-queries';\nimport { useVisualRefresh } from '../internal/hooks/use-visual-mode';\nimport useForwardFocus from '../internal/hooks/forward-focus';\nimport { AlertProps } from './interfaces';\nimport { InternalBaseComponentProps } from '../internal/hooks/use-base-component';\nimport { useMergeRefs } from '../internal/hooks/use-merge-refs';\nimport { SomeRequired } from '../internal/types';\nimport { useInternalI18n } from '../i18n/context';\nimport { DATA_ATTR_ANALYTICS_ALERT } from '../internal/analytics/selectors';\nimport { LinkDefaultVariantContext } from '../internal/context/link-default-variant-context';\n\nconst typeToIcon: Record<AlertProps.Type, IconProps['name']> = {\n error: 'status-negative',\n warning: 'status-warning',\n success: 'status-positive',\n info: 'status-info',\n};\n\ntype InternalAlertProps = SomeRequired<AlertProps, 'type'> & InternalBaseComponentProps;\n\nconst InternalAlert = React.forwardRef(\n (\n {\n type,\n statusIconAriaLabel,\n visible = true,\n dismissible,\n dismissAriaLabel,\n children,\n header,\n buttonText,\n action,\n onDismiss,\n onButtonClick,\n __internalRootRef = null,\n ...rest\n }: InternalAlertProps,\n ref: React.Ref<AlertProps.Ref>\n ) => {\n const baseProps = getBaseProps(rest);\n const i18n = useInternalI18n('alert');\n\n const focusRef = useRef<HTMLDivElement>(null);\n useForwardFocus(ref, focusRef);\n\n const [breakpoint, breakpointRef] = useContainerBreakpoints(['xs']);\n const mergedRef = useMergeRefs(breakpointRef, __internalRootRef);\n\n const isRefresh = useVisualRefresh();\n const size = isRefresh ? 'normal' : header && children ? 'big' : 'normal';\n\n const actionButton = action || (\n <InternalButton\n className={styles['action-button']}\n onClick={() => fireNonCancelableEvent(onButtonClick)}\n formAction=\"none\"\n >\n {buttonText}\n </InternalButton>\n );\n\n const hasAction = Boolean(action || buttonText);\n const analyticsAttributes = {\n [DATA_ATTR_ANALYTICS_ALERT]: type,\n };\n\n return (\n <div\n {...baseProps}\n {...analyticsAttributes}\n aria-hidden={!visible}\n className={clsx(\n styles.root,\n { [styles.hidden]: !visible },\n baseProps.className,\n styles[`breakpoint-${breakpoint}`]\n )}\n ref={mergedRef}\n >\n <LinkDefaultVariantContext.Provider value={{ defaultVariant: 'primary' }}>\n <VisualContext contextName=\"alert\">\n <div className={clsx(styles.alert, styles[`type-${type}`], styles[`icon-size-${size}`])}>\n <div className={styles['alert-mobile-block']}>\n <div className={styles['alert-focus-wrapper']} tabIndex={-1} ref={focusRef}>\n <div className={clsx(styles.icon, styles.text)} role=\"img\" aria-label={statusIconAriaLabel}>\n <InternalIcon name={typeToIcon[type]} size={size} />\n </div>\n <div className={styles.body}>\n <div className={clsx(styles.message, styles.text)}>\n {header && <div className={styles.header}>{header}</div>}\n <div className={styles.content}>{children}</div>\n </div>\n </div>\n </div>\n {hasAction && <div className={styles.action}>{actionButton}</div>}\n </div>\n {dismissible && (\n <div className={styles.dismiss}>\n <InternalButton\n className={styles['dismiss-button']}\n variant=\"icon\"\n iconName=\"close\"\n formAction=\"none\"\n ariaLabel={i18n('dismissAriaLabel', dismissAriaLabel)}\n onClick={() => fireNonCancelableEvent(onDismiss)}\n />\n </div>\n )}\n </div>\n </VisualContext>\n </LinkDefaultVariantContext.Provider>\n </div>\n );\n }\n);\n\nexport default InternalAlert;\n"]}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"arrow": "
|
|
5
|
-
"arrow-outer": "awsui_arrow-
|
|
6
|
-
"arrow-inner": "awsui_arrow-
|
|
7
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
8
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
10
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
12
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
14
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
15
|
-
"annotation": "
|
|
16
|
-
"next-button": "awsui_next-
|
|
17
|
-
"previous-button": "awsui_previous-
|
|
18
|
-
"finish-button": "awsui_finish-
|
|
19
|
-
"header": "
|
|
20
|
-
"step-counter-content": "awsui_step-counter-
|
|
21
|
-
"content": "
|
|
22
|
-
"description": "
|
|
23
|
-
"actionBar": "
|
|
24
|
-
"stepCounter": "
|
|
25
|
-
"divider": "
|
|
26
|
-
"hotspot": "
|
|
27
|
-
"icon": "
|
|
4
|
+
"arrow": "awsui_arrow_1hpp3_117o5_93",
|
|
5
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_117o5_97",
|
|
6
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_117o5_97",
|
|
7
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_117o5_128",
|
|
8
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_117o5_128",
|
|
9
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_117o5_131",
|
|
10
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_117o5_131",
|
|
11
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_117o5_134",
|
|
12
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_117o5_134",
|
|
13
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_117o5_137",
|
|
14
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_117o5_137",
|
|
15
|
+
"annotation": "awsui_annotation_1hpp3_117o5_145",
|
|
16
|
+
"next-button": "awsui_next-button_1hpp3_117o5_146",
|
|
17
|
+
"previous-button": "awsui_previous-button_1hpp3_117o5_147",
|
|
18
|
+
"finish-button": "awsui_finish-button_1hpp3_117o5_148",
|
|
19
|
+
"header": "awsui_header_1hpp3_117o5_149",
|
|
20
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_117o5_150",
|
|
21
|
+
"content": "awsui_content_1hpp3_117o5_151",
|
|
22
|
+
"description": "awsui_description_1hpp3_117o5_155",
|
|
23
|
+
"actionBar": "awsui_actionBar_1hpp3_117o5_160",
|
|
24
|
+
"stepCounter": "awsui_stepCounter_1hpp3_117o5_167",
|
|
25
|
+
"divider": "awsui_divider_1hpp3_117o5_171",
|
|
26
|
+
"hotspot": "awsui_hotspot_1hpp3_117o5_175",
|
|
27
|
+
"icon": "awsui_icon_1hpp3_117o5_215"
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -90,11 +90,11 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.
|
|
93
|
+
.awsui_arrow_1hpp3_117o5_93:not(#\9) {
|
|
94
94
|
width: 20px;
|
|
95
95
|
height: 10px;
|
|
96
96
|
}
|
|
97
|
-
.awsui_arrow-
|
|
97
|
+
.awsui_arrow-outer_1hpp3_117o5_97:not(#\9), .awsui_arrow-inner_1hpp3_117o5_97:not(#\9) {
|
|
98
98
|
position: absolute;
|
|
99
99
|
overflow: hidden;
|
|
100
100
|
width: 20px;
|
|
@@ -102,7 +102,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
top: 0;
|
|
103
103
|
left: 0;
|
|
104
104
|
}
|
|
105
|
-
.awsui_arrow-
|
|
105
|
+
.awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after, .awsui_arrow-inner_1hpp3_117o5_97:not(#\9)::after {
|
|
106
106
|
content: "";
|
|
107
107
|
box-sizing: border-box;
|
|
108
108
|
display: inline-block;
|
|
@@ -115,26 +115,26 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
115
115
|
transform: rotate(45deg);
|
|
116
116
|
transform-origin: 0 100%;
|
|
117
117
|
}
|
|
118
|
-
.awsui_arrow-
|
|
118
|
+
.awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after {
|
|
119
119
|
background-color: var(--color-border-status-info-jltw90, #0073bb);
|
|
120
120
|
}
|
|
121
|
-
.awsui_arrow-
|
|
121
|
+
.awsui_arrow-inner_1hpp3_117o5_97:not(#\9) {
|
|
122
122
|
top: 2px;
|
|
123
123
|
}
|
|
124
|
-
.awsui_arrow-
|
|
124
|
+
.awsui_arrow-inner_1hpp3_117o5_97:not(#\9)::after {
|
|
125
125
|
border-radius: 1px 0 0 0;
|
|
126
126
|
background-color: var(--color-background-status-info-32evqg, #f1faff);
|
|
127
127
|
}
|
|
128
|
-
.awsui_arrow-position-right-
|
|
128
|
+
.awsui_arrow-position-right-top_1hpp3_117o5_128 > .awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after, .awsui_arrow-position-right-bottom_1hpp3_117o5_128 > .awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after {
|
|
129
129
|
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-qq7qt1, rgba(0, 28, 36, 0.5));
|
|
130
130
|
}
|
|
131
|
-
.awsui_arrow-position-left-
|
|
131
|
+
.awsui_arrow-position-left-top_1hpp3_117o5_131 > .awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after, .awsui_arrow-position-left-bottom_1hpp3_117o5_131 > .awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after {
|
|
132
132
|
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-qq7qt1, rgba(0, 28, 36, 0.5));
|
|
133
133
|
}
|
|
134
|
-
.awsui_arrow-position-top-
|
|
134
|
+
.awsui_arrow-position-top-center_1hpp3_117o5_134 > .awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after, .awsui_arrow-position-top-responsive_1hpp3_117o5_134 > .awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after {
|
|
135
135
|
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-qq7qt1, rgba(0, 28, 36, 0.5));
|
|
136
136
|
}
|
|
137
|
-
.awsui_arrow-position-bottom-
|
|
137
|
+
.awsui_arrow-position-bottom-center_1hpp3_117o5_137 > .awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after, .awsui_arrow-position-bottom-responsive_1hpp3_117o5_137 > .awsui_arrow-outer_1hpp3_117o5_97:not(#\9)::after {
|
|
138
138
|
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-qq7qt1, rgba(0, 28, 36, 0.5));
|
|
139
139
|
}
|
|
140
140
|
|
|
@@ -142,37 +142,37 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
142
142
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
143
143
|
SPDX-License-Identifier: Apache-2.0
|
|
144
144
|
*/
|
|
145
|
-
.
|
|
146
|
-
.awsui_next-
|
|
147
|
-
.awsui_previous-
|
|
148
|
-
.awsui_finish-
|
|
149
|
-
.
|
|
150
|
-
.awsui_step-counter-
|
|
151
|
-
.
|
|
145
|
+
.awsui_annotation_1hpp3_117o5_145:not(#\9),
|
|
146
|
+
.awsui_next-button_1hpp3_117o5_146:not(#\9),
|
|
147
|
+
.awsui_previous-button_1hpp3_117o5_147:not(#\9),
|
|
148
|
+
.awsui_finish-button_1hpp3_117o5_148:not(#\9),
|
|
149
|
+
.awsui_header_1hpp3_117o5_149:not(#\9),
|
|
150
|
+
.awsui_step-counter-content_1hpp3_117o5_150:not(#\9),
|
|
151
|
+
.awsui_content_1hpp3_117o5_151:not(#\9) {
|
|
152
152
|
/* used in test-utils */
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
.
|
|
155
|
+
.awsui_description_1hpp3_117o5_155:not(#\9) {
|
|
156
156
|
overflow: hidden;
|
|
157
157
|
margin-top: var(--space-xxs-1wmjb0, 4px);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
.
|
|
160
|
+
.awsui_actionBar_1hpp3_117o5_160:not(#\9) {
|
|
161
161
|
display: flex;
|
|
162
162
|
justify-content: space-between;
|
|
163
163
|
align-items: center;
|
|
164
164
|
position: relative;
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
.
|
|
167
|
+
.awsui_stepCounter_1hpp3_117o5_167:not(#\9) {
|
|
168
168
|
margin-right: 20px;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
.
|
|
171
|
+
.awsui_divider_1hpp3_117o5_171:not(#\9) {
|
|
172
172
|
border-bottom: var(--border-divider-section-width-uu4597, 1px) solid var(--color-border-divider-default-z9h069, #eaeded);
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
.
|
|
175
|
+
.awsui_hotspot_1hpp3_117o5_175:not(#\9) {
|
|
176
176
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
177
177
|
border-collapse: separate;
|
|
178
178
|
border-spacing: 0;
|
|
@@ -217,17 +217,17 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
217
217
|
width: 16px;
|
|
218
218
|
height: 16px;
|
|
219
219
|
}
|
|
220
|
-
.
|
|
220
|
+
.awsui_hotspot_1hpp3_117o5_175:not(#\9):focus {
|
|
221
221
|
outline: none;
|
|
222
222
|
}
|
|
223
|
-
body[data-awsui-focus-visible=true] .
|
|
223
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_117o5_175:not(#\9):focus {
|
|
224
224
|
position: relative;
|
|
225
225
|
}
|
|
226
|
-
body[data-awsui-focus-visible=true] .
|
|
226
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_117o5_175:not(#\9):focus {
|
|
227
227
|
outline: 2px dotted transparent;
|
|
228
228
|
outline-offset: calc(2px - 1px);
|
|
229
229
|
}
|
|
230
|
-
body[data-awsui-focus-visible=true] .
|
|
230
|
+
body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_117o5_175:not(#\9):focus::before {
|
|
231
231
|
content: " ";
|
|
232
232
|
display: block;
|
|
233
233
|
position: absolute;
|
|
@@ -238,13 +238,13 @@ body[data-awsui-focus-visible=true] .awsui_hotspot_1hpp3_1lcx3_175:not(#\9):focu
|
|
|
238
238
|
border-radius: var(--border-radius-control-circular-focus-ring-fhe2ux, 50%);
|
|
239
239
|
box-shadow: 0 0 0 2px var(--color-border-item-focused-gjqsnp, #0073bb);
|
|
240
240
|
}
|
|
241
|
-
.
|
|
241
|
+
.awsui_hotspot_1hpp3_117o5_175 > .awsui_icon_1hpp3_117o5_215:not(#\9) {
|
|
242
242
|
position: relative;
|
|
243
243
|
stroke: var(--color-text-link-default-mwf535, #0073bb);
|
|
244
244
|
}
|
|
245
|
-
.
|
|
246
|
-
stroke: var(--color-text-link-hover-
|
|
245
|
+
.awsui_hotspot_1hpp3_117o5_175:not(#\9):hover > .awsui_icon_1hpp3_117o5_215 {
|
|
246
|
+
stroke: var(--color-text-link-hover-162q5i, #0a4a74);
|
|
247
247
|
}
|
|
248
|
-
.
|
|
248
|
+
.awsui_hotspot_1hpp3_117o5_175:not(#\9):active > .awsui_icon_1hpp3_117o5_215 {
|
|
249
249
|
stroke: var(--color-text-link-default-mwf535, #0073bb);
|
|
250
250
|
}
|
|
@@ -2,29 +2,29 @@
|
|
|
2
2
|
// es-module interop with Babel and Typescript
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
module.exports.default = {
|
|
5
|
-
"arrow": "
|
|
6
|
-
"arrow-outer": "awsui_arrow-
|
|
7
|
-
"arrow-inner": "awsui_arrow-
|
|
8
|
-
"arrow-position-right-top": "awsui_arrow-position-right-
|
|
9
|
-
"arrow-position-right-bottom": "awsui_arrow-position-right-
|
|
10
|
-
"arrow-position-left-top": "awsui_arrow-position-left-
|
|
11
|
-
"arrow-position-left-bottom": "awsui_arrow-position-left-
|
|
12
|
-
"arrow-position-top-center": "awsui_arrow-position-top-
|
|
13
|
-
"arrow-position-top-responsive": "awsui_arrow-position-top-
|
|
14
|
-
"arrow-position-bottom-center": "awsui_arrow-position-bottom-
|
|
15
|
-
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-
|
|
16
|
-
"annotation": "
|
|
17
|
-
"next-button": "awsui_next-
|
|
18
|
-
"previous-button": "awsui_previous-
|
|
19
|
-
"finish-button": "awsui_finish-
|
|
20
|
-
"header": "
|
|
21
|
-
"step-counter-content": "awsui_step-counter-
|
|
22
|
-
"content": "
|
|
23
|
-
"description": "
|
|
24
|
-
"actionBar": "
|
|
25
|
-
"stepCounter": "
|
|
26
|
-
"divider": "
|
|
27
|
-
"hotspot": "
|
|
28
|
-
"icon": "
|
|
5
|
+
"arrow": "awsui_arrow_1hpp3_117o5_93",
|
|
6
|
+
"arrow-outer": "awsui_arrow-outer_1hpp3_117o5_97",
|
|
7
|
+
"arrow-inner": "awsui_arrow-inner_1hpp3_117o5_97",
|
|
8
|
+
"arrow-position-right-top": "awsui_arrow-position-right-top_1hpp3_117o5_128",
|
|
9
|
+
"arrow-position-right-bottom": "awsui_arrow-position-right-bottom_1hpp3_117o5_128",
|
|
10
|
+
"arrow-position-left-top": "awsui_arrow-position-left-top_1hpp3_117o5_131",
|
|
11
|
+
"arrow-position-left-bottom": "awsui_arrow-position-left-bottom_1hpp3_117o5_131",
|
|
12
|
+
"arrow-position-top-center": "awsui_arrow-position-top-center_1hpp3_117o5_134",
|
|
13
|
+
"arrow-position-top-responsive": "awsui_arrow-position-top-responsive_1hpp3_117o5_134",
|
|
14
|
+
"arrow-position-bottom-center": "awsui_arrow-position-bottom-center_1hpp3_117o5_137",
|
|
15
|
+
"arrow-position-bottom-responsive": "awsui_arrow-position-bottom-responsive_1hpp3_117o5_137",
|
|
16
|
+
"annotation": "awsui_annotation_1hpp3_117o5_145",
|
|
17
|
+
"next-button": "awsui_next-button_1hpp3_117o5_146",
|
|
18
|
+
"previous-button": "awsui_previous-button_1hpp3_117o5_147",
|
|
19
|
+
"finish-button": "awsui_finish-button_1hpp3_117o5_148",
|
|
20
|
+
"header": "awsui_header_1hpp3_117o5_149",
|
|
21
|
+
"step-counter-content": "awsui_step-counter-content_1hpp3_117o5_150",
|
|
22
|
+
"content": "awsui_content_1hpp3_117o5_151",
|
|
23
|
+
"description": "awsui_description_1hpp3_117o5_155",
|
|
24
|
+
"actionBar": "awsui_actionBar_1hpp3_117o5_160",
|
|
25
|
+
"stepCounter": "awsui_stepCounter_1hpp3_117o5_167",
|
|
26
|
+
"divider": "awsui_divider_1hpp3_117o5_171",
|
|
27
|
+
"hotspot": "awsui_hotspot_1hpp3_117o5_175",
|
|
28
|
+
"icon": "awsui_icon_1hpp3_117o5_215"
|
|
29
29
|
};
|
|
30
30
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
|
|
2
2
|
import './styles.scoped.css';
|
|
3
3
|
export default {
|
|
4
|
-
"empty-appear": "awsui_empty-
|
|
5
|
-
"awsui-motion-fade-in": "awsui_awsui-motion-fade-
|
|
6
|
-
"root": "
|
|
7
|
-
"empty": "
|
|
8
|
-
"row": "
|
|
9
|
-
"row-control": "awsui_row-
|
|
10
|
-
"field": "
|
|
11
|
-
"add-button": "awsui_add-
|
|
12
|
-
"remove-button": "awsui_remove-
|
|
13
|
-
"button-container-haslabel": "awsui_button-container-
|
|
14
|
-
"button-container-nolabel": "awsui_button-container-
|
|
15
|
-
"divider": "
|
|
16
|
-
"additional-info": "awsui_additional-
|
|
17
|
-
"right-align": "awsui_right-
|
|
4
|
+
"empty-appear": "awsui_empty-appear_n4qlp_3gfmq_93",
|
|
5
|
+
"awsui-motion-fade-in": "awsui_awsui-motion-fade-in_n4qlp_3gfmq_1",
|
|
6
|
+
"root": "awsui_root_n4qlp_3gfmq_119",
|
|
7
|
+
"empty": "awsui_empty_n4qlp_3gfmq_93",
|
|
8
|
+
"row": "awsui_row_n4qlp_3gfmq_139",
|
|
9
|
+
"row-control": "awsui_row-control_n4qlp_3gfmq_143",
|
|
10
|
+
"field": "awsui_field_n4qlp_3gfmq_147",
|
|
11
|
+
"add-button": "awsui_add-button_n4qlp_3gfmq_151",
|
|
12
|
+
"remove-button": "awsui_remove-button_n4qlp_3gfmq_155",
|
|
13
|
+
"button-container-haslabel": "awsui_button-container-haslabel_n4qlp_3gfmq_159",
|
|
14
|
+
"button-container-nolabel": "awsui_button-container-nolabel_n4qlp_3gfmq_163",
|
|
15
|
+
"divider": "awsui_divider_n4qlp_3gfmq_167",
|
|
16
|
+
"additional-info": "awsui_additional-info_n4qlp_3gfmq_171",
|
|
17
|
+
"right-align": "awsui_right-align_n4qlp_3gfmq_217"
|
|
18
18
|
};
|
|
19
19
|
|
|
@@ -90,10 +90,10 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
90
90
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
91
91
|
SPDX-License-Identifier: Apache-2.0
|
|
92
92
|
*/
|
|
93
|
-
.awsui_empty-
|
|
94
|
-
animation: awsui_awsui-motion-fade-
|
|
93
|
+
.awsui_empty-appear_n4qlp_3gfmq_93:not(#\9) {
|
|
94
|
+
animation: awsui_awsui-motion-fade-in_n4qlp_3gfmq_1 var(--motion-duration-transition-show-paced-iqbq6k, 180ms) var(--motion-easing-transition-show-paced-kq11pq, ease-out);
|
|
95
95
|
}
|
|
96
|
-
@keyframes awsui_awsui-motion-fade-
|
|
96
|
+
@keyframes awsui_awsui-motion-fade-in_n4qlp_3gfmq_1 {
|
|
97
97
|
from {
|
|
98
98
|
opacity: 0.2;
|
|
99
99
|
}
|
|
@@ -102,12 +102,12 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
@media (prefers-reduced-motion: reduce) {
|
|
105
|
-
.awsui_empty-
|
|
105
|
+
.awsui_empty-appear_n4qlp_3gfmq_93:not(#\9) {
|
|
106
106
|
animation: none;
|
|
107
107
|
transition: none;
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
-
.awsui-motion-disabled .awsui_empty-
|
|
110
|
+
.awsui-motion-disabled .awsui_empty-appear_n4qlp_3gfmq_93:not(#\9), .awsui-mode-entering .awsui_empty-appear_n4qlp_3gfmq_93:not(#\9) {
|
|
111
111
|
animation: none;
|
|
112
112
|
transition: none;
|
|
113
113
|
}
|
|
@@ -116,7 +116,7 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
116
116
|
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
117
117
|
SPDX-License-Identifier: Apache-2.0
|
|
118
118
|
*/
|
|
119
|
-
.
|
|
119
|
+
.awsui_root_n4qlp_3gfmq_119:not(#\9) {
|
|
120
120
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
121
121
|
border-collapse: separate;
|
|
122
122
|
border-spacing: 0;
|
|
@@ -156,45 +156,45 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
156
156
|
display: block;
|
|
157
157
|
}
|
|
158
158
|
|
|
159
|
-
.
|
|
159
|
+
.awsui_empty_n4qlp_3gfmq_93:not(#\9) {
|
|
160
160
|
font-size: var(--font-body-m-size-q2y4dq, 14px);
|
|
161
161
|
line-height: var(--font-body-m-line-height-7pedlt, 22px);
|
|
162
162
|
color: var(--color-text-empty-yt2fto, #687078);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.
|
|
165
|
+
.awsui_row_n4qlp_3gfmq_139:not(#\9) {
|
|
166
166
|
/* used in test-utils */
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
.awsui_row-
|
|
169
|
+
.awsui_row-control_n4qlp_3gfmq_143:not(#\9) {
|
|
170
170
|
/* used in test-utils */
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
.
|
|
173
|
+
.awsui_field_n4qlp_3gfmq_147:not(#\9) {
|
|
174
174
|
/* used in test-utils */
|
|
175
175
|
}
|
|
176
176
|
|
|
177
|
-
.awsui_add-
|
|
177
|
+
.awsui_add-button_n4qlp_3gfmq_151:not(#\9) {
|
|
178
178
|
/* used in test-utils */
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
.awsui_remove-
|
|
181
|
+
.awsui_remove-button_n4qlp_3gfmq_155:not(#\9) {
|
|
182
182
|
/* used in test-utils */
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
.awsui_button-container-
|
|
185
|
+
.awsui_button-container-haslabel_n4qlp_3gfmq_159:not(#\9) {
|
|
186
186
|
padding-top: calc(var(--space-xxs-1wmjb0, 4px) + var(--font-body-m-line-height-7pedlt, 22px));
|
|
187
187
|
}
|
|
188
188
|
|
|
189
|
-
.awsui_button-container-
|
|
189
|
+
.awsui_button-container-nolabel_n4qlp_3gfmq_163:not(#\9) {
|
|
190
190
|
padding-top: var(--space-xxs-1wmjb0, 4px);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
.
|
|
193
|
+
.awsui_divider_n4qlp_3gfmq_167:not(#\9) {
|
|
194
194
|
border-bottom: var(--border-divider-section-width-uu4597, 1px) solid var(--color-border-divider-default-z9h069, #eaeded);
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
.awsui_additional-
|
|
197
|
+
.awsui_additional-info_n4qlp_3gfmq_171:not(#\9) {
|
|
198
198
|
color: var(--color-text-form-secondary-44s9zq, #687078);
|
|
199
199
|
font-size: var(--font-body-s-size-wofdyf, 12px);
|
|
200
200
|
line-height: var(--font-body-s-line-height-hkht1z, 16px);
|
|
@@ -204,45 +204,44 @@ surrounding text. (WCAG F73) https://www.w3.org/WAI/WCAG21/Techniques/failures/F
|
|
|
204
204
|
margin-top: var(--space-xxs-1wmjb0, 4px);
|
|
205
205
|
/* stylelint-disable-next-line selector-max-type */
|
|
206
206
|
}
|
|
207
|
-
.awsui_additional-
|
|
207
|
+
.awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9) {
|
|
208
208
|
color: var(--color-text-link-default-mwf535, #0073bb);
|
|
209
|
-
font-weight:
|
|
210
|
-
letter-spacing:
|
|
211
|
-
|
|
212
|
-
text-decoration: var(--font-link-primary-decoration-g53302, none);
|
|
209
|
+
font-weight: inherit;
|
|
210
|
+
letter-spacing: normal;
|
|
211
|
+
text-decoration: underline;
|
|
213
212
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
214
|
-
text-decoration-color:
|
|
213
|
+
text-decoration-color: currentColor;
|
|
215
214
|
transition-property: color, -webkit-text-decoration;
|
|
216
215
|
transition-property: color, text-decoration;
|
|
217
216
|
transition-property: color, text-decoration, -webkit-text-decoration;
|
|
218
217
|
transition-duration: var(--motion-duration-refresh-only-medium-1aoout, 165ms);
|
|
219
218
|
}
|
|
220
219
|
@media (prefers-reduced-motion: reduce) {
|
|
221
|
-
.awsui_additional-
|
|
220
|
+
.awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9) {
|
|
222
221
|
animation: none;
|
|
223
222
|
transition: none;
|
|
224
223
|
}
|
|
225
224
|
}
|
|
226
|
-
.awsui-motion-disabled .awsui_additional-
|
|
225
|
+
.awsui-motion-disabled .awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9), .awsui-mode-entering .awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9) {
|
|
227
226
|
animation: none;
|
|
228
227
|
transition: none;
|
|
229
228
|
}
|
|
230
|
-
.awsui_additional-
|
|
229
|
+
.awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9):hover {
|
|
231
230
|
cursor: pointer;
|
|
232
|
-
color: var(--color-text-link-hover-
|
|
231
|
+
color: var(--color-text-link-hover-162q5i, #0a4a74);
|
|
233
232
|
}
|
|
234
|
-
.awsui_additional-
|
|
233
|
+
.awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9):focus {
|
|
235
234
|
outline: none;
|
|
236
235
|
}
|
|
237
|
-
.awsui_additional-
|
|
238
|
-
color: var(--color-text-link-hover-
|
|
236
|
+
.awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9):active {
|
|
237
|
+
color: var(--color-text-link-hover-162q5i, #0a4a74);
|
|
239
238
|
}
|
|
240
|
-
.awsui_additional-
|
|
239
|
+
.awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9):active, .awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9):focus, .awsui_additional-info_n4qlp_3gfmq_171 > a:not(#\9):hover {
|
|
241
240
|
text-decoration: underline;
|
|
242
241
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
243
242
|
text-decoration-color: currentColor;
|
|
244
243
|
}
|
|
245
244
|
|
|
246
|
-
.awsui_right-
|
|
245
|
+
.awsui_right-align_n4qlp_3gfmq_217:not(#\9) {
|
|
247
246
|
float: right;
|
|
248
247
|
}
|