Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const RadioItem = styled('label', {shouldForwardProp})<{
&[aria-checked='true'] {
border-color: ${p => p.theme.tokens.border.accent.vibrant} !important;
box-shadow: inset 0 0 0 1px ${p => p.theme.tokens.focus.default};
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
}

&:first-child {
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/infiniteList/infiniteListItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ const PositionedList = styled('ul')`
const Footer = styled('footer')`
position: absolute;
bottom: 0;
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
display: flex;
width: 100%;
flex-grow: 1;
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/panels/panelTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ const PanelTableHeader = styled('div')<{sticky: boolean}>`
css`
position: sticky;
top: 0;
z-index: ${p.theme.zIndex.initial};
z-index: 1;
`}
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,6 @@ const Overlay = styled('div')`
grid: auto/50%;
gap: ${p => p.theme.space.md};
place-content: center;
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
text-align: center;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const EventColumn = styled(Timeline.Col)`
position: relative;

&:hover {
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
}
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ const Message = styled('div')`
background: ${p => p.theme.colors.gray400};
border-radius: ${p => p.theme.radius.md};
color: ${p => p.theme.colors.white};
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const FastForwardTooltip = styled(Tooltip)`
color: ${p => p.theme.colors.white};
padding: ${p => p.theme.space.lg} ${p => p.theme.space.xl};
border-top-right-radius: ${p => p.theme.radius.md};
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
`;

const StyledIconArrow = styled(IconArrow)`
Expand Down
2 changes: 1 addition & 1 deletion static/app/components/replays/player/scrubber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,6 @@ export const PlayerScrubber = styled(Scrubber)`
top: 0;
right: calc((var(--size) + (var(--borderWidth) * 2)) / 2 * -1);
translate: 0 calc(-50% + var(--borderWidth));
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
}
`;
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export function ReplayTableHeader({

const TableHeader = styled(SimpleTable.Header)`
grid-row: 1;
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
height: min-content;
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,14 @@ const CloseButtonWrapper = styled('div')`
right: 0;
height: 100%;
padding: ${p => p.theme.space.md};
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
display: flex;
align-items: center;
`;

const StyledSplitDivider = styled(SplitDivider)`
:hover,
&[data-is-held='true'] {
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
}
`;
2 changes: 1 addition & 1 deletion static/app/components/truncate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ const FullValue = styled('span')<{
${p =>
p.expanded &&
css`
z-index: ${p.theme.zIndex.truncationFullValue};
z-index: 1;
display: block;
`}
`;
2 changes: 1 addition & 1 deletion static/app/components/workflowEngine/ui/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const StickyFooterBase = styled('div', {
box-shadow: none;
justify-content: flex-end;
gap: ${p => p.theme.space.lg};
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;

&[data-stuck] {
/* TODO(design-engineering): Replace with a directional shadow token when one exists */
Expand Down
2 changes: 1 addition & 1 deletion static/app/debug/notifications/views/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const HeaderContainer = styled('header')`
top: 0;
left: 0;
right: 0;
z-index: ${p => p.theme.zIndex.header};
z-index: 1;
background: ${p => p.theme.tokens.background.primary};
`;

Expand Down
4 changes: 2 additions & 2 deletions static/app/stories/view/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ function GlobalStoryStyles() {
.messages-container {
margin-top: 52px;
margin-left: 256px;
z-index: ${theme.zIndex.header};
z-index: 1;
background: ${theme.tokens.background.primary};
}
`;
Expand Down Expand Up @@ -250,7 +250,7 @@ const HeaderContainer = styled('header')`
top: 0;
left: 0;
right: 0;
z-index: ${p => p.theme.zIndex.header};
z-index: 1;
background: ${p => p.theme.tokens.background.primary};
`;

Expand Down
2 changes: 1 addition & 1 deletion static/app/stories/view/storySearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ const StorySearchContainer = styled('div')`
position: relative;
width: 320px;
flex-grow: 1;
z-index: ${p => p.theme.zIndex.header};
z-index: 1;
margin-left: -${p => p.theme.space.xl};
`;

Expand Down
2 changes: 1 addition & 1 deletion static/app/views/admin/installWizard/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,5 @@ const SetupWizard = styled('div')`
padding: 40px 40px 20px;
max-width: 1000px;
margin: ${p => p.theme.space['2xl']};
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
`;
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ const OpenPeriodCountLabel = styled('div')`

const StyledContainer = styled(Container)`
top: 8px;
z-index: ${p => p.theme.zIndex.header};
z-index: 1;
/*
* Prevent seeing content beneath in the uncovered strip above the sticky element.
* Use a solid, zero-blur shadow so we don't paint over the border.
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/discover/miniGraph.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class MiniGraph extends Component<Props> {
splitLine: {
show: false,
},
zlevel: theme.zIndex.header,
zlevel: 1,
},
tooltip: {
show: false,
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/explore/components/styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const ExploreBodySearch = styled(Layout.Body)`

position: sticky;
top: var(${TOP_BAR_HEIGHT_CSS_VAR}, 0px);
z-index: ${p => p.theme.zIndex.header};
z-index: 1;
background-color: ${p => p.theme.tokens.background.primary};

border-bottom: 1px solid ${p => p.theme.tokens.border.primary};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const StyledNetworkDetailsTabs = styled(NetworkDetailsTabs)`
margin-right: 0;
padding-right: ${p => p.theme.space['2xl']};
background: ${p => p.theme.tokens.background.primary};
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
}
& > li:first-child {
padding-left: ${p => p.theme.space.xl};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function StickyEventNav({event, group}: {event: Event; group: Group}) {

const FloatingEventNavigation = styled(Sticky)`
background: ${p => p.theme.tokens.background.primary};
z-index: ${p => p.theme.zIndex.header};
z-index: 1;
border-radius: ${p => p.theme.radius.md} ${p => p.theme.radius.md} 0 0;

&[data-stuck] {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export const Header = styled('div')`
border-bottom: 1px solid ${p => p.theme.tokens.border.transparent.neutral.muted};
position: sticky;
top: 0;
z-index: ${p => p.theme.zIndex.header};
z-index: 1;
border-radius: ${p => p.theme.radius.md} ${p => p.theme.radius.md} 0 0;
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ const EventColumn = styled('div')`
position: relative;

&:hover {
z-index: ${p => p.theme.zIndex.initial};
z-index: 1;
}
`;

Expand Down
2 changes: 1 addition & 1 deletion static/app/views/issueList/actions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ function shouldConfirm(
}

const StickyActions = styled(Sticky)`
z-index: ${p => p.theme.zIndex.header};
z-index: 1;

/* Remove border radius from the action bar when stuck. Without this there is
* a small gap where color can peek through. */
Expand Down
2 changes: 1 addition & 1 deletion static/app/views/projectsDashboard/projectChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export function ProjectChart({
splitLine: {
show: false,
},
zlevel: theme.zIndex.header,
zlevel: 1,
})),
axisPointer: {
// Link each x-axis together.
Expand Down
Loading