0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-31 03:09:19 -05:00
penpot/resources/public/styles/partials/workspace-canvas.scss
2016-02-14 20:37:09 +01:00

47 lines
828 B
SCSS

.workspace-canvas {
box-sizing: border-box;
height: calc(100vh - 50px);
margin: 0 230px 0 230px;
overflow: scroll;
width: 100%;
transition: none;
position: relative;
&.no-tool-bar-right {
margin-right: 0;
}
&.no-tool-bar-left {
margin-left: 0;
}
.viewport {
&.drawing {
cursor: cell;
}
svg {
g.shape {
&.selected {
circle.top-left { cursor: nwse-resize; }
circle.bottom-right { cursor: nwse-resize; }
circle.top-right { cursor: nesw-resize; }
circle.bottom-left { cursor: nesw-resize; }
}
}
rect.selection-rect {
fill: rgba(235, 215, 92, 0.1);
stroke: #000000;
stroke-width: 0.1px;
}
}
}
.viewport, .page-canvas, .page-layout {
overflow: visible;
}
}