Files
react/packages/react-devtools-shared/src/devtools/views/Button.css
Luna Ruan 4e1fcfa771 [DevTools] Resign Timeline Profiler Sidebar (#24816)
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
2022-06-29 17:54:06 -07:00

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;
}