SuspenseRects.css — react Source File
Architecture documentation for SuspenseRects.css, a css file in the react codebase. 0 imports, 1 dependents.
Entity Profile
Dependency Diagram
graph LR adea4ea1_fbc1_685d_2033_a7ef78aeaeec["SuspenseRects.css"] cf8221e2_1aa3_8c65_096d_d49b44597f09["SuspenseRects.js"] cf8221e2_1aa3_8c65_096d_d49b44597f09 --> adea4ea1_fbc1_685d_2033_a7ef78aeaeec style adea4ea1_fbc1_685d_2033_a7ef78aeaeec fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
.SuspenseRectsContainer {
padding: .25rem;
outline-color: transparent;
outline-style: solid;
outline-width: 1px;
border-radius: 0.25rem;
}
.SuspenseRectsRoot {
cursor: pointer;
outline-color: var(--color-transition);
background-color: color-mix(in srgb, var(--color-transition) 5%, transparent);
}
.SuspenseRectsRootOutline {
outline-width: 4px;
border-radius: 0.125rem;
}
.SuspenseRectsRoot[data-hovered='true'] {
background-color: color-mix(in srgb, var(--color-transition) 15%, transparent);
}
.SuspenseRectsViewBox {
position: relative;
}
.SuspenseRectsBoundary {
pointer-events: all;
border-radius: 0.125rem;
}
.SuspenseRectsBoundary[data-visible='false'] {
background-color: transparent;
}
.SuspenseRectsBoundaryChildren {
pointer-events: none;
}
.SuspenseRectsTitle {
pointer-events: none;
color: color-mix(in srgb, var(--color-suspense) 50%, var(--color-text));
overflow: hidden;
text-overflow: ellipsis;
font-family: var(--font-family-sans);
font-size: var(--font-size-sans-small);
line-height: var(--line-height-data);
padding: 0 .25rem;
container-type: size;
container-name: title;
}
@container title (width < 30px) or (height < 18px) {
.SuspenseRectsTitle > span {
display: none;
}
}
.SuspenseRectsScaledRect[data-visible='false'] > .SuspenseRectsBoundaryChildren {
overflow: initial;
}
.SuspenseRectsRect {
box-shadow: var(--elevation-4);
pointer-events: all;
cursor: pointer;
border-radius: 0.125rem;
background-color: color-mix(in srgb, var(--color-background) 50%, var(--color-suspense) 25%);
backdrop-filter: grayscale(100%);
transition: background-color 0.2s ease-in;
outline-color: var(--color-suspense);
outline-style: solid;
outline-width: 1px;
}
.SuspenseRectsScaledRect {
position: absolute;
}
.SuspenseRectsScaledRect[data-visible='false'] {
pointer-events: none;
outline-width: 0;
}
.SuspenseRectsBoundary[data-suspended='true'] {
opacity: 0.33;
}
/* highlight this boundary */
.SuspenseRectsBoundary[data-hovered='true'] > .SuspenseRectsRect {
background-color: color-mix(in srgb, var(--color-background) 50%, var(--color-suspense) 50%);
transition: background-color 0.2s ease-out;
}
.SuspenseRectsBoundary[data-selected='true'][data-visible='true'] {
box-shadow: var(--elevation-4);
}
.SuspenseRectOutline {
outline-color: var(--color-suspense);
outline-style: solid;
outline-width: 4px;
border-radius: 0.125rem;
pointer-events: none;
}
.SuspenseRectsBoundary[data-selected='true'] > .SuspenseRectsRect {
box-shadow: none;
}
Domain
Source
Frequently Asked Questions
What does SuspenseRects.css do?
SuspenseRects.css is a source file in the react codebase, written in css. It belongs to the BabelCompiler domain.
What files import SuspenseRects.css?
SuspenseRects.css is imported by 1 file(s): SuspenseRects.js.
Where is SuspenseRects.css in the architecture?
SuspenseRects.css is located at packages/react-devtools-shared/src/devtools/views/SuspenseTab/SuspenseRects.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