|
267 | 267 | } |
268 | 268 | } |
269 | 269 |
|
270 | | -.collapsed-steps-navigation { |
271 | | - display: inline-block; |
272 | | -} |
273 | | - |
274 | | -.collapsed-steps-trigger { |
275 | | - @include styles.styles-reset; |
276 | | - display: inline-flex; |
277 | | - align-items: center; |
278 | | - gap: awsui.$space-xxs; |
279 | | - padding-block: 0; |
280 | | - padding-inline: 0; |
281 | | - border-block: none; |
282 | | - border-inline: none; |
283 | | - background: transparent; |
284 | | - color: awsui.$color-text-link-default; |
285 | | - font-weight: styles.$font-weight-bold; |
286 | | - font-size: inherit; |
287 | | - cursor: pointer; |
288 | | - |
289 | | - &:hover { |
290 | | - color: awsui.$color-text-link-hover; |
291 | | - } |
292 | | - |
293 | | - &:disabled { |
294 | | - color: awsui.$color-text-interactive-disabled; |
295 | | - cursor: default; |
296 | | - } |
297 | | - |
298 | | - @include focus-visible.when-visible { |
299 | | - @include styles.link-focus; |
300 | | - } |
301 | | -} |
302 | | - |
303 | | -.collapsed-steps-trigger-label { |
304 | | - /* used for test utils */ |
305 | | -} |
306 | | - |
307 | | -.step-navigation-list { |
308 | | - list-style: none; |
309 | | - margin-block: 0; |
310 | | - margin-inline: 0; |
311 | | - padding-block: 0; |
312 | | - padding-inline: 0; |
313 | | -} |
314 | | - |
315 | | -.step-navigation-item { |
316 | | - position: relative; |
317 | | - padding-inline-start: awsui.$space-l; |
318 | | - margin-block-end: awsui.$space-s; |
319 | | - |
320 | | - &:not(:last-child)::before { |
321 | | - content: ''; |
322 | | - position: absolute; |
323 | | - inset-inline-start: calc(#{awsui.$space-l} / 2 - 1px); |
324 | | - inset-block-start: calc(#{awsui.$space-m} + 6px); |
325 | | - block-size: calc(100% + #{awsui.$space-s} - 6px); |
326 | | - inline-size: 2px; |
327 | | - background-color: awsui.$color-border-divider-default; |
328 | | - } |
329 | | - |
330 | | - &:last-child { |
331 | | - margin-block-end: 0; |
332 | | - } |
333 | | -} |
334 | | - |
335 | | -.step-navigation-button { |
336 | | - @include styles.styles-reset; |
337 | | - display: flex; |
338 | | - align-items: flex-start; |
339 | | - gap: awsui.$space-xs; |
340 | | - padding-block: 0; |
341 | | - padding-inline: 0; |
342 | | - border-block: none; |
343 | | - border-inline: none; |
344 | | - background: transparent; |
345 | | - cursor: pointer; |
346 | | - text-align: start; |
347 | | - inline-size: 100%; |
348 | | - |
349 | | - &:disabled { |
350 | | - cursor: default; |
351 | | - } |
352 | | - |
353 | | - @include focus-visible.when-visible { |
354 | | - @include styles.link-focus; |
355 | | - } |
356 | | -} |
357 | | - |
358 | | -.step-navigation-button-disabled { |
359 | | - cursor: default; |
360 | | -} |
361 | | - |
362 | | -.step-navigation-circle { |
363 | | - flex-shrink: 0; |
364 | | - inline-size: 12px; |
365 | | - block-size: 12px; |
366 | | - margin-block-start: 4px; |
367 | | - border-start-start-radius: 50%; |
368 | | - border-start-end-radius: 50%; |
369 | | - border-end-start-radius: 50%; |
370 | | - border-end-end-radius: 50%; |
371 | | - border-block: 2px solid awsui.$color-text-interactive-disabled; |
372 | | - border-inline: 2px solid awsui.$color-text-interactive-disabled; |
373 | | - background-color: awsui.$color-background-container-content; |
374 | | - box-sizing: border-box; |
375 | | -} |
376 | | - |
377 | | -.step-navigation-circle-selected { |
378 | | - border-color: awsui.$color-background-control-checked; |
379 | | - background-color: awsui.$color-background-control-checked; |
380 | | - box-shadow: |
381 | | - 0 0 0 2px awsui.$color-background-container-content, |
382 | | - 0 0 0 4px awsui.$color-background-control-checked; |
383 | | -} |
384 | | - |
385 | | -.step-navigation-circle-visited { |
386 | | - border-color: awsui.$color-text-interactive-default; |
387 | | -} |
388 | | - |
389 | | -.step-navigation-circle-unvisited { |
390 | | - border-color: awsui.$color-text-interactive-disabled; |
391 | | -} |
392 | | - |
393 | | -.step-navigation-content { |
394 | | - display: flex; |
395 | | - flex-direction: column; |
396 | | -} |
397 | | - |
398 | | -.step-navigation-label { |
399 | | - font-size: awsui.$font-size-body-s; |
400 | | - color: awsui.$color-text-small; |
401 | | -} |
402 | | - |
403 | | -.step-navigation-title { |
404 | | - font-size: awsui.$font-size-body-m; |
405 | | - color: awsui.$color-text-body-default; |
406 | | -} |
407 | | - |
408 | | -.step-navigation-title-selected { |
409 | | - color: awsui.$color-background-control-checked; |
410 | | - font-weight: styles.$font-weight-bold; |
411 | | -} |
412 | | - |
413 | | -.step-navigation-title-visited { |
414 | | - color: awsui.$color-text-interactive-default; |
415 | | -} |
416 | | - |
417 | | -.step-navigation-title-unvisited { |
418 | | - color: awsui.$color-text-status-inactive; |
419 | | -} |
420 | | - |
421 | 270 | .form-header-component { |
422 | 271 | &-wrapper { |
423 | 272 | outline: none; |
|
0 commit comments