/* ReInk: from designer-preview/css/rulers.css @ 827d893 (oldDesigner-redesign). Everything below this line is that file,
   unchanged. When the prototype changes it, carry the change across: docs/syncing.md. */
/*
	designer-preview/css/rulers.css

	The rulers along the top and the left of the workspace (js/rulers.js): two canvases over the
	workspace's edges and a corner square naming the unit. They take no pointer events and no room.
*/
html.sm-ws .smRulers { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 4; pointer-events: none; overflow: hidden; }
html.sm-ws .smRulers[hidden] { display: none; }
html.sm-ws #smRulerTop { position: absolute; top: 0; left: 0; display: block; }
html.sm-ws #smRulerLeft { position: absolute; top: 0; left: 0; display: block; }
html.sm-ws #smRulerCorner { position: absolute; top: 0; left: 0; width: 22px; height: 22px; box-sizing: border-box; background: rgb(238 238 238);
  border-right: 1px solid rgb(218 220 224); border-bottom: 1px solid rgb(218 220 224); color: rgb(84 87 92); font: 700 8px/21px Arial, Helvetica, sans-serif; text-align: center; letter-spacing: 0.02em; }
@media (max-width: 700px) { html.sm-ws .smRulers { display: none; } }   /* a phone: no rulers (js/rulers.js stays away too) */
/* the side panel's collapse tab sits on the workspace's left edge: with the rulers shown it moves to the
   left ruler's inner edge, so the ruler stays readable at the design's middle */
html.sm-rulers-on #panelCollapseHandle { margin-left: 23px; border-left: 1px solid var(--sm-divider, rgb(218 220 224)); clip-path: none; }
@media (forced-colors: active) { html.sm-ws #smRulerCorner { forced-color-adjust: none; background: Canvas; color: CanvasText; border-color: CanvasText; } }
