From 081632757af3c2ec2e4482c1e5fe710c8ee6cad8 Mon Sep 17 00:00:00 2001 From: bobzel Date: Thu, 11 Aug 2022 19:01:37 -0400 Subject: added better ui and backend support for mask ink strokes. added frame #'s ui for seeing current animation frame. --- src/client/views/global/globalCssVariables.scss | 13 +++++++------ src/client/views/global/globalCssVariables.scss.d.ts | 6 +++--- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'src/client/views/global') diff --git a/src/client/views/global/globalCssVariables.scss b/src/client/views/global/globalCssVariables.scss index a14634bdc..c5968d9a7 100644 --- a/src/client/views/global/globalCssVariables.scss +++ b/src/client/views/global/globalCssVariables.scss @@ -1,4 +1,4 @@ -@import url("https://fonts.googleapis.com/css2?family=Roboto&display=swap"); +@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap'); // colors $white: #ffffff; $off-white: #fdfdfd; @@ -16,8 +16,10 @@ $yellow: #f5d747; $close-red: #e48282; -$drop-shadow: "#32323215"; +$drop-shadow: '#32323215'; +$INK_MASK_SIZE: 50000; +$INK_MASK_SIZE_HALF: -25000px; //padding $minimum-padding: 4px; @@ -28,8 +30,7 @@ $large-padding: 32px; $icon-size: 28px; // fonts -$sans-serif: "Roboto", -sans-serif; +$sans-serif: 'Roboto', sans-serif; $large-header: 16px; $body-text: 12px; $small-text: 9px; @@ -54,7 +55,6 @@ $standard-border-radius: 3px; // shadow $standard-box-shadow: 0px 3px 4px rgba(0, 0, 0, 0.3); - $dashboardselector-height: 32px; $mainTextInput-zindex: 999; // then text input overlay so that it's context menu will appear over decorations, etc $docDecorations-zindex: 998; // then doc decorations appear over everything else @@ -79,4 +79,5 @@ $TREE_BULLET_WIDTH: 20px; DFLT_IMAGE_NATIVE_DIM: $DFLT_IMAGE_NATIVE_DIM; LEFT_MENU_WIDTH: $LEFT_MENU_WIDTH; TREE_BULLET_WIDTH: $TREE_BULLET_WIDTH; -} \ No newline at end of file + INK_MASK_SIZE: $INK_MASK_SIZE; +} diff --git a/src/client/views/global/globalCssVariables.scss.d.ts b/src/client/views/global/globalCssVariables.scss.d.ts index 59c2b3585..76259113c 100644 --- a/src/client/views/global/globalCssVariables.scss.d.ts +++ b/src/client/views/global/globalCssVariables.scss.d.ts @@ -1,6 +1,5 @@ - interface IGlobalScss { - contextMenuZindex: string; // context menu shows up over everything + contextMenuZindex: string; // context menu shows up over everything SCHEMA_DIVIDER_WIDTH: string; COLLECTION_BORDER_WIDTH: string; MINIMIZED_ICON_SIZE: string; @@ -11,7 +10,8 @@ interface IGlobalScss { DFLT_IMAGE_NATIVE_DIM: string; LEFT_MENU_WIDTH: string; TREE_BULLET_WIDTH: string; + INK_MASK_SIZE: number; } declare const globalCssVariables: IGlobalScss; -export = globalCssVariables; \ No newline at end of file +export = globalCssVariables; -- cgit v1.2.3-70-g09d2