@carbon/ibm-products-styles 2.75.0 → 2.76.0-rc.0
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/css/index-full-carbon.css +186 -80
- package/css/index-full-carbon.css.map +1 -1
- package/css/index-full-carbon.min.css +1 -1
- package/css/index-full-carbon.min.css.map +1 -1
- package/css/index-without-carbon-released-only.css +147 -61
- package/css/index-without-carbon-released-only.css.map +1 -1
- package/css/index-without-carbon-released-only.min.css +1 -1
- package/css/index-without-carbon-released-only.min.css.map +1 -1
- package/css/index-without-carbon.css +147 -61
- package/css/index-without-carbon.css.map +1 -1
- package/css/index-without-carbon.min.css +1 -1
- package/css/index-without-carbon.min.css.map +1 -1
- package/css/index.css +150 -66
- package/css/index.css.map +1 -1
- package/css/index.min.css +1 -1
- package/css/index.min.css.map +1 -1
- package/package.json +8 -8
- package/scss/components/Tearsheet/_tearsheet.scss +11 -6
- package/scss/components/Tearsheet/_tearsheet_next.scss +218 -96
package/css/index.css
CHANGED
|
@@ -326,7 +326,7 @@
|
|
|
326
326
|
filter: var(--cds-popover-drop-shadow, drop-shadow(0 0.125rem 0.125rem rgba(0, 0, 0, 0.2)));
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
.cds--popover--border .cds--popover > .cds--popover-content {
|
|
329
|
+
.cds--popover--border > .cds--popover > .cds--popover-content {
|
|
330
330
|
outline: 1px solid var(--cds-popover-border-color, var(--cds-border-subtle));
|
|
331
331
|
outline-offset: -1px;
|
|
332
332
|
}
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
display: block;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
-
.cds--popover--background-token__background .cds--popover-content {
|
|
393
|
+
.cds--popover--background-token__background > .cds--popover > .cds--popover-content {
|
|
394
394
|
background-color: var(--cds-background, #ffffff);
|
|
395
395
|
}
|
|
396
396
|
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
content: "";
|
|
427
427
|
}
|
|
428
428
|
|
|
429
|
-
.cds--popover--background-token__background .cds--popover-caret::after {
|
|
429
|
+
.cds--popover--background-token__background > .cds--popover > .cds--popover-caret::after {
|
|
430
430
|
background-color: var(--cds-background, #ffffff);
|
|
431
431
|
}
|
|
432
432
|
|
|
@@ -2518,7 +2518,6 @@
|
|
|
2518
2518
|
position: fixed;
|
|
2519
2519
|
display: grid;
|
|
2520
2520
|
background-color: var(--cds-layer);
|
|
2521
|
-
block-size: 100%;
|
|
2522
2521
|
grid-template-columns: 100%;
|
|
2523
2522
|
grid-template-rows: auto 1fr auto;
|
|
2524
2523
|
inline-size: 100%;
|
|
@@ -2531,7 +2530,6 @@
|
|
|
2531
2530
|
@media (min-width: 42rem) {
|
|
2532
2531
|
.cds--modal-container {
|
|
2533
2532
|
position: relative;
|
|
2534
|
-
block-size: auto;
|
|
2535
2533
|
inline-size: 84%;
|
|
2536
2534
|
max-block-size: 90%;
|
|
2537
2535
|
}
|
|
@@ -8930,16 +8928,19 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
8930
8928
|
*/
|
|
8931
8929
|
.c4p--tearsheet__next .c4p--tearsheet__next__container {
|
|
8932
8930
|
align-self: flex-end;
|
|
8931
|
+
border: 1px solid var(--cds-border-subtle-01, #c6c6c6);
|
|
8933
8932
|
block-size: 100%;
|
|
8934
8933
|
inset-block-start: auto;
|
|
8935
|
-
max-block-size: calc(100% - 3rem);
|
|
8936
|
-
transform: translate3d(0, min(95vh, 500px), 0);
|
|
8934
|
+
max-block-size: calc(100% - var(--tearsheet-vertical-gap, 3rem));
|
|
8937
8935
|
}
|
|
8938
8936
|
@media (max-width: 41.98rem) {
|
|
8939
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__container {
|
|
8937
|
+
.c4p--tearsheet__next:not(.c4p--tearsheet__next--stack-activated.is-visible) .c4p--tearsheet__next__container {
|
|
8940
8938
|
max-block-size: none;
|
|
8941
8939
|
}
|
|
8942
8940
|
}
|
|
8941
|
+
.c4p--tearsheet__next:not(.is-visible).c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container {
|
|
8942
|
+
transform: translate3d(0, min(95vh, 500px), 0);
|
|
8943
|
+
}
|
|
8943
8944
|
.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next--has-ai-label .c4p--tearsheet__next__container {
|
|
8944
8945
|
border: 1px solid transparent;
|
|
8945
8946
|
/* override carbon ai removing background gradient */
|
|
@@ -8947,8 +8948,13 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
8947
8948
|
border-block-end: 0;
|
|
8948
8949
|
box-shadow: 0 4px 10px 2px var(--cds-ai-drop-shadow, rgba(15, 98, 254, 0.1));
|
|
8949
8950
|
}
|
|
8951
|
+
.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next--has-ai-label .c4p--tearsheet__next__main-content {
|
|
8952
|
+
position: relative;
|
|
8953
|
+
background: linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)) 0%, var(--cds-ai-aura-start, rgba(69, 137, 255, 0.1)) 0%, 15%, var(--cds-ai-aura-end, rgba(255, 255, 255, 0)) 50%) padding-box, linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)), var(--cds-background, var(--cds-ai-popover-background, #ffffff))) padding-box, linear-gradient(to bottom, var(--cds-ai-border-start, rgba(166, 200, 255, 0.64)), var(--cds-ai-border-end, #78a9ff)) border-box, linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)), var(--cds-background, var(--cds-ai-popover-background, #ffffff))) border-box;
|
|
8954
|
+
box-shadow: inset 0 -80px 70px -65px var(--cds-ai-inner-shadow, rgba(69, 137, 255, 0.1));
|
|
8955
|
+
}
|
|
8950
8956
|
.c4p--tearsheet__next.c4p--tearsheet__next.c4p--tearsheet__next .c4p--tearsheet__next__container {
|
|
8951
|
-
transition: transform 240ms cubic-bezier(0, 0, 0.3, 1), max-
|
|
8957
|
+
transition: transform 240ms cubic-bezier(0, 0, 0.3, 1), max-block-size 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
8952
8958
|
}
|
|
8953
8959
|
@media (min-width: 42rem) {
|
|
8954
8960
|
.c4p--tearsheet__next.c4p--tearsheet__next--wide .c4p--tearsheet__next__container {
|
|
@@ -8986,7 +8992,7 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
8986
8992
|
display: grid;
|
|
8987
8993
|
flex-basis: unset;
|
|
8988
8994
|
gap: 1rem;
|
|
8989
|
-
grid-template-columns: auto minmax(var(--tearsheet-header-title-grid-width, 0), 1fr);
|
|
8995
|
+
grid-template-columns: minmax(auto, 40rem) minmax(var(--tearsheet-header-title-grid-width, 0), 1fr);
|
|
8990
8996
|
inline-size: calc(100% - var(--tearsheet-header-action-offset));
|
|
8991
8997
|
}
|
|
8992
8998
|
@media (max-width: 41.98rem) {
|
|
@@ -9004,6 +9010,7 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9004
9010
|
font-weight: var(--cds-label-01-font-weight, 400);
|
|
9005
9011
|
line-height: var(--cds-label-01-line-height, 1.33333);
|
|
9006
9012
|
letter-spacing: var(--cds-label-01-letter-spacing, 0.32px);
|
|
9013
|
+
color: var(--cds-text-secondary, #525252);
|
|
9007
9014
|
margin-block-end: 0.25rem;
|
|
9008
9015
|
}
|
|
9009
9016
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-title {
|
|
@@ -9028,17 +9035,10 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9028
9035
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-title svg {
|
|
9029
9036
|
flex-shrink: 0;
|
|
9030
9037
|
}
|
|
9031
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-title.c4p--
|
|
9032
|
-
flex-direction: row;
|
|
9033
|
-
}
|
|
9034
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-title.c4p--tearsheet__next__leading-icon svg {
|
|
9038
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-start {
|
|
9035
9039
|
margin-inline-end: 1rem;
|
|
9036
9040
|
}
|
|
9037
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-title.c4p--
|
|
9038
|
-
flex-direction: row-reverse;
|
|
9039
|
-
justify-content: flex-end;
|
|
9040
|
-
}
|
|
9041
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-title.c4p--tearsheet__next__trailing-icon svg {
|
|
9041
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-title .c4p--tearsheet__next__title-end {
|
|
9042
9042
|
margin-inline-start: 1rem;
|
|
9043
9043
|
}
|
|
9044
9044
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-description {
|
|
@@ -9050,9 +9050,6 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9050
9050
|
.c4p--tearsheet__next .c4p--tearsheet__next__header--no-close-icon {
|
|
9051
9051
|
display: none;
|
|
9052
9052
|
}
|
|
9053
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-content {
|
|
9054
|
-
max-inline-size: 40rem;
|
|
9055
|
-
}
|
|
9056
9053
|
.c4p--tearsheet__next .c4p--tearsheet__next__navigation-bar {
|
|
9057
9054
|
position: relative;
|
|
9058
9055
|
display: flex;
|
|
@@ -9064,8 +9061,8 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9064
9061
|
}
|
|
9065
9062
|
.c4p--tearsheet__next .c4p--tearsheet__next__navigation-bar .c4p--tearsheet__next__scroller-container {
|
|
9066
9063
|
position: absolute;
|
|
9067
|
-
inset-
|
|
9068
|
-
|
|
9064
|
+
inset-block-end: 0.125rem;
|
|
9065
|
+
inset-inline-end: calc(-2rem + 0.125rem);
|
|
9069
9066
|
}
|
|
9070
9067
|
@media (max-width: 41.98rem) {
|
|
9071
9068
|
.c4p--tearsheet__next .c4p--tearsheet__next__navigation-bar .c4p--tearsheet__next__scroller-container {
|
|
@@ -9092,8 +9089,14 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9092
9089
|
inline-size: 100%;
|
|
9093
9090
|
margin-block-start: -14px;
|
|
9094
9091
|
}
|
|
9095
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions >
|
|
9096
|
-
|
|
9092
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions > *.c4p--tearsheet__next__header-action-item:not([data-hidden=true]) {
|
|
9093
|
+
margin-inline-end: 0.5rem; /* space between visible items */
|
|
9094
|
+
}
|
|
9095
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions {
|
|
9096
|
+
/* Remove margin on the last visible item */
|
|
9097
|
+
}
|
|
9098
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions > *.c4p--tearsheet__next__header-action-item:not([data-hidden=true]):nth-last-child(2) {
|
|
9099
|
+
margin-inline-end: 0;
|
|
9097
9100
|
}
|
|
9098
9101
|
.c4p--tearsheet__next .c4p--tearsheet__next__content__header-actions > * {
|
|
9099
9102
|
flex-shrink: 0;
|
|
@@ -9104,43 +9107,121 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9104
9107
|
margin-inline-end: 0;
|
|
9105
9108
|
}
|
|
9106
9109
|
}
|
|
9107
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header {
|
|
9108
|
-
|
|
9110
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header {
|
|
9111
|
+
padding-inline: 1rem;
|
|
9112
|
+
}
|
|
9113
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header.c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions {
|
|
9114
|
+
display: none;
|
|
9115
|
+
}
|
|
9116
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-content-wrapper {
|
|
9117
|
+
display: flex;
|
|
9118
|
+
flex-direction: column;
|
|
9119
|
+
}
|
|
9120
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-title {
|
|
9121
|
+
font-size: var(--cds-heading-03-font-size, 1.25rem);
|
|
9122
|
+
font-weight: var(--cds-heading-03-font-weight, 400);
|
|
9123
|
+
line-height: var(--cds-heading-03-line-height, 1.4);
|
|
9124
|
+
letter-spacing: var(--cds-heading-03-letter-spacing, 0);
|
|
9125
|
+
}
|
|
9126
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__content__header-actions {
|
|
9127
|
+
justify-content: flex-start;
|
|
9128
|
+
margin-inline-end: 0;
|
|
9129
|
+
}
|
|
9130
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__body {
|
|
9131
|
+
grid-template-columns: 1fr 0;
|
|
9132
|
+
}
|
|
9133
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),
|
|
9134
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),
|
|
9135
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--narrow .c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush) {
|
|
9136
|
+
padding-inline: 1rem;
|
|
9109
9137
|
}
|
|
9110
9138
|
.c4p--tearsheet__next .c4p--tearsheet__next__header > *:not(.c4p--tearsheet__next__navigation-bar,
|
|
9111
9139
|
.c4p--tearsheet__next__header-content-wrapper,
|
|
9112
|
-
.cds--modal-close-button
|
|
9113
|
-
.
|
|
9140
|
+
.cds--modal-close-button,
|
|
9141
|
+
.excludeFromCollapse) {
|
|
9114
9142
|
overflow: hidden;
|
|
9115
9143
|
max-block-size: 50vh;
|
|
9116
9144
|
opacity: 1;
|
|
9117
|
-
transition:
|
|
9145
|
+
transition: max-block-size 240ms cubic-bezier(0, 0, 0.3, 1), opacity 240ms cubic-bezier(0, 0, 0.3, 1), margin 240ms cubic-bezier(0, 0, 0.3, 1), padding 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
9146
|
+
}
|
|
9147
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header .c4p--tearsheet__next__header-actions,
|
|
9148
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header .c4p--tearsheet__next__header-content-wrapper .c4p--tearsheet__next__header-content *:not(.c4p--tearsheet__next__content__title-wrapper,
|
|
9149
|
+
.c4p--tearsheet__next__header-label) {
|
|
9150
|
+
opacity: 1;
|
|
9151
|
+
transition: all 240ms cubic-bezier(0, 0, 0.3, 1), opacity 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
9152
|
+
}
|
|
9153
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed {
|
|
9154
|
+
padding-block-start: 0.75rem;
|
|
9155
|
+
transition: padding 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
9118
9156
|
}
|
|
9119
9157
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed > *:not(.c4p--tearsheet__next__navigation-bar,
|
|
9120
9158
|
.c4p--tearsheet__next__header-content-wrapper,
|
|
9121
9159
|
.cds--modal-close-button,
|
|
9122
9160
|
.excludeFromCollapse),
|
|
9123
9161
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions > *:not(.c4p--tearsheet__next__content__header-actions),
|
|
9124
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content
|
|
9162
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content > *:not(.c4p--tearsheet__next__content__title-wrapper),
|
|
9125
9163
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed > *:not(.c4p--tearsheet__next__navigation-bar,
|
|
9126
9164
|
.c4p--tearsheet__next__header-content-wrapper,
|
|
9127
9165
|
.cds--modal-close-button,
|
|
9128
|
-
.excludeFromCollapse)
|
|
9166
|
+
.excludeFromCollapse) *,
|
|
9167
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper .c4p--tearsheet__next__header-content > *:not(.c4p--tearsheet__next__content__title-wrapper) * {
|
|
9129
9168
|
overflow: hidden;
|
|
9130
9169
|
padding: 0;
|
|
9131
9170
|
margin: 0;
|
|
9132
9171
|
max-block-size: 0;
|
|
9133
|
-
min-block-size: 0;
|
|
9134
9172
|
opacity: 0;
|
|
9135
|
-
|
|
9136
|
-
|
|
9173
|
+
pointer-events: none;
|
|
9174
|
+
transition: all 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
9175
|
+
}
|
|
9176
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title {
|
|
9177
|
+
font-size: var(--cds-label-02-font-size, 0.875rem);
|
|
9178
|
+
font-weight: var(--cds-label-02-font-weight, 400);
|
|
9179
|
+
line-height: var(--cds-label-02-line-height, 1.28572);
|
|
9180
|
+
letter-spacing: var(--cds-label-02-letter-spacing, 0.16px);
|
|
9181
|
+
align-items: center;
|
|
9182
|
+
margin-block-start: 0.25rem;
|
|
9183
|
+
transition: all 240ms cubic-bezier(0, 0, 0.3, 1);
|
|
9184
|
+
}
|
|
9185
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title > span {
|
|
9186
|
+
display: flex;
|
|
9187
|
+
align-items: center;
|
|
9188
|
+
block-size: 1.5rem;
|
|
9189
|
+
}
|
|
9190
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content {
|
|
9191
|
+
align-self: center;
|
|
9192
|
+
margin-block-end: 0;
|
|
9193
|
+
}
|
|
9194
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__content__header-actions {
|
|
9195
|
+
margin-block-start: -0.125rem;
|
|
9196
|
+
}
|
|
9197
|
+
@media (max-width: 41.98rem) {
|
|
9198
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions {
|
|
9199
|
+
display: none;
|
|
9200
|
+
}
|
|
9137
9201
|
}
|
|
9138
9202
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper,
|
|
9139
9203
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content,
|
|
9140
9204
|
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__content__title-wrapper,
|
|
9141
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions
|
|
9205
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-actions,
|
|
9206
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-title {
|
|
9142
9207
|
margin-block: 0;
|
|
9143
|
-
transition:
|
|
9208
|
+
transition: margin-block 240ms ease;
|
|
9209
|
+
}
|
|
9210
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__header-content-wrapper {
|
|
9211
|
+
min-block-size: 2.5rem;
|
|
9212
|
+
padding-block-end: 0.75rem;
|
|
9213
|
+
}
|
|
9214
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__header-collapsed .c4p--tearsheet__next__navigation-bar::before {
|
|
9215
|
+
position: absolute;
|
|
9216
|
+
z-index: 1;
|
|
9217
|
+
background: rgba(0, 0, 0, 0.12);
|
|
9218
|
+
block-size: 1px;
|
|
9219
|
+
content: "";
|
|
9220
|
+
inline-size: 100vw;
|
|
9221
|
+
inset-block-start: -0.25rem;
|
|
9222
|
+
inset-inline-start: 50%;
|
|
9223
|
+
pointer-events: none;
|
|
9224
|
+
transform: translateX(-50%);
|
|
9144
9225
|
}
|
|
9145
9226
|
.c4p--tearsheet__next .c4p--tearsheet__next__body-layout {
|
|
9146
9227
|
display: grid;
|
|
@@ -9159,6 +9240,7 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9159
9240
|
/* Assign components to their named grid areas */
|
|
9160
9241
|
}
|
|
9161
9242
|
.c4p--tearsheet__next .c4p--tearsheet__next__influencer {
|
|
9243
|
+
border-inline-end: 1px solid var(--cds-border-subtle-01, #c6c6c6);
|
|
9162
9244
|
grid-area: influencer;
|
|
9163
9245
|
}
|
|
9164
9246
|
.c4p--tearsheet__next .c4p--tearsheet__next__body {
|
|
@@ -9184,19 +9266,21 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9184
9266
|
.c4p--tearsheet__next .c4p--tearsheet__next__main-content,
|
|
9185
9267
|
.c4p--tearsheet__next .c4p--tearsheet__next__summary-content {
|
|
9186
9268
|
overflow: auto;
|
|
9269
|
+
}
|
|
9270
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),
|
|
9271
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),
|
|
9272
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush) {
|
|
9187
9273
|
padding-inline: 2rem;
|
|
9188
9274
|
}
|
|
9189
9275
|
@media (max-width: 41.98rem) {
|
|
9190
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__influencer,
|
|
9191
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__main-content,
|
|
9192
|
-
.c4p--tearsheet__next .c4p--tearsheet__next__summary-content {
|
|
9276
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__influencer:not(.c4p--tearsheet__next__flush),
|
|
9277
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__main-content:not(.c4p--tearsheet__next__flush),
|
|
9278
|
+
.c4p--tearsheet__next .c4p--tearsheet__next__summary-content:not(.c4p--tearsheet__next__flush) {
|
|
9193
9279
|
padding-inline: 1rem;
|
|
9194
9280
|
}
|
|
9195
9281
|
}
|
|
9196
9282
|
.c4p--tearsheet__next .c4p--tearsheet__next__main-content {
|
|
9197
9283
|
position: relative;
|
|
9198
|
-
background: linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)) 0%, var(--cds-ai-aura-start, rgba(69, 137, 255, 0.1)) 0%, 15%, var(--cds-ai-aura-end, rgba(255, 255, 255, 0)) 50%) padding-box, linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)), var(--cds-background, var(--cds-ai-popover-background, #ffffff))) padding-box, linear-gradient(to bottom, var(--cds-ai-border-start, rgba(166, 200, 255, 0.64)), var(--cds-ai-border-end, #78a9ff)) border-box, linear-gradient(to top, var(--cds-background, var(--cds-ai-popover-background, #ffffff)), var(--cds-background, var(--cds-ai-popover-background, #ffffff))) border-box;
|
|
9199
|
-
box-shadow: inset 0 -80px 70px -65px var(--cds-ai-inner-shadow, rgba(69, 137, 255, 0.1));
|
|
9200
9284
|
}
|
|
9201
9285
|
.c4p--tearsheet__next .c4p--side-panel {
|
|
9202
9286
|
position: absolute;
|
|
@@ -9209,31 +9293,29 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9209
9293
|
.c4p--tearsheet__next .c4p--side-panel .c4p--side-panel__header {
|
|
9210
9294
|
min-block-size: 0;
|
|
9211
9295
|
}
|
|
9212
|
-
|
|
9213
|
-
|
|
9214
|
-
|
|
9215
|
-
|
|
9216
|
-
|
|
9217
|
-
display: flex;
|
|
9218
|
-
flex-direction: column;
|
|
9219
|
-
}
|
|
9220
|
-
.c4p--tearsheet__next--narrow .c4p--tearsheet__next__header-title {
|
|
9221
|
-
font-size: var(--cds-heading-03-font-size, 1.25rem);
|
|
9222
|
-
font-weight: var(--cds-heading-03-font-weight, 400);
|
|
9223
|
-
line-height: var(--cds-heading-03-line-height, 1.4);
|
|
9224
|
-
letter-spacing: var(--cds-heading-03-letter-spacing, 0);
|
|
9296
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible {
|
|
9297
|
+
--overlay-color: var(--cds-overlay, rgba(22, 22, 22, 0.5));
|
|
9298
|
+
--overlay-alpha: 0.5;
|
|
9299
|
+
z-index: calc(9000 - var(--stack-depth, 0));
|
|
9300
|
+
background-color: initial;
|
|
9225
9301
|
}
|
|
9226
|
-
.c4p--tearsheet__next
|
|
9227
|
-
|
|
9228
|
-
|
|
9302
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible::before {
|
|
9303
|
+
position: absolute;
|
|
9304
|
+
display: block;
|
|
9305
|
+
background: var(--overlay-color);
|
|
9306
|
+
content: "";
|
|
9307
|
+
inset: 0;
|
|
9308
|
+
opacity: calc(var(--overlay-alpha) - var(--stack-depth) * 0.1);
|
|
9309
|
+
transition: background-color 240ms cubic-bezier(0.4, 0.14, 1, 1), opacity 240ms cubic-bezier(0.4, 0.14, 1, 1);
|
|
9229
9310
|
}
|
|
9230
|
-
|
|
9231
|
-
|
|
9311
|
+
@media (prefers-reduced-motion: reduce) {
|
|
9312
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible::before {
|
|
9313
|
+
transition: none;
|
|
9314
|
+
}
|
|
9232
9315
|
}
|
|
9233
|
-
.c4p--tearsheet__next--
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
padding-inline: 1rem;
|
|
9316
|
+
.c4p--tearsheet__next.c4p--tearsheet__next--stack-activated.is-visible.is-visible .c4p--tearsheet__next__container {
|
|
9317
|
+
max-block-size: calc(100% - var(--tearsheet-vertical-gap, 3rem) + var(--block-size-change));
|
|
9318
|
+
transform: scaleX(var(--scale-factor));
|
|
9237
9319
|
}
|
|
9238
9320
|
|
|
9239
9321
|
.c4p--tearsheet.c4p--tearsheet {
|
|
@@ -9254,6 +9336,9 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9254
9336
|
transition: none;
|
|
9255
9337
|
}
|
|
9256
9338
|
}
|
|
9339
|
+
.c4p--tearsheet.c4p--tearsheet:not(.is-visible).c4p--tearsheet.c4p--tearsheet .c4p--tearsheet__container {
|
|
9340
|
+
transform: translate3d(0, min(95vh, 500px), 0);
|
|
9341
|
+
}
|
|
9257
9342
|
.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet {
|
|
9258
9343
|
/* tearsheet uses --overlay-color and --overlay-opacity in ::before */
|
|
9259
9344
|
background: initial;
|
|
@@ -9295,7 +9380,6 @@ a.cds--overflow-menu-options__btn::before {
|
|
|
9295
9380
|
block-size: 100%;
|
|
9296
9381
|
inset-block-start: auto;
|
|
9297
9382
|
max-block-size: calc(100% - 3rem);
|
|
9298
|
-
transform: translate3d(0, min(95vh, 500px), 0);
|
|
9299
9383
|
}
|
|
9300
9384
|
.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet--has-slug .c4p--tearsheet__container, .c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet.c4p--tearsheet--has-ai-label .c4p--tearsheet__container {
|
|
9301
9385
|
border: 1px solid transparent;
|