aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/DocumentDecorations.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-11-18 23:47:13 -0500
committerbobzel <zzzman@gmail.com>2023-11-18 23:47:13 -0500
commit2b0e4ccc096998eb1d727f2e85ea8c1a63b27e08 (patch)
tree1d5bc81e4cf74b20b599a5069c3448a2de4784fb /src/client/views/DocumentDecorations.scss
parent1b568af6b2725b9eed6f591bfce193d39d5804de (diff)
fixed ctrl-drag for expressions, maps, fform doc selections. fixed using shift to add Doc to a selection and also when bounding box already covers the doc to add. fixed dragging maximize button to start goldenlayout drag properly. fixed typing character to group,etc a multiselection when a text doc has input focus. fixed using clusters. add Shift-U to ungroup alternate group style. multi-select blurs() all active inputs. shift-selecting a multi-selected Doc, deselects it.
Diffstat (limited to 'src/client/views/DocumentDecorations.scss')
-rw-r--r--src/client/views/DocumentDecorations.scss24
1 files changed, 4 insertions, 20 deletions
diff --git a/src/client/views/DocumentDecorations.scss b/src/client/views/DocumentDecorations.scss
index f41cf1385..bbd951481 100644
--- a/src/client/views/DocumentDecorations.scss
+++ b/src/client/views/DocumentDecorations.scss
@@ -4,7 +4,6 @@ $linkGap: 3px;
$headerHeight: 20px;
$resizeHandler: 8px;
-.documentDecorations-Dark,
.documentDecorations {
position: absolute;
z-index: 2000;
@@ -40,14 +39,12 @@ $resizeHandler: 8px;
border-radius: 50%;
}
}
-.documentDecorations-Dark {
- background: dimgray;
-}
.documentDecorations-container {
position: absolute;
top: 0;
left: 0;
+ transform-origin: 50% calc(50% + 10px);
display: grid;
grid-template-rows: $headerHeight $resizeHandler 1fr $resizeHandler;
grid-template-columns: $resizeHandler 1fr $resizeHandler;
@@ -60,6 +57,7 @@ $resizeHandler: 8px;
flex-direction: row;
gap: 2px;
pointer-events: all;
+ color: black;
cursor: move;
.documentDecorations-openButton {
@@ -169,7 +167,6 @@ $resizeHandler: 8px;
}
}
- .documentDecorations-title-Dark,
.documentDecorations-title {
opacity: 1;
width: calc(100% - 60px); // = margin-left + margin-right
@@ -188,22 +185,13 @@ $resizeHandler: 8px;
opacity: 1;
}
- .documentDecorations-titleSpan,
- .documentDecorations-titleSpan-Dark {
+ .documentDecorations-titleSpan {
width: 100%;
border-radius: 8px;
background: $light-gray;
display: inline-block;
cursor: move;
}
- .documentDecorations-titleSpan-Dark {
- background: hsla(0, 0%, 0%, 0.412);
- }
- }
-
- .documentDecorations-title-Dark {
- color: white;
- background: black;
}
.documentDecorations-titleBackground {
@@ -326,11 +314,6 @@ $resizeHandler: 8px;
}
}
- .documentDecorations-resizer-Dark {
- background: $light-gray;
- opacity: 0.2;
- }
-
.documentDecorations-topLeftResizer,
.documentDecorations-leftResizer,
.documentDecorations-bottomLeftResizer {
@@ -357,6 +340,7 @@ $resizeHandler: 8px;
background: $medium-gray;
height: 10;
width: 10;
+ opacity: 0.5;
pointer-events: all;
cursor: nwse-resize;
}