mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
33 lines
746 B
TypeScript
33 lines
746 B
TypeScript
import styled from '@emotion/styled';
|
|
|
|
import {ROW_HEIGHT} from 'sentry/components/performance/waterfall/constants';
|
|
|
|
export const RowTitleContainer = styled('div')`
|
|
display: flex;
|
|
align-items: center;
|
|
height: ${ROW_HEIGHT}px;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
width: 100%;
|
|
user-select: none;
|
|
`;
|
|
|
|
export const RowTitle = styled('div')`
|
|
position: relative;
|
|
height: 100%;
|
|
font-size: ${p => p.theme.fontSizeSmall};
|
|
white-space: nowrap;
|
|
display: flex;
|
|
flex: 1;
|
|
align-items: center;
|
|
`;
|
|
|
|
export const RowTitleContent = styled('span')<{errored: boolean}>`
|
|
color: ${p => (p.errored ? p.theme.error : 'inherit')};
|
|
`;
|
|
|
|
export const SpanGroupRowTitleContent = styled('span')<{color: string}>`
|
|
color: ${p => p.color};
|
|
`;
|