@import '../../global/globalCssVariables.module.scss'; .collectionfreeformview-none { position: inherit; top: 0; left: 0; width: 100%; height: 100%; transform-origin: left top; border-radius: inherit; touch-action: none; border-radius: inherit; } .collectionFreeForm-groupDropper { width: 10000; height: 10000; left: -5000; top: -5000; position: absolute; background: transparent; pointer-events: all; } .collectionfreeformview-grid { transform-origin: top left; position: absolute; top: 0; left: 0; pointer-events: none; } .collectionfreeformview-mask-empty, .collectionfreeformview-mask { z-index: 5000; width: $INK_MASK_SIZE; height: $INK_MASK_SIZE; transform: translate($INK_MASK_SIZE_HALF, $INK_MASK_SIZE_HALF); pointer-events: none; position: absolute; background-color: transparent; transition: background-color 1s ease 0s; } .collectionfreeformview-mask { mix-blend-mode: multiply; background-color: rgba(0, 0, 0, 0.8); } .collectionfreeformview-viewdef { > .collectionFreeFormDocumentView-container { pointer-events: none; .contentFittingDocumentDocumentView-previewDoc { pointer-events: all; } } .presPathLabels { pointer-events: none; } svg.presPaths { position: absolute; z-index: 100000; overflow: visible; pointer-events: none; } svg.presPaths-hidden { display: none; } } .collectionfreeformview-none { touch-action: none; svg.presPaths { position: absolute; z-index: 100000; overflow: visible; } svg.presPaths-hidden { display: none; } } .pathOrder { position: absolute; z-index: 200000; .pathOrder-frame { position: absolute; width: 100%; height: 100%; min-height: 15px; text-align: center; background-color: #69a6db; border-radius: 10%; box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); font-family: Roboto; font-weight: 500; color: white; } } .pathOrder-presPinView { position: absolute; z-index: 190000; border-style: dashed; border-color: #69a5db; } .resizable { background: rgba(0, 0, 0, 0.2); width: 100px; height: 100px; position: absolute; top: 100px; left: 100px; .resizers { width: 100%; height: 100%; border: 3px solid #69a6db; box-sizing: border-box; .resizer { position: absolute; width: 10px; height: 10px; border-radius: 50%; /*magic to turn square into circle*/ background: white; border: 3px solid #69a6db; } .resizer.top-left { left: -3px; top: -3px; cursor: nwse-resize; /*resizer cursor*/ } .resizer.top-right { right: -3px; top: -3px; cursor: nesw-resize; } .resizer.bottom-left { left: -3px; bottom: -3px; cursor: nesw-resize; } .resizer.bottom-right { right: -3px; bottom: -3px; cursor: nwse-resize; } } } .collectionFreeform-customText { position: absolute; text-align: center; overflow-y: auto; overflow-x: hidden; } .collectionFreeFormView-brushView { pointer-events: none; position: absolute; transition: opacity 0.5s; z-index: 1000; } .collectionfreeformview-container { // touch action none means that the browser will handle none of the touch actions. this allows us to implement our own actions. touch-action: none; transform-origin: top left; > svg { height: 100%; width: 100%; margin: auto; } .collectionfreeformview-placeholder { background: gray; width: 100%; height: 100%; display: flex; align-items: center; overflow: hidden; .collectionfreeformview-placeholderSpan { font-size: 32; display: flex; text-align: center; margin: auto; background: #80808069; } } .collectionfreeformview > .jsx-parser { position: inherit; height: 100%; width: 100%; } > .jsx-parser { z-index: 0; } //nested freeform views // .collectionfreeformview-container { // background-image: linear-gradient(to right, $light-color-secondary 1px, transparent 1px), // linear-gradient(to bottom, $light-color-secondary 1px, transparent 1px); // background-size: 30px 30px; // } border: 0px solid $light-gray; border-radius: inherit; box-sizing: border-box; position: absolute; top: 0; left: 0; width: 100%; height: 100%; align-items: center; display: flex; } // selection border...? .border { border-style: solid; box-sizing: border-box; width: 98%; height: 98%; border-radius: $border-radius; } //this is an animation for the blinking cursor! @keyframes blink { 0% { opacity: 0; } 49% { opacity: 0; } 50% { opacity: 1; } } #prevCursor { animation: blink 1s infinite; } .pullpane-indicator { z-index: 99999; background-color: rgba($color: #000000, $alpha: 0.4); position: absolute; } .collectionFreeform-infoUI { position: absolute; display: block; top: 0; color: white; background-color: #5075ef; border-radius: 5px; box-shadow: 2px 2px 5px black; margin: 15px; padding: 10px; .collectionFreeform-infoUI-close { position: absolute; top: -10; left: -10; } .collectionFreeform-infoUI-msg { position: relative; max-width: 500; margin: 10; } .collectionFreeform-infoUI-button { border-radius: 50px; font-size: 12px; padding: 6; position: relative; } .collectionFreeform-infoUI-gif-container { position: relative; margin-top: 5px; pointer-events: none; > img { height: 300px; } } .collectionFreeform-hidden { display: none; } }