mirror of
https://github.com/facebook/react.git
synced 2026-02-25 13:13:03 +00:00
This PR: * Redesigned the sidebar to resemble the flamegraph profiler sidebar and added title and timestamp to the sidebar * Added ability to copy the component stack (for places where you're unable to link to source) https://user-images.githubusercontent.com/2735514/176564897-5301d6d4-429a-4ea3-86cd-74427cff4ce6.mov
39 lines
716 B
CSS
39 lines
716 B
CSS
.Button {
|
|
border: none;
|
|
background: var(--color-button-background);
|
|
color: var(--color-button);
|
|
padding: 0;
|
|
border-radius: 0.25rem;
|
|
flex: 0 0 auto;
|
|
cursor: pointer;
|
|
}
|
|
.ButtonContent {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 0.25rem;
|
|
padding: 0.25rem;
|
|
}
|
|
|
|
.Button:hover {
|
|
color: var(--color-button-hover);
|
|
}
|
|
.Button:active {
|
|
color: var(--color-button-focus);
|
|
outline: none;
|
|
}
|
|
.Button:focus,
|
|
.ButtonContent:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.Button:focus > .ButtonContent {
|
|
background: var(--color-button-background-focus);
|
|
}
|
|
|
|
.Button:disabled,
|
|
.Button:disabled:active {
|
|
background: var(--color-button-background);
|
|
color: var(--color-button-disabled);
|
|
cursor: default;
|
|
}
|