Files
react/packages/react-devtools-shared/src/devtools/views/Profiler/SidebarSelectedFiberInfo.css
Moji Izadmehr 44e5f5e645 Add fiber summary tooltip to devtools profiling (#18048)
* Add tooltip component

* Separate logic of ProfilerWhatChanged to a component

* Add hovered Fiber info tooltip component

* Add flame graph chart tooltip

* Add commit ranked list tooltip

* Fix flow issues

* Minor improvement in filter

* Fix flickering issue

* Resolved issues on useCallbacks and mouse event listeners

* Fix lints

* Remove unnecessary useCallback
2020-02-19 09:44:31 -08:00

60 lines
991 B
CSS

.Toolbar {
height: 2.25rem;
padding: 0 0.5rem;
flex: 0 0 auto;
display: flex;
align-items: center;
border-bottom: 1px solid var(--color-border);
}
.Content {
padding: 0.5rem;
user-select: none;
overflow-y: auto;
}
.WhatChanged {
margin-bottom: 1rem;
}
.Component {
flex: 1;
color: var(--color-component-name);
font-family: var(--font-family-monospace);
font-size: var(--font-size-monospace-normal);
white-space: nowrap;
overflow-x: hidden;
text-overflow: ellipsis;
}
.Label {
font-weight: bold;
margin-bottom: 0.5rem;
}
.CurrentCommit,
.Commit {
display: block;
width: 100%;
text-align: left;
background: none;
border: none;
padding: 0.25rem 0.5rem;
color: var(--color-text);
}
.Commit:focus,
.Commit:hover {
outline: none;
background-color: var(--color-background-hover);
}
.CurrentCommit {
background-color: var(--color-background-selected);
color: var(--color-text-selected);
}
.CurrentCommit:focus {
outline: none;
}