aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2025-06-26 10:53:54 -0400
committerbobzel <zzzman@gmail.com>2025-06-26 10:53:54 -0400
commitbaae27b205356898c5866a0f095e4ec056e02459 (patch)
tree1b62de5579b8de8be81b6d342a9767f0f379bb91 /src/client/views/DocumentDecorations.scss
parentccfdf905400cd4b81d8cde0f16bb0e15cd65621b (diff)
parent0093370a04348ef38b91252d02ab850f25d753b2 (diff)
Merge branch 'master' into agent-paper-main
Diffstat (limited to 'src/client/views/DocumentDecorations.scss')
-rw-r--r--src/client/views/DocumentDecorations.scss42
1 files changed, 22 insertions, 20 deletions
diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss
index 09a13634f..d79826b3c 100644
--- a/src/client/views/DocumentDecorations.scss
+++ b/src/client/views/DocumentDecorations.scss
@@ -11,10 +11,10 @@ $resizeHandler: 8px;
// Rotation handler
.documentDecorations-rotation {
border-radius: 100%;
- height: 30;
- width: 30;
- right: -40;
- bottom: -20;
+ height: 30px;
+ width: 30px;
+ right: -40px;
+ bottom: -20px;
//top: calc(50% - 15px);
position: absolute;
pointer-events: all;
@@ -32,8 +32,10 @@ $resizeHandler: 8px;
}
.documentDecorations-rotationCenter {
position: absolute;
- width: 6px;
- height: 6px;
+ width: 9px;
+ height: 9px;
+ left: -4.5px;
+ top: -4.5px;
pointer-events: all;
background: green;
border-radius: 50%;
@@ -43,15 +45,15 @@ $resizeHandler: 8px;
width: 100%;
pointer-events: all;
border-radius: 50%;
- top: 30; // offset by height of documentButtonBar so that items can be clicked without overlap interference
+ top: 30px; // offset by height of documentButtonBar so that items can be clicked without overlap interference
color: black;
}
}
.documentDecorations-container {
position: absolute;
- top: 0;
- left: 0;
+ top: 0px;
+ left: 0px;
transform-origin: 50% calc(50% + 10px);
display: grid;
grid-template-rows: $headerHeight $resizeHandler 1fr $resizeHandler;
@@ -119,7 +121,7 @@ $resizeHandler: 8px;
}
> svg {
- margin: 0;
+ margin: 0px;
}
}
@@ -148,7 +150,7 @@ $resizeHandler: 8px;
}
> svg {
- margin: 0;
+ margin: 0px;
}
}
&:hover {
@@ -183,7 +185,7 @@ $resizeHandler: 8px;
}
> svg {
- margin: 0;
+ margin: 0px;
}
}
@@ -244,7 +246,7 @@ $resizeHandler: 8px;
display: inline;
position: relative;
top: -2.5;
- left: 35;
+ left: 35px;
zoom: 0.7;
}
@@ -358,8 +360,8 @@ $resizeHandler: 8px;
left: 7px;
top: 7px;
background: global.$medium-gray;
- height: 10;
- width: 10;
+ height: 10px;
+ width: 10px;
opacity: 0.5;
pointer-events: all;
cursor: nwse-resize;
@@ -369,8 +371,8 @@ $resizeHandler: 8px;
position: relative;
background: black;
color: rgb(145, 144, 144);
- height: 20;
- width: 20;
+ height: 20px;
+ width: 20px;
pointer-events: all;
margin: auto;
display: flex;
@@ -378,8 +380,8 @@ $resizeHandler: 8px;
border-radius: 100%;
cursor: default;
svg {
- width: 10;
- height: 10;
+ width: 10px;
+ height: 10px;
margin: auto;
}
}
@@ -387,7 +389,7 @@ $resizeHandler: 8px;
.documentDecorations-rotationPath {
position: absolute;
width: 100%;
- height: 0;
+ height: 0px;
transform: translate(0px, -25%);
padding-bottom: 100%;
border-radius: 100%;