@guardian/interactive-component-library 0.1.0-alpha.15 → 0.1.0-alpha.17
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/style.css
CHANGED
|
@@ -2064,7 +2064,46 @@ body.android {
|
|
|
2064
2064
|
._grid_xps7m_9[data-grid-type=large] > *:nth-child(2n+1):nth-last-child(-n+2), ._grid_xps7m_9[data-grid-type=large] > *:nth-child(2n+1):nth-last-child(-n+2) ~ * {
|
|
2065
2065
|
border-bottom: 0;
|
|
2066
2066
|
}
|
|
2067
|
-
}
|
|
2067
|
+
}._transitionContainer_wws3j_1 {
|
|
2068
|
+
position: fixed;
|
|
2069
|
+
left: 0;
|
|
2070
|
+
right: 0;
|
|
2071
|
+
top: 0;
|
|
2072
|
+
bottom: 0;
|
|
2073
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
2074
|
+
backdrop-filter: blur(4px);
|
|
2075
|
+
transition: all 300ms ease-in-out;
|
|
2076
|
+
z-index: 9999;
|
|
2077
|
+
}
|
|
2078
|
+
|
|
2079
|
+
._modalBox_wws3j_13 {
|
|
2080
|
+
position: absolute;
|
|
2081
|
+
left: 0;
|
|
2082
|
+
right: 0;
|
|
2083
|
+
bottom: 0;
|
|
2084
|
+
transition: all 300ms ease-in-out;
|
|
2085
|
+
}
|
|
2086
|
+
|
|
2087
|
+
._enter_wws3j_21,
|
|
2088
|
+
._exitDone_wws3j_22 {
|
|
2089
|
+
background-color: transparent;
|
|
2090
|
+
backdrop-filter: none;
|
|
2091
|
+
|
|
2092
|
+
._modalBox_wws3j_13 {
|
|
2093
|
+
transform: translateY(100%);
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
._enterActive_wws3j_31,
|
|
2098
|
+
._exit_wws3j_22 {
|
|
2099
|
+
background-color: rgba(0, 0, 0, 0.1);
|
|
2100
|
+
backdrop-filter: blur(4px);
|
|
2101
|
+
|
|
2102
|
+
._modalBox_wws3j_13 {
|
|
2103
|
+
transform: translateY(0);
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
body {
|
|
2068
2107
|
--top-inset: 0;
|
|
2069
2108
|
}
|
|
2070
2109
|
|
|
@@ -2169,46 +2208,51 @@ body.android {
|
|
|
2169
2208
|
--top-inset: 58px;
|
|
2170
2209
|
}
|
|
2171
2210
|
|
|
2172
|
-
.
|
|
2211
|
+
._ticker_fyd8z_9 {
|
|
2173
2212
|
position: relative;
|
|
2174
2213
|
--ticker-item-width: 100%;
|
|
2175
2214
|
}
|
|
2176
2215
|
@media (min-width: 30em) {
|
|
2177
|
-
.
|
|
2216
|
+
._ticker_fyd8z_9 {
|
|
2178
2217
|
--ticker-item-width: 200px;
|
|
2179
2218
|
}
|
|
2180
2219
|
}
|
|
2181
2220
|
|
|
2182
|
-
.
|
|
2221
|
+
._tickerItems_fyd8z_19 {
|
|
2222
|
+
width: 100%;
|
|
2223
|
+
overflow: clip;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
._tickerScroll_fyd8z_24 {
|
|
2183
2227
|
display: flex;
|
|
2184
2228
|
flex-direction: column;
|
|
2185
2229
|
row-gap: var(--space-2);
|
|
2186
2230
|
align-items: stretch;
|
|
2187
2231
|
max-height: 300px;
|
|
2188
|
-
overflow:
|
|
2232
|
+
overflow: visible;
|
|
2189
2233
|
}
|
|
2190
2234
|
@media (min-width: 30em) {
|
|
2191
|
-
.
|
|
2235
|
+
._tickerScroll_fyd8z_24 {
|
|
2192
2236
|
flex-direction: row;
|
|
2193
2237
|
column-gap: var(--space-2);
|
|
2238
|
+
transform: translateX(var(--ticker-offset));
|
|
2239
|
+
transition: transform 0.5s ease-in-out;
|
|
2194
2240
|
}
|
|
2195
2241
|
}
|
|
2196
2242
|
|
|
2197
|
-
.
|
|
2243
|
+
._tickerItem_fyd8z_19 {
|
|
2198
2244
|
width: var(--ticker-item-width);
|
|
2199
2245
|
flex-shrink: 0;
|
|
2200
|
-
transform: translateX(calc(-1 * var(--ticker-offset) * var(--ticker-item-width)));
|
|
2201
|
-
transition: transform 0.3s ease-in-out;
|
|
2202
2246
|
}
|
|
2203
2247
|
|
|
2204
|
-
.
|
|
2248
|
+
._controls_fyd8z_46 {
|
|
2205
2249
|
position: absolute;
|
|
2206
2250
|
bottom: 0;
|
|
2207
2251
|
width: 100%;
|
|
2208
2252
|
height: 86px;
|
|
2209
2253
|
}
|
|
2210
2254
|
@media (min-width: 30em) {
|
|
2211
|
-
.
|
|
2255
|
+
._controls_fyd8z_46 {
|
|
2212
2256
|
top: 0;
|
|
2213
2257
|
right: 0;
|
|
2214
2258
|
width: 86px;
|
|
@@ -2216,25 +2260,25 @@ body.android {
|
|
|
2216
2260
|
}
|
|
2217
2261
|
}
|
|
2218
2262
|
|
|
2219
|
-
.
|
|
2263
|
+
._gradient_fyd8z_61 {
|
|
2220
2264
|
position: absolute;
|
|
2221
2265
|
width: 100%;
|
|
2222
2266
|
bottom: 0;
|
|
2223
2267
|
height: 86px;
|
|
2224
2268
|
}
|
|
2225
2269
|
@media (min-width: 30em) {
|
|
2226
|
-
.
|
|
2270
|
+
._gradient_fyd8z_61 {
|
|
2227
2271
|
width: auto;
|
|
2228
2272
|
height: 100%;
|
|
2229
2273
|
right: 0;
|
|
2230
2274
|
}
|
|
2231
2275
|
}
|
|
2232
2276
|
|
|
2233
|
-
.
|
|
2277
|
+
._buttons_fyd8z_75 {
|
|
2234
2278
|
display: none;
|
|
2235
2279
|
}
|
|
2236
2280
|
@media (min-width: 30em) {
|
|
2237
|
-
.
|
|
2281
|
+
._buttons_fyd8z_75 {
|
|
2238
2282
|
position: absolute;
|
|
2239
2283
|
top: 0;
|
|
2240
2284
|
right: var(--space-5);
|
|
@@ -2245,39 +2289,39 @@ body.android {
|
|
|
2245
2289
|
}
|
|
2246
2290
|
}
|
|
2247
2291
|
|
|
2248
|
-
.
|
|
2292
|
+
._button_fyd8z_75 {
|
|
2249
2293
|
position: absolute;
|
|
2250
2294
|
bottom: -20px;
|
|
2251
2295
|
left: 0;
|
|
2252
2296
|
}
|
|
2253
2297
|
@media (min-width: 30em) {
|
|
2254
|
-
.
|
|
2298
|
+
._button_fyd8z_75 {
|
|
2255
2299
|
display: none;
|
|
2256
2300
|
}
|
|
2257
2301
|
}
|
|
2258
2302
|
|
|
2259
|
-
.
|
|
2303
|
+
._buttonInner_fyd8z_101 {
|
|
2260
2304
|
background-color: var(--tertiary-bg-color);
|
|
2261
2305
|
}
|
|
2262
2306
|
|
|
2263
|
-
.
|
|
2307
|
+
._ticker_fyd8z_9[data-expanded=true] ._tickerItems_fyd8z_19 {
|
|
2264
2308
|
max-height: calc(100vh - env(safe-area-inset-bottom, 0) - env(safe-area-inset-top, 0) - var(--top-inset));
|
|
2265
2309
|
}
|
|
2266
2310
|
@supports (height: 100dvh) {
|
|
2267
|
-
.
|
|
2311
|
+
._ticker_fyd8z_9[data-expanded=true] ._tickerItems_fyd8z_19 {
|
|
2268
2312
|
max-height: calc(100dvh - var(--top-inset));
|
|
2269
2313
|
}
|
|
2270
2314
|
}
|
|
2271
2315
|
@supports (-webkit-touch-callout: none) {
|
|
2272
|
-
.
|
|
2316
|
+
._ticker_fyd8z_9[data-expanded=true] ._tickerItems_fyd8z_19 {
|
|
2273
2317
|
max-height: -webkit-fill-available;
|
|
2274
2318
|
}
|
|
2275
2319
|
}
|
|
2276
2320
|
|
|
2277
|
-
.
|
|
2321
|
+
._ticker_fyd8z_9[data-expanded=true] ._controls_fyd8z_46 {
|
|
2278
2322
|
position: sticky;
|
|
2279
2323
|
margin-top: -40px;
|
|
2280
2324
|
}
|
|
2281
|
-
.
|
|
2325
|
+
._ticker_fyd8z_9[data-expanded=true] ._controls_fyd8z_46 ._button_fyd8z_75 {
|
|
2282
2326
|
bottom: 0;
|
|
2283
2327
|
}
|