0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-07 06:48:19 -05:00
penpot/resources/public/styles/partials/workspace-canvas.scss

48 lines
828 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-02-14 20:37:01 +01:00
margin: 0 230px 0 230px;
2015-06-18 19:35:50 +02:00
overflow: scroll;
width: 100%;
transition: none;
2016-02-12 18:50:51 +02:00
position: relative;
2015-06-18 19:35:50 +02:00
2016-02-12 16:26:11 +01:00
&.no-tool-bar-right {
2015-06-18 19:35:50 +02:00
margin-right: 0;
}
2016-02-12 16:26:11 +01:00
&.no-tool-bar-left {
margin-left: 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
}