@@ -15,7 +15,7 @@ const StyledCursor = styled.div.attrs(({ top, left }) => ({
display: flex;
flex-direction: row;
align-items: center;
- z-index: 7;
+ z-index: 210;
`;
const CursorName = styled.div`
@@ -256,7 +256,7 @@ const PositionedItem = ({
style={{
transform: `translate(${x}px, ${y}px)`,
display: "inline-block",
- zIndex: (layer || 0) + 3,
+ zIndex: ((layer || 0) + 4) * 10 + 100, // Items z-index between 100 and 200
position: "absolute",
top: 0,
left: 0,
@@ -32,7 +32,7 @@ const SelectorZone = styled.div.attrs(({ top, left, height, width }) => ({
width: `${width}px`,
},
}))`
- z-index: 100;
position: absolute;
background-color: hsla(0, 40%, 50%, 10%);
border: 2px solid hsl(0, 55%, 40%);
@@ -97,7 +97,7 @@ const BoundingBoxZone = styled.div.attrs(({ top, left, height, width }) => ({
top: 0;
left: 0;
- z-index: 6;
background-color: hsla(0, 40%, 50%, 0%);
border: 1px dashed hsl(20, 55%, 40%);
@@ -12,7 +12,7 @@ body.react-confirm-alert-body-element {
right: 0;
bottom: 0;
- z-index: 99;
+ z-index: 260;
background: rgba(0, 0, 0, 0.4);
justify-content: center;
@@ -17,7 +17,7 @@ const StyledSidePanel = styled.div`
${({ position }) => (position === "right" ? "right: 0;" : "left: 0;")}
- z-index: ${({ modal }) => (modal ? 32 : 22)};
+ z-index: ${({ modal }) => (modal ? 290 : 280)};
flex-direction: column;
height: 100%;
@@ -14,7 +14,7 @@ const Overlay = styled.div`
- z-index: 1000;
+ z-index: 295;
font-size: 3em;
@@ -19,7 +19,7 @@ const ColorPickerWrapper = styled.div`
background-color: #151515b0;
right: 0px;
bottom: 0px;
- z-index: 10002;
+ z-index: 290;
@@ -31,7 +31,7 @@ const StyledNavBar = styled.div.attrs(() => ({ className: "nav" }))`
position: fixed;
width: 100%;
- z-index: 10;
+ z-index: 205;
background-color: #19202ce0;
box-shadow: 0px 3px 6px #00000029;
@@ -7,7 +7,7 @@ const StyledNotice = styled.div`
bottom: 1em;
background-color: var(--color-blueGrey);
right: 1em;
@@ -17,7 +17,7 @@ const StyledNavBar = styled.div.attrs(() => ({ className: "nav" }))`