0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 01:58:44 -05:00
penpot/resources/public/styles/partials/workspace-canvas.scss
2016-02-12 18:50:51 +02:00

47 lines
828 B
SCSS

.workspace-canvas {
box-sizing: border-box;
height: calc(100vh - 50px);
margin: 0 250px 0 250px;
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;
}
}