0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-03 04:49:03 -05:00
penpot/resources/public/styles/partials/workspace-canvas.scss

43 lines
751 B
SCSS
Raw Normal View History

2015-06-18 19:35:50 +02:00
.workspace-canvas {
box-sizing: border-box;
height: calc(100vh - 50px);
2016-01-12 10:50:55 +01:00
margin: 0 250px 0 50px;
2015-06-18 19:35:50 +02:00
overflow: scroll;
width: 100%;
transition: none;
&.no-tool-bar {
margin-right: 0;
}
2015-12-28 14:31:17 +02:00
.viewport {
&.drawing {
cursor: cell;
}
2016-01-02 14:36:09 +02:00
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;
}
}
2015-12-28 14:31:17 +02:00
}
.viewport, .page-canvas, .page-layout {
2015-06-18 19:35:50 +02:00
overflow: visible;
}
2015-06-18 19:35:50 +02:00
}