@cumulus-ui/components 0.5.3 → 0.5.5
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/dist/autosuggest/internal.d.ts +1 -1
- package/dist/autosuggest/internal.d.ts.map +1 -1
- package/dist/button-dropdown/internal.d.ts +1 -1
- package/dist/button-dropdown/internal.d.ts.map +1 -1
- package/dist/code-editor/styles.d.ts.map +1 -1
- package/dist/collection-preferences/styles.d.ts.map +1 -1
- package/dist/error-boundary/styles.d.ts +5 -0
- package/dist/error-boundary/styles.d.ts.map +1 -0
- package/dist/index.js +1485 -210
- package/dist/internal/styles/app-layout-visual-refresh.d.ts.map +1 -1
- package/dist/multiselect/internal.d.ts +1 -1
- package/dist/multiselect/internal.d.ts.map +1 -1
- package/dist/popover/styles.d.ts.map +1 -1
- package/dist/property-filter/internal.d.ts +1 -1
- package/dist/property-filter/internal.d.ts.map +1 -1
- package/dist/select/internal.d.ts +1 -1
- package/dist/select/internal.d.ts.map +1 -1
- package/dist/tooltip/internal.d.ts +2 -2
- package/dist/tooltip/internal.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5934,7 +5934,8 @@ customElements.define("cs-alert", CsAlert);
|
|
|
5934
5934
|
|
|
5935
5935
|
// src/tooltip/internal.ts
|
|
5936
5936
|
import { css as css45, html as html19, nothing as nothing6 } from "lit";
|
|
5937
|
-
import { property as property18,
|
|
5937
|
+
import { property as property18, state as state4 } from "lit/decorators.js";
|
|
5938
|
+
import { createRef, ref } from "lit/directives/ref.js";
|
|
5938
5939
|
|
|
5939
5940
|
// node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
5940
5941
|
var min = Math.min;
|
|
@@ -7155,6 +7156,8 @@ var CsTooltipInternal = class extends CsBaseElement {
|
|
|
7155
7156
|
this.position = "top";
|
|
7156
7157
|
this.content = "";
|
|
7157
7158
|
this._visible = false;
|
|
7159
|
+
this._triggerRef = createRef();
|
|
7160
|
+
this._bodyRef = createRef();
|
|
7158
7161
|
this._tooltipId = generateUniqueId("tooltip");
|
|
7159
7162
|
this._showTimeout = null;
|
|
7160
7163
|
this._show = () => {
|
|
@@ -7183,22 +7186,20 @@ var CsTooltipInternal = class extends CsBaseElement {
|
|
|
7183
7186
|
}
|
|
7184
7187
|
}
|
|
7185
7188
|
async updated() {
|
|
7186
|
-
if (this._visible && this.
|
|
7189
|
+
if (this._visible && this._triggerRef.value && this._bodyRef.value) {
|
|
7187
7190
|
await this._updatePosition();
|
|
7188
7191
|
}
|
|
7189
7192
|
}
|
|
7190
7193
|
async _updatePosition() {
|
|
7191
|
-
|
|
7194
|
+
const trigger = this._triggerRef.value;
|
|
7195
|
+
const body = this._bodyRef.value;
|
|
7196
|
+
if (!trigger || !body) return;
|
|
7192
7197
|
const placement = this.position;
|
|
7193
|
-
const { x, y } = await computePosition2(
|
|
7194
|
-
|
|
7195
|
-
|
|
7196
|
-
|
|
7197
|
-
|
|
7198
|
-
middleware: [offset2(8), flip2(), shift2({ padding: 8 })]
|
|
7199
|
-
}
|
|
7200
|
-
);
|
|
7201
|
-
Object.assign(this._bodyEl.style, {
|
|
7198
|
+
const { x, y } = await computePosition2(trigger, body, {
|
|
7199
|
+
placement,
|
|
7200
|
+
middleware: [offset2(8), flip2(), shift2({ padding: 8 })]
|
|
7201
|
+
});
|
|
7202
|
+
Object.assign(body.style, {
|
|
7202
7203
|
position: "absolute",
|
|
7203
7204
|
left: `${x}px`,
|
|
7204
7205
|
top: `${y}px`
|
|
@@ -7208,7 +7209,7 @@ var CsTooltipInternal = class extends CsBaseElement {
|
|
|
7208
7209
|
return html19`
|
|
7209
7210
|
<div class="tooltip--root">
|
|
7210
7211
|
<div
|
|
7211
|
-
|
|
7212
|
+
${ref(this._triggerRef)}
|
|
7212
7213
|
aria-describedby=${this._visible ? this._tooltipId : nothing6}
|
|
7213
7214
|
@mouseenter=${this._show}
|
|
7214
7215
|
@mouseleave=${this._hide}
|
|
@@ -7219,9 +7220,10 @@ var CsTooltipInternal = class extends CsBaseElement {
|
|
|
7219
7220
|
</div>
|
|
7220
7221
|
${this._visible && this.content ? html19`
|
|
7221
7222
|
<div
|
|
7222
|
-
|
|
7223
|
+
${ref(this._bodyRef)}
|
|
7223
7224
|
role="tooltip"
|
|
7224
7225
|
id=${this._tooltipId}
|
|
7226
|
+
style="position: absolute"
|
|
7225
7227
|
>
|
|
7226
7228
|
${this.content}
|
|
7227
7229
|
</div>
|
|
@@ -7239,12 +7241,6 @@ __decorateClass([
|
|
|
7239
7241
|
__decorateClass([
|
|
7240
7242
|
state4()
|
|
7241
7243
|
], CsTooltipInternal.prototype, "_visible", 2);
|
|
7242
|
-
__decorateClass([
|
|
7243
|
-
query(".tooltip-trigger")
|
|
7244
|
-
], CsTooltipInternal.prototype, "_triggerEl", 2);
|
|
7245
|
-
__decorateClass([
|
|
7246
|
-
query(".tooltip-body")
|
|
7247
|
-
], CsTooltipInternal.prototype, "_bodyEl", 2);
|
|
7248
7244
|
|
|
7249
7245
|
// src/tooltip/index.ts
|
|
7250
7246
|
var CsTooltip = class extends CsTooltipInternal {
|
|
@@ -7253,7 +7249,7 @@ customElements.define("cs-tooltip", CsTooltip);
|
|
|
7253
7249
|
|
|
7254
7250
|
// src/popover/internal.ts
|
|
7255
7251
|
import { css as css47, html as html20, nothing as nothing7 } from "lit";
|
|
7256
|
-
import { property as property19, state as state5, query
|
|
7252
|
+
import { property as property19, state as state5, query } from "lit/decorators.js";
|
|
7257
7253
|
import { classMap as classMap17 } from "lit/directives/class-map.js";
|
|
7258
7254
|
import { ifDefined as ifDefined10 } from "lit/directives/if-defined.js";
|
|
7259
7255
|
|
|
@@ -7272,6 +7268,59 @@ var componentStyles18 = css46`
|
|
|
7272
7268
|
inset-block-start: 0;
|
|
7273
7269
|
inset-inline-start: 0;
|
|
7274
7270
|
|
|
7271
|
+
}
|
|
7272
|
+
.arrow-outer::after, .arrow-inner::after {
|
|
7273
|
+
content: "";
|
|
7274
|
+
box-sizing: border-box;
|
|
7275
|
+
display: inline-block;
|
|
7276
|
+
position: absolute;
|
|
7277
|
+
border-start-start-radius: 2px;
|
|
7278
|
+
border-start-end-radius: 0;
|
|
7279
|
+
border-end-start-radius: 0;
|
|
7280
|
+
border-end-end-radius: 0;
|
|
7281
|
+
inset-block-end: 0;
|
|
7282
|
+
inset-inline-start: 0;
|
|
7283
|
+
inline-size: 14px;
|
|
7284
|
+
block-size: 14px;
|
|
7285
|
+
transform: rotate(45deg);
|
|
7286
|
+
transform-origin: 0 100%;
|
|
7287
|
+
}
|
|
7288
|
+
.arrow-outer:dir(rtl)::after, .arrow-inner:dir(rtl)::after {
|
|
7289
|
+
transform: rotate(-45deg);
|
|
7290
|
+
transform-origin: 100% 100%;
|
|
7291
|
+
}
|
|
7292
|
+
.arrow-outer::after {
|
|
7293
|
+
background-color: var(--color-border-popover-1ye6tz, #b4b4bb);
|
|
7294
|
+
}
|
|
7295
|
+
.arrow-inner {
|
|
7296
|
+
inset-block-start: calc(var(--border-width-popover-nflirh, 2px) + 1px);
|
|
7297
|
+
}
|
|
7298
|
+
.arrow-inner::after {
|
|
7299
|
+
border-start-start-radius: 1px;
|
|
7300
|
+
border-start-end-radius: 0;
|
|
7301
|
+
border-end-start-radius: 0;
|
|
7302
|
+
border-end-end-radius: 0;
|
|
7303
|
+
background-color: var(--color-background-popover-e20fy8, #ffffff);
|
|
7304
|
+
}
|
|
7305
|
+
.arrow-position-right-top > .arrow-outer::after, .arrow-position-right-bottom > .arrow-outer::after {
|
|
7306
|
+
box-shadow: -0.71px 0.71px 4px -2px var(--color-shadow-default-o7dmmm, rgba(15, 20, 26, 0.12));
|
|
7307
|
+
}
|
|
7308
|
+
.arrow-position-left-top > .arrow-outer::after, .arrow-position-left-bottom > .arrow-outer::after {
|
|
7309
|
+
box-shadow: 0.71px -0.71px 4px -2px var(--color-shadow-default-o7dmmm, rgba(15, 20, 26, 0.12));
|
|
7310
|
+
}
|
|
7311
|
+
.arrow-position-top-center > .arrow-outer::after, .arrow-position-top-right > .arrow-outer::after, .arrow-position-top-left > .arrow-outer::after, .arrow-position-top-responsive > .arrow-outer::after {
|
|
7312
|
+
box-shadow: -0.71px -0.71px 4px -2px var(--color-shadow-default-o7dmmm, rgba(15, 20, 26, 0.12));
|
|
7313
|
+
}
|
|
7314
|
+
.arrow-position-bottom-center > .arrow-outer::after, .arrow-position-bottom-right > .arrow-outer::after, .arrow-position-bottom-left > .arrow-outer::after, .arrow-position-bottom-responsive > .arrow-outer::after {
|
|
7315
|
+
box-shadow: 0.71px 0.71px 4px -2px var(--color-shadow-default-o7dmmm, rgba(15, 20, 26, 0.12));
|
|
7316
|
+
}
|
|
7317
|
+
|
|
7318
|
+
.arrow-variant-info > .arrow-outer::after {
|
|
7319
|
+
background-color: var(--color-border-status-info-qf6jok, #006ce0);
|
|
7320
|
+
}
|
|
7321
|
+
.arrow-variant-info > .arrow-inner::after {
|
|
7322
|
+
background-color: var(--color-background-status-info-sfobba, #f0fbff);
|
|
7323
|
+
}
|
|
7275
7324
|
|
|
7276
7325
|
.body {
|
|
7277
7326
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
@@ -7308,8 +7357,47 @@ var componentStyles18 = css46`
|
|
|
7308
7357
|
order: 1;
|
|
7309
7358
|
}
|
|
7310
7359
|
|
|
7311
|
-
.
|
|
7360
|
+
.header-row {
|
|
7361
|
+
margin-block-end: var(--space-xs-ymlm0b, 8px);
|
|
7362
|
+
}
|
|
7363
|
+
|
|
7364
|
+
.header {
|
|
7365
|
+
word-wrap: break-word;
|
|
7366
|
+
max-inline-size: 100%;
|
|
7367
|
+
overflow: hidden;
|
|
7368
|
+
font-family: var(--font-family-heading-ugphat, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
7369
|
+
font-size: var(--font-size-heading-xs-j8yzxv, 14px);
|
|
7370
|
+
line-height: var(--line-height-heading-xs-q9j004, 18px);
|
|
7371
|
+
letter-spacing: var(--letter-spacing-heading-xs-fgog7a, normal);
|
|
7372
|
+
font-weight: var(--font-weight-heading-xs-wqqpne, 700);
|
|
7373
|
+
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
7374
|
+
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
7375
|
+
flex: 1 1 auto;
|
|
7376
|
+
|
|
7377
|
+
}
|
|
7378
|
+
.header > h2 {
|
|
7379
|
+
font-family: var(--font-family-heading-ugphat, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
7380
|
+
font-size: var(--font-size-heading-xs-j8yzxv, 14px);
|
|
7381
|
+
line-height: var(--line-height-heading-xs-q9j004, 18px);
|
|
7382
|
+
letter-spacing: var(--letter-spacing-heading-xs-fgog7a, normal);
|
|
7383
|
+
font-weight: var(--font-weight-heading-xs-wqqpne, 700);
|
|
7384
|
+
-webkit-font-smoothing: var(--font-smoothing-webkit-oemolo, antialiased);
|
|
7385
|
+
-moz-osx-font-smoothing: var(--font-smoothing-moz-osx-hbm0aq, grayscale);
|
|
7386
|
+
display: inline;
|
|
7387
|
+
}
|
|
7312
7388
|
|
|
7389
|
+
.content {
|
|
7390
|
+
word-wrap: break-word;
|
|
7391
|
+
max-inline-size: 100%;
|
|
7392
|
+
overflow: hidden;
|
|
7393
|
+
word-break: normal;
|
|
7394
|
+
color: var(--color-text-body-secondary-yna5sb, #424650);
|
|
7395
|
+
flex: 1 1 auto;
|
|
7396
|
+
min-inline-size: 0;
|
|
7397
|
+
}
|
|
7398
|
+
.content-overflow-visible {
|
|
7399
|
+
overflow: visible;
|
|
7400
|
+
}
|
|
7313
7401
|
|
|
7314
7402
|
.container {
|
|
7315
7403
|
display: inline-block;
|
|
@@ -7400,6 +7488,64 @@ var componentStyles18 = css46`
|
|
|
7400
7488
|
transform: rotate(-90deg);
|
|
7401
7489
|
transform-origin: 0 100%;
|
|
7402
7490
|
|
|
7491
|
+
}
|
|
7492
|
+
.container-arrow-position-right-top:dir(rtl), .container-arrow-position-right-bottom:dir(rtl) {
|
|
7493
|
+
transform: rotate(90deg);
|
|
7494
|
+
transform-origin: 100% 100%;
|
|
7495
|
+
}
|
|
7496
|
+
.container-arrow-position-right-top {
|
|
7497
|
+
inset-block-start: calc(12px + 10px);
|
|
7498
|
+
inset-inline-start: 0;
|
|
7499
|
+
}
|
|
7500
|
+
.container-arrow-position-right-bottom {
|
|
7501
|
+
inset-block-end: 12px;
|
|
7502
|
+
inset-inline-start: 0;
|
|
7503
|
+
}
|
|
7504
|
+
.container-arrow-position-left-top, .container-arrow-position-left-bottom {
|
|
7505
|
+
transform: rotate(90deg);
|
|
7506
|
+
transform-origin: 100% 100%;
|
|
7507
|
+
|
|
7508
|
+
}
|
|
7509
|
+
.container-arrow-position-left-top:dir(rtl), .container-arrow-position-left-bottom:dir(rtl) {
|
|
7510
|
+
transform: rotate(-90deg);
|
|
7511
|
+
transform-origin: 0% 100%;
|
|
7512
|
+
}
|
|
7513
|
+
.container-arrow-position-left-top {
|
|
7514
|
+
inset-block-start: calc(12px + 10px);
|
|
7515
|
+
inset-inline-end: 0;
|
|
7516
|
+
}
|
|
7517
|
+
.container-arrow-position-left-bottom {
|
|
7518
|
+
inset-block-end: 12px;
|
|
7519
|
+
inset-inline-end: 0;
|
|
7520
|
+
}
|
|
7521
|
+
.container-arrow-position-top-center, .container-arrow-position-top-right, .container-arrow-position-top-left, .container-arrow-position-top-responsive {
|
|
7522
|
+
transform: rotate(180deg);
|
|
7523
|
+
transform-origin: 50% 50%;
|
|
7524
|
+
}
|
|
7525
|
+
.container-arrow-position-top-center {
|
|
7526
|
+
inset-block-end: -10px;
|
|
7527
|
+
inset-inline-start: calc(50% - 10px);
|
|
7528
|
+
}
|
|
7529
|
+
.container-arrow-position-top-right {
|
|
7530
|
+
inset-block-end: -10px;
|
|
7531
|
+
inset-inline-start: 12px;
|
|
7532
|
+
}
|
|
7533
|
+
.container-arrow-position-top-left {
|
|
7534
|
+
inset-block-end: -10px;
|
|
7535
|
+
inset-inline-start: calc(100% - 20px - 12px);
|
|
7536
|
+
}
|
|
7537
|
+
.container-arrow-position-bottom-center {
|
|
7538
|
+
inset-block-start: -10px;
|
|
7539
|
+
inset-inline-start: calc(50% - 10px);
|
|
7540
|
+
}
|
|
7541
|
+
.container-arrow-position-bottom-right {
|
|
7542
|
+
inset-block-start: -10px;
|
|
7543
|
+
inset-inline-start: 12px;
|
|
7544
|
+
}
|
|
7545
|
+
.container-arrow-position-bottom-left {
|
|
7546
|
+
inset-block-start: -10px;
|
|
7547
|
+
inset-inline-start: calc(100% - 20px - 12px);
|
|
7548
|
+
}
|
|
7403
7549
|
|
|
7404
7550
|
.container {
|
|
7405
7551
|
animation: awsui_awsui-motion-fade-in_xjuzf_45l16_1 var(--motion-duration-show-paced-otsjh8, 180ms) var(--motion-easing-show-paced-ym6eyn, ease-out);
|
|
@@ -7777,10 +7923,10 @@ __decorateClass([
|
|
|
7777
7923
|
state5()
|
|
7778
7924
|
], CsPopoverInternal.prototype, "_open", 2);
|
|
7779
7925
|
__decorateClass([
|
|
7780
|
-
|
|
7926
|
+
query(".trigger")
|
|
7781
7927
|
], CsPopoverInternal.prototype, "_triggerEl", 2);
|
|
7782
7928
|
__decorateClass([
|
|
7783
|
-
|
|
7929
|
+
query(".container")
|
|
7784
7930
|
], CsPopoverInternal.prototype, "_containerEl", 2);
|
|
7785
7931
|
|
|
7786
7932
|
// src/popover/index.ts
|
|
@@ -14218,9 +14364,10 @@ customElements.define("cs-expandable-section", CsExpandableSection);
|
|
|
14218
14364
|
|
|
14219
14365
|
// src/button-dropdown/internal.ts
|
|
14220
14366
|
import { css as css89, html as html41, nothing as nothing18 } from "lit";
|
|
14221
|
-
import { property as property40, state as state11, query as
|
|
14367
|
+
import { property as property40, state as state11, query as query2 } from "lit/decorators.js";
|
|
14222
14368
|
import { classMap as classMap36 } from "lit/directives/class-map.js";
|
|
14223
14369
|
import { ifDefined as ifDefined21 } from "lit/directives/if-defined.js";
|
|
14370
|
+
import { createRef as createRef2, ref as ref2 } from "lit/directives/ref.js";
|
|
14224
14371
|
|
|
14225
14372
|
// src/button-dropdown/styles.ts
|
|
14226
14373
|
import { css as css87 } from "lit";
|
|
@@ -14550,6 +14697,7 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14550
14697
|
this.ariaLabel = null;
|
|
14551
14698
|
this._open = false;
|
|
14552
14699
|
this._highlightedIndex = -1;
|
|
14700
|
+
this._triggerRef = createRef2();
|
|
14553
14701
|
this._cleanupOutsideClick = null;
|
|
14554
14702
|
this._onTriggerClick = () => {
|
|
14555
14703
|
if (!this._isInteractive()) return;
|
|
@@ -14571,7 +14719,7 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14571
14719
|
case "Escape":
|
|
14572
14720
|
e.stopPropagation();
|
|
14573
14721
|
this._open = false;
|
|
14574
|
-
this.
|
|
14722
|
+
this._triggerRef.value?.focus();
|
|
14575
14723
|
break;
|
|
14576
14724
|
case "ArrowDown":
|
|
14577
14725
|
e.preventDefault();
|
|
@@ -14627,7 +14775,7 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14627
14775
|
}
|
|
14628
14776
|
}
|
|
14629
14777
|
focus(options) {
|
|
14630
|
-
this.
|
|
14778
|
+
this._triggerRef.value?.focus(options);
|
|
14631
14779
|
}
|
|
14632
14780
|
_flatItems() {
|
|
14633
14781
|
return this.items.filter(isActionItem);
|
|
@@ -14653,13 +14801,13 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14653
14801
|
});
|
|
14654
14802
|
}
|
|
14655
14803
|
this._open = false;
|
|
14656
|
-
this.
|
|
14804
|
+
this._triggerRef.value?.focus();
|
|
14657
14805
|
}
|
|
14658
14806
|
async _updatePosition() {
|
|
14659
14807
|
await this.updateComplete;
|
|
14660
|
-
if (!this.
|
|
14808
|
+
if (!this._triggerRef.value || !this._dropdownEl) return;
|
|
14661
14809
|
const { x, y } = await computePosition2(
|
|
14662
|
-
this.
|
|
14810
|
+
this._triggerRef.value,
|
|
14663
14811
|
this._dropdownEl,
|
|
14664
14812
|
{
|
|
14665
14813
|
placement: "bottom-start",
|
|
@@ -14700,7 +14848,6 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14700
14848
|
const isDisabled = this.disabled || this.loading;
|
|
14701
14849
|
const buttonClasses = {
|
|
14702
14850
|
"button": true,
|
|
14703
|
-
"trigger-btn": true,
|
|
14704
14851
|
[`variant-${this.variant}`]: true,
|
|
14705
14852
|
"disabled": isDisabled,
|
|
14706
14853
|
"button-no-text": isIcon
|
|
@@ -14710,6 +14857,7 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14710
14857
|
if (isIcon) {
|
|
14711
14858
|
return html41`
|
|
14712
14859
|
<button
|
|
14860
|
+
${ref2(this._triggerRef)}
|
|
14713
14861
|
class=${classMap36(buttonClasses)}
|
|
14714
14862
|
type="button"
|
|
14715
14863
|
aria-haspopup="true"
|
|
@@ -14729,6 +14877,7 @@ var CsButtonDropdownInternal = class extends CsBaseElement {
|
|
|
14729
14877
|
};
|
|
14730
14878
|
return html41`
|
|
14731
14879
|
<button
|
|
14880
|
+
${ref2(this._triggerRef)}
|
|
14732
14881
|
class=${classMap36(buttonClasses)}
|
|
14733
14882
|
type="button"
|
|
14734
14883
|
aria-haspopup="true"
|
|
@@ -14830,10 +14979,7 @@ __decorateClass([
|
|
|
14830
14979
|
state11()
|
|
14831
14980
|
], CsButtonDropdownInternal.prototype, "_highlightedIndex", 2);
|
|
14832
14981
|
__decorateClass([
|
|
14833
|
-
|
|
14834
|
-
], CsButtonDropdownInternal.prototype, "_triggerEl", 2);
|
|
14835
|
-
__decorateClass([
|
|
14836
|
-
query3(".dropdown")
|
|
14982
|
+
query2(".dropdown")
|
|
14837
14983
|
], CsButtonDropdownInternal.prototype, "_dropdownEl", 2);
|
|
14838
14984
|
|
|
14839
14985
|
// src/button-dropdown/index.ts
|
|
@@ -15333,9 +15479,10 @@ customElements.define("cs-breadcrumb-group", CsBreadcrumbGroup);
|
|
|
15333
15479
|
|
|
15334
15480
|
// src/select/internal.ts
|
|
15335
15481
|
import { css as css97, html as html44, nothing as nothing19 } from "lit";
|
|
15336
|
-
import { property as property43, state as state12, query as
|
|
15482
|
+
import { property as property43, state as state12, query as query3 } from "lit/decorators.js";
|
|
15337
15483
|
import { classMap as classMap38 } from "lit/directives/class-map.js";
|
|
15338
15484
|
import { ifDefined as ifDefined24 } from "lit/directives/if-defined.js";
|
|
15485
|
+
import { createRef as createRef3, ref as ref3 } from "lit/directives/ref.js";
|
|
15339
15486
|
|
|
15340
15487
|
// src/select/styles.ts
|
|
15341
15488
|
import { css as css95 } from "lit";
|
|
@@ -15657,6 +15804,7 @@ var CsSelectInternal = class extends Base6 {
|
|
|
15657
15804
|
this._open = false;
|
|
15658
15805
|
this._filterText = "";
|
|
15659
15806
|
this._highlightedIndex = -1;
|
|
15807
|
+
this._filterInputRef = createRef3();
|
|
15660
15808
|
this._cleanupOutsideClick = null;
|
|
15661
15809
|
this._onTriggerClick = () => {
|
|
15662
15810
|
if (this.disabled) return;
|
|
@@ -15743,7 +15891,7 @@ var CsSelectInternal = class extends Base6 {
|
|
|
15743
15891
|
this._addOutsideClickListener();
|
|
15744
15892
|
if (this._hasFiltering()) {
|
|
15745
15893
|
this.updateComplete.then(() => {
|
|
15746
|
-
this.
|
|
15894
|
+
this._filterInputRef.value?.focus();
|
|
15747
15895
|
});
|
|
15748
15896
|
}
|
|
15749
15897
|
} else {
|
|
@@ -15904,6 +16052,7 @@ var CsSelectInternal = class extends Base6 {
|
|
|
15904
16052
|
${this._hasFiltering() ? html44`
|
|
15905
16053
|
<div class="filter-container select-parts--filter">
|
|
15906
16054
|
<input
|
|
16055
|
+
${ref3(this._filterInputRef)}
|
|
15907
16056
|
class="filter-input"
|
|
15908
16057
|
type="text"
|
|
15909
16058
|
placeholder=${this.filteringPlaceholder || "Filter"}
|
|
@@ -15998,14 +16147,11 @@ __decorateClass([
|
|
|
15998
16147
|
state12()
|
|
15999
16148
|
], CsSelectInternal.prototype, "_highlightedIndex", 2);
|
|
16000
16149
|
__decorateClass([
|
|
16001
|
-
|
|
16150
|
+
query3(".trigger")
|
|
16002
16151
|
], CsSelectInternal.prototype, "_triggerEl", 2);
|
|
16003
16152
|
__decorateClass([
|
|
16004
|
-
|
|
16153
|
+
query3(".dropdown")
|
|
16005
16154
|
], CsSelectInternal.prototype, "_dropdownEl", 2);
|
|
16006
|
-
__decorateClass([
|
|
16007
|
-
query4(".filter-input")
|
|
16008
|
-
], CsSelectInternal.prototype, "_filterInputEl", 2);
|
|
16009
16155
|
|
|
16010
16156
|
// src/select/index.ts
|
|
16011
16157
|
var CsSelect = class extends CsSelectInternal {
|
|
@@ -16014,9 +16160,10 @@ customElements.define("cs-select", CsSelect);
|
|
|
16014
16160
|
|
|
16015
16161
|
// src/multiselect/internal.ts
|
|
16016
16162
|
import { css as css99, html as html45, nothing as nothing20 } from "lit";
|
|
16017
|
-
import { property as property44, state as state13, query as
|
|
16163
|
+
import { property as property44, state as state13, query as query4 } from "lit/decorators.js";
|
|
16018
16164
|
import { classMap as classMap39 } from "lit/directives/class-map.js";
|
|
16019
16165
|
import { ifDefined as ifDefined25 } from "lit/directives/if-defined.js";
|
|
16166
|
+
import { createRef as createRef4, ref as ref4 } from "lit/directives/ref.js";
|
|
16020
16167
|
|
|
16021
16168
|
// src/multiselect/styles.ts
|
|
16022
16169
|
import { css as css98 } from "lit";
|
|
@@ -16246,6 +16393,7 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16246
16393
|
this._open = false;
|
|
16247
16394
|
this._filterText = "";
|
|
16248
16395
|
this._highlightedIndex = -1;
|
|
16396
|
+
this._filterInputRef = createRef4();
|
|
16249
16397
|
this._cleanupOutsideClick = null;
|
|
16250
16398
|
this._onTriggerClick = () => {
|
|
16251
16399
|
if (this.disabled) return;
|
|
@@ -16348,7 +16496,7 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16348
16496
|
this._addOutsideClickListener();
|
|
16349
16497
|
if (this._hasFiltering()) {
|
|
16350
16498
|
this.updateComplete.then(() => {
|
|
16351
|
-
this.
|
|
16499
|
+
this._filterInputRef.value?.focus();
|
|
16352
16500
|
});
|
|
16353
16501
|
}
|
|
16354
16502
|
} else {
|
|
@@ -16526,6 +16674,7 @@ var CsMultiselectInternal = class extends Base7 {
|
|
|
16526
16674
|
${this._hasFiltering() ? html45`
|
|
16527
16675
|
<div class="filter-container select-parts--filter">
|
|
16528
16676
|
<input
|
|
16677
|
+
${ref4(this._filterInputRef)}
|
|
16529
16678
|
class="filter-input"
|
|
16530
16679
|
type="text"
|
|
16531
16680
|
placeholder=${this.filteringPlaceholder || "Filter"}
|
|
@@ -16641,14 +16790,11 @@ __decorateClass([
|
|
|
16641
16790
|
state13()
|
|
16642
16791
|
], CsMultiselectInternal.prototype, "_highlightedIndex", 2);
|
|
16643
16792
|
__decorateClass([
|
|
16644
|
-
|
|
16793
|
+
query4(".trigger")
|
|
16645
16794
|
], CsMultiselectInternal.prototype, "_triggerEl", 2);
|
|
16646
16795
|
__decorateClass([
|
|
16647
|
-
|
|
16796
|
+
query4(".dropdown")
|
|
16648
16797
|
], CsMultiselectInternal.prototype, "_dropdownEl", 2);
|
|
16649
|
-
__decorateClass([
|
|
16650
|
-
query5(".filter-input")
|
|
16651
|
-
], CsMultiselectInternal.prototype, "_filterInputEl", 2);
|
|
16652
16798
|
|
|
16653
16799
|
// src/multiselect/index.ts
|
|
16654
16800
|
var CsMultiselect = class extends CsMultiselectInternal {
|
|
@@ -16657,9 +16803,10 @@ customElements.define("cs-multiselect", CsMultiselect);
|
|
|
16657
16803
|
|
|
16658
16804
|
// src/autosuggest/internal.ts
|
|
16659
16805
|
import { css as css102, html as html46, nothing as nothing21 } from "lit";
|
|
16660
|
-
import { property as property45, state as state14, query as
|
|
16806
|
+
import { property as property45, state as state14, query as query5 } from "lit/decorators.js";
|
|
16661
16807
|
import { classMap as classMap40 } from "lit/directives/class-map.js";
|
|
16662
16808
|
import { ifDefined as ifDefined26 } from "lit/directives/if-defined.js";
|
|
16809
|
+
import { createRef as createRef5, ref as ref5 } from "lit/directives/ref.js";
|
|
16663
16810
|
|
|
16664
16811
|
// src/autosuggest/styles.ts
|
|
16665
16812
|
import { css as css100 } from "lit";
|
|
@@ -16897,6 +17044,7 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
16897
17044
|
this.filteringType = "auto";
|
|
16898
17045
|
this._open = false;
|
|
16899
17046
|
this._highlightedIndex = -1;
|
|
17047
|
+
this._inputRef = createRef5();
|
|
16900
17048
|
this._listboxId = generateUniqueId("autosuggest-listbox");
|
|
16901
17049
|
this._flatOptions = [];
|
|
16902
17050
|
this._onInput = (e) => {
|
|
@@ -16988,10 +17136,10 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
16988
17136
|
this._flatOptions = result;
|
|
16989
17137
|
}
|
|
16990
17138
|
focus(options) {
|
|
16991
|
-
this.
|
|
17139
|
+
this._inputRef.value?.focus(options);
|
|
16992
17140
|
}
|
|
16993
17141
|
select() {
|
|
16994
|
-
this.
|
|
17142
|
+
this._inputRef.value?.select();
|
|
16995
17143
|
}
|
|
16996
17144
|
_scrollHighlightedIntoView() {
|
|
16997
17145
|
this.updateComplete.then(() => {
|
|
@@ -17017,14 +17165,14 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
17017
17165
|
}
|
|
17018
17166
|
async updated(changed) {
|
|
17019
17167
|
super.updated(changed);
|
|
17020
|
-
if (this._open && this.
|
|
17168
|
+
if (this._open && this._inputRef.value && this._dropdownEl) {
|
|
17021
17169
|
await this._updatePosition();
|
|
17022
17170
|
}
|
|
17023
17171
|
}
|
|
17024
17172
|
async _updatePosition() {
|
|
17025
|
-
if (!this.
|
|
17173
|
+
if (!this._inputRef.value || !this._dropdownEl) return;
|
|
17026
17174
|
const { x, y } = await computePosition2(
|
|
17027
|
-
this.
|
|
17175
|
+
this._inputRef.value,
|
|
17028
17176
|
this._dropdownEl,
|
|
17029
17177
|
{
|
|
17030
17178
|
placement: "bottom-start",
|
|
@@ -17039,7 +17187,7 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
17039
17187
|
Object.assign(this._dropdownEl.style, {
|
|
17040
17188
|
left: `${x}px`,
|
|
17041
17189
|
top: `${y}px`,
|
|
17042
|
-
inlineSize: `${this.
|
|
17190
|
+
inlineSize: `${this._inputRef.value.offsetWidth}px`
|
|
17043
17191
|
});
|
|
17044
17192
|
}
|
|
17045
17193
|
render() {
|
|
@@ -17047,7 +17195,6 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
17047
17195
|
const showDropdown = this._open && filtered.length > 0 && !this.readOnly && !this.disabled;
|
|
17048
17196
|
const inputClasses = {
|
|
17049
17197
|
"input": true,
|
|
17050
|
-
"input-element": true,
|
|
17051
17198
|
"input-readonly": this.readOnly,
|
|
17052
17199
|
"input-invalid": this.invalid,
|
|
17053
17200
|
"input-disabled": this.disabled
|
|
@@ -17056,6 +17203,7 @@ var CsAutosuggestInternal = class extends Base8 {
|
|
|
17056
17203
|
<div class="root">
|
|
17057
17204
|
<div class="layout-strut">
|
|
17058
17205
|
<input
|
|
17206
|
+
${ref5(this._inputRef)}
|
|
17059
17207
|
class=${classMap40(inputClasses)}
|
|
17060
17208
|
type="text"
|
|
17061
17209
|
.value=${this.value}
|
|
@@ -17143,10 +17291,7 @@ __decorateClass([
|
|
|
17143
17291
|
state14()
|
|
17144
17292
|
], CsAutosuggestInternal.prototype, "_highlightedIndex", 2);
|
|
17145
17293
|
__decorateClass([
|
|
17146
|
-
|
|
17147
|
-
], CsAutosuggestInternal.prototype, "_inputEl", 2);
|
|
17148
|
-
__decorateClass([
|
|
17149
|
-
query6(".dropdown")
|
|
17294
|
+
query5(".dropdown")
|
|
17150
17295
|
], CsAutosuggestInternal.prototype, "_dropdownEl", 2);
|
|
17151
17296
|
|
|
17152
17297
|
// src/autosuggest/index.ts
|
|
@@ -17891,10 +18036,41 @@ import { property as property48, state as state16 } from "lit/decorators.js";
|
|
|
17891
18036
|
// src/collection-preferences/styles.ts
|
|
17892
18037
|
import { css as css107 } from "lit";
|
|
17893
18038
|
var componentStyles47 = css107`
|
|
17894
|
-
.visible-content
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
18039
|
+
.visible-content-title {
|
|
18040
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
18041
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
18042
|
+
font-weight: var(--font-display-label-weight-zavpeo, 700);
|
|
18043
|
+
color: var(--color-text-form-label-6sbm75, #0f141a);
|
|
18044
|
+
margin-block-start: 0;
|
|
18045
|
+
margin-block-end: var(--space-scaled-l-sej05l, 20px);
|
|
18046
|
+
margin-inline: 0;
|
|
18047
|
+
}
|
|
18048
|
+
|
|
18049
|
+
.visible-content-group-label {
|
|
18050
|
+
color: var(--color-text-group-label-a2qc05, #424650);
|
|
18051
|
+
padding-block-end: var(--space-xs-ymlm0b, 8px);
|
|
18052
|
+
border-block-end: var(--border-divider-list-width-tdfx1x, 1px) solid var(--color-border-divider-secondary-qoitch, #ebebf0);
|
|
18053
|
+
}
|
|
18054
|
+
|
|
18055
|
+
.visible-content-option {
|
|
18056
|
+
display: flex;
|
|
18057
|
+
flex-wrap: nowrap;
|
|
18058
|
+
justify-content: space-between;
|
|
18059
|
+
padding-block: var(--space-xs-ymlm0b, 8px);
|
|
18060
|
+
padding-inline-start: var(--space-scaled-l-sej05l, 20px);
|
|
18061
|
+
padding-inline-end: 0px;
|
|
18062
|
+
border-block-end: var(--border-divider-list-width-tdfx1x, 1px) solid var(--color-border-divider-secondary-qoitch, #ebebf0);
|
|
18063
|
+
}
|
|
18064
|
+
.visible-content-option:last-child {
|
|
18065
|
+
border-block-end: none;
|
|
18066
|
+
}
|
|
18067
|
+
|
|
18068
|
+
.visible-content-option-label {
|
|
18069
|
+
overflow: hidden;
|
|
18070
|
+
text-overflow: ellipsis;
|
|
18071
|
+
padding-inline-end: var(--space-l-2ud1p3, 20px);
|
|
18072
|
+
flex-grow: 1;
|
|
18073
|
+
}
|
|
17898
18074
|
|
|
17899
18075
|
.content-display-option-content {
|
|
17900
18076
|
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
@@ -18942,7 +19118,8 @@ customElements.define("cs-key-value-pairs", CsKeyValuePairs);
|
|
|
18942
19118
|
|
|
18943
19119
|
// src/property-filter/internal.ts
|
|
18944
19120
|
import { css as css116, html as html53, nothing as nothing27 } from "lit";
|
|
18945
|
-
import { property as property52, state as state17
|
|
19121
|
+
import { property as property52, state as state17 } from "lit/decorators.js";
|
|
19122
|
+
import { createRef as createRef6, ref as ref6 } from "lit/directives/ref.js";
|
|
18946
19123
|
|
|
18947
19124
|
// src/property-filter/styles.ts
|
|
18948
19125
|
import { css as css115 } from "lit";
|
|
@@ -19210,12 +19387,13 @@ var CsPropertyFilterInternal = class extends CsBaseElement {
|
|
|
19210
19387
|
this.disabled = false;
|
|
19211
19388
|
this.filteringPlaceholder = "Filter by text";
|
|
19212
19389
|
this._inputValue = "";
|
|
19390
|
+
this._inputRef = createRef6();
|
|
19213
19391
|
}
|
|
19214
19392
|
static {
|
|
19215
19393
|
this.styles = [sharedStyles, componentStyles51, componentStyles26, filterInputStyles, hostStyles52];
|
|
19216
19394
|
}
|
|
19217
19395
|
focus(options) {
|
|
19218
|
-
this.
|
|
19396
|
+
this._inputRef.value?.focus(options);
|
|
19219
19397
|
}
|
|
19220
19398
|
_onInput(e) {
|
|
19221
19399
|
this._inputValue = e.target.value;
|
|
@@ -19268,6 +19446,7 @@ var CsPropertyFilterInternal = class extends CsBaseElement {
|
|
|
19268
19446
|
<div class="search-field">
|
|
19269
19447
|
<div class="input-wrapper">
|
|
19270
19448
|
<input
|
|
19449
|
+
${ref6(this._inputRef)}
|
|
19271
19450
|
class="filter-input"
|
|
19272
19451
|
type="text"
|
|
19273
19452
|
.value=${this._inputValue}
|
|
@@ -19319,9 +19498,6 @@ __decorateClass([
|
|
|
19319
19498
|
__decorateClass([
|
|
19320
19499
|
state17()
|
|
19321
19500
|
], CsPropertyFilterInternal.prototype, "_inputValue", 2);
|
|
19322
|
-
__decorateClass([
|
|
19323
|
-
queryDecorator(".filter-input")
|
|
19324
|
-
], CsPropertyFilterInternal.prototype, "_inputEl", 2);
|
|
19325
19501
|
|
|
19326
19502
|
// src/property-filter/index.ts
|
|
19327
19503
|
var CsPropertyFilter = class extends CsPropertyFilterInternal {
|
|
@@ -21533,7 +21709,7 @@ customElements.define("cs-date-input", CsDateInput);
|
|
|
21533
21709
|
|
|
21534
21710
|
// src/date-picker/internal.ts
|
|
21535
21711
|
import { css as css130, html as html60, nothing as nothing32 } from "lit";
|
|
21536
|
-
import { property as property59, state as state19, query as
|
|
21712
|
+
import { property as property59, state as state19, query as query6 } from "lit/decorators.js";
|
|
21537
21713
|
import { ifDefined as ifDefined32 } from "lit/directives/if-defined.js";
|
|
21538
21714
|
import { consume as consume3 } from "@lit/context";
|
|
21539
21715
|
|
|
@@ -21826,10 +22002,10 @@ __decorateClass([
|
|
|
21826
22002
|
state19()
|
|
21827
22003
|
], CsDatePickerInternal.prototype, "_open", 2);
|
|
21828
22004
|
__decorateClass([
|
|
21829
|
-
|
|
22005
|
+
query6(".date-picker-trigger")
|
|
21830
22006
|
], CsDatePickerInternal.prototype, "_triggerEl", 2);
|
|
21831
22007
|
__decorateClass([
|
|
21832
|
-
|
|
22008
|
+
query6(".dropdown")
|
|
21833
22009
|
], CsDatePickerInternal.prototype, "_dropdownEl", 2);
|
|
21834
22010
|
|
|
21835
22011
|
// src/date-picker/index.ts
|
|
@@ -21839,7 +22015,7 @@ customElements.define("cs-date-picker", CsDatePicker);
|
|
|
21839
22015
|
|
|
21840
22016
|
// src/date-range-picker/internal.ts
|
|
21841
22017
|
import { css as css133, html as html61, nothing as nothing33 } from "lit";
|
|
21842
|
-
import { property as property60, state as state20, query as
|
|
22018
|
+
import { property as property60, state as state20, query as query7 } from "lit/decorators.js";
|
|
21843
22019
|
import { classMap as classMap50 } from "lit/directives/class-map.js";
|
|
21844
22020
|
import { ifDefined as ifDefined33 } from "lit/directives/if-defined.js";
|
|
21845
22021
|
|
|
@@ -22668,10 +22844,10 @@ __decorateClass([
|
|
|
22668
22844
|
state20()
|
|
22669
22845
|
], CsDateRangePickerInternal.prototype, "_selectedRelativeKey", 2);
|
|
22670
22846
|
__decorateClass([
|
|
22671
|
-
|
|
22847
|
+
query7(".trigger-button")
|
|
22672
22848
|
], CsDateRangePickerInternal.prototype, "_triggerEl", 2);
|
|
22673
22849
|
__decorateClass([
|
|
22674
|
-
|
|
22850
|
+
query7(".dropdown")
|
|
22675
22851
|
], CsDateRangePickerInternal.prototype, "_dropdownEl", 2);
|
|
22676
22852
|
|
|
22677
22853
|
// src/date-range-picker/index.ts
|
|
@@ -23891,96 +24067,377 @@ import { classMap as classMap54 } from "lit/directives/class-map.js";
|
|
|
23891
24067
|
// src/code-editor/styles.ts
|
|
23892
24068
|
import { css as css141 } from "lit";
|
|
23893
24069
|
var componentStyles63 = css141`
|
|
23894
|
-
.
|
|
23895
|
-
|
|
23896
|
-
position: relative;
|
|
23897
|
-
flex-direction: row;
|
|
23898
|
-
flex: 1;
|
|
23899
|
-
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-default-2bfcfq, #dedee3);
|
|
23900
|
-
border-end-start-radius: var(--border-radius-code-editor-5palck, 8px);
|
|
23901
|
-
border-end-end-radius: var(--border-radius-code-editor-5palck, 8px);
|
|
23902
|
-
background: var(--color-background-code-editor-status-bar-yjtxod, #f3f3f7);
|
|
23903
|
-
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
24070
|
+
.code-editor-refresh .ace_editor .ace_gutter {
|
|
24071
|
+
border-start-start-radius: calc(var(--border-radius-code-editor-5palck, 8px) - var(--border-item-width-miijiw, 2px));
|
|
23904
24072
|
}
|
|
23905
|
-
.
|
|
23906
|
-
|
|
23907
|
-
inset-block-start: 0;
|
|
23908
|
-
inset-inline-end: calc(var(--space-s-tvghoh, 12px) / 2);
|
|
24073
|
+
.code-editor-refresh .ace_editor .ace_scroller {
|
|
24074
|
+
border-start-end-radius: calc(var(--border-radius-code-editor-5palck, 8px) - var(--border-item-width-miijiw, 2px));
|
|
23909
24075
|
}
|
|
23910
|
-
|
|
23911
|
-
|
|
23912
|
-
|
|
23913
|
-
|
|
23914
|
-
|
|
23915
|
-
margin-inline-end: calc(var(--line-height-body-m-2mh3ke, 20px) + 2 * var(--space-xs-ymlm0b, 8px));
|
|
24076
|
+
|
|
24077
|
+
.code-editor .ace_editor {
|
|
24078
|
+
font-family: Monaco, Menlo, Consolas, "Courier Prime", Courier, "Courier New", monospace;
|
|
24079
|
+
font-size: 14px;
|
|
24080
|
+
line-height: 20px;
|
|
23916
24081
|
}
|
|
23917
|
-
.
|
|
23918
|
-
|
|
23919
|
-
|
|
23920
|
-
|
|
23921
|
-
|
|
24082
|
+
.code-editor .ace_editor .ace_gutter-cell.ace_error,
|
|
24083
|
+
.code-editor .ace_editor .ace_gutter-cell.ace_warning {
|
|
24084
|
+
cursor: pointer;
|
|
24085
|
+
background-repeat: no-repeat;
|
|
24086
|
+
background-size: 16px 16px;
|
|
24087
|
+
background-position: 4px 2px;
|
|
23922
24088
|
}
|
|
23923
|
-
.
|
|
23924
|
-
|
|
23925
|
-
border-block-end: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24089
|
+
.code-editor .ace_editor .ace_gutter-cell.ace_info {
|
|
24090
|
+
background-image: none;
|
|
23926
24091
|
}
|
|
23927
|
-
.
|
|
23928
|
-
|
|
23929
|
-
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
23930
|
-
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24092
|
+
.code-editor .ace_editor .ace_gutter-cell.ace_error {
|
|
24093
|
+
color: var(--color-text-status-error-ksqavh, #db0000);
|
|
23931
24094
|
}
|
|
23932
|
-
|
|
23933
|
-
|
|
23934
|
-
|
|
23935
|
-
|
|
24095
|
+
@supports (--css-variable-support-check: #000) {
|
|
24096
|
+
body .code-editor .ace_editor .ace_gutter-cell.ace_error {
|
|
24097
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23db0000' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
|
|
24098
|
+
}
|
|
24099
|
+
@media not print {
|
|
24100
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-cell.ace_error, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-cell.ace_error {
|
|
24101
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23ff7a7a' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
|
|
24102
|
+
}
|
|
24103
|
+
}
|
|
23936
24104
|
}
|
|
23937
|
-
|
|
23938
|
-
|
|
23939
|
-
|
|
24105
|
+
@supports (--css-variable-support-check: #000) {
|
|
24106
|
+
body .code-editor .ace_editor .ace_gutter-cell.ace_warning {
|
|
24107
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23855900' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
|
|
24108
|
+
}
|
|
24109
|
+
@media not print {
|
|
24110
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-cell.ace_warning, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-cell.ace_warning {
|
|
24111
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23fbd332' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
|
|
24112
|
+
}
|
|
24113
|
+
}
|
|
23940
24114
|
}
|
|
23941
|
-
.
|
|
23942
|
-
|
|
24115
|
+
.code-editor .ace_editor .ace_gutter-cell {
|
|
24116
|
+
padding-inline: 24px 16px;
|
|
23943
24117
|
}
|
|
23944
|
-
.
|
|
23945
|
-
|
|
23946
|
-
|
|
24118
|
+
.code-editor .ace_editor .ace_fold-widget {
|
|
24119
|
+
/* A good test case for disabled folds
|
|
24120
|
+
<<html<<<<
|
|
24121
|
+
</html>
|
|
24122
|
+
*/
|
|
24123
|
+
inline-size: 14px;
|
|
24124
|
+
margin-inline-end: -15px;
|
|
24125
|
+
background-color: transparent;
|
|
24126
|
+
border-block: none;
|
|
24127
|
+
border-inline: none;
|
|
23947
24128
|
}
|
|
23948
|
-
.
|
|
23949
|
-
|
|
23950
|
-
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
23951
|
-
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24129
|
+
.code-editor .ace_editor .ace_gutter_annotation {
|
|
24130
|
+
margin-inline-start: -21px;
|
|
23952
24131
|
}
|
|
23953
|
-
.
|
|
23954
|
-
|
|
23955
|
-
|
|
23956
|
-
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24132
|
+
.code-editor .ace_editor .ace_fold-widget,
|
|
24133
|
+
.code-editor .ace_editor .ace_gutter_annotation {
|
|
24134
|
+
box-shadow: none;
|
|
23957
24135
|
}
|
|
23958
|
-
.
|
|
23959
|
-
|
|
23960
|
-
|
|
24136
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_fold-widget:focus,
|
|
24137
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter_annotation:focus {
|
|
24138
|
+
position: relative;
|
|
23961
24139
|
}
|
|
23962
|
-
.
|
|
23963
|
-
|
|
23964
|
-
|
|
23965
|
-
|
|
24140
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_fold-widget:focus,
|
|
24141
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter_annotation:focus {
|
|
24142
|
+
outline: 2px dotted transparent;
|
|
24143
|
+
outline-offset: calc(-1px - 1px);
|
|
23966
24144
|
}
|
|
23967
|
-
.
|
|
23968
|
-
|
|
23969
|
-
|
|
23970
|
-
|
|
24145
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_fold-widget:focus::before,
|
|
24146
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter_annotation:focus::before {
|
|
24147
|
+
content: " ";
|
|
24148
|
+
display: block;
|
|
24149
|
+
position: absolute;
|
|
24150
|
+
inset-inline-start: calc(-1 * -1px);
|
|
24151
|
+
inset-block-start: calc(-1 * -1px);
|
|
24152
|
+
inline-size: calc(100% + -1px + -1px);
|
|
24153
|
+
block-size: calc(100% + -1px + -1px);
|
|
24154
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24155
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24156
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24157
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24158
|
+
box-shadow: 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
23971
24159
|
}
|
|
23972
|
-
|
|
23973
|
-
|
|
23974
|
-
|
|
24160
|
+
.code-editor .ace_editor .ace_marker-layer > .ace_active-line {
|
|
24161
|
+
background: transparent;
|
|
24162
|
+
box-sizing: border-box;
|
|
24163
|
+
border-block-start: 1px solid var(--color-border-code-editor-ace-active-line-light-theme-q6hsvt, #dedee3);
|
|
24164
|
+
border-block-end: 1px solid var(--color-border-code-editor-ace-active-line-light-theme-q6hsvt, #dedee3);
|
|
23975
24165
|
}
|
|
23976
|
-
|
|
23977
|
-
|
|
23978
|
-
|
|
23979
|
-
|
|
23980
|
-
|
|
23981
|
-
|
|
23982
|
-
|
|
23983
|
-
|
|
24166
|
+
.code-editor .ace_editor.ace_dark .ace_marker-layer > .ace_active-line {
|
|
24167
|
+
border-block-start: 1px solid var(--color-border-code-editor-ace-active-line-dark-theme-v09eti, #656871);
|
|
24168
|
+
border-block-end: 1px solid var(--color-border-code-editor-ace-active-line-dark-theme-v09eti, #656871);
|
|
24169
|
+
}
|
|
24170
|
+
.code-editor .ace_editor .ace_gutter {
|
|
24171
|
+
background-color: var(--color-background-code-editor-gutter-default-15qdwh, #f3f3f7);
|
|
24172
|
+
color: var(--color-text-code-editor-gutter-default-nlshs8, #0f141a);
|
|
24173
|
+
}
|
|
24174
|
+
.code-editor .ace_editor .ace_gutter:focus,
|
|
24175
|
+
.code-editor .ace_editor .ace_scroller:focus {
|
|
24176
|
+
box-shadow: inset 0 0 0 2px var(--color-border-item-focused-uk47pl, #006ce0);
|
|
24177
|
+
}
|
|
24178
|
+
@supports (--css-variable-support-check: #000) {
|
|
24179
|
+
body .code-editor .ace_editor .ace_fold-widget.ace_open {
|
|
24180
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23424650' fill='%23424650' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24181
|
+
}
|
|
24182
|
+
@media not print {
|
|
24183
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_open, body.awsui-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_open {
|
|
24184
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24185
|
+
}
|
|
24186
|
+
}
|
|
24187
|
+
}
|
|
24188
|
+
@supports (--css-variable-support-check: #000) {
|
|
24189
|
+
body .code-editor .ace_editor .ace_fold-widget.ace_open:hover {
|
|
24190
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24191
|
+
}
|
|
24192
|
+
@media not print {
|
|
24193
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_open:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_open:hover {
|
|
24194
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24195
|
+
}
|
|
24196
|
+
}
|
|
24197
|
+
}
|
|
24198
|
+
@supports (--css-variable-support-check: #000) {
|
|
24199
|
+
body .code-editor .ace_editor .ace_fold-widget.ace_closed {
|
|
24200
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23424650' fill='%23424650' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24201
|
+
}
|
|
24202
|
+
@media not print {
|
|
24203
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_closed, body.awsui-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_closed {
|
|
24204
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24205
|
+
}
|
|
24206
|
+
}
|
|
24207
|
+
}
|
|
24208
|
+
@supports (--css-variable-support-check: #000) {
|
|
24209
|
+
body .code-editor .ace_editor .ace_fold-widget.ace_closed:hover {
|
|
24210
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24211
|
+
}
|
|
24212
|
+
@media not print {
|
|
24213
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_closed:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_fold-widget.ace_closed:hover {
|
|
24214
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24215
|
+
}
|
|
24216
|
+
}
|
|
24217
|
+
}
|
|
24218
|
+
.code-editor .ace_editor .ace_gutter-active-line {
|
|
24219
|
+
background-color: var(--color-background-code-editor-gutter-active-line-default-51v1pv, #656871);
|
|
24220
|
+
color: var(--color-text-code-editor-gutter-active-line-2addhd, #ffffff);
|
|
24221
|
+
}
|
|
24222
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_fold-widget:focus,
|
|
24223
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_gutter_annotation:focus {
|
|
24224
|
+
position: relative;
|
|
24225
|
+
}
|
|
24226
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_fold-widget:focus,
|
|
24227
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_gutter_annotation:focus {
|
|
24228
|
+
outline: 2px dotted transparent;
|
|
24229
|
+
outline-offset: calc(-2px - 1px);
|
|
24230
|
+
}
|
|
24231
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_fold-widget:focus::before,
|
|
24232
|
+
:host-context([data-awsui-focus-visible=true]) .code-editor .ace_editor .ace_gutter-active-line .ace_gutter_annotation:focus::before {
|
|
24233
|
+
content: " ";
|
|
24234
|
+
display: block;
|
|
24235
|
+
position: absolute;
|
|
24236
|
+
inset-inline-start: calc(-1 * -2px);
|
|
24237
|
+
inset-block-start: calc(-1 * -2px);
|
|
24238
|
+
inline-size: calc(100% + -2px + -2px);
|
|
24239
|
+
block-size: calc(100% + -2px + -2px);
|
|
24240
|
+
border-start-start-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24241
|
+
border-start-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24242
|
+
border-end-start-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24243
|
+
border-end-end-radius: var(--border-radius-control-default-focus-ring-1uabki, 4px);
|
|
24244
|
+
box-shadow: 0 0 0 2px var(--color-text-code-editor-gutter-active-line-2addhd, #ffffff);
|
|
24245
|
+
}
|
|
24246
|
+
@supports (--css-variable-support-check: #000) {
|
|
24247
|
+
body .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open {
|
|
24248
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24249
|
+
}
|
|
24250
|
+
@media not print {
|
|
24251
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open {
|
|
24252
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%231b232d' fill='%231b232d' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24253
|
+
}
|
|
24254
|
+
}
|
|
24255
|
+
}
|
|
24256
|
+
@supports (--css-variable-support-check: #000) {
|
|
24257
|
+
body .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:hover {
|
|
24258
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24259
|
+
}
|
|
24260
|
+
@media not print {
|
|
24261
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_open:hover {
|
|
24262
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24263
|
+
}
|
|
24264
|
+
}
|
|
24265
|
+
}
|
|
24266
|
+
@supports (--css-variable-support-check: #000) {
|
|
24267
|
+
body .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed {
|
|
24268
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24269
|
+
}
|
|
24270
|
+
@media not print {
|
|
24271
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed {
|
|
24272
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%231b232d' fill='%231b232d' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24273
|
+
}
|
|
24274
|
+
}
|
|
24275
|
+
}
|
|
24276
|
+
@supports (--css-variable-support-check: #000) {
|
|
24277
|
+
body .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:hover {
|
|
24278
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24279
|
+
}
|
|
24280
|
+
@media not print {
|
|
24281
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line > .ace_fold-widget.ace_closed:hover {
|
|
24282
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24283
|
+
}
|
|
24284
|
+
}
|
|
24285
|
+
}
|
|
24286
|
+
.code-editor .ace_editor .ace_gutter-active-line.ace_error {
|
|
24287
|
+
color: var(--color-text-code-editor-gutter-active-line-2addhd, #ffffff);
|
|
24288
|
+
background-color: var(--color-background-code-editor-gutter-active-line-error-ro2qo1, #db0000);
|
|
24289
|
+
}
|
|
24290
|
+
@supports (--css-variable-support-check: #000) {
|
|
24291
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error {
|
|
24292
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23ffffff' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
|
|
24293
|
+
}
|
|
24294
|
+
@media not print {
|
|
24295
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error {
|
|
24296
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Ccircle cx='8' cy='8' r='7'/%3E %3Cpath d='M10.828 5.172l-5.656 5.656M10.828 10.828L5.172 5.172'/%3E %3C/svg%3E");
|
|
24297
|
+
}
|
|
24298
|
+
}
|
|
24299
|
+
}
|
|
24300
|
+
@supports (--css-variable-support-check: #000) {
|
|
24301
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_warning {
|
|
24302
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23ffffff' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
|
|
24303
|
+
}
|
|
24304
|
+
@media not print {
|
|
24305
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning {
|
|
24306
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill-opacity='0' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M8 1l7 14H1L8 1z'/%3E %3Cpath d='M7.99 12H8v.01h-.01zM8 6v4'/%3E %3C/svg%3E");
|
|
24307
|
+
}
|
|
24308
|
+
}
|
|
24309
|
+
}
|
|
24310
|
+
@supports (--css-variable-support-check: #000) {
|
|
24311
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open, body .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open {
|
|
24312
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24313
|
+
}
|
|
24314
|
+
@media not print {
|
|
24315
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open, body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open {
|
|
24316
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%231b232d' fill='%231b232d' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24317
|
+
}
|
|
24318
|
+
}
|
|
24319
|
+
}
|
|
24320
|
+
@supports (--css-variable-support-check: #000) {
|
|
24321
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:hover, body .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:hover {
|
|
24322
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24323
|
+
}
|
|
24324
|
+
@media not print {
|
|
24325
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_open:hover, body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_open:hover {
|
|
24326
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2'%3E %3Cpath d='M4 5h8l-4 6-4-6z' stroke-linejoin='round'/%3E %3C/svg%3E");
|
|
24327
|
+
}
|
|
24328
|
+
}
|
|
24329
|
+
}
|
|
24330
|
+
@supports (--css-variable-support-check: #000) {
|
|
24331
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed, body .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed {
|
|
24332
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23dedee3' fill='%23dedee3' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24333
|
+
}
|
|
24334
|
+
@media not print {
|
|
24335
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed, body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed {
|
|
24336
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%231b232d' fill='%231b232d' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24337
|
+
}
|
|
24338
|
+
}
|
|
24339
|
+
}
|
|
24340
|
+
@supports (--css-variable-support-check: #000) {
|
|
24341
|
+
body .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:hover, body .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:hover {
|
|
24342
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%23f9f9fa' fill='%23f9f9fa' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24343
|
+
}
|
|
24344
|
+
@media not print {
|
|
24345
|
+
body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_error > .ace_fold-widget.ace_closed:hover, body.awsui-polaris-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:hover, body.awsui-dark-mode .code-editor .ace_editor .ace_gutter-active-line.ace_warning > .ace_fold-widget.ace_closed:hover {
|
|
24346
|
+
background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' stroke='%230f141a' fill='%230f141a' stroke-width='2' stroke-linejoin='round'%3E %3Cpath d='M5 4v8l6-4-6-4z'/%3E %3C/svg%3E");
|
|
24347
|
+
}
|
|
24348
|
+
}
|
|
24349
|
+
}
|
|
24350
|
+
|
|
24351
|
+
.pane {
|
|
24352
|
+
display: flex;
|
|
24353
|
+
position: relative;
|
|
24354
|
+
flex-direction: row;
|
|
24355
|
+
flex: 1;
|
|
24356
|
+
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-default-2bfcfq, #dedee3);
|
|
24357
|
+
border-end-start-radius: var(--border-radius-code-editor-5palck, 8px);
|
|
24358
|
+
border-end-end-radius: var(--border-radius-code-editor-5palck, 8px);
|
|
24359
|
+
background: var(--color-background-code-editor-status-bar-yjtxod, #f3f3f7);
|
|
24360
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
24361
|
+
}
|
|
24362
|
+
.pane__close-container {
|
|
24363
|
+
position: absolute;
|
|
24364
|
+
inset-block-start: 0;
|
|
24365
|
+
inset-inline-end: calc(var(--space-s-tvghoh, 12px) / 2);
|
|
24366
|
+
}
|
|
24367
|
+
.pane__list {
|
|
24368
|
+
flex: 1;
|
|
24369
|
+
overflow: auto;
|
|
24370
|
+
max-block-size: 100%;
|
|
24371
|
+
box-sizing: border-box;
|
|
24372
|
+
margin-inline-end: calc(var(--line-height-body-m-2mh3ke, 20px) + 2 * var(--space-xs-ymlm0b, 8px));
|
|
24373
|
+
}
|
|
24374
|
+
.pane__table {
|
|
24375
|
+
inline-size: 100%;
|
|
24376
|
+
border-spacing: 0;
|
|
24377
|
+
margin-block: var(--space-s-tvghoh, 12px);
|
|
24378
|
+
margin-inline: 0;
|
|
24379
|
+
}
|
|
24380
|
+
.pane__item > .pane__cell {
|
|
24381
|
+
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24382
|
+
border-block-end: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24383
|
+
}
|
|
24384
|
+
.pane__item > .pane__cell:first-child {
|
|
24385
|
+
border-inline-start: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24386
|
+
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24387
|
+
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24388
|
+
}
|
|
24389
|
+
.pane__item > .pane__cell:last-child {
|
|
24390
|
+
border-inline-end: var(--border-item-width-miijiw, 2px) solid var(--color-transparent-i61gs1, transparent);
|
|
24391
|
+
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24392
|
+
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24393
|
+
}
|
|
24394
|
+
.pane__item--highlighted, .pane__item:hover, .pane__item:focus {
|
|
24395
|
+
cursor: pointer;
|
|
24396
|
+
outline: none;
|
|
24397
|
+
}
|
|
24398
|
+
.pane__item--highlighted > .pane__cell, .pane__item:hover > .pane__cell, .pane__item:focus > .pane__cell {
|
|
24399
|
+
background-color: var(--color-background-code-editor-pane-item-hover-z6k9mr, #ebebf0);
|
|
24400
|
+
}
|
|
24401
|
+
.pane__item--highlighted > .pane__cell, .pane__item:hover > .pane__cell, .pane__item:focus > .pane__cell {
|
|
24402
|
+
border-block-start: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-pane-item-hover-wvblek, #8c8c94);
|
|
24403
|
+
border-block-end: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-pane-item-hover-wvblek, #8c8c94);
|
|
24404
|
+
}
|
|
24405
|
+
.pane__item--highlighted > .pane__cell:first-child, .pane__item:hover > .pane__cell:first-child, .pane__item:focus > .pane__cell:first-child {
|
|
24406
|
+
border-inline-start: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-pane-item-hover-wvblek, #8c8c94);
|
|
24407
|
+
border-start-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24408
|
+
border-end-start-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24409
|
+
}
|
|
24410
|
+
.pane__item--highlighted > .pane__cell:last-child, .pane__item:hover > .pane__cell:last-child, .pane__item:focus > .pane__cell:last-child {
|
|
24411
|
+
border-inline-end: var(--border-item-width-miijiw, 2px) solid var(--color-border-code-editor-pane-item-hover-wvblek, #8c8c94);
|
|
24412
|
+
border-start-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24413
|
+
border-end-end-radius: var(--border-radius-item-iwaia5, 8px);
|
|
24414
|
+
}
|
|
24415
|
+
.pane__location, .pane__description {
|
|
24416
|
+
padding-block: var(--space-xxs-hwfkai, 4px);
|
|
24417
|
+
padding-inline: var(--space-s-tvghoh, 12px);
|
|
24418
|
+
}
|
|
24419
|
+
.pane__location {
|
|
24420
|
+
vertical-align: baseline;
|
|
24421
|
+
white-space: nowrap;
|
|
24422
|
+
padding-inline-start: calc(var(--space-l-2ud1p3, 20px) + var(--space-s-tvghoh, 12px));
|
|
24423
|
+
}
|
|
24424
|
+
.pane__description {
|
|
24425
|
+
padding-inline-end: 0;
|
|
24426
|
+
min-inline-size: 0;
|
|
24427
|
+
word-break: break-word;
|
|
24428
|
+
}
|
|
24429
|
+
|
|
24430
|
+
.focus-lock {
|
|
24431
|
+
block-size: 100%;
|
|
24432
|
+
}
|
|
24433
|
+
|
|
24434
|
+
.code-editor {
|
|
24435
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
24436
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
24437
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
24438
|
+
font-weight: 400;
|
|
24439
|
+
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
24440
|
+
-webkit-font-smoothing: auto;
|
|
23984
24441
|
-moz-osx-font-smoothing: auto;
|
|
23985
24442
|
display: block;
|
|
23986
24443
|
border-block: var(--border-width-field-2xc78x, 1px) solid var(--color-border-code-editor-default-2bfcfq, #dedee3);
|
|
@@ -27916,6 +28373,16 @@ var appLayoutTogglesStyles = css171`
|
|
|
27916
28373
|
// src/internal/styles/app-layout-visual-refresh.ts
|
|
27917
28374
|
import { css as css172 } from "lit";
|
|
27918
28375
|
var appLayoutVisualRefreshStyles = css172`
|
|
28376
|
+
div.app-layout-visual-refresh--background {
|
|
28377
|
+
display: contents;
|
|
28378
|
+
}
|
|
28379
|
+
div.app-layout-visual-refresh--background > .app-layout-visual-refresh--scrolling-background {
|
|
28380
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28381
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
28382
|
+
grid-column: 1/span 5;
|
|
28383
|
+
grid-row: 1/9;
|
|
28384
|
+
}
|
|
28385
|
+
|
|
27919
28386
|
.app-layout-visual-refresh--breadcrumbs {
|
|
27920
28387
|
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
27921
28388
|
grid-area: breadcrumbs;
|
|
@@ -27945,78 +28412,886 @@ var appLayoutVisualRefreshStyles = css172`
|
|
|
27945
28412
|
position: fixed;
|
|
27946
28413
|
inset-inline-end: 0;
|
|
27947
28414
|
z-index: 1001;
|
|
27948
|
-
|
|
27949
|
-
|
|
27950
|
-
|
|
28415
|
+
/*
|
|
28416
|
+
When disableBodyScroll is true the offsetTop will be relative to the
|
|
28417
|
+
app layout and not the body. However, the drawer position changes
|
|
28418
|
+
to fixed in mobile viewports. The top value needs to include the
|
|
28419
|
+
header because fixed position switches the top value so it is now
|
|
28420
|
+
relative to the body.
|
|
28421
|
+
*/
|
|
28422
|
+
}
|
|
28423
|
+
.app-layout-visual-refresh--drawers-container.app-layout-visual-refresh--disable-body-scroll {
|
|
28424
|
+
inset-block-start: var(--awsui-header-height-6b9ypa);
|
|
28425
|
+
}
|
|
27951
28426
|
}
|
|
27952
28427
|
|
|
27953
|
-
.app-layout-visual-refresh--container {
|
|
27954
|
-
|
|
27955
|
-
|
|
27956
|
-
|
|
27957
|
-
|
|
27958
|
-
|
|
27959
|
-
|
|
27960
|
-
|
|
27961
|
-
|
|
27962
|
-
box-shadow: var(--shadow-sticky-lolw8j, 0px 4px 8px 1px rgba(0, 7, 22, 0.1));
|
|
28428
|
+
.app-layout-visual-refresh--drawers-desktop-triggers-container {
|
|
28429
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
28430
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
28431
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
28432
|
+
font-weight: 400;
|
|
28433
|
+
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
28434
|
+
-webkit-font-smoothing: auto;
|
|
28435
|
+
-moz-osx-font-smoothing: auto;
|
|
28436
|
+
background-color: transparent;
|
|
27963
28437
|
box-sizing: border-box;
|
|
27964
|
-
block-size:
|
|
27965
|
-
|
|
27966
|
-
|
|
27967
|
-
|
|
27968
|
-
|
|
27969
|
-
padding-block: 0;
|
|
27970
|
-
padding-inline: var(--space-m-dsumyt, 16px);
|
|
27971
|
-
position: sticky;
|
|
27972
|
-
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
27973
|
-
z-index: 1000;
|
|
27974
|
-
}
|
|
27975
|
-
section.app-layout-visual-refresh--mobile-toolbar:not(.app-layout-visual-refresh--remove-high-contrast-header) {
|
|
27976
|
-
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
27977
|
-
box-shadow: var(--shadow-panel-toggle-qddz27, 0px 6px 12px 1px rgba(0, 7, 22, 0.12));
|
|
28438
|
+
block-size: 100%;
|
|
28439
|
+
overflow-y: hidden;
|
|
28440
|
+
overflow-x: hidden;
|
|
28441
|
+
|
|
28442
|
+
overscroll-behavior-y: contain;
|
|
27978
28443
|
}
|
|
27979
|
-
|
|
27980
|
-
|
|
27981
|
-
margin-inline-end: var(--space-m-dsumyt, 16px);
|
|
28444
|
+
.app-layout-visual-refresh--drawers-desktop-triggers-container:not(.app-layout-visual-refresh--has-multiple-triggers).app-layout-visual-refresh--has-open-drawer {
|
|
28445
|
+
inline-size: 0;
|
|
27982
28446
|
}
|
|
27983
|
-
|
|
27984
|
-
|
|
27985
|
-
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28447
|
+
.app-layout-visual-refresh--drawers-desktop-triggers-container.app-layout-visual-refresh--has-multiple-triggers.app-layout-visual-refresh--has-open-drawer {
|
|
28448
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
27986
28449
|
}
|
|
27987
|
-
|
|
27988
|
-
|
|
27989
|
-
margin-inline-start: var(--space-m-dsumyt, 16px);
|
|
28450
|
+
.app-layout-visual-refresh--drawers-desktop-triggers-container:not(.app-layout-visual-refresh--has-multiple-triggers):not(.app-layout-visual-refresh--has-open-drawer) {
|
|
28451
|
+
inline-size: calc(var(--space-layout-toggle-padding-chwlhz, 12px) * 2 + var(--space-layout-toggle-diameter-j2qffw, 36px));
|
|
27990
28452
|
}
|
|
27991
28453
|
|
|
27992
|
-
.app-layout-visual-refresh--
|
|
28454
|
+
.app-layout-visual-refresh--drawers-mobile-triggers-container {
|
|
27993
28455
|
display: flex;
|
|
27994
|
-
|
|
27995
|
-
grid-row: 1/span 9;
|
|
27996
|
-
block-size: var(--awsui-content-height-6b9ypa);
|
|
27997
|
-
position: sticky;
|
|
27998
|
-
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
27999
|
-
z-index: 830;
|
|
28000
|
-
|
|
28001
|
-
.app-layout-visual-refresh--notifications {
|
|
28002
|
-
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
28003
|
-
grid-area: notifications;
|
|
28004
|
-
z-index: 850;
|
|
28456
|
+
justify-content: flex-end;
|
|
28005
28457
|
}
|
|
28006
|
-
|
|
28458
|
+
|
|
28459
|
+
.app-layout-visual-refresh--drawers-trigger-content {
|
|
28460
|
+
align-items: center;
|
|
28461
|
+
display: flex;
|
|
28462
|
+
flex-direction: column;
|
|
28463
|
+
gap: var(--space-xs-ymlm0b, 8px);
|
|
28007
28464
|
padding-block-start: var(--space-scaled-s-8ozaad, 12px);
|
|
28465
|
+
inline-size: calc(var(--space-layout-toggle-padding-chwlhz, 12px) * 2 + var(--space-layout-toggle-diameter-j2qffw, 36px));
|
|
28008
28466
|
}
|
|
28009
|
-
|
|
28010
|
-
|
|
28011
|
-
|
|
28012
|
-
|
|
28013
|
-
|
|
28014
|
-
|
|
28015
|
-
|
|
28016
|
-
|
|
28017
|
-
|
|
28018
|
-
|
|
28019
|
-
|
|
28467
|
+
.app-layout-visual-refresh--drawers-trigger-content:not(.app-layout-visual-refresh--has-multiple-triggers).app-layout-visual-refresh--has-open-drawer {
|
|
28468
|
+
opacity: 0;
|
|
28469
|
+
}
|
|
28470
|
+
.app-layout-visual-refresh--drawers-trigger-content:not(.app-layout-visual-refresh--has-multiple-triggers):not(.app-layout-visual-refresh--has-open-drawer) {
|
|
28471
|
+
opacity: 1;
|
|
28472
|
+
}
|
|
28473
|
+
.app-layout-visual-refresh--drawers-trigger-content > .app-layout-visual-refresh--drawers-trigger-overflow {
|
|
28474
|
+
padding-block: 0;
|
|
28475
|
+
padding-inline: 1px;
|
|
28476
|
+
display: flex;
|
|
28477
|
+
align-items: center;
|
|
28478
|
+
justify-content: center;
|
|
28479
|
+
}
|
|
28480
|
+
|
|
28481
|
+
@media (max-width: 688px) {
|
|
28482
|
+
.app-layout-visual-refresh--drawers-trigger {
|
|
28483
|
+
inline-size: 40px;
|
|
28484
|
+
display: flex;
|
|
28485
|
+
justify-content: center;
|
|
28486
|
+
}
|
|
28487
|
+
}
|
|
28488
|
+
|
|
28489
|
+
.app-layout-visual-refresh--drawer {
|
|
28490
|
+
--awsui-drawer-size-6b9ypa: 290px;
|
|
28491
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
28492
|
+
border-color: transparent;
|
|
28493
|
+
display: grid;
|
|
28494
|
+
grid-template-columns: var(--space-m-dsumyt, 16px) 1fr;
|
|
28495
|
+
flex-shrink: 0;
|
|
28496
|
+
block-size: 100%;
|
|
28497
|
+
overflow-y: hidden;
|
|
28498
|
+
overflow-x: hidden;
|
|
28499
|
+
|
|
28500
|
+
overscroll-behavior-y: contain;
|
|
28501
|
+
pointer-events: auto;
|
|
28502
|
+
word-wrap: break-word;
|
|
28503
|
+
}
|
|
28504
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-content-container {
|
|
28505
|
+
grid-column: 1/span 2;
|
|
28506
|
+
grid-row: 1;
|
|
28507
|
+
inline-size: var(--awsui-drawer-size-6b9ypa);
|
|
28508
|
+
display: grid;
|
|
28509
|
+
grid-template-columns: var(--space-m-dsumyt, 16px) 1fr auto var(--space-m-dsumyt, 16px);
|
|
28510
|
+
grid-template-rows: var(--size-vertical-panel-icon-offset-z959cw, 15px) auto 1fr;
|
|
28511
|
+
overflow-y: auto;
|
|
28512
|
+
}
|
|
28513
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-content-container > .app-layout-visual-refresh--drawer-close-button {
|
|
28514
|
+
grid-column: 3;
|
|
28515
|
+
grid-row: 2;
|
|
28516
|
+
z-index: 1;
|
|
28517
|
+
}
|
|
28518
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-content-container > .app-layout-visual-refresh--drawer-content {
|
|
28519
|
+
grid-column: 1/span 4;
|
|
28520
|
+
block-size: var(--awsui-content-height-6b9ypa);
|
|
28521
|
+
}
|
|
28522
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-content-container > .app-layout-visual-refresh--drawer-content.app-layout-visual-refresh--drawer-content-hidden {
|
|
28523
|
+
display: none;
|
|
28524
|
+
}
|
|
28525
|
+
.app-layout-visual-refresh--drawer > .app-layout-visual-refresh--drawer-slider {
|
|
28526
|
+
grid-column: 1;
|
|
28527
|
+
grid-row: 1;
|
|
28528
|
+
block-size: 100%;
|
|
28529
|
+
display: flex;
|
|
28530
|
+
align-items: center;
|
|
28531
|
+
z-index: 850;
|
|
28532
|
+
}
|
|
28533
|
+
.app-layout-visual-refresh--drawer:not(.app-layout-visual-refresh--is-drawer-open) {
|
|
28534
|
+
opacity: 0;
|
|
28535
|
+
inline-size: 0;
|
|
28536
|
+
}
|
|
28537
|
+
.app-layout-visual-refresh--drawer.app-layout-visual-refresh--is-drawer-open {
|
|
28538
|
+
border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
28539
|
+
border-inline-start: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
28540
|
+
opacity: 1;
|
|
28541
|
+
inline-size: var(--awsui-drawer-size-6b9ypa);
|
|
28542
|
+
}
|
|
28543
|
+
@media (min-width: 2541px) {
|
|
28544
|
+
.app-layout-visual-refresh--drawer.app-layout-visual-refresh--is-drawer-open {
|
|
28545
|
+
--awsui-drawer-size-6b9ypa: 320px;
|
|
28546
|
+
}
|
|
28547
|
+
}
|
|
28548
|
+
@media (max-width: 688px) {
|
|
28549
|
+
.app-layout-visual-refresh--drawer.app-layout-visual-refresh--is-drawer-open {
|
|
28550
|
+
--awsui-drawer-size-6b9ypa: 100vw;
|
|
28551
|
+
inline-size: 100vw;
|
|
28552
|
+
}
|
|
28553
|
+
}
|
|
28554
|
+
|
|
28555
|
+
header.app-layout-visual-refresh--content {
|
|
28556
|
+
grid-area: header;
|
|
28557
|
+
}
|
|
28558
|
+
|
|
28559
|
+
/*
|
|
28560
|
+
The first and last column definitions have two responsibilities.
|
|
28561
|
+
If Navigation and/or Tools exist then that will determine the width of
|
|
28562
|
+
the first and last columns, respectively, and the content in these drawers
|
|
28563
|
+
will create horizontal space from the center column content. However, if the
|
|
28564
|
+
navigationHide and/or toolsHide properties have been set then the first
|
|
28565
|
+
and last column width will default to the minimum content gap properties to
|
|
28566
|
+
create the necessary visual space around the main content.
|
|
28567
|
+
|
|
28568
|
+
The minimum content width property is set to zero and applied under all
|
|
28569
|
+
circumstances regardless of whether the minContentWidth property is
|
|
28570
|
+
explicitly set in script.
|
|
28571
|
+
*/
|
|
28572
|
+
.app-layout-visual-refresh--layout {
|
|
28573
|
+
--awsui-breadcrumbs-gap-6b9ypa: 0px;
|
|
28574
|
+
--awsui-content-gap-left-6b9ypa: 0px;
|
|
28575
|
+
--awsui-content-gap-right-6b9ypa: 0px;
|
|
28576
|
+
--awsui-content-height-6b9ypa: calc(100vh - var(--awsui-header-height-6b9ypa) - var(--awsui-footer-height-6b9ypa));
|
|
28577
|
+
--awsui-default-max-content-width-6b9ypa: 1280px;
|
|
28578
|
+
--awsui-default-min-content-width-6b9ypa: 0px;
|
|
28579
|
+
--awsui-footer-height-6b9ypa: 0px;
|
|
28580
|
+
--awsui-header-gap-6b9ypa: 0px;
|
|
28581
|
+
--awsui-header-height-6b9ypa: 0px;
|
|
28582
|
+
--awsui-layout-width-6b9ypa: 0px;
|
|
28583
|
+
--awsui-main-gap-6b9ypa: 0px;
|
|
28584
|
+
--awsui-main-offset-left-6b9ypa: 0px;
|
|
28585
|
+
--awsui-main-template-rows-6b9ypa: 1fr;
|
|
28586
|
+
--awsui-max-content-width-6b9ypa: 0px;
|
|
28587
|
+
--awsui-min-content-width-6b9ypa: 280px;
|
|
28588
|
+
--awsui-mobile-bar-height-6b9ypa: calc(2 * var(--space-m-dsumyt, 16px) + var(--space-scaled-xs-xwoogq, 8px));
|
|
28589
|
+
--awsui-notifications-height-6b9ypa: 0px;
|
|
28590
|
+
--awsui-offset-top-6b9ypa: var(--awsui-header-height-6b9ypa);
|
|
28591
|
+
--awsui-overlap-height-6b9ypa: var(--space-dark-header-overlap-distance-ld45ap, 36px);
|
|
28592
|
+
--awsui-toggles-left-width-6b9ypa: 0px;
|
|
28593
|
+
--awsui-toggles-right-width-6b9ypa: 0px;
|
|
28594
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28595
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
28596
|
+
display: grid;
|
|
28597
|
+
grid-template-areas: ". . mobileToolbar . ." ". . notifications . ." ". . breadcrumbsGap . ." ". . breadcrumbs . ." ". . headerGap . ." ". . header . ." ". . mainGap . ." ". . main . ." ". . main . .";
|
|
28598
|
+
grid-template-columns: min-content minmax(var(--awsui-content-gap-left-6b9ypa), 1fr) minmax(var(--awsui-default-min-content-width-6b9ypa), var(--awsui-default-max-content-width-6b9ypa)) minmax(var(--awsui-content-gap-right-6b9ypa), 1fr) min-content;
|
|
28599
|
+
grid-template-rows: auto auto var(--awsui-breadcrumbs-gap-6b9ypa) auto var(--awsui-header-gap-6b9ypa) auto var(--awsui-main-gap-6b9ypa) var(--awsui-overlap-height-6b9ypa) var(--awsui-main-template-rows-6b9ypa);
|
|
28600
|
+
min-block-size: var(--awsui-content-height-6b9ypa);
|
|
28601
|
+
position: relative;
|
|
28602
|
+
/*
|
|
28603
|
+
Add unified max-width for AppLayout content based on breakpoints. Only use the max content
|
|
28604
|
+
width custom property for the middle column definition if the maxContentWidth property
|
|
28605
|
+
has been explicitly set to a non-zero value and subsequently set the has-max-content-width
|
|
28606
|
+
data attribute to true.
|
|
28607
|
+
*/
|
|
28608
|
+
/*
|
|
28609
|
+
Only use the max content width custom property for the middle column definition
|
|
28610
|
+
if the maxContentWidth property has been explicitly set to a non-zero value and
|
|
28611
|
+
subsequently set the has-max-content-width data attribute to true.
|
|
28612
|
+
*/
|
|
28613
|
+
/*
|
|
28614
|
+
Warning! This is a hack! We are implementing a short term fix to prevent the
|
|
28615
|
+
tools drawer from potentially getting pushed off screen. Currently there is no
|
|
28616
|
+
protection against a navigationWidth, minContentWidth, and toolsWidth that are
|
|
28617
|
+
in excess ove the available space in the viewport. To accomodate this we remove
|
|
28618
|
+
the minContentWidth and set it to zero in small viewports and below until the
|
|
28619
|
+
isMobile breakpoint sets the drawers to overlay at 100vw.
|
|
28620
|
+
*/
|
|
28621
|
+
/*
|
|
28622
|
+
In desktop viewports the content gap property for the left and right
|
|
28623
|
+
columns should override the default of zero if the navigationHide
|
|
28624
|
+
or toolsHide property is set. This ensures adequate horizontal space
|
|
28625
|
+
for the center column from the edges of the viewport when there is
|
|
28626
|
+
not left or right content.
|
|
28627
|
+
|
|
28628
|
+
Warning! If these design tokens change it will adversely impact the
|
|
28629
|
+
calculation used to determine the Split Panel maximum width in the
|
|
28630
|
+
handleSplitPanelMaxWidth function in the context.
|
|
28631
|
+
*/
|
|
28632
|
+
/*
|
|
28633
|
+
In mobile viewports the Navigation and Tools drawers are hidden
|
|
28634
|
+
and triggered by the MobileToolbar which then take up the entire viewport.
|
|
28635
|
+
The center column needs permanent space from the horizontal viewport
|
|
28636
|
+
edges regardless of whether or not there is a Navigation or Tools.
|
|
28637
|
+
*/
|
|
28638
|
+
/*
|
|
28639
|
+
Override the desktop gap values set above for the Notifications, Header, and Main
|
|
28640
|
+
components for mobile viewports.
|
|
28641
|
+
*/
|
|
28642
|
+
}
|
|
28643
|
+
@media (min-width: 1401px) {
|
|
28644
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width) {
|
|
28645
|
+
--awsui-default-max-content-width-6b9ypa: 1280px;
|
|
28646
|
+
}
|
|
28647
|
+
}
|
|
28648
|
+
@media (min-width: 1921px) {
|
|
28649
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width) {
|
|
28650
|
+
--awsui-default-max-content-width-6b9ypa: 1440px;
|
|
28651
|
+
}
|
|
28652
|
+
}
|
|
28653
|
+
@media (min-width: 2541px) {
|
|
28654
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width) {
|
|
28655
|
+
--awsui-default-max-content-width-6b9ypa: 1620px;
|
|
28656
|
+
}
|
|
28657
|
+
}
|
|
28658
|
+
@media (min-width: 1401px) {
|
|
28659
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-dashboard {
|
|
28660
|
+
--awsui-default-max-content-width-6b9ypa: 1280px;
|
|
28661
|
+
}
|
|
28662
|
+
}
|
|
28663
|
+
@media (min-width: 1921px) {
|
|
28664
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-dashboard {
|
|
28665
|
+
--awsui-default-max-content-width-6b9ypa: 1620px;
|
|
28666
|
+
}
|
|
28667
|
+
}
|
|
28668
|
+
@media (min-width: 2541px) {
|
|
28669
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-dashboard {
|
|
28670
|
+
--awsui-default-max-content-width-6b9ypa: 2160px;
|
|
28671
|
+
}
|
|
28672
|
+
}
|
|
28673
|
+
.app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-table, .app-layout-visual-refresh--layout:not(.app-layout-visual-refresh--has-max-content-width).app-layout-visual-refresh--content-type-cards {
|
|
28674
|
+
--awsui-default-max-content-width-6b9ypa: 100%;
|
|
28675
|
+
}
|
|
28676
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-max-content-width {
|
|
28677
|
+
--awsui-default-max-content-width-6b9ypa: var(--awsui-max-content-width-6b9ypa);
|
|
28678
|
+
}
|
|
28679
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--is-overlap-disabled {
|
|
28680
|
+
--awsui-overlap-height-6b9ypa: 0;
|
|
28681
|
+
}
|
|
28682
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--is-hide-mobile-toolbar {
|
|
28683
|
+
--awsui-mobile-bar-height-6b9ypa: 0px;
|
|
28684
|
+
}
|
|
28685
|
+
@media (min-width: 993px) {
|
|
28686
|
+
.app-layout-visual-refresh--layout {
|
|
28687
|
+
--awsui-default-min-content-width-6b9ypa: var(--awsui-min-content-width-6b9ypa, 280px);
|
|
28688
|
+
}
|
|
28689
|
+
}
|
|
28690
|
+
@media (max-width: 992px) {
|
|
28691
|
+
.app-layout-visual-refresh--layout {
|
|
28692
|
+
--awsui-default-min-content-width-6b9ypa: 0px;
|
|
28693
|
+
}
|
|
28694
|
+
}
|
|
28695
|
+
@media (min-width: 689px) {
|
|
28696
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-content-gap-left {
|
|
28697
|
+
--awsui-content-gap-left-6b9ypa: var(--space-layout-content-horizontal-buc0zz, 24px);
|
|
28698
|
+
}
|
|
28699
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-content-gap-right {
|
|
28700
|
+
--awsui-content-gap-right-6b9ypa: var(--space-layout-content-horizontal-buc0zz, 24px);
|
|
28701
|
+
}
|
|
28702
|
+
}
|
|
28703
|
+
@media (max-width: 688px) {
|
|
28704
|
+
.app-layout-visual-refresh--layout {
|
|
28705
|
+
--awsui-content-gap-left-6b9ypa: var(--space-l-2ud1p3, 20px);
|
|
28706
|
+
--awsui-content-gap-right-6b9ypa: var(--space-l-2ud1p3, 20px);
|
|
28707
|
+
}
|
|
28708
|
+
}
|
|
28709
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-breadcrumbs {
|
|
28710
|
+
--awsui-breadcrumbs-gap-6b9ypa: var(--space-scaled-m-m892r9, 16px);
|
|
28711
|
+
}
|
|
28712
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-header, .app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-notifications:not(.app-layout-visual-refresh--has-breadcrumbs).app-layout-visual-refresh--has-header {
|
|
28713
|
+
--awsui-header-gap-6b9ypa: var(--space-scaled-xs-xwoogq, 8px);
|
|
28714
|
+
}
|
|
28715
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-breadcrumbs.app-layout-visual-refresh--has-header {
|
|
28716
|
+
--awsui-header-gap-6b9ypa: var(--space-scaled-xs-xwoogq, 8px);
|
|
28717
|
+
}
|
|
28718
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-notifications:not(.app-layout-visual-refresh--has-breadcrumbs):not(.app-layout-visual-refresh--has-header) {
|
|
28719
|
+
--awsui-main-gap-6b9ypa: var(--space-xs-ymlm0b, 8px);
|
|
28720
|
+
}
|
|
28721
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-breadcrumbs:not(.app-layout-visual-refresh--has-header) {
|
|
28722
|
+
--awsui-main-gap-6b9ypa: var(--space-scaled-xxs-pfm1nx, 4px);
|
|
28723
|
+
}
|
|
28724
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-header {
|
|
28725
|
+
--awsui-main-gap-6b9ypa: var(--space-content-header-padding-bottom-rvy5xz, 16px);
|
|
28726
|
+
}
|
|
28727
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-main:not(.app-layout-visual-refresh--disable-content-paddings) {
|
|
28728
|
+
--awsui-main-gap-6b9ypa: var(--space-scaled-s-8ozaad, 12px);
|
|
28729
|
+
}
|
|
28730
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-main.app-layout-visual-refresh--disable-content-paddings {
|
|
28731
|
+
--awsui-main-gap-6b9ypa: 0px;
|
|
28732
|
+
}
|
|
28733
|
+
@media (max-width: 688px) {
|
|
28734
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-header {
|
|
28735
|
+
--awsui-header-gap-6b9ypa: var(--space-scaled-s-8ozaad, 12px);
|
|
28736
|
+
}
|
|
28737
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-notifications:not(.app-layout-visual-refresh--has-breadcrumbs).app-layout-visual-refresh--has-header {
|
|
28738
|
+
--awsui-header-gap-6b9ypa: var(--space-scaled-s-8ozaad, 12px);
|
|
28739
|
+
}
|
|
28740
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-notifications:not(.app-layout-visual-refresh--has-breadcrumbs):not(.app-layout-visual-refresh--has-header), .app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-main:not(.app-layout-visual-refresh--disable-content-paddings) {
|
|
28741
|
+
--awsui-main-gap-6b9ypa: var(--space-scaled-s-8ozaad, 12px);
|
|
28742
|
+
}
|
|
28743
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--content-first-child-main.app-layout-visual-refresh--disable-content-paddings {
|
|
28744
|
+
--awsui-main-gap-6b9ypa: 0px;
|
|
28745
|
+
}
|
|
28746
|
+
}
|
|
28747
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-left-toggles-gutter {
|
|
28748
|
+
--awsui-toggles-left-width-6b9ypa: calc(var(--space-layout-toggle-padding-chwlhz, 12px) + 36px);
|
|
28749
|
+
}
|
|
28750
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--has-right-toggles-gutter {
|
|
28751
|
+
--awsui-toggles-right-width-6b9ypa: calc(var(--space-layout-toggle-padding-chwlhz, 12px) + 36px);
|
|
28752
|
+
}
|
|
28753
|
+
|
|
28754
|
+
/*
|
|
28755
|
+
If disableBodyScroll is true (very uncommon use case) then the AppLayout component
|
|
28756
|
+
and not the document body will be the scrollable element. This requires a fixed height
|
|
28757
|
+
instead of a minimum height with a vertical scroll policy. The offset top value for
|
|
28758
|
+
components with position: sticky (MobileToolbar, Navigation, Notifications, Tools) will be
|
|
28759
|
+
set zero since the AppLayout is nearest scrollable parent and any existing header does
|
|
28760
|
+
not matter. The offset top value for AppLayout contentMain children with
|
|
28761
|
+
position: sticky will be the value of the notifications height in addition to the
|
|
28762
|
+
notifications top margin and some additional vertical space for aesthetics.
|
|
28763
|
+
*/
|
|
28764
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--disable-body-scroll {
|
|
28765
|
+
--awsui-main-template-rows-6b9ypa: 1fr auto;
|
|
28766
|
+
--awsui-offset-top-6b9ypa: 0px;
|
|
28767
|
+
block-size: var(--awsui-content-height-6b9ypa);
|
|
28768
|
+
overflow-y: scroll;
|
|
28769
|
+
}
|
|
28770
|
+
.app-layout-visual-refresh--layout.app-layout-visual-refresh--disable-body-scroll.app-layout-visual-refresh--has-split-panel.app-layout-visual-refresh--split-panel-position-bottom {
|
|
28771
|
+
--awsui-main-template-rows-6b9ypa: repeat(2, auto);
|
|
28772
|
+
}
|
|
28773
|
+
|
|
28774
|
+
/*
|
|
28775
|
+
This CSS class is applied to the document body to prevent overflow scrolling
|
|
28776
|
+
when the navigation or tools drawers are open in responsive viewports.
|
|
28777
|
+
*/
|
|
28778
|
+
.app-layout-visual-refresh--block-body-scroll {
|
|
28779
|
+
overflow: hidden;
|
|
28780
|
+
}
|
|
28781
|
+
|
|
28782
|
+
.app-layout-visual-refresh--unfocusable,
|
|
28783
|
+
.app-layout-visual-refresh--unfocusable * {
|
|
28784
|
+
visibility: hidden !important;
|
|
28785
|
+
}
|
|
28786
|
+
|
|
28787
|
+
.app-layout-visual-refresh--container {
|
|
28788
|
+
grid-area: main;
|
|
28789
|
+
padding-block-end: var(--space-layout-content-bottom-zeb1g9, 40px);
|
|
28790
|
+
/*
|
|
28791
|
+
If the split panel is in the bottom position additional padding will need to be
|
|
28792
|
+
added to the content area. This is to ensure that the user is able to scroll
|
|
28793
|
+
far enough to see all of the content that would otherwise be obscured by the
|
|
28794
|
+
sticky position of the split panel.
|
|
28795
|
+
*/
|
|
28796
|
+
/*
|
|
28797
|
+
If disableContentPaddings is enabled then the Main content has a different
|
|
28798
|
+
behavior inside the Layout grid. By default it will render across the entire
|
|
28799
|
+
grid column span. If the Navigation is open on the left, we increment the
|
|
28800
|
+
start column by one. If the Tools or Split Panel (in side position) is open
|
|
28801
|
+
on the right, we decrement the column end by one.
|
|
28802
|
+
*/
|
|
28803
|
+
}
|
|
28804
|
+
.app-layout-visual-refresh--container.app-layout-visual-refresh--has-split-panel.app-layout-visual-refresh--split-panel-position-bottom {
|
|
28805
|
+
padding-block-end: calc(var(--awsui-split-panel-height-6b9ypa) + var(--space-layout-content-bottom-zeb1g9, 40px));
|
|
28806
|
+
}
|
|
28807
|
+
.app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings {
|
|
28808
|
+
grid-column: 1/6;
|
|
28809
|
+
padding-block: 0;
|
|
28810
|
+
padding-inline: 0;
|
|
28811
|
+
}
|
|
28812
|
+
@media (min-width: 689px) {
|
|
28813
|
+
.app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings.app-layout-visual-refresh--is-navigation-open {
|
|
28814
|
+
grid-column-start: 2;
|
|
28815
|
+
}
|
|
28816
|
+
.app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings.app-layout-visual-refresh--is-tools-open, .app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--split-panel-position-side, .app-layout-visual-refresh--container.app-layout-visual-refresh--disable-content-paddings.app-layout-visual-refresh--has-active-drawer {
|
|
28817
|
+
grid-column-end: 5;
|
|
28818
|
+
}
|
|
28819
|
+
}
|
|
28820
|
+
|
|
28821
|
+
section.app-layout-visual-refresh--mobile-toolbar {
|
|
28822
|
+
align-items: center;
|
|
28823
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28824
|
+
border-block-end: 1px solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
28825
|
+
box-shadow: var(--shadow-sticky-lolw8j, 0px 4px 8px 1px rgba(0, 7, 22, 0.1));
|
|
28826
|
+
box-sizing: border-box;
|
|
28827
|
+
block-size: var(--awsui-mobile-bar-height-6b9ypa);
|
|
28828
|
+
display: grid;
|
|
28829
|
+
grid-area: mobileToolbar;
|
|
28830
|
+
grid-column: 1/span 5;
|
|
28831
|
+
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
28832
|
+
padding-block: 0;
|
|
28833
|
+
padding-inline: var(--space-m-dsumyt, 16px);
|
|
28834
|
+
position: sticky;
|
|
28835
|
+
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
28836
|
+
z-index: 1000;
|
|
28837
|
+
}
|
|
28838
|
+
section.app-layout-visual-refresh--mobile-toolbar:not(.app-layout-visual-refresh--remove-high-contrast-header) {
|
|
28839
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28840
|
+
box-shadow: var(--shadow-panel-toggle-qddz27, 0px 6px 12px 1px rgba(0, 7, 22, 0.12));
|
|
28841
|
+
}
|
|
28842
|
+
section.app-layout-visual-refresh--mobile-toolbar > .app-layout-visual-refresh--mobile-toolbar-nav {
|
|
28843
|
+
grid-column: 1;
|
|
28844
|
+
margin-inline-end: var(--space-m-dsumyt, 16px);
|
|
28845
|
+
}
|
|
28846
|
+
section.app-layout-visual-refresh--mobile-toolbar > .app-layout-visual-refresh--mobile-toolbar-breadcrumbs {
|
|
28847
|
+
grid-column: 2;
|
|
28848
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
28849
|
+
}
|
|
28850
|
+
section.app-layout-visual-refresh--mobile-toolbar > .app-layout-visual-refresh--mobile-toolbar-tools {
|
|
28851
|
+
grid-column: 3;
|
|
28852
|
+
margin-inline-start: var(--space-m-dsumyt, 16px);
|
|
28853
|
+
}
|
|
28854
|
+
|
|
28855
|
+
.app-layout-visual-refresh--navigation-container {
|
|
28856
|
+
display: flex;
|
|
28857
|
+
grid-column: 1;
|
|
28858
|
+
grid-row: 1/span 9;
|
|
28859
|
+
block-size: var(--awsui-content-height-6b9ypa);
|
|
28860
|
+
position: sticky;
|
|
28861
|
+
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
28862
|
+
z-index: 830;
|
|
28863
|
+
/*
|
|
28864
|
+
The navigation and tools containers (that contain the toggle buttons)
|
|
28865
|
+
stretch the full height of the app layout. Normally, this wouldn't be an
|
|
28866
|
+
issue because they sit above the app layout's content padding.
|
|
28867
|
+
|
|
28868
|
+
But if disableContentPaddings is set to true and there are buttons on the
|
|
28869
|
+
left/right edges of the screen, they will be covered by the containers. So
|
|
28870
|
+
we need to disable pointer events in the container and re-enable them in
|
|
28871
|
+
the panels and toggle buttons.
|
|
28872
|
+
*/
|
|
28873
|
+
pointer-events: none;
|
|
28874
|
+
}
|
|
28875
|
+
@media (max-width: 688px) {
|
|
28876
|
+
.app-layout-visual-refresh--navigation-container {
|
|
28877
|
+
inset-inline-start: 0;
|
|
28878
|
+
position: fixed;
|
|
28879
|
+
z-index: 1001;
|
|
28880
|
+
/*
|
|
28881
|
+
When disableBodyScroll is true the offsetTop will be relative to the
|
|
28882
|
+
app layout and not the body. However, the drawer position changes
|
|
28883
|
+
to fixed in mobile viewports. The top value needs to include the
|
|
28884
|
+
header because fixed position switches the top value so it is now
|
|
28885
|
+
relative to the body.
|
|
28886
|
+
*/
|
|
28887
|
+
}
|
|
28888
|
+
.app-layout-visual-refresh--navigation-container.app-layout-visual-refresh--disable-body-scroll {
|
|
28889
|
+
inset-block-start: var(--awsui-header-height-6b9ypa);
|
|
28890
|
+
}
|
|
28891
|
+
}
|
|
28892
|
+
|
|
28893
|
+
nav.app-layout-visual-refresh--show-navigation {
|
|
28894
|
+
padding-block: var(--space-scaled-s-8ozaad, 12px);
|
|
28895
|
+
padding-inline: var(--space-layout-toggle-padding-chwlhz, 12px);
|
|
28896
|
+
/*
|
|
28897
|
+
Apply the animation only in desktop viewports because the MobileToolbar will
|
|
28898
|
+
take control in responsive viewports.
|
|
28899
|
+
*/
|
|
28900
|
+
}
|
|
28901
|
+
@keyframes awsui_showButtons_hyvsj_1u13u_1 {
|
|
28902
|
+
0% {
|
|
28903
|
+
opacity: 0;
|
|
28904
|
+
}
|
|
28905
|
+
100% {
|
|
28906
|
+
opacity: 1;
|
|
28907
|
+
}
|
|
28908
|
+
}
|
|
28909
|
+
nav.app-layout-visual-refresh--show-navigation.app-layout-visual-refresh--is-navigation-open {
|
|
28910
|
+
display: none;
|
|
28911
|
+
}
|
|
28912
|
+
@media (min-width: 689px) {
|
|
28913
|
+
nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open) {
|
|
28914
|
+
display: block;
|
|
28915
|
+
}
|
|
28916
|
+
nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open).app-layout-visual-refresh--animating {
|
|
28917
|
+
animation: awsui_showButtons_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
28918
|
+
}
|
|
28919
|
+
}
|
|
28920
|
+
@media (min-width: 689px) and (prefers-reduced-motion: reduce) {
|
|
28921
|
+
nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open).app-layout-visual-refresh--animating {
|
|
28922
|
+
animation: none;
|
|
28923
|
+
transition: none;
|
|
28924
|
+
}
|
|
28925
|
+
}
|
|
28926
|
+
@media (min-width: 689px) {
|
|
28927
|
+
.awsui-motion-disabled nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open).app-layout-visual-refresh--animating, .awsui-mode-entering nav.app-layout-visual-refresh--show-navigation:not(.app-layout-visual-refresh--is-navigation-open).app-layout-visual-refresh--animating {
|
|
28928
|
+
animation: none;
|
|
28929
|
+
transition: none;
|
|
28930
|
+
}
|
|
28931
|
+
}
|
|
28932
|
+
|
|
28933
|
+
nav.app-layout-visual-refresh--navigation {
|
|
28934
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
28935
|
+
inset-block-end: 0;
|
|
28936
|
+
block-size: 100%;
|
|
28937
|
+
overflow-x: hidden;
|
|
28938
|
+
overflow-y: auto;
|
|
28939
|
+
|
|
28940
|
+
overscroll-behavior-y: contain;
|
|
28941
|
+
position: relative;
|
|
28942
|
+
word-wrap: break-word;
|
|
28943
|
+
pointer-events: auto;
|
|
28944
|
+
border-inline-end: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
28945
|
+
display: flex;
|
|
28946
|
+
flex-direction: column;
|
|
28947
|
+
/*
|
|
28948
|
+
A non-semantic node is added with a fixed width equal to the final Navigation
|
|
28949
|
+
width. This will create the visual appearance of horizontal movement and
|
|
28950
|
+
prevent unwanted text wrapping.
|
|
28951
|
+
*/
|
|
28952
|
+
}
|
|
28953
|
+
@keyframes awsui_openNavigation_hyvsj_1u13u_1 {
|
|
28954
|
+
from {
|
|
28955
|
+
opacity: 0;
|
|
28956
|
+
inline-size: calc(var(--space-layout-toggle-padding-chwlhz, 12px) * 2 + var(--space-layout-toggle-diameter-j2qffw, 36px));
|
|
28957
|
+
}
|
|
28958
|
+
to {
|
|
28959
|
+
opacity: 1;
|
|
28960
|
+
inline-size: var(--awsui-navigation-width-6b9ypa);
|
|
28961
|
+
}
|
|
28962
|
+
}
|
|
28963
|
+
nav.app-layout-visual-refresh--navigation:not(.app-layout-visual-refresh--is-navigation-open) {
|
|
28964
|
+
inline-size: 0;
|
|
28965
|
+
display: none;
|
|
28966
|
+
}
|
|
28967
|
+
nav.app-layout-visual-refresh--navigation.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--animating {
|
|
28968
|
+
animation: awsui_openNavigation_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
28969
|
+
}
|
|
28970
|
+
@media (prefers-reduced-motion: reduce) {
|
|
28971
|
+
nav.app-layout-visual-refresh--navigation.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--animating {
|
|
28972
|
+
animation: none;
|
|
28973
|
+
transition: none;
|
|
28974
|
+
}
|
|
28975
|
+
}
|
|
28976
|
+
.awsui-motion-disabled nav.app-layout-visual-refresh--navigation.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--animating, .awsui-mode-entering nav.app-layout-visual-refresh--navigation.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--animating {
|
|
28977
|
+
animation: none;
|
|
28978
|
+
transition: none;
|
|
28979
|
+
}
|
|
28980
|
+
nav.app-layout-visual-refresh--navigation > .app-layout-visual-refresh--animated-content {
|
|
28981
|
+
inline-size: var(--awsui-navigation-width-6b9ypa);
|
|
28982
|
+
}
|
|
28983
|
+
nav.app-layout-visual-refresh--navigation > .app-layout-visual-refresh--content-container {
|
|
28984
|
+
flex-grow: 1;
|
|
28985
|
+
}
|
|
28986
|
+
@media (max-width: 688px) {
|
|
28987
|
+
nav.app-layout-visual-refresh--navigation {
|
|
28988
|
+
--awsui-navigation-width-6b9ypa: 100vw;
|
|
28989
|
+
}
|
|
28990
|
+
}
|
|
28991
|
+
|
|
28992
|
+
.app-layout-visual-refresh--hide-navigation {
|
|
28993
|
+
position: absolute;
|
|
28994
|
+
inset-inline-end: var(--space-m-dsumyt, 16px);
|
|
28995
|
+
inset-block-start: var(--size-vertical-panel-icon-offset-z959cw, 15px);
|
|
28996
|
+
}
|
|
28997
|
+
|
|
28998
|
+
.app-layout-visual-refresh--notifications {
|
|
28999
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
29000
|
+
grid-area: notifications;
|
|
29001
|
+
z-index: 850;
|
|
29002
|
+
}
|
|
29003
|
+
.app-layout-visual-refresh--notifications.app-layout-visual-refresh--has-notification-content {
|
|
29004
|
+
padding-block-start: var(--space-scaled-s-8ozaad, 12px);
|
|
29005
|
+
}
|
|
29006
|
+
@media (min-width: 689px) {
|
|
29007
|
+
.app-layout-visual-refresh--notifications.app-layout-visual-refresh--sticky-notifications {
|
|
29008
|
+
--awsui-flashbar-sticky-bottom-margin-6b9ypa: var(--space-xxl-32srm4, 32px);
|
|
29009
|
+
position: sticky;
|
|
29010
|
+
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
29011
|
+
}
|
|
29012
|
+
.app-layout-visual-refresh--notifications.app-layout-visual-refresh--sticky-notifications:not(.app-layout-visual-refresh--high-contrast) {
|
|
29013
|
+
background-color: var(--color-background-layout-main-5ilwcb, #ffffff);
|
|
29014
|
+
}
|
|
29015
|
+
.app-layout-visual-refresh--notifications.app-layout-visual-refresh--has-notification-content {
|
|
29016
|
+
padding-block-start: var(--space-xs-ymlm0b, 8px);
|
|
29017
|
+
}
|
|
29018
|
+
}
|
|
29019
|
+
|
|
29020
|
+
/*
|
|
29021
|
+
When the Split Panel is in the bottom position it was share the same row
|
|
29022
|
+
as the content area. This row is defined as 1 fractional unit which will
|
|
29023
|
+
consume the remaining vertical space in the grid after the notifications
|
|
29024
|
+
and breadcrumbs.
|
|
29025
|
+
*/
|
|
29026
|
+
section.app-layout-visual-refresh--split-panel-bottom {
|
|
29027
|
+
/*
|
|
29028
|
+
The align self property will position the split panel at the bottom of the grid row.
|
|
29029
|
+
This could be off the viewport if the content area has enough content to be scrollable.
|
|
29030
|
+
*/
|
|
29031
|
+
align-self: end;
|
|
29032
|
+
inset-block-end: var(--awsui-footer-height-6b9ypa);
|
|
29033
|
+
display: none;
|
|
29034
|
+
grid-column: 1/6;
|
|
29035
|
+
grid-row: 9;
|
|
29036
|
+
block-size: auto;
|
|
29037
|
+
overflow-y: hidden;
|
|
29038
|
+
/*
|
|
29039
|
+
The position sticky will work in conjunction with the align self: end; property.
|
|
29040
|
+
If the grid row scrolls beyond the viewport, the sticky bottom position
|
|
29041
|
+
will lift it up above the footer so it is always visible.
|
|
29042
|
+
*/
|
|
29043
|
+
position: sticky;
|
|
29044
|
+
z-index: 840;
|
|
29045
|
+
/*
|
|
29046
|
+
Unlike the side position the Split Panel is persistent in the DOM
|
|
29047
|
+
when in the bottom position.
|
|
29048
|
+
*/
|
|
29049
|
+
/*
|
|
29050
|
+
Warning! This is a hack! The existing design token for the split panel
|
|
29051
|
+
shadow in the bottom position does not render in the refactored code.
|
|
29052
|
+
It appears to be related to the fact that the legacy split panel element
|
|
29053
|
+
has a height equal to the expanded height and a corresponding translation
|
|
29054
|
+
of the Y position so it is moved off the screen. This will need to be
|
|
29055
|
+
refactored with an adjustment to the split panel design token.
|
|
29056
|
+
*/
|
|
29057
|
+
/*
|
|
29058
|
+
When the data attribute changes indicating the Split Panel has been opened
|
|
29059
|
+
apply the animation to the height property.
|
|
29060
|
+
*/
|
|
29061
|
+
}
|
|
29062
|
+
@keyframes awsui_openSplitPanelBottom_hyvsj_1u13u_1 {
|
|
29063
|
+
from {
|
|
29064
|
+
block-size: var(--awsui-split-panel-reported-header-size-6b9ypa, 0);
|
|
29065
|
+
}
|
|
29066
|
+
to {
|
|
29067
|
+
block-size: var(--awsui-split-panel-reported-size-6b9ypa);
|
|
29068
|
+
}
|
|
29069
|
+
}
|
|
29070
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--disable-body-scroll {
|
|
29071
|
+
inset-block-end: 0;
|
|
29072
|
+
}
|
|
29073
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-navigation-open.app-layout-visual-refresh--position-bottom {
|
|
29074
|
+
grid-column-start: 2;
|
|
29075
|
+
}
|
|
29076
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--has-open-drawer.app-layout-visual-refresh--position-bottom {
|
|
29077
|
+
grid-column-end: 5;
|
|
29078
|
+
}
|
|
29079
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--position-bottom {
|
|
29080
|
+
display: block;
|
|
29081
|
+
}
|
|
29082
|
+
section.app-layout-visual-refresh--split-panel-bottom:not(.app-layout-visual-refresh--is-split-panel-open).app-layout-visual-refresh--position-bottom {
|
|
29083
|
+
box-shadow: rgba(0, 7, 22, 0.1) 0px -32px 32px -24px;
|
|
29084
|
+
}
|
|
29085
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom {
|
|
29086
|
+
box-shadow: var(--shadow-split-bottom-vlyulf, 0px -36px 36px -36px rgba(0, 7, 22, 0.1));
|
|
29087
|
+
}
|
|
29088
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom.app-layout-visual-refresh--animating {
|
|
29089
|
+
animation: awsui_openSplitPanelBottom_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
29090
|
+
}
|
|
29091
|
+
@media (prefers-reduced-motion: reduce) {
|
|
29092
|
+
section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom.app-layout-visual-refresh--animating {
|
|
29093
|
+
animation: none;
|
|
29094
|
+
transition: none;
|
|
29095
|
+
}
|
|
29096
|
+
}
|
|
29097
|
+
.awsui-motion-disabled section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom.app-layout-visual-refresh--animating, .awsui-mode-entering section.app-layout-visual-refresh--split-panel-bottom.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-bottom.app-layout-visual-refresh--animating {
|
|
29098
|
+
animation: none;
|
|
29099
|
+
transition: none;
|
|
29100
|
+
}
|
|
29101
|
+
|
|
29102
|
+
section.app-layout-visual-refresh--split-panel-side {
|
|
29103
|
+
block-size: 100%;
|
|
29104
|
+
overflow-x: hidden;
|
|
29105
|
+
pointer-events: auto;
|
|
29106
|
+
/*
|
|
29107
|
+
The min and max widths are applied when the Split Panel is opened otherwise
|
|
29108
|
+
it would not be possible to animate the width and the box shadow would
|
|
29109
|
+
be persistent in the DOM when closed.
|
|
29110
|
+
*/
|
|
29111
|
+
}
|
|
29112
|
+
section.app-layout-visual-refresh--split-panel-side:not(.app-layout-visual-refresh--is-split-panel-open), section.app-layout-visual-refresh--split-panel-side.app-layout-visual-refresh--position-bottom {
|
|
29113
|
+
inline-size: 0;
|
|
29114
|
+
}
|
|
29115
|
+
section.app-layout-visual-refresh--split-panel-side.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-side {
|
|
29116
|
+
max-inline-size: var(--awsui-split-panel-max-width-6b9ypa, 280px);
|
|
29117
|
+
min-inline-size: var(--awsui-split-panel-min-width-6b9ypa, 280px);
|
|
29118
|
+
border-inline-start: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
29119
|
+
}
|
|
29120
|
+
section.app-layout-visual-refresh--split-panel-side.app-layout-visual-refresh--is-split-panel-open.app-layout-visual-refresh--position-side:not(.app-layout-visual-refresh--has-open-drawer) {
|
|
29121
|
+
border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-panel-side-an0w07, #c6c6cd);
|
|
29122
|
+
}
|
|
29123
|
+
|
|
29124
|
+
/*
|
|
29125
|
+
The Tools component container has a max width calculation that depends on the
|
|
29126
|
+
state of the other siblings within the Layout grid definition. The layout width
|
|
29127
|
+
is set in the resize observer in the Layout component. The main offset left
|
|
29128
|
+
will calculate the distance from the start of the Layout component. The minimum
|
|
29129
|
+
content width has a default value that can be set directly with the minContentWidth
|
|
29130
|
+
property. The content gap right is computed in the Layout styles based on the
|
|
29131
|
+
viewport size and state of the Tools drawer.
|
|
29132
|
+
*/
|
|
29133
|
+
.app-layout-visual-refresh--tools-container {
|
|
29134
|
+
--awsui-tools-max-width-6b9ypa: calc(var(--awsui-layout-width-6b9ypa) - var(--awsui-main-offset-left-6b9ypa) - var(--awsui-default-min-content-width-6b9ypa) - var(--awsui-content-gap-right-6b9ypa));
|
|
29135
|
+
display: flex;
|
|
29136
|
+
grid-column: 5;
|
|
29137
|
+
grid-row: 1/span 9;
|
|
29138
|
+
block-size: var(--awsui-content-height-6b9ypa);
|
|
29139
|
+
max-inline-size: var(--awsui-tools-max-width-6b9ypa);
|
|
29140
|
+
position: sticky;
|
|
29141
|
+
inset-block-start: var(--awsui-offset-top-6b9ypa);
|
|
29142
|
+
z-index: 830;
|
|
29143
|
+
pointer-events: none;
|
|
29144
|
+
}
|
|
29145
|
+
@media (max-width: 688px) {
|
|
29146
|
+
.app-layout-visual-refresh--tools-container {
|
|
29147
|
+
--awsui-tools-max-width-6b9ypa: none;
|
|
29148
|
+
--awsui-tools-width-6b9ypa: auto;
|
|
29149
|
+
position: fixed;
|
|
29150
|
+
inset-inline-end: 0;
|
|
29151
|
+
z-index: 1001;
|
|
29152
|
+
/*
|
|
29153
|
+
When disableBodyScroll is true the offsetTop will be relative to the
|
|
29154
|
+
app layout and not the body. However, the drawer position changes
|
|
29155
|
+
to fixed in mobile viewports. The top value needs to include the
|
|
29156
|
+
header because fixed position switches the top value so it is now
|
|
29157
|
+
relative to the body.
|
|
29158
|
+
*/
|
|
29159
|
+
}
|
|
29160
|
+
.app-layout-visual-refresh--tools-container.app-layout-visual-refresh--disable-body-scroll {
|
|
29161
|
+
inset-block-start: var(--awsui-header-height-6b9ypa);
|
|
29162
|
+
}
|
|
29163
|
+
}
|
|
29164
|
+
|
|
29165
|
+
.app-layout-visual-refresh--tools {
|
|
29166
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
29167
|
+
flex-shrink: 0;
|
|
29168
|
+
block-size: 100%;
|
|
29169
|
+
overflow-y: auto;
|
|
29170
|
+
overflow-x: hidden;
|
|
29171
|
+
|
|
29172
|
+
overscroll-behavior-y: contain;
|
|
29173
|
+
pointer-events: auto;
|
|
29174
|
+
position: relative;
|
|
29175
|
+
word-wrap: break-word;
|
|
29176
|
+
/*
|
|
29177
|
+
A non-semantic node is added with a fixed width equal to the final Tools
|
|
29178
|
+
width. This will create the visual appearance of horizontal movement and
|
|
29179
|
+
prevent unwanted text wrapping.
|
|
29180
|
+
*/
|
|
29181
|
+
/*
|
|
29182
|
+
A right border is needed if the Tools is open and the buttons are persistent in
|
|
29183
|
+
the DOM. This creates a visual vertical boundary between the Tools and the Buttons
|
|
29184
|
+
only when they are both present. This is the circumstance when there is a Split Panel
|
|
29185
|
+
in the side position.
|
|
29186
|
+
*/
|
|
29187
|
+
}
|
|
29188
|
+
@keyframes awsui_openTools_hyvsj_1u13u_1 {
|
|
29189
|
+
from {
|
|
29190
|
+
opacity: var(--awsui-tools-animation-starting-opacity-6b9ypa, 0);
|
|
29191
|
+
inline-size: calc(var(--space-layout-toggle-padding-chwlhz, 12px) * 2 + var(--space-layout-toggle-diameter-j2qffw, 36px));
|
|
29192
|
+
}
|
|
29193
|
+
to {
|
|
29194
|
+
opacity: 1;
|
|
29195
|
+
inline-size: var(--awsui-tools-width-6b9ypa);
|
|
29196
|
+
}
|
|
29197
|
+
}
|
|
29198
|
+
.app-layout-visual-refresh--tools:not(.app-layout-visual-refresh--is-tools-open) {
|
|
29199
|
+
inline-size: 0;
|
|
29200
|
+
display: none;
|
|
29201
|
+
}
|
|
29202
|
+
.app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open {
|
|
29203
|
+
border-inline-start: solid var(--border-divider-section-width-uwo8my, 1px) var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
29204
|
+
}
|
|
29205
|
+
.app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--animating {
|
|
29206
|
+
animation: awsui_openTools_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
29207
|
+
}
|
|
29208
|
+
@media (prefers-reduced-motion: reduce) {
|
|
29209
|
+
.app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--animating {
|
|
29210
|
+
animation: none;
|
|
29211
|
+
transition: none;
|
|
29212
|
+
}
|
|
29213
|
+
}
|
|
29214
|
+
.awsui-motion-disabled .app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--animating, .awsui-mode-entering .app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--animating {
|
|
29215
|
+
animation: none;
|
|
29216
|
+
transition: none;
|
|
29217
|
+
}
|
|
29218
|
+
.app-layout-visual-refresh--tools > .app-layout-visual-refresh--animated-content {
|
|
29219
|
+
inline-size: var(--awsui-tools-width-6b9ypa);
|
|
29220
|
+
}
|
|
29221
|
+
@media (min-width: 689px) {
|
|
29222
|
+
.app-layout-visual-refresh--tools.app-layout-visual-refresh--is-tools-open.app-layout-visual-refresh--has-tools-form-persistence {
|
|
29223
|
+
border-inline-end: var(--border-divider-section-width-uwo8my, 1px) solid var(--color-border-divider-default-nr68jt, #c6c6cd);
|
|
29224
|
+
}
|
|
29225
|
+
}
|
|
29226
|
+
@media (max-width: 688px) {
|
|
29227
|
+
.app-layout-visual-refresh--tools {
|
|
29228
|
+
--awsui-tools-width-6b9ypa: 100vw;
|
|
29229
|
+
}
|
|
29230
|
+
}
|
|
29231
|
+
|
|
29232
|
+
.app-layout-visual-refresh--hide-tools {
|
|
29233
|
+
position: absolute;
|
|
29234
|
+
inset-inline-end: var(--space-m-dsumyt, 16px);
|
|
29235
|
+
inset-block-start: var(--size-vertical-panel-icon-offset-z959cw, 15px);
|
|
29236
|
+
z-index: 1;
|
|
29237
|
+
}
|
|
29238
|
+
|
|
29239
|
+
/*
|
|
29240
|
+
Warning! If these design tokens for padding change it will adversely impact
|
|
29241
|
+
the calculation used to determine the Split Panel maximum width in the
|
|
29242
|
+
handleSplitPanelMaxWidth function in the context.
|
|
29243
|
+
*/
|
|
29244
|
+
.app-layout-visual-refresh--show-tools {
|
|
29245
|
+
font-size: var(--font-size-body-m-a7nh2n, 14px);
|
|
29246
|
+
line-height: var(--line-height-body-m-2mh3ke, 20px);
|
|
29247
|
+
color: var(--color-text-body-default-vvtq8u, #0f141a);
|
|
29248
|
+
font-weight: 400;
|
|
29249
|
+
font-family: var(--font-family-base-gmnpzl, "Open Sans", "Helvetica Neue", Roboto, Arial, sans-serif);
|
|
29250
|
+
-webkit-font-smoothing: auto;
|
|
29251
|
+
-moz-osx-font-smoothing: auto;
|
|
29252
|
+
box-sizing: border-box;
|
|
29253
|
+
padding-block: var(--space-scaled-s-8ozaad, 12px);
|
|
29254
|
+
padding-inline: var(--space-layout-toggle-padding-chwlhz, 12px);
|
|
29255
|
+
/*
|
|
29256
|
+
Apply the animation only in desktop viewports because the MobileToolbar will
|
|
29257
|
+
take control in responsive viewports.
|
|
29258
|
+
*/
|
|
29259
|
+
}
|
|
29260
|
+
@keyframes awsui_showButtons_hyvsj_1u13u_1 {
|
|
29261
|
+
0% {
|
|
29262
|
+
opacity: 0;
|
|
29263
|
+
}
|
|
29264
|
+
100% {
|
|
29265
|
+
opacity: 1;
|
|
29266
|
+
}
|
|
29267
|
+
}
|
|
29268
|
+
.app-layout-visual-refresh--show-tools:not(.app-layout-visual-refresh--has-tools-form) {
|
|
29269
|
+
display: none;
|
|
29270
|
+
}
|
|
29271
|
+
@media (min-width: 689px) {
|
|
29272
|
+
.app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form {
|
|
29273
|
+
display: flex;
|
|
29274
|
+
flex-direction: column;
|
|
29275
|
+
gap: var(--space-xs-ymlm0b, 8px);
|
|
29276
|
+
}
|
|
29277
|
+
.app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form.app-layout-visual-refresh--animating {
|
|
29278
|
+
animation: awsui_showButtons_hyvsj_1u13u_1 var(--motion-duration-refresh-only-fast-zfibh6, 115ms);
|
|
29279
|
+
}
|
|
29280
|
+
}
|
|
29281
|
+
@media (min-width: 689px) and (prefers-reduced-motion: reduce) {
|
|
29282
|
+
.app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form.app-layout-visual-refresh--animating {
|
|
29283
|
+
animation: none;
|
|
29284
|
+
transition: none;
|
|
29285
|
+
}
|
|
29286
|
+
}
|
|
29287
|
+
@media (min-width: 689px) {
|
|
29288
|
+
.awsui-motion-disabled .app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form.app-layout-visual-refresh--animating, .awsui-mode-entering .app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form.app-layout-visual-refresh--animating {
|
|
29289
|
+
animation: none;
|
|
29290
|
+
transition: none;
|
|
29291
|
+
}
|
|
29292
|
+
.app-layout-visual-refresh--show-tools.app-layout-visual-refresh--has-tools-form-persistence {
|
|
29293
|
+
background-color: var(--color-background-container-content-6u8rvp, #ffffff);
|
|
29294
|
+
z-index: 1;
|
|
28020
29295
|
}
|
|
28021
29296
|
}
|
|
28022
29297
|
|