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-15 22:55:18 +02:00

91 lines
No EOL
1.6 KiB
SCSS

.workspace-content {
display: flex;
height: 100%;
width: 100%;
position: relative;
margin: 0 230px 0 230px;
&.no-tool-bar-right {
margin-right: 0;
}
&.no-tool-bar-left {
margin-left: 0;
}
.workspace-canvas {
box-sizing: border-box;
height: calc(100vh - 70px);
overflow: scroll;
width: 100%;
transition: none;
/* margin: 0 230px 0 230px; */
margin-top: 20px;
margin-left: 20px;
margin-right: 460px;
&.no-tool-bar-right.no-tool-bar-left{
margin-right: 0px;
}
&.no-tool-bar-left {
margin-right: 230px;
}
&.no-tool-bar-right {
margin-right: 230px;
}
/* .viewport-container { */
/* height: 4069px; */
/* width: 4069px; */
/* } */
.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; */
}
}
/* Rules */
.horizontal-rule {
transition: none;
position: absolute;
pointer-events: none;
top: 0px;
}
.vertical-rule {
transition: none;
position: absolute;
pointer-events: none;
left: 0px;
}
}