Home / File/ SuspenseScrubber.css — react Source File

SuspenseScrubber.css — react Source File

Architecture documentation for SuspenseScrubber.css, a css file in the react codebase. 0 imports, 1 dependents.

File css BabelCompiler 1 dependents

Entity Profile

Dependency Diagram

graph LR
  22e0e039_6e6e_09fd_7427_d1d26f90ac35["SuspenseScrubber.css"]
  a780c065_6e09_9761_ec53_ece3335378f1["SuspenseScrubber.js"]
  a780c065_6e09_9761_ec53_ece3335378f1 --> 22e0e039_6e6e_09fd_7427_d1d26f90ac35
  style 22e0e039_6e6e_09fd_7427_d1d26f90ac35 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

.SuspenseScrubber {
  position: relative;
  width: 100%;
  height: 1.5rem;
  border-radius: 0.75rem;
  padding: 0.25rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
}

.SuspenseScrubber:has(.SuspenseScrubberInput:focus-visible) {
  outline: 2px solid var(--color-button-background-focus);
}

.SuspenseScrubberInput {
  position: absolute;
  width: 100%;
  opacity: 0;
  height: 0px;
  overflow: hidden;
}

.SuspenseScrubberInput:focus {
  outline: none;
}

.SuspenseScrubberStep {
  cursor: pointer;
  flex: 1;
  height: 100%;
  padding-right: 1px; /* we use this instead of flex gap to make every pixel clickable */
  display: flex;
  align-items: center;
}
.SuspenseScrubberStep:last-child {
  padding-right: 0;
}

.SuspenseScrubberBead {
  flex: 1;
  height: 0.5rem;
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--color-suspense) 10%, transparent);
  transition: all 0.3s ease-in;
}

.SuspenseScrubberBeadSelected {
  height: 1rem;
  background: var(--color-suspense);
}

.SuspenseScrubberBeadTransition {
  background: var(--color-transition);
}

.SuspenseScrubberStepHighlight > .SuspenseScrubberBead {
  height: 0.75rem;
  transition: all 0.3s ease-out;
}

Domain

Frequently Asked Questions

What does SuspenseScrubber.css do?
SuspenseScrubber.css is a source file in the react codebase, written in css. It belongs to the BabelCompiler domain.
What files import SuspenseScrubber.css?
SuspenseScrubber.css is imported by 1 file(s): SuspenseScrubber.js.
Where is SuspenseScrubber.css in the architecture?
SuspenseScrubber.css is located at packages/react-devtools-shared/src/devtools/views/SuspenseTab/SuspenseScrubber.css (domain: BabelCompiler, directory: packages/react-devtools-shared/src/devtools/views/SuspenseTab).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free