Files
2024-02-15 17:01:50 +00:00

45 lines
1.0 KiB
TypeScript

import styled from '@emotion/styled';
import FluidHeight from 'sentry/views/replays/detail/layout/fluidHeight';
export const GridTable = styled(FluidHeight)`
border: 1px solid ${p => p.theme.border};
border-radius: ${p => p.theme.borderRadius};
.beforeHoverTime + .afterHoverTime:before {
border-top: 1px solid ${p => p.theme.purple200};
content: '';
left: 0;
position: absolute;
top: 0;
width: 999999999%;
}
.beforeHoverTime:last-child:before {
border-bottom: 1px solid ${p => p.theme.purple200};
content: '';
right: 0;
position: absolute;
bottom: 0;
width: 999999999%;
}
.beforeCurrentTime + .afterCurrentTime:before {
border-top: 1px solid ${p => p.theme.purple300};
content: '';
left: 0;
position: absolute;
top: 0;
width: 999999999%;
}
.beforeCurrentTime:last-child:before {
border-bottom: 1px solid ${p => p.theme.purple300};
content: '';
right: 0;
position: absolute;
bottom: 0;
width: 999999999%;
}
`;